PPL Logo

xi::NamedType Class Reference

#include <xi-Type.h>

Inheritance diagram for xi::NamedType:

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

Collaboration graph
[legend]

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
TParamListgetTparams (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
TParamListtparams
bool useTypename

Detailed Description

Definition at line 75 of file xi-Type.h.


Constructor & Destructor Documentation

xi::NamedType::NamedType ( const char *  n,
TParamList t = 0,
const char *  scope_ = NULL,
bool  useTypename_ = false 
) [inline]

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


Member Function Documentation

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

Here is the caller graph for this function:

int xi::NamedType::isCkArgMsg ( void   )  const [inline, virtual]

Reimplemented from xi::Type.

Definition at line 86 of file xi-Type.h.

References name.

int xi::NamedType::isCkMigMsg ( void   )  const [inline, virtual]

Reimplemented from xi::Type.

Definition at line 87 of file xi-Type.h.

References name.

int xi::NamedType::isVector ( void   )  const [inline]

Definition at line 88 of file xi-Type.h.

References name.

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

Here is the caller graph for this function:

int xi::NamedType::isNamed ( void   )  const [inline, virtual]

Reimplemented from xi::Type.

Definition at line 90 of file xi-Type.h.

TParamList* xi::NamedType::getTparams ( void   )  const [inline]

Definition at line 91 of file xi-Type.h.

References tparams.

Referenced by xi::Readonly::genDefs().

Here is the caller graph for this function:

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

Here is the caller graph for this function:

virtual const char* xi::NamedType::getScope ( void   )  const [inline, virtual]

Implements xi::Type.

Definition at line 93 of file xi-Type.h.

References scope.

void xi::NamedType::genProxyName ( XStr str,
forWhom  forElement 
) [virtual]

Reimplemented from xi::Type.

Definition at line 28 of file xi-Type.C.

References xi::die(), xi::forWhomStr(), name, scope, and tparams.

Here is the call graph for this function:

void xi::NamedType::genIndexName ( XStr str  )  [virtual]

Reimplemented from xi::Type.

Definition at line 45 of file xi-Type.C.

References Prefix::Index, name, scope, and tparams.

void xi::NamedType::genMsgProxyName ( XStr str  )  [virtual]

Reimplemented from xi::Type.

Definition at line 52 of file xi-Type.C.

References Prefix::Message, name, scope, and tparams.


Field Documentation

const char* xi::NamedType::name [protected]

const char* xi::NamedType::scope [protected]

Definition at line 80 of file xi-Type.h.

Referenced by print().


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

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