PPL Logo

xi::ParamList Class Reference

#include <xi-Parameter.h>

Collaboration diagram for xi::ParamList:

Collaboration graph
[legend]

Public Member Functions

 ParamList (ParamList *pl)
 ParamList (Parameter *Nparam, ParamList *Nnext=NULL)
int print (XStr &str, int withDefaultValues=0, int useConst=1, int fwdNum=0)
void printTypes (XStr &str, int withDefaultValues=0, int useConst=1)
void printAddress (XStr &str)
void printValue (XStr &str)
int isNamed (void) const
int isBuiltin (void) const
int isMessage (void) const
const char * getArrayLen (void) const
int isArray (void) const
int isReference (void) const
int declaredReference (void) const
bool isConst (void) const
int isVoid (void) const
int isPointer (void) const
int hasRdma (void)
int hasSendRdma (void)
int hasRecvRdma (void)
int isRdma (void)
int getRdma (void)
int isFirstRdma (void)
int isRecvRdma (void)
const char * getGivenName (void) const
void setGivenName (const char *s)
const char * getName (void) const
int isMarshalled (void) const
int isCkArgMsgPtr (void) const
int isCkMigMsgPtr (void) const
int getNumStars (void) const
const char * getBaseName (void)
void genMsgProxyName (XStr &str)
void printMsg (XStr &str)
void preprocess ()
int hasConditional ()
void marshall (XStr &str, XStr &entry)
 marshalling: pack fields into flat byte buffer
void beginUnmarshall (XStr &str)
 unmarshalling: unpack fields from flat buffer
void beginUnmarshallSDAG (XStr &str)
void beginUnmarshallSDAGCall (XStr &str, bool usesImplBuf)
 unmarshalling: unpack fields from flat buffer
void beginRednWrapperUnmarshall (XStr &str, bool isSDAGGen)
void unmarshall (XStr &str, bool isInline=false, bool isFirst=true, bool isRdmaPost=false)
void unmarshallForward (XStr &str, bool isInline=false, bool isFirst=true, bool isRdmaPost=false, int fwdNum=1)
void unmarshallSDAGCall (XStr &str, int isFirst=1)
void unmarshallAddress (XStr &str, int isFirst=1)
void pupAllValues (XStr &str)
void endUnmarshall (XStr &str)
int operator== (ParamList &plist)
void checkParamList ()
void storePostedRdmaPtrs (XStr &str, bool isSDAGGen)

Data Fields

Entryentry
Parameterparam
ParamListnext

Private Types

typedef int(Parameter::* pred_t )(void) const
typedef void(Parameter::* fn_t )(XStr &str)
typedef void(Parameter::* rdmafn_t )(XStr &str, bool genRegArray)
typedef void(Parameter::* rdmarecvfn_t )(XStr &str, bool genRdma, bool isSDAGGen, int &count)

Private Member Functions

int orEach (pred_t f)
void callEach (fn_t f, XStr &str)
void callEach (rdmafn_t f, XStr &str, bool genRegArray)
void callEach (rdmarecvfn_t f, XStr &str, bool genRdma, bool isSDAGGen)
void encloseFlag (XStr &str)

Private Attributes

bool manyPointers

Detailed Description

Definition at line 109 of file xi-Parameter.h.


Member Typedef Documentation

typedef int(Parameter::* xi::ParamList::pred_t)(void) const [private]

typedef void(Parameter::* xi::ParamList::fn_t)(XStr &str) [private]

typedef void(Parameter::* xi::ParamList::rdmafn_t)(XStr &str, bool genRegArray) [private]

typedef void(Parameter::* xi::ParamList::rdmarecvfn_t)(XStr &str, bool genRdma, bool isSDAGGen, int &count) [private]


Constructor & Destructor Documentation

xi::ParamList::ParamList ( ParamList pl  ) 

Definition at line 89 of file xi-Parameter.C.

xi::ParamList::ParamList ( Parameter Nparam,
ParamList Nnext = NULL 
)

Definition at line 971 of file xi-Parameter.C.

References isMessage(), xi::Parameter::isMessage(), manyPointers, next, and param.

Here is the call graph for this function:


Member Function Documentation

int xi::ParamList::orEach ( pred_t  f  )  [private]

