PPL Logo

InfoStruct Class Reference

#include <ampiimpl.h>

Collaboration diagram for InfoStruct:

Collaboration graph
[legend]

Public Member Functions

 InfoStruct (void)
void setvalid (bool valid_)
bool getvalid (void)
void set (char *k, char *v)
void dup (InfoStruct &src)
int get (char *k, int vl, char *&v)
int deletek (char *k)
int get_valuelen (char *k, int *vl)
int get_nkeys (void)
int get_nthkey (int n, char *k)
void myfree (void)
void pup (PUP::er &p)

Private Attributes

CkPupPtrVec< KeyvalPairnodes
bool valid

Detailed Description

Definition at line 218 of file ampiimpl.h.


Constructor & Destructor Documentation

InfoStruct::InfoStruct ( void   )  [inline]

Definition at line 222 of file ampiimpl.h.


Member Function Documentation

void InfoStruct::setvalid ( bool  valid_  )  [inline]

Definition at line 223 of file ampiimpl.h.

References valid.

bool InfoStruct::getvalid ( void   )  [inline]

Definition at line 224 of file ampiimpl.h.

References valid.

void InfoStruct::set ( char *  k,
char *  v 
)

Definition at line 24 of file ampiMisc.C.

References free(), nodes, CkVec< T >::push_back(), CkVec< T >::size(), and sz.

void InfoStruct::dup ( InfoStruct src  ) 

Definition at line 41 of file ampiMisc.C.

References nodes, CkVec< T >::push_back(), CkVec< T >::size(), and sz.

Referenced by ampiParent::dupInfo().

int InfoStruct::get ( char *  k,
int  vl,
char *&  v 
)

Definition at line 63 of file ampiMisc.C.

References nodes, CkVec< T >::size(), and sz.

int InfoStruct::deletek ( char *  k  ) 

Definition at line 49 of file ampiMisc.C.

References nodes, CkVec< T >::remove(), CkVec< T >::size(), and sz.

int InfoStruct::get_valuelen ( char *  k,
int vl 
)

Definition at line 77 of file ampiMisc.C.

References nodes, CkVec< T >::size(), and sz.

int InfoStruct::get_nkeys ( void   )  [inline]

Definition at line 230 of file ampiimpl.h.

References nodes, and CkVec< T >::size().

int InfoStruct::get_nthkey ( int  n,
char *  k 
)

Definition at line 90 of file ampiMisc.C.

References nodes, and CkVec< T >::size().

void InfoStruct::myfree ( void   ) 

Definition at line 97 of file ampiMisc.C.

References nodes, CkVec< T >::resize(), CkVec< T >::size(), sz, and valid.

void InfoStruct::pup ( PUP::er p  ) 

Definition at line 19 of file ampiMisc.C.

References nodes, and valid.


Field Documentation

Definition at line 219 of file ampiimpl.h.

Referenced by deletek(), dup(), get(), get_nkeys(), get_nthkey(), get_valuelen(), myfree(), pup(), and set().

Definition at line 220 of file ampiimpl.h.

Referenced by getvalid(), myfree(), pup(), and setvalid().


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

Generated on Fri May 25 08:03:51 2012 for Charm++ by  doxygen 1.5.5