
#include <xi-Template.h>


Public Member Functions | |
| Template (TVarList *t, TEntity *e) | |
| virtual void | setExtern (int e) |
| void | print (XStr &str) |
| void | genDecls (XStr &str) |
| void | genDefs (XStr &str) |
| void | genSpec (XStr &str, bool printDefault=true) |
| void | genVars (XStr &str) |
| void | genGlobalCode (XStr scope, XStr &decls, XStr &defs) |
| void | outputClosuresDecl (XStr &str) |
| void | outputClosuresDef (XStr &str) |
| void | preprocess () |
| void | check () |
| 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) |
Private Attributes | |
| TVarList * | tspec |
| TEntity * | entity |
Definition at line 78 of file xi-Template.h.
Definition at line 83 of file xi-Template.h.
| void xi::Template::setExtern | ( | int | e | ) | [virtual] |
Definition at line 113 of file xi-Template.C.
References entity, and xi::Construct::setExtern().

| void xi::Template::print | ( | XStr & | str | ) | [virtual] |
Implements xi::Printable.
Definition at line 297 of file xi-Template.C.
References entity, and xi::Printable::print().

| void xi::Template::genDecls | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::AstNode.
Definition at line 128 of file xi-Template.C.
References entity, xi::Construct::external, and xi::AstNode::genDecls().

| void xi::Template::genDefs | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::AstNode.
Definition at line 134 of file xi-Template.C.
References entity, xi::Construct::external, and xi::AstNode::genDefs().

Definition at line 124 of file xi-Template.C.
References xi::generateTemplateSpec(), and tspec.
Referenced by xi::Message::genDecls(), xi::Message::genDefs(), xi::Message::print(), and xi::TEntity::tspec().


| void xi::Template::genVars | ( | XStr & | str | ) |
Definition at line 118 of file xi-Template.C.
References xi::TVarList::genShort(), and tspec.
Referenced by xi::Message::genAllocDecl(), xi::Message::genDefs(), and xi::TEntity::tvars().


Reimplemented from xi::AstNode.
Definition at line 138 of file xi-Template.C.
References entity, xi::Construct::external, and xi::AstNode::genGlobalCode().

| void xi::Template::outputClosuresDecl | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::AstNode.
Definition at line 103 of file xi-Template.C.
References c, xi::Chare::closuresDecl, and entity.
| void xi::Template::outputClosuresDef | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::AstNode.
Definition at line 108 of file xi-Template.C.
References c, xi::Chare::closuresDef, and entity.
| void xi::Template::preprocess | ( | ) | [virtual] |
Reimplemented from xi::AstNode.
Definition at line 180 of file xi-Template.C.
References entity, and xi::AstNode::preprocess().

| void xi::Template::check | ( | void | ) | [virtual] |
Reimplemented from xi::AstNode.
Definition at line 184 of file xi-Template.C.
References xi::AstNode::check(), and entity.

Reimplemented from xi::AstNode.
Definition at line 142 of file xi-Template.C.
References entity, xi::Construct::external, and xi::AstNode::genAccels_spe_c_funcBodies().

| void xi::Template::genAccels_spe_c_regFuncs | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::AstNode.
Definition at line 150 of file xi-Template.C.
References entity, xi::Construct::external, and xi::AstNode::genAccels_spe_c_regFuncs().

| void xi::Template::genAccels_spe_c_callInits | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::AstNode.
Definition at line 156 of file xi-Template.C.
References entity, xi::Construct::external, and xi::AstNode::genAccels_spe_c_callInits().

| void xi::Template::genAccels_spe_h_includes | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::AstNode.
Definition at line 162 of file xi-Template.C.
References entity, xi::Construct::external, and xi::AstNode::genAccels_spe_h_includes().

| void xi::Template::genAccels_spe_h_fiCountDefs | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::AstNode.
Definition at line 168 of file xi-Template.C.
References entity, xi::Construct::external, and xi::AstNode::genAccels_spe_h_fiCountDefs().

| void xi::Template::genAccels_ppe_c_regFuncs | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::AstNode.
Definition at line 174 of file xi-Template.C.
References entity, xi::Construct::external, and xi::AstNode::genAccels_ppe_c_regFuncs().

TVarList* xi::Template::tspec [private] |
TEntity* xi::Template::entity [private] |
Definition at line 80 of file xi-Template.h.
Referenced by check(), 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(), genGlobalCode(), outputClosuresDecl(), outputClosuresDef(), preprocess(), print(), and setExtern().
1.5.5