Array Class Reference

#include <xi-symbol.h>

Inheritance diagram for Array:

Inheritance graph
[legend]
Collaboration diagram for Array:

Collaboration graph
[legend]

Public Member Functions

 Array (int ln, attrib_t Nattr, NamedType *index, NamedType *t, TypeList *b=0, MemberList *l=0)
virtual int is1D (void)
virtual const char * dim (void)
virtual void genSubDecls (XStr &str)
virtual char * chareTypeName (void)

Protected Attributes

XStr indexSuffix
XStr indexType

Detailed Description

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


Constructor & Destructor Documentation

Array::Array ( int  ln,
attrib_t  Nattr,
NamedType index,
NamedType t,
TypeList b = 0,
MemberList l = 0 
)

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

References Chare::bases, Chare::bases_CBase, Chare::forElement, forIndividual, NamedType::getBaseName(), Chare::hasElement, Chare::hasSection, indexSuffix, indexSuffix2object(), indexType, NamedType::print(), and Chare::type.


Member Function Documentation

virtual int Array::is1D ( void   )  [inline, virtual]

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

References indexSuffix.

virtual const char* Array::dim ( void   )  [inline, virtual]

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

References XStr::get_string_const(), and indexSuffix.

void Array::genSubDecls ( XStr str  )  [virtual]

Reimplemented from Chare.

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

References Chare::bases, CIClassEnd, CIClassStart, Construct::external, forAll, Chare::forElement, forIndividual, forSection, MemberList::genDecls(), Type::genProxyName(), Chare::genProxyNames(), Chare::genTypedefs(), TypeList::getFirst(), indexSuffix, indexType, Chare::isTemplated(), Chare::list, Prefix::ProxyElement, Chare::proxyPrefix(), Chare::sharedDisambiguation(), TEntity::tspec(), TEntity::tvars(), and Chare::type.

virtual char* Array::chareTypeName ( void   )  [inline, virtual]

Reimplemented from Chare.

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


Field Documentation

XStr Array::indexSuffix [protected]

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

Referenced by Array(), dim(), genSubDecls(), and is1D().

XStr Array::indexType [protected]

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

Referenced by Array(), and genSubDecls().


The documentation for this class was generated from the following files:
Generated on Sun Jun 29 13:29:58 2008 for Charm++ by  doxygen 1.5.1