
#include <xi-symbol.h>


Public Member Functions | |
| Message (int l, NamedType *t, MsgVarList *mv=0) | |
| void | print (XStr &str) |
| void | genDecls (XStr &str) |
| void | genDefs (XStr &str) |
| void | genReg (XStr &str) |
| virtual const char * | proxyPrefix (void) |
| void | genAllocDecl (XStr &str) |
| int | numArrays (void) |
| int | numConditional (void) |
| int | numVars (void) |
Private Member Functions | |
| void | printVars (XStr &str) |
Private Attributes | |
| NamedType * | type |
| MsgVarList * | mvlist |
Definition at line 848 of file xi-symbol.h.
| xi::Message::Message | ( | int | l, | |
| NamedType * | t, | |||
| MsgVarList * | mv = 0 | |||
| ) | [inline] |
Definition at line 859 of file xi-symbol.h.
References xi::Construct::line, and xi::TEntity::setTemplate().
| void xi::Message::printVars | ( | XStr & | str | ) | [inline, private] |
Definition at line 851 of file xi-symbol.h.
References mvlist, and xi::MsgVarList::print().
Referenced by print().
| void xi::Message::print | ( | XStr & | str | ) | [virtual] |
Implements xi::Printable.
Definition at line 372 of file xi-symbol.C.
References xi::Construct::external, xi::Template::genSpec(), xi::NamedType::print(), printVars(), xi::TEntity::templat, and type.
Referenced by genDecls(), genDefs(), and genReg().
| void xi::Message::genDecls | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::Construct.
Definition at line 1954 of file xi-symbol.C.
References xi::Construct::external, genAllocDecl(), xi::Template::genSpec(), xi::MsgVar::isArray(), xi::MsgVar::isConditional(), mvlist, xi::MsgVar::name, xi::MsgVarList::next, numVars(), xi::MsgVar::print(), xi::XStr::print(), print(), proxyPrefix(), xi::TEntity::templat, xi::MsgVar::type, and type.
| void xi::Message::genDefs | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::Construct.
Definition at line 2004 of file xi-symbol.C.
References xi::die(), xi::Construct::external, xi::Template::genSpec(), xi::Template::genVars(), xi::MsgVar::isArray(), xi::MsgVar::isConditional(), xi::Type::isPointer(), xi::Construct::line, mvlist, xi::MsgVar::name, xi::MsgVarList::next, numArrays(), numConditional(), numVars(), xi::Type::print(), print(), proxyPrefix(), xi::TEntity::templat, xi::templateGuardBegin(), xi::templateGuardEnd(), xi::TEntity::tspec(), xi::MsgVar::type, and type.
| void xi::Message::genReg | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::Construct.
Definition at line 2191 of file xi-symbol.C.
References xi::Construct::external, print(), proxyPrefix(), xi::TEntity::templat, xi::TEntity::tspec(), and type.
| virtual const char* xi::Message::proxyPrefix | ( | void | ) | [inline, virtual] |
Definition at line 867 of file xi-symbol.h.
References xi::Prefix::Message.
Referenced by genDecls(), genDefs(), and genReg().
| void xi::Message::genAllocDecl | ( | XStr & | str | ) |
Definition at line 1918 of file xi-symbol.C.
References xi::CIMsgClassAnsi, xi::Template::genVars(), numArrays(), xi::TEntity::templat, and type.
Referenced by genDecls().
| int xi::Message::numArrays | ( | void | ) | [inline] |
Definition at line 869 of file xi-symbol.h.
References xi::MsgVarList::len(), mvlist, and xi::MsgVarList::next.
Referenced by genAllocDecl(), and genDefs().
| int xi::Message::numConditional | ( | void | ) | [inline] |
Definition at line 876 of file xi-symbol.h.
References xi::MsgVarList::len(), mvlist, and xi::MsgVarList::next.
Referenced by genDefs().
| int xi::Message::numVars | ( | void | ) | [inline] |
Definition at line 883 of file xi-symbol.h.
References xi::MsgVarList::len(), and mvlist.
Referenced by genDecls(), and genDefs().
NamedType* xi::Message::type [private] |
Definition at line 849 of file xi-symbol.h.
Referenced by genAllocDecl(), genDecls(), genDefs(), genReg(), and print().
MsgVarList* xi::Message::mvlist [private] |
Definition at line 850 of file xi-symbol.h.
Referenced by genDecls(), genDefs(), numArrays(), numConditional(), numVars(), and printVars().
1.5.5