PPL Logo

InfoStruct Class Reference

#include <ampiimpl.h>

Collaboration diagram for InfoStruct:

Collaboration graph
[legend]

Public Member Functions

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

Private Attributes

CkPupPtrVec< KeyvalPairnodes
bool valid

Detailed Description

Definition at line 406 of file ampiimpl.h.


Constructor & Destructor Documentation

InfoStruct::InfoStruct (  )  [inline]

Definition at line 410 of file ampiimpl.h.


Member Function Documentation

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

Definition at line 411 of file ampiimpl.h.

bool InfoStruct::getvalid (  )  const [inline]

Definition at line 412 of file ampiimpl.h.

int InfoStruct::set ( const char *  k,
const char *  v 
)

Definition at line 57 of file ampiMisc.C.

References create_stripped_string(), and key.

Here is the call graph for this function:

int InfoStruct::dup ( InfoStruct src  ) 

Definition at line 72 of file ampiMisc.C.

References src.

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

Definition at line 92 of file ampiMisc.C.

References create_stripped_string(), flag, and key.

Here is the call graph for this function:

int InfoStruct::deletek ( const char *  k  ) 

Definition at line 80 of file ampiMisc.C.

References create_stripped_string(), and key.

Here is the call graph for this function:

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

Definition at line 107 of file ampiMisc.C.

References create_stripped_string(), flag, and key.

Here is the call graph for this function:

int InfoStruct::get_nkeys ( int nkeys  )  const

Definition at line 120 of file ampiMisc.C.

References n.

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

Definition at line 125 of file ampiMisc.C.

References key, and n.

void InfoStruct::myfree (  ) 

Definition at line 134 of file ampiMisc.C.

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

Here is the call graph for this function:

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

Definition at line 52 of file ampiMisc.C.

References p.


Field Documentation

Definition at line 407 of file ampiimpl.h.

Referenced by myfree().

Definition at line 408 of file ampiimpl.h.

Referenced by myfree().


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

Generated on Mon Sep 21 08:26:05 2020 for Charm++ by  doxygen 1.5.5