PPL Logo

xi::Chare Class Reference

#include <xi-symbol.h>

Inheritance diagram for xi::Chare:

Inheritance graph
[legend]
Collaboration diagram for xi::Chare:

Collaboration graph
[legend]

Public Types

enum  {
  CMIGRATABLE = 1<<2, CPYTHON = 1<<3, CCHARE = 1<<9, CMAINCHARE = 1<<10,
  CARRAY = 1<<11, CGROUP = 1<<12, CNODEGROUP = 1<<13
}
typedef unsigned int attrib_t

Public Member Functions

 Chare (int ln, attrib_t Nattr, NamedType *t, TypeList *b=0, MemberList *l=0)
void genProxyNames (XStr &str, const char *prefix, const char *middle, const char *suffix, const char *sep)
void genIndexNames (XStr &str, const char *prefix, const char *middle, const char *suffix, const char *sep)
XStr proxyName (int withTemplates=1)
XStr indexName (int withTemplates=1)
XStr indexList ()
XStr baseName (int withTemplates=1) const
int isTemplated (void)
int isMigratable (void)
int isPython (void)
int isMainChare (void)
int isChare (void)
int isArray (void)
int isGroup (void)
int isNodeGroup (void)
int isForElement (void) const
int isForSection (void) const
int hasSdag () const
void setSdag (int f)
forWhom getForWhom (void) const
void print (XStr &str)
void genDefs (XStr &str)
void genReg (XStr &str)
void genPub (XStr &declstr, XStr &defstr, XStr &defconstr, int &connectPresent)
void genDecls (XStr &str)
void preprocess ()
int genAccels_spe_c_funcBodies (XStr &str)
void genAccels_spe_c_regFuncs (XStr &str)
void genAccels_spe_c_callInits (XStr &str)
void genAccels_spe_h_includes (XStr &str)
void genAccels_spe_h_fiCountDefs (XStr &str)
void genAccels_ppe_c_regFuncs (XStr &str)
int nextEntry (void)
virtual void genSubDecls (XStr &str)
void genPythonDecls (XStr &str)
void genPythonDefs (XStr &str)
virtual char * chareTypeName (void)
virtual char * proxyPrefix (void)
virtual void genSubRegisterMethodDef (XStr &str)
void lookforCEntry (CEntry *centry)

Protected Member Functions

void genTypedefs (XStr &str)
void genRegisterMethodDef (XStr &str)
void sharedDisambiguation (XStr &str, const XStr &superclass)

Protected Attributes

attrib_t attrib
int hasElement
forWhom forElement
int hasSection
NamedTypetype
MemberListlist
TypeListbases
TypeListbases_CBase
int entryCount
int hasSdagEntry
XStr sdagDefs

Detailed Description

Definition at line 680 of file xi-symbol.h.


Member Typedef Documentation

typedef unsigned int xi::Chare::attrib_t

Definition at line 691 of file xi-symbol.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
CMIGRATABLE 
CPYTHON 
CCHARE 
CMAINCHARE 
CARRAY 
CGROUP 
CNODEGROUP 

Definition at line 682 of file xi-symbol.h.


Constructor & Destructor Documentation

Chare::Chare ( int  ln,
attrib_t  Nattr,
NamedType t,
TypeList b = 0,
MemberList l = 0 
)


Member Function Documentation

void Chare::genTypedefs ( XStr str  )  [protected]

Definition at line 1696 of file xi-symbol.C.

Referenced by xi::Array::genSubDecls().

void Chare::genRegisterMethodDef ( XStr str  )  [protected]

Definition at line 867 of file xi-symbol.C.

References xi::internalMode, list, xi::templateGuardBegin(), xi::templateGuardEnd(), and type.

void Chare::sharedDisambiguation ( XStr str,
const XStr superclass 
) [protected]

Definition at line 806 of file xi-symbol.C.

References type.

Referenced by xi::Array::genSubDecls().

void Chare::genProxyNames ( XStr str,
const char *  prefix,
const char *  middle,
const char *  suffix,
const char *  sep 
)

Definition at line 790 of file xi-symbol.C.

Referenced by xi::Array::genSubDecls().

void Chare::genIndexNames ( XStr str,
const char *  prefix,
const char *  middle,
const char *  suffix,
const char *  sep 
)

Definition at line 795 of file xi-symbol.C.

References xi::forIndex.

XStr Chare::proxyName ( int  withTemplates = 1  ) 

XStr Chare::indexName ( int  withTemplates = 1  ) 

XStr Chare::indexList (  ) 

Definition at line 728 of file xi-symbol.C.

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

XStr xi::Chare::baseName ( int  withTemplates = 1  )  const [inline]

int xi::Chare::isTemplated ( void   )  [inline]

Definition at line 727 of file xi-symbol.h.

References xi::TEntity::templat.

Referenced by xi::Entry::genDefs(), xi::Array::genSubDecls(), and xi::Member::makeDecl().

int xi::Chare::isMigratable ( void   )  [inline]

Definition at line 728 of file xi-symbol.h.

References attrib, and CMIGRATABLE.

Referenced by Chare().

int xi::Chare::isPython ( void   )  [inline]

Definition at line 729 of file xi-symbol.h.

References attrib, and CPYTHON.

int xi::Chare::isMainChare ( void   )  [inline]

Definition at line 730 of file xi-symbol.h.

References attrib, and CMAINCHARE.

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

int xi::Chare::isChare ( void   )  [inline]

Definition at line 731 of file xi-symbol.h.

References attrib, and CCHARE.

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

int xi::Chare::isArray ( void   )  [inline]

int xi::Chare::isGroup ( void   )  [inline]

Definition at line 733 of file xi-symbol.h.

References attrib, and CGROUP.