Definition at line 172 of file xi-Parameter.C.

References next, and param.

Referenced by hasConditional(), hasRdma(), hasRecvRdma(), hasSendRdma(), and marshall().

Here is the caller graph for this function:

void xi::ParamList::callEach ( fn_t  f,
XStr str 
) [private]

Definition at line 181 of file xi-Parameter.C.

References next, and param.

Referenced by beginRednWrapperUnmarshall(), beginUnmarshall(), beginUnmarshallSDAG(), beginUnmarshallSDAGCall(), marshall(), pupAllValues(), and storePostedRdmaPtrs().

Here is the caller graph for this function:

void xi::ParamList::callEach ( rdmafn_t  f,
XStr str,
bool  genRegArray 
) [private]

Definition at line 188 of file xi-Parameter.C.

References next, and param.

void xi::ParamList::callEach ( rdmarecvfn_t  f,
XStr str,
bool  genRdma,
bool  isSDAGGen 
) [private]

Definition at line 195 of file xi-Parameter.C.

References count, next, and param.

void xi::ParamList::encloseFlag ( XStr str  )  [private]

int xi::ParamList::print ( XStr str,
int  withDefaultValues = 0,
int  useConst = 1,
int  fwdNum = 0 
)

Definition at line 92 of file xi-Parameter.C.

References next, param, print(), and xi::Parameter::print().

Referenced by beginRednWrapperUnmarshall(), beginUnmarshall(), xi::Entry::genIndexDecls(), marshall(), xi::Entry::paramType(), xi::FuncType::print(), print(), and xi::Entry::print().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::ParamList::printTypes ( XStr str,
int  withDefaultValues = 0,
int  useConst = 1 
)

Definition at line 101 of file xi-Parameter.C.

References xi::Parameter::getType(), next, param, xi::Type::print(), and printTypes().

Referenced by xi::CEntry::check(), and printTypes().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::ParamList::printAddress ( XStr str  ) 

Definition at line 145 of file xi-Parameter.C.

References next, param, printAddress(), and xi::Parameter::printAddress().

Referenced by xi::Entry::genDefs(), and printAddress().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::ParamList::printValue ( XStr str  ) 

Definition at line 159 of file xi-Parameter.C.

References next, param, printValue(), and xi::Parameter::printValue().

Referenced by xi::Entry::genDefs(), and printValue().

Here is the call graph for this function:

Here is the caller graph for this function:

int xi::ParamList::isNamed ( void   )  const

Definition at line 978 of file xi-Parameter.C.

References xi::Type::isNamed(), param, and xi::Parameter::type.

Here is the call graph for this function:

int xi::ParamList::isBuiltin ( void   )  const

Definition at line 979 of file xi-Parameter.C.

References xi::Type::isBuiltin(), param, and xi::Parameter::type.

Here is the call graph for this function:

int xi::ParamList::isMessage ( void   )  const

Definition at line 980 of file xi-Parameter.C.

References xi::Parameter::isMessage(), next, and param.

Referenced by xi::Entry::eo(), xi::Entry::epStr(), xi::Entry::genDefs(), xi::Entry::genRegularCall(), isMarshalled(), ParamList(), unmarshall(), unmarshallAddress(), and unmarshallSDAGCall().

Here is the call graph for this function:

Here is the caller graph for this function:

const char * xi::ParamList::getArrayLen ( void   )  const

Definition at line 988 of file xi-Parameter.C.

References xi::Parameter::getArrayLen(), and param.

Here is the call graph for this function:

int xi::ParamList::isArray ( void   )  const

Definition at line 989 of file xi-Parameter.C.

References xi::Parameter::isArray(), and param.

Referenced by beginRednWrapperUnmarshall().

Here is the call graph for this function:

Here is the caller graph for this function:

int xi::ParamList::isReference ( void   )  const

Definition at line 990 of file xi-Parameter.C.

References xi::Parameter::byReference, xi::Type::isReference(), param, and xi::Parameter::type.

Referenced by unmarshallForward().

Here is the call graph for this function:

Here is the caller graph for this function:

int xi::ParamList::declaredReference ( void   )  const

Definition at line 993 of file xi-Parameter.C.

References xi::Parameter::declaredReference, xi::Type::isReference(), param, and xi::Parameter::type.

