PPL Logo

xi::Template Class Reference

#include <xi-Template.h>

Inheritance diagram for xi::Template:

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

Collaboration graph
[legend]

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

TVarListtspec
TEntityentity

Detailed Description

Definition at line 78 of file xi-Template.h.


Constructor & Destructor Documentation

xi::Template::Template ( TVarList t,
TEntity e 
) [inline]

Definition at line 83 of file xi-Template.h.


Member Function Documentation

void xi::Template::setExtern ( int  e  )  [virtual]

Definition at line 113 of file xi-Template.C.

References entity, and xi::Construct::setExtern().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

void xi::Template::genSpec ( XStr str,
bool  printDefault = true 
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void xi::Template::genGlobalCode ( XStr  scope,
XStr decls,
XStr defs 
) [virtual]

Reimplemented from xi::AstNode.

Definition at line 138 of file xi-Template.C.

References entity, xi::Construct::external, and xi::AstNode::genGlobalCode().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:

int xi::Template::genAccels_spe_c_funcBodies ( XStr str  )  [virtual]

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:


Field Documentation

Definition at line 79 of file xi-Template.h.

Referenced by genSpec(), and genVars().


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

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