#include <xi-Member.h>
Public Member Functions | |
Readonly (int l, Type *t, const char *n, ValueList *d, int m=0) | |
void | print (XStr &str) |
void | genDecls (XStr &str) |
void | genIndexDecls (XStr &str) |
void | genDefs (XStr &str) |
void | genReg (XStr &str) |
Private Member Functions | |
XStr | qName (void) const |
Private Attributes | |
int | msg |
Type * | type |
const char * | name |
ValueList * | dims |
Definition at line 42 of file xi-Member.h.
Definition at line 211 of file xi-Member.C.
References dims, xi::AstNode::line, and xi::Member::setChare().
XStr xi::Readonly::qName | ( | void | ) | const [private] |
Definition at line 204 of file xi-Member.C.
References xi::Chare::baseName(), xi::Member::container, and name.
Referenced by genDefs(), and genReg().
void xi::Readonly::print | ( | XStr & | str | ) | [virtual] |
Implements xi::Printable.
Definition at line 42 of file xi-Member.C.
References dims, xi::Construct::external, msg, name, xi::ValueList::print(), xi::Type::print(), and type.
Referenced by genDecls(), genDefs(), and genIndexDecls().
void xi::Readonly::genDecls | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::AstNode.
Definition at line 218 of file xi-Member.C.
References print().
void xi::Readonly::genIndexDecls | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::Member.
Definition at line 224 of file xi-Member.C.
References print().
void xi::Readonly::genDefs | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::AstNode.
Definition at line 56 of file xi-Member.C.
References xi::Member::container, dims, xi::fortranify(), xi::fortranMode, xi::Type::getBaseName(), xi::NamedType::getTparams(), xi::makeIdent(), msg, name, xi::ValueList::print(), xi::Type::print(), print(), xi::ValueList::printValueProduct(), xi::ValueList::printZeros(), qName(), xi::templateGuardBegin(), xi::templateGuardEnd(), and type.
void xi::Readonly::genReg | ( | XStr & | str | ) | [virtual] |
Reimplemented from xi::AstNode.
Definition at line 191 of file xi-Member.C.
References dims, xi::Construct::external, xi::AstNode::line, xi::makeIdent(), msg, qName(), and type.
int xi::Readonly::msg [private] |
Type* xi::Readonly::type [private] |
const char* xi::Readonly::name [private] |
ValueList* xi::Readonly::dims [private] |
Definition at line 46 of file xi-Member.h.
Referenced by genDefs(), genReg(), print(), and Readonly().