PPL Logo

StrKey Class Reference
[Charm++ Trace Module]

#include <trace-projections.h>

Collaboration diagram for StrKey:

Collaboration graph
[legend]

Public Member Functions

 StrKey (const char *name)
 ~StrKey ()
CkHashCode hash () const
int compare (const StrKey &t) const
const char * getStr () const

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
unsigned int len
unsigned int key

Detailed Description

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


Constructor & Destructor Documentation

StrKey::StrKey ( const char *  name  )  [inline]

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

References key, len, malloc(), and str.

Here is the call graph for this function:

StrKey::~StrKey (  )  [inline]

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

References free(), and str.

Here is the call graph for this function:


Member Function Documentation

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

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

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

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

References len, p, and str.

CkHashCode StrKey::hash (  )  const [inline]

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

References key.

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

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

References len, and str.

const char* StrKey::getStr (  )  const [inline]

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

References str.


Field Documentation

char* StrKey::str [private]

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

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

unsigned int StrKey::len [private]

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

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

unsigned int StrKey::key [private]

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

Referenced by hash(), and StrKey().


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

Generated on Mon Sep 21 08:30:16 2020 for Charm++ by  doxygen 1.5.5