
#include <xi-symbol.h>


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 |
| NamedType * | type |
| MemberList * | list |
| TypeList * | bases |
| TypeList * | bases_CBase |
| int | entryCount |
| int | hasSdagEntry |
| XStr | sdagDefs |
Definition at line 680 of file xi-symbol.h.
| typedef unsigned int xi::Chare::attrib_t |
Definition at line 691 of file xi-symbol.h.
| anonymous enum |
Definition at line 682 of file xi-symbol.h.
| Chare::Chare | ( | int | ln, | |
| attrib_t | Nattr, | |||
| NamedType * | t, | |||
| TypeList * | b = 0, |
|||
| MemberList * | l = 0 | |||
| ) |
Definition at line 838 of file xi-symbol.C.
References bases, bases_CBase, entryCount, xi::forAll, forElement, xi::NamedType::getBaseName(), hasElement, hasSdagEntry, hasSection, isMigratable(), xi::Construct::line, list, xi::Entry::setChare(), xi::MemberList::setChare(), xi::TEntity::setTemplate(), and type.
| void Chare::genTypedefs | ( | XStr & | str | ) | [protected] |
| 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.
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 | |||
| ) |
| void Chare::genIndexNames | ( | XStr & | str, | |
| const char * | prefix, | |||
| const char * | middle, | |||
| const char * | suffix, | |||
| const char * | sep | |||
| ) |
Definition at line 712 of file xi-symbol.C.
References type.
Referenced by xi::Entry::genChareStaticConstructorDecl(), xi::Entry::genChareStaticConstructorDefs(), xi::Entry::genDefs(), xi::Entry::genGroupStaticConstructorDecl(), xi::Entry::genGroupStaticConstructorDefs(), xi::Member::makeDecl(), and xi::Entry::proxyName().
Definition at line 720 of file xi-symbol.C.
References type.
Referenced by xi::Entry::genAccelIndexWrapperDef_spe(), xi::SdagConstruct::generateTraceEp(), xi::Entry::indexName(), and xi::Member::makeDecl().
| XStr Chare::indexList | ( | ) |
Definition at line 720 of file xi-symbol.h.
References xi::NamedType::getBaseName(), xi::TEntity::tvars(), and type.
Referenced by xi::Entry::callThread(), xi::Entry::genAccelFullParamList(), xi::Entry::genAccelIndexWrapperDef_spe(), xi::Entry::genArrayDefs(), xi::Entry::genCall(), xi::Entry::genChareDefs(), xi::Entry::genDefs(), xi::CEntry::generateCode(), xi::generateSignature(), xi::Entry::genGroupDecl(), xi::Entry::genGroupDefs(), xi::Entry::genIndexDecls(), xi::Entry::genPythonDecls(), xi::Entry::genPythonDefs(), xi::Entry::genPythonStaticDefs(), xi::InitCall::genReg(), xi::Entry::isConstructor(), and xi::Readonly::qName().
| 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] |
| 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] |
Definition at line 732 of file xi-symbol.h.
References attrib, and CARRAY.
Referenced by xi::Entry::genArrayStaticConstructorDecl(), xi::Entry::genArrayStaticConstructorDefs(), xi::Entry::genCall(), xi::Entry::genDecls(), and xi::Entry::genDefs().
| 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] |
Definition at line 734 of file xi-symbol.h.
References attrib, and CNODEGROUP.
Referenced by xi::Entry::genDefs(), xi::Entry::genGroupDecl(), xi::Entry::genGroupDefs(), xi::Entry::genGroupStaticConstructorDefs(), and xi::Group::Group().
| int xi::Chare::isForElement | ( | void | ) | const [inline] |
Definition at line 735 of file xi-symbol.h.
References forElement, and xi::forIndividual.
Referenced by xi::Entry::genArrayDecl(), xi::Entry::genArrayDefs(), xi::Entry::genDecls(), xi::Entry::genDefs(), xi::Entry::genGroupDecl(), xi::Entry::genGroupDefs(), xi::Entry::genGroupStaticConstructorDecl(), and xi::Entry::genGroupStaticConstructorDefs().
| int xi::Chare::isForSection | ( | void | ) | const [inline] |
Definition at line 736 of file xi-symbol.h.
References forElement, and xi::forSection.
Referenced by xi::Entry::genArrayDefs(), xi::Entry::genGroupDecl(), xi::Entry::genGroupDefs(), xi::Entry::genGroupStaticConstructorDecl(), and xi::Entry::genGroupStaticConstructorDefs().
| int xi::Chare::hasSdag | ( | ) | const [inline] |
| 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] |
Definition at line 739 of file xi-symbol.h.
References forElement.
Referenced by xi::Entry::genArrayStaticConstructorDecl(), xi::Entry::genArrayStaticConstructorDefs(), and xi::Entry::genDefs().
| 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] |
Reimplemented from xi::Construct.
Definition at line 1714 of file xi-symbol.C.
References xi::forAll, xi::forIndividual, xi::forSection, xi::fortranify(), xi::fortranMode, list, print(), xi::templateGuardBegin(), xi::templateGuardEnd(), and type.
| void Chare::genReg | ( | XStr & | str | ) | [virtual] |
| void Chare::genPub | ( | XStr & | declstr, | |
| XStr & | defstr, | |||
| XStr & | defconstr, | |||
| int & | connectPresent | |||
| ) | [virtual] |
| void Chare::genDecls | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::Construct.
Definition at line 908 of file xi-symbol.C.
References xi::CIClassEnd, xi::CIClassStart, xi::CParsedFile::doProcess(), xi::forAll, xi::forIndividual, xi::forSection, xi::TypeList::length(), list, print(), xi::resetNumbers(), xi::Entry::setChare(), and type.
| void Chare::preprocess | ( | ) | [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 | ) |
Definition at line 1097 of file xi-symbol.C.
References xi::CIClassEnd, xi::CIClassStart, xi::forPython, xi::TypeList::genProxyNames(), list, and type.
| void Chare::genPythonDefs | ( | XStr & | str | ) |
| 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] |
| void Chare::lookforCEntry | ( | CEntry * | centry | ) |
Definition at line 2707 of file xi-symbol.C.
References xi::CEntry::decl_entry, die(), endl(), xi::CEntry::entry, xi::XStr::get_string_const(), and list.
Referenced by xi::CParsedFile::mapCEntry().
attrib_t xi::Chare::attrib [protected] |
Definition at line 693 of file xi-symbol.h.
Referenced by isArray(), isChare(), isGroup(), isMainChare(), isMigratable(), isNodeGroup(), and isPython().
int xi::Chare::hasElement [protected] |
Definition at line 694 of file xi-symbol.h.
Referenced by xi::Array::Array(), Chare(), and xi::Group::Group().
forWhom xi::Chare::forElement [protected] |
Definition at line 695 of file xi-symbol.h.
Referenced by xi::Array::Array(), Chare(), xi::Array::genSubDecls(), getForWhom(), xi::Group::Group(), isForElement(), and isForSection().
int xi::Chare::hasSection [protected] |
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().
MemberList* xi::Chare::list [protected] |
Definition at line 699 of file xi-symbol.h.
Referenced by Chare(), genAccels_ppe_c_regFuncs(), genAccels_spe_c_callInits(), genAccels_spe_c_funcBodies(), genAccels_spe_c_regFuncs(), genAccels_spe_h_fiCountDefs(), genAccels_spe_h_includes(), 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().
TypeList* xi::Chare::bases_CBase [protected] |
Definition at line 701 of file xi-symbol.h.
Referenced by xi::Array::Array(), Chare(), and xi::Group::Group().
int xi::Chare::entryCount [protected] |
int xi::Chare::hasSdagEntry [protected] |
XStr xi::Chare::sdagDefs [protected] |
Definition at line 705 of file xi-symbol.h.
1.5.5