
#include <xi-symbol.h>


Public Member Functions | |
| Module (int l, const char *n, ConstructList *c) | |
| void | print (XStr &str) |
| void | generate () |
| void | setModule () |
| void | prependConstruct (Construct *c) |
| void | preprocess () |
| void | genDepend (const char *cifile) |
| void | genPub (XStr &declstr, XStr &defstr, XStr &defconstr, int &connectPresent) |
| void | genDecls (XStr &str) |
| void | genDefs (XStr &str) |
| void | genReg (XStr &str) |
| void | setMain (void) |
| int | isMain (void) |
| 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) |
Data Fields | |
| ConstructList * | clist |
Private Attributes | |
| int | _isMain |
| const char * | name |
Definition at line 1094 of file xi-symbol.h.
| xi::Module::Module | ( | int | l, | |
| const char * | n, | |||
| ConstructList * | c | |||
| ) | [inline] |
Definition at line 1100 of file xi-symbol.h.
References _isMain, clist, xi::Construct::line, and xi::ConstructList::setModule().
| void xi::Module::print | ( | XStr & | str | ) | [virtual] |
Implements xi::Printable.
Definition at line 447 of file xi-symbol.C.
References clist, xi::Construct::external, name, and xi::ConstructList::print().
Referenced by xi::ModuleList::print().
| void xi::Module::generate | ( | ) |
Generate the SPE code file contents ///
Generate the SPE header file contents ///
Generate this module's code (actually create the files) ///
Definition at line 462 of file xi-symbol.C.
References xi::XStr::charstar(), clist, xi::die(), xi::fortranMode, genAccels_spe_c_funcBodies(), genAccels_spe_h_fiCountDefs(), genAccels_spe_h_includes(), xi::ConstructList::genDecls(), genDefs(), xi::ConstructList::genPub(), xi::ConstructList::genReg(), xi::XStr::get_string(), isMain(), name, xi::templateGuardBegin(), and xi::templateGuardEnd().
| void xi::Module::setModule | ( | ) |
| void xi::Module::prependConstruct | ( | Construct * | c | ) | [inline] |
Definition at line 1108 of file xi-symbol.h.
References clist.
Referenced by xi::Entry::preprocess().
| void xi::Module::preprocess | ( | ) | [virtual] |
Reimplemented from xi::Construct.
Definition at line 611 of file xi-symbol.C.
References clist, and xi::ConstructList::preprocess().
| void xi::Module::genDepend | ( | const char * | cifile | ) |
| void xi::Module::genPub | ( | XStr & | declstr, | |
| XStr & | defstr, | |||
| XStr & | defconstr, | |||
| int & | connectPresent | |||
| ) | [virtual] |
Reimplemented from xi::Construct.
Definition at line 2342 of file xi-symbol.C.
References clist, xi::Construct::external, and xi::ConstructList::genPub().
| void xi::Module::genDecls | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::Construct.
Definition at line 2351 of file xi-symbol.C.
References clist, xi::Construct::external, xi::ConstructList::genDecls(), isMain(), and name.
| void xi::Module::genDefs | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::Construct.
Definition at line 2368 of file xi-symbol.C.
References clist, xi::Construct::external, genAccels_ppe_c_regFuncs(), xi::ConstructList::genDefs(), isMain(), name, xi::templateGuardBegin(), and xi::templateGuardEnd().
Referenced by generate().
| void xi::Module::genReg | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::Construct.
Definition at line 2407 of file xi-symbol.C.
References clist, xi::Construct::external, xi::ConstructList::genDefs(), and name.
| void xi::Module::setMain | ( | void | ) | [inline] |
| int xi::Module::isMain | ( | void | ) | [inline] |
Definition at line 1116 of file xi-symbol.h.
References _isMain.
Referenced by genAccels_spe_c_funcBodies(), genDecls(), genDefs(), and generate().
Reimplemented from xi::Construct.
Definition at line 2417 of file xi-symbol.C.
References clist, xi::Construct::external, genAccels_spe_c_callInits(), xi::ConstructList::genAccels_spe_c_funcBodies(), genAccels_spe_c_regFuncs(), isMain(), and name.
Referenced by generate().
| void xi::Module::genAccels_spe_c_regFuncs | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::Construct.
Definition at line 2488 of file xi-symbol.C.
References clist, xi::Construct::external, xi::ConstructList::genAccels_spe_c_regFuncs(), and name.
Referenced by genAccels_spe_c_funcBodies().
| void xi::Module::genAccels_spe_c_callInits | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::Construct.
Definition at line 2496 of file xi-symbol.C.
References clist, and xi::ConstructList::genAccels_spe_c_callInits().
Referenced by genAccels_spe_c_funcBodies().
| void xi::Module::genAccels_spe_h_includes | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::Construct.
Definition at line 2500 of file xi-symbol.C.
References clist, xi::Construct::external, xi::ConstructList::genAccels_spe_h_includes(), and name.
Referenced by generate().
| void xi::Module::genAccels_spe_h_fiCountDefs | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::Construct.
Definition at line 2507 of file xi-symbol.C.
References clist, xi::Construct::external, xi::ConstructList::genAccels_spe_h_fiCountDefs(), and name.
Referenced by generate().
| void xi::Module::genAccels_ppe_c_regFuncs | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::Construct.
Definition at line 2514 of file xi-symbol.C.
References clist, xi::Construct::external, xi::ConstructList::genAccels_ppe_c_regFuncs(), and name.
Referenced by genDefs().
int xi::Module::_isMain [private] |
const char* xi::Module::name [private] |
Definition at line 1096 of file xi-symbol.h.
Referenced by genAccels_ppe_c_regFuncs(), genAccels_spe_c_funcBodies(), genAccels_spe_c_regFuncs(), genAccels_spe_h_fiCountDefs(), genAccels_spe_h_includes(), genDecls(), genDefs(), genDepend(), generate(), genReg(), and print().
Definition at line 1099 of file xi-symbol.h.
Referenced by genAccels_ppe_c_regFuncs(), genAccels_spe_c_callInits(), genAccels_spe_c_funcBodies(), genAccels_spe_c_regFuncs(), genAccels_spe_h_fiCountDefs(), genAccels_spe_h_includes(), genDecls(), genDefs(), generate(), genPub(), genReg(), Module(), prependConstruct(), preprocess(), and print().
1.5.5