#include <xi-Type.h>
Public Member Functions | |
NamedType (const char *n, TParamList *t=0, const char *scope_=NULL, bool useTypename_=false) | |
int | isTemplated (void) const |
int | isCkArgMsg (void) const |
int | isCkMigMsg (void) const |
int | isVector (void) const |
void | print (XStr &str) |
int | isNamed (void) const |
TParamList * | getTparams (void) const |
virtual const char * | getBaseName (void) const |
virtual const char * | getScope (void) const |
virtual void | genProxyName (XStr &str, forWhom forElement) |
virtual void | genIndexName (XStr &str) |
virtual void | genMsgProxyName (XStr &str) |
Protected Attributes | |
const char * | name |
const char * | scope |
TParamList * | tparams |
bool | useTypename |
Definition at line 75 of file xi-Type.h.
xi::NamedType::NamedType | ( | const char * | n, | |
TParamList * | t = 0 , |
|||
const char * | scope_ = NULL , |
|||
bool | useTypename_ = false | |||
) | [inline] |
int xi::NamedType::isTemplated | ( | void | ) | const [inline, virtual] |
Reimplemented from xi::Type.
Definition at line 85 of file xi-Type.h.
References tparams.
Referenced by xi::PUPableClass::genDefs(), xi::PUPableClass::genReg(), and xi::Chare::isTemplateInstantiation().
int xi::NamedType::isCkArgMsg | ( | void | ) | const [inline, virtual] |
int xi::NamedType::isCkMigMsg | ( | void | ) | const [inline, virtual] |
int xi::NamedType::isVector | ( | void | ) | const [inline] |
void xi::NamedType::print | ( | XStr & | str | ) | [virtual] |
Implements xi::Type.
Reimplemented in xi::NamedEllipsisType.
Definition at line 38 of file xi-Type.C.
References name, scope, tparams, and useTypename.
Referenced by xi::Array::Array(), and xi::Message::print().
int xi::NamedType::isNamed | ( | void | ) | const [inline, virtual] |
TParamList* xi::NamedType::getTparams | ( | void | ) | const [inline] |
Definition at line 91 of file xi-Type.h.
References tparams.
Referenced by xi::Readonly::genDefs().
virtual const char* xi::NamedType::getBaseName | ( | void | ) | const [inline, virtual] |
Implements xi::Type.
Reimplemented in xi::NamedEllipsisType.
Definition at line 92 of file xi-Type.h.
References name.
Referenced by xi::Array::Array(), and xi::Chare::baseName().
virtual const char* xi::NamedType::getScope | ( | void | ) | const [inline, virtual] |
void xi::NamedType::genIndexName | ( | XStr & | str | ) | [virtual] |
void xi::NamedType::genMsgProxyName | ( | XStr & | str | ) | [virtual] |
const char* xi::NamedType::name [protected] |
Definition at line 77 of file xi-Type.h.
Referenced by genIndexName(), genMsgProxyName(), genProxyName(), getBaseName(), isCkArgMsg(), isCkMigMsg(), isVector(), print(), and xi::NamedEllipsisType::printWithoutEllipsis().
const char* xi::NamedType::scope [protected] |
Definition at line 78 of file xi-Type.h.
Referenced by genIndexName(), genMsgProxyName(), genProxyName(), getScope(), xi::NamedEllipsisType::print(), print(), and xi::NamedEllipsisType::printWithoutEllipsis().
TParamList* xi::NamedType::tparams [protected] |
Definition at line 79 of file xi-Type.h.
Referenced by genIndexName(), genMsgProxyName(), genProxyName(), getTparams(), isTemplated(), xi::NamedEllipsisType::print(), print(), and xi::NamedEllipsisType::printWithoutEllipsis().
bool xi::NamedType::useTypename [protected] |