PPL Logo

xi::Module Class Reference

#include <xi-symbol.h>

Inheritance diagram for xi::Module:

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

Collaboration graph
[legend]

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

ConstructListclist

Private Attributes

int _isMain
const char * name

Detailed Description

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


Constructor & Destructor Documentation

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


Member Function Documentation

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  ) 

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

References endl(), and name.

Referenced by xi::ModuleList::genDepends().

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]

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]

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

References _isMain.

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

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

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


Field Documentation

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

Referenced by isMain(), Module(), and setMain().

const char* xi::Module::name [private]


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

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