PPL Logo

StrKey Class Reference
[Charm++ Trace Module]

#include <trace-projections.h>

Collaboration diagram for StrKey:

Collaboration graph
[legend]

Public Member Functions

 StrKey (char *_str, int _len)
CkHashCode hash () const
int compare (const StrKey &t) const
char * getStr ()

Static Public Member Functions

static CkHashCode staticHash (const void *k, size_t)
static int staticCompare (const void *a, const void *b, size_t)

Private Attributes

char * str
int len
unsigned int key

Detailed Description

Definition at line 368 of file trace-projections.h.


Constructor & Destructor Documentation

StrKey::StrKey ( char *  _str,
int  _len 
) [inline]

Definition at line 373 of file trace-projections.h.

References key, len, and str.


Member Function Documentation

static CkHashCode StrKey::staticHash ( const void *  k,
size_t   
) [inline, static]

Definition at line 381 of file trace-projections.h.

static int StrKey::staticCompare ( const void *  a,
const void *  b,
size_t   
) [inline, static]

Definition at line 384 of file trace-projections.h.

References len, p, and str.

CkHashCode StrKey::hash ( void   )  const [inline]

Definition at line 398 of file trace-projections.h.

References key.

int StrKey::compare ( const StrKey t  )  const [inline]

Definition at line 401 of file trace-projections.h.

References len, and str.

char* StrKey::getStr (  )  [inline]

Definition at line 412 of file trace-projections.h.

References str.


Field Documentation

char* StrKey::str [private]

Definition at line 369 of file trace-projections.h.

Referenced by compare(), getStr(), staticCompare(), and StrKey().

int StrKey::len [private]

Definition at line 370 of file trace-projections.h.

Referenced by compare(), staticCompare(), and StrKey().

unsigned int StrKey::key [private]

Definition at line 371 of file trace-projections.h.

Referenced by hash(), and StrKey().


The documentation for this class was generated from the following file:

Generated on Fri May 25 08:05:31 2012 for Charm++ by  doxygen 1.5.5