Referenced by xi::Entry::genDecls(), xi::Entry::genDefs(), and xi::SdagConstruct::generateSdagEntry().

int xi::Chare::isNodeGroup ( void   )  [inline]

int xi::Chare::isForElement ( void   )  const [inline]

int xi::Chare::isForSection ( void   )  const [inline]

int xi::Chare::hasSdag (  )  const [inline]

Definition at line 737 of file xi-symbol.h.

References hasSdagEntry.

void xi::Chare::setSdag ( int  f  )  [inline]

Definition at line 738 of file xi-symbol.h.

References hasSdagEntry.

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

forWhom xi::Chare::getForWhom ( void   )  const [inline]

void Chare::print ( XStr str  )  [virtual]

Implements xi::Printable.

Definition at line 355 of file xi-symbol.C.

References list, xi::XStr::print(), and type.

void Chare::genDefs ( XStr str  )  [virtual]

void Chare::genReg ( XStr str  )  [virtual]

Reimplemented from xi::Construct.

Definition at line 1890 of file xi-symbol.C.

References print(), and type.

void Chare::genPub ( XStr declstr,
XStr defstr,
XStr defconstr,
int connectPresent 
) [virtual]

Reimplemented from xi::Construct.

Definition at line 896 of file xi-symbol.C.

References list, and type.

void Chare::genDecls ( XStr str  )  [virtual]

void Chare::preprocess (  )  [virtual]

Reimplemented from xi::Construct.

Definition at line 1016 of file xi-symbol.C.

References list.

int xi::Chare::genAccels_spe_c_funcBodies ( XStr str  )  [inline, virtual]

Reimplemented from xi::Construct.

Definition at line 748 of file xi-symbol.h.

References xi::MemberList::genAccels_spe_c_funcBodies(), and list.

void xi::Chare::genAccels_spe_c_regFuncs ( XStr str  )  [inline, virtual]

Reimplemented from xi::Construct.

Definition at line 753 of file xi-symbol.h.

References xi::MemberList::genAccels_spe_c_regFuncs(), and list.

void xi::Chare::genAccels_spe_c_callInits ( XStr str  )  [inline, virtual]

Reimplemented from xi::Construct.

Definition at line 756 of file xi-symbol.h.

References xi::MemberList::genAccels_spe_c_callInits(), and list.

void xi::Chare::genAccels_spe_h_includes ( XStr str  )  [inline, virtual]

Reimplemented from xi::Construct.

Definition at line 759 of file xi-symbol.h.

References xi::MemberList::genAccels_spe_h_includes(), and list.

void xi::Chare::genAccels_spe_h_fiCountDefs ( XStr str  )  [inline, virtual]

Reimplemented from xi::Construct.

Definition at line 762 of file xi-symbol.h.

References xi::MemberList::genAccels_spe_h_fiCountDefs(), and list.

void xi::Chare::genAccels_ppe_c_regFuncs ( XStr str  )  [inline, virtual]

Reimplemented from xi::Construct.

Definition at line 765 of file xi-symbol.h.

References xi::MemberList::genAccels_ppe_c_regFuncs(), and list.

int xi::Chare::nextEntry ( void   )  [inline]

Definition at line 769 of file xi-symbol.h.

References entryCount.

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

void Chare::genSubDecls ( XStr str  )  [virtual]

Reimplemented in xi::Array, and xi::Group.

Definition at line 1042 of file xi-symbol.C.

References xi::CIClassEnd, xi::CIClassStart, xi::disambig_proxy(), list, and type.

void Chare::genPythonDecls ( XStr str  ) 

void Chare::genPythonDefs ( XStr str  ) 

Definition at line 1142 of file xi-symbol.C.

References list, and type.

virtual char* xi::Chare::chareTypeName ( void   )  [inline, virtual]

Reimplemented in xi::MainChare, xi::Array, xi::Group, and xi::NodeGroup.

Definition at line 773 of file xi-symbol.h.

char * Chare::proxyPrefix ( void   )  [virtual]

Definition at line 800 of file xi-symbol.C.

References xi::forWhomStr().

Referenced by xi::Array::genSubDecls().

virtual void xi::Chare::genSubRegisterMethodDef ( XStr str  )  [inline, virtual]

Reimplemented in xi::Group.

Definition at line 775 of file xi-symbol.h.

void Chare::lookforCEntry ( CEntry centry  ) 


Field Documentation

Definition at line 693 of file xi-symbol.h.

Referenced by isArray(), isChare(), isGroup(), isMainChare(), isMigratable(), isNodeGroup(), and isPython().

Definition at line 694 of file xi-symbol.h.

Referenced by xi::Array::Array(), Chare(), and xi::Group::Group().

Definition at line 696 of file xi-symbol.h.

Referenced by xi::Array::Array(), Chare(), and xi::Group::Group().

NamedType* xi::Chare::type [protected]

Definition at line 698 of file xi-symbol.h.

Referenced by xi::Array::Array(), baseName(), Chare(), and xi::Array::genSubDecls().

TypeList* xi::Chare::bases [protected]

Definition at line 700 of file xi-symbol.h.

Referenced by xi::Array::Array(), Chare(), xi::Array::genSubDecls(), and xi::Group::Group().

Definition at line 701 of file xi-symbol.h.

Referenced by xi::Array::Array(), Chare(), and xi::Group::Group().

Definition at line 703 of file xi-symbol.h.

Referenced by Chare(), and nextEntry().

Definition at line 704 of file xi-symbol.h.

Referenced by Chare(), hasSdag(), and setSdag().

Definition at line 705 of file xi-symbol.h.


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

Generated on Fri May 25 08:06:21 2012 for Charm++ by  doxygen 1.5.5