Here is the call graph for this function:

bool xi::ParamList::isConst ( void   )  const

Definition at line 996 of file xi-Parameter.C.

References xi::Parameter::byConst, xi::Type::isConst(), param, and xi::Parameter::type.

Here is the call graph for this function:

int xi::ParamList::isVoid ( void   )  const

int xi::ParamList::isPointer ( void   )  const

Definition at line 998 of file xi-Parameter.C.

References xi::Type::isPointer(), param, and xi::Parameter::type.

Here is the call graph for this function:

int xi::ParamList::hasRdma ( void   ) 

Definition at line 981 of file xi-Parameter.C.

References xi::Parameter::isRdma(), and orEach().

Referenced by beginRednWrapperUnmarshall(), beginUnmarshall(), beginUnmarshallSDAG(), beginUnmarshallSDAGCall(), xi::Entry::genChareDefs(), xi::Entry::genGroupDefs(), xi::Entry::genRegularCall(), and marshall().

Here is the call graph for this function:

Here is the caller graph for this function:

int xi::ParamList::hasSendRdma ( void   ) 

Definition at line 982 of file xi-Parameter.C.

References xi::Parameter::isSendRdma(), and orEach().

Referenced by marshall().

Here is the call graph for this function:

Here is the caller graph for this function:

int xi::ParamList::hasRecvRdma ( void   ) 

Definition at line 983 of file xi-Parameter.C.

References xi::Parameter::isRecvRdma(), and orEach().

Referenced by beginRednWrapperUnmarshall(), beginUnmarshall(), beginUnmarshallSDAGCall(), xi::Entry::genCall(), xi::Entry::genRegularCall(), and marshall().

Here is the call graph for this function:

Here is the caller graph for this function:

int xi::ParamList::isRdma ( void   ) 

Definition at line 984 of file xi-Parameter.C.

References xi::Parameter::isRdma(), and param.

Here is the call graph for this function:

int xi::ParamList::getRdma ( void   ) 

Definition at line 985 of file xi-Parameter.C.

References xi::Parameter::getRdma(), and param.

Here is the call graph for this function:

int xi::ParamList::isFirstRdma ( void   ) 

Definition at line 986 of file xi-Parameter.C.

References xi::Parameter::isFirstRdma(), and param.

Here is the call graph for this function:

int xi::ParamList::isRecvRdma ( void   ) 

Definition at line 987 of file xi-Parameter.C.

References xi::Parameter::isRecvRdma(), and param.

Here is the call graph for this function:

const char * xi::ParamList::getGivenName ( void   )  const

Definition at line 999 of file xi-Parameter.C.

References xi::Parameter::getGivenName(), and param.

Here is the call graph for this function:

void xi::ParamList::setGivenName ( const char *  s  ) 

Definition at line 1000 of file xi-Parameter.C.

References param, and xi::Parameter::setGivenName().

Here is the call graph for this function:

const char * xi::ParamList::getName ( void   )  const

Definition at line 1001 of file xi-Parameter.C.

References xi::Parameter::getName(), and param.

Here is the call graph for this function:

int xi::ParamList::isMarshalled ( void   )  const

int xi::ParamList::isCkArgMsgPtr ( void   )  const

Definition at line 1003 of file xi-Parameter.C.

References xi::Parameter::isCkArgMsgPtr(), next, and param.

Referenced by xi::Entry::check(), and xi::Entry::genCall().

Here is the call graph for this function:

Here is the caller graph for this function:

int xi::ParamList::isCkMigMsgPtr ( void   )  const

Definition at line 1006 of file xi-Parameter.C.

References xi::Parameter::isCkMigMsgPtr(), next, and param.

Referenced by xi::Entry::genCall().

Here is the call graph for this function:

Here is the caller graph for this function:

int xi::ParamList::getNumStars ( void   )  const

Definition at line 1009 of file xi-Parameter.C.

References xi::Type::getNumStars(), param, and xi::Parameter::type.

Here is the call graph for this function:

const char * xi::ParamList::getBaseName ( void   ) 

Definition at line 1010 of file xi-Parameter.C.

References xi::Type::getBaseName(), param, and xi::Parameter::type.

Referenced by xi::Entry::epStr().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::ParamList::genMsgProxyName ( XStr str  ) 

Definition at line 1011 of file xi-Parameter.C.

References xi::Type::genMsgProxyName(), param, and xi::Parameter::type.

Referenced by xi::Entry::genRegEp().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::ParamList::printMsg ( XStr str  ) 

Definition at line 922 of file xi-Parameter.C.

References next, param, and xi::Parameter::printMsg().

Here is the call graph for this function:

void xi::ParamList::preprocess (  ) 

int xi::ParamList::hasConditional (  ) 

Definition at line 203 of file xi-Parameter.C.

References xi::Parameter::isConditional(), and orEach().

Referenced by xi::Entry::genDefs(), xi::Entry::genRegEp(), marshall(), and xi::Entry::preprocess().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::ParamList::marshall ( XStr str,
XStr entry 
)

void xi::ParamList::beginUnmarshall ( XStr str  ) 

unmarshalling: unpack fields from flat buffer

Definition at line 513 of file xi-Parameter.C.

References xi::Parameter::beginUnmarshall(), xi::Parameter::beginUnmarshallRdma(), callEach(), entry, hasRdma(), hasRecvRdma(), index, isMarshalled(), xi::Entry::numRdmaRecvParams, print(), xi::Parameter::unmarshallRdmaArrayData(), and xi::Parameter::unmarshallRegArrayData().

Referenced by xi::Entry::genCall(), and xi::Entry::genDefs().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::ParamList::beginUnmarshallSDAG ( XStr str  ) 

void xi::ParamList::beginUnmarshallSDAGCall ( XStr str,
bool  usesImplBuf 
)

void xi::ParamList::beginRednWrapperUnmarshall ( XStr str,
bool  isSDAGGen 
)

void xi::ParamList::unmarshall ( XStr str,
bool  isInline = false,
bool  isFirst = true,
bool  isRdmaPost = false 
)

void xi::ParamList::unmarshallForward ( XStr str,
bool  isInline = false,
bool  isFirst = true,
bool  isRdmaPost = false,
int  fwdNum = 1 
)

Definition at line 837 of file xi-Parameter.C.

References xi::Parameter::getName(), isReference(), next, param, unmarshall(), and unmarshallForward().

Referenced by xi::Entry::genArrayDefs(), and unmarshallForward().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::ParamList::unmarshallSDAGCall ( XStr str,
int  isFirst = 1 
)

Definition at line 771 of file xi-Parameter.C.

References xi::Parameter::getName(), isMessage(), isVoid(), next, param, xi::Parameter::type, and unmarshallSDAGCall().

Referenced by unmarshallSDAGCall().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::ParamList::unmarshallAddress ( XStr str,
int  isFirst = 1 
)

Definition at line 856 of file xi-Parameter.C.

References xi::Parameter::getName(), xi::Parameter::isArray(), isMessage(), isVoid(), next, param, xi::Parameter::type, and unmarshallAddress().

Referenced by xi::Entry::genCall(), and unmarshallAddress().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::ParamList::pupAllValues ( XStr str  ) 

Definition at line 874 of file xi-Parameter.C.

References callEach(), isMarshalled(), and xi::Parameter::pupAllValues().

Referenced by xi::Entry::genDefs().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::ParamList::endUnmarshall ( XStr str  ) 

Definition at line 914 of file xi-Parameter.C.

Referenced by xi::Entry::genDefs().

Here is the caller graph for this function:

int xi::ParamList::operator== ( ParamList plist  ) 

Definition at line 1022 of file xi-Parameter.C.

References next, and param.

void xi::ParamList::checkParamList (  ) 

Definition at line 1013 of file xi-Parameter.C.

References xi::Parameter::line, manyPointers, and param.

Referenced by xi::Entry::check().

Here is the caller graph for this function:

void xi::ParamList::storePostedRdmaPtrs ( XStr str,
bool  isSDAGGen 
)

Definition at line 552 of file xi-Parameter.C.

References callEach(), and xi::Parameter::storePostedRdmaPtrs().

Referenced by xi::Entry::genRegularCall().

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

Definition at line 119 of file xi-Parameter.h.

Referenced by checkParamList(), and ParamList().


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

Generated on Mon Sep 21 08:35:40 2020 for Charm++ by  doxygen 1.5.5