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 237 of file trace-projections.h.


Constructor & Destructor Documentation

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

Definition at line 242 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 250 of file trace-projections.h.

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

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

References len, p, and str.

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

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

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

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

References len, and str.

char* StrKey::getStr (  )  [inline]

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


Field Documentation

char* StrKey::str [private]

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

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

int StrKey::len [private]

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

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

unsigned int StrKey::key [private]

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

Referenced by StrKey().


The documentation for this class was generated from the following file:
Generated on Sun Jun 29 13:35:19 2008 for Charm++ by  doxygen 1.5.1