#include <xi-Type.h>
Public Member Functions | |
virtual void | print (XStr &)=0 |
virtual int | isVoid (void) const |
virtual int | isBuiltin (void) const |
virtual int | isMessage (void) const |
virtual int | isTemplated (void) const |
virtual int | isPointer (void) const |
virtual int | isNamed (void) const |
virtual int | isCkArgMsgPtr (void) const |
virtual int | isCkArgMsg (void) const |
virtual int | isCkMigMsgPtr (void) const |
virtual int | isCkMigMsg (void) const |
virtual int | isReference (void) const |
virtual int | isInt (void) const |
virtual bool | isConst (void) const |
virtual Type * | deref (void) |
virtual const char * | getBaseName (void) const =0 |
virtual const char * | getScope (void) const =0 |
virtual int | getNumStars (void) const |
virtual void | genProxyName (XStr &str, forWhom forElement) |
virtual void | genIndexName (XStr &str) |
virtual void | genMsgProxyName (XStr &str) |
XStr | proxyName (forWhom w) |
XStr | indexName (void) |
XStr | msgProxyName (void) |
virtual void | printVar (XStr &str, char *var) |
int | operator== (const Type &tp) const |
virtual | ~Type () |
Definition at line 12 of file xi-Type.h.
virtual void xi::Type::print | ( | XStr & | ) | [pure virtual] |
Implements xi::Printable.
Implemented in xi::BuiltinType, xi::NamedType, xi::NamedEllipsisType, xi::PtrType, xi::EllipsisType, xi::RValueReferenceType, xi::ReferenceType, xi::ConstType, and xi::FuncType.
Referenced by xi::Message::genDefs(), xi::Readonly::genDefs(), xi::Entry::genDefs(), xi::TName::genLong(), xi::TTypeEllipsis::genLong(), xi::TType::genLong(), xi::TType::genShort(), xi::TParamType::genSpec(), xi::TypeList::print(), xi::PtrType::print(), xi::FuncType::print(), xi::TName::print(), xi::TTypeEllipsis::print(), xi::TType::print(), xi::TParamType::print(), xi::MsgVar::print(), xi::Readonly::print(), xi::Entry::print(), xi::Parameter::printAddress(), xi::Parameter::printMsg(), xi::ParamList::printTypes(), and printVar().
virtual int xi::Type::isVoid | ( | void | ) | const [inline, virtual] |
Reimplemented in xi::BuiltinType.
Definition at line 15 of file xi-Type.h.
Referenced by xi::Entry::check(), xi::Entry::genAccelFullCallList(), xi::Entry::genAccelFullParamList(), xi::Entry::genAccelIndexWrapperDef_spe(), xi::Entry::genAccels_spe_c_funcBodies(), xi::Entry::genDefs(), xi::Parameter::isVoid(), xi::Entry::preprocess(), xi::Parameter::print(), xi::Entry::syncPostCall(), and xi::Entry::syncPreCall().
virtual int xi::Type::isBuiltin | ( | void | ) | const [inline, virtual] |
Reimplemented in xi::BuiltinType.
Definition at line 16 of file xi-Type.h.
Referenced by xi::Entry::check(), xi::ParamList::isBuiltin(), and xi::PtrType::isMessage().
virtual int xi::Type::isMessage | ( | void | ) | const [inline, virtual] |
Reimplemented in xi::PtrType.
Definition at line 17 of file xi-Type.h.
Referenced by xi::Entry::genDefs(), xi::Parameter::isMessage(), xi::Entry::syncPostCall(), and xi::Entry::syncPreCall().
virtual int xi::Type::isTemplated | ( | void | ) | const [inline, virtual] |
virtual int xi::Type::isPointer | ( | void | ) | const [inline, virtual] |
Reimplemented in xi::PtrType.
Definition at line 19 of file xi-Type.h.
Referenced by xi::Parameter::checkPointer(), xi::Message::genDefs(), and xi::ParamList::isPointer().
virtual int xi::Type::isNamed | ( | void | ) | const [inline, virtual] |
Reimplemented in xi::NamedType.
Definition at line 20 of file xi-Type.h.
Referenced by xi::ParamList::isNamed(), and xi::Parameter::Parameter().
virtual int xi::Type::isCkArgMsgPtr | ( | void | ) | const [inline, virtual] |
Reimplemented in xi::PtrType.
Definition at line 21 of file xi-Type.h.
Referenced by xi::Parameter::isCkArgMsgPtr().
virtual int xi::Type::isCkArgMsg | ( | void | ) | const [inline, virtual] |
Reimplemented in xi::NamedType.
Definition at line 22 of file xi-Type.h.
Referenced by xi::PtrType::isCkArgMsgPtr().
virtual int xi::Type::isCkMigMsgPtr | ( | void | ) | const [inline, virtual] |
Reimplemented in xi::PtrType.
Definition at line 23 of file xi-Type.h.
Referenced by xi::Parameter::isCkMigMsgPtr().
virtual int xi::Type::isCkMigMsg | ( | void | ) | const [inline, virtual] |
Reimplemented in xi::NamedType.
Definition at line 24 of file xi-Type.h.
Referenced by xi::PtrType::isCkMigMsgPtr().
virtual int xi::Type::isReference | ( | void | ) | const [inline, virtual] |
Reimplemented in xi::RValueReferenceType, and xi::ReferenceType.
Definition at line 25 of file xi-Type.h.
Referenced by xi::ParamList::declaredReference(), xi::ParamList::isReference(), and xi::Parameter::Parameter().
virtual int xi::Type::isInt | ( | void | ) | const [inline, virtual] |
virtual bool xi::Type::isConst | ( | void | ) | const [inline, virtual] |
Reimplemented in xi::ConstType.
Definition at line 27 of file xi-Type.h.
Referenced by xi::ParamList::isConst(), and xi::Parameter::Parameter().
virtual Type* xi::Type::deref | ( | void | ) | [inline, virtual] |
Reimplemented in xi::PtrType, xi::EllipsisType, xi::RValueReferenceType, xi::ReferenceType, and xi::ConstType.
Definition at line 28 of file xi-Type.h.
Referenced by xi::ParamList::beginRednWrapperUnmarshall(), xi::Parameter::beginUnmarshall(), xi::Parameter::beginUnmarshallArray(), xi::Parameter::beginUnmarshallRdma(), xi::Parameter::beginUnmarshallSDAGCall(), xi::Parameter::beginUnmarshallSDAGCallRdma(), xi::Parameter::check(), xi::Entry::genClosure(), xi::Entry::genDefs(), xi::Parameter::marshallRdmaParameters(), xi::Parameter::marshallRegArraySizes(), xi::Parameter::Parameter(), xi::Parameter::storePostedRdmaPtrs(), xi::Parameter::unmarshallArrayData(), xi::Parameter::unmarshallRdmaArrayDataSDAG(), xi::Parameter::unmarshallRdmaArrayDataSDAGCall(), xi::Parameter::unmarshallRegArrayDataSDAG(), and xi::Parameter::unmarshallRegArrayDataSDAGCall().
virtual const char* xi::Type::getBaseName | ( | void | ) | const [pure virtual] |
Implemented in xi::BuiltinType, xi::NamedType, xi::NamedEllipsisType, xi::PtrType, xi::EllipsisType, xi::RValueReferenceType, xi::ReferenceType, xi::ConstType, and xi::FuncType.
Referenced by xi::Entry::genAccelFullParamList(), xi::Entry::genAccelIndexWrapperDef_spe(), xi::Entry::genAccels_spe_c_funcBodies(), xi::Entry::genClosure(), xi::Readonly::genDefs(), xi::ConstType::getBaseName(), xi::ReferenceType::getBaseName(), xi::RValueReferenceType::getBaseName(), xi::EllipsisType::getBaseName(), xi::PtrType::getBaseName(), xi::ParamList::getBaseName(), and operator==().
virtual const char* xi::Type::getScope | ( | void | ) | const [pure virtual] |
Implemented in xi::BuiltinType, xi::NamedType, xi::PtrType, xi::EllipsisType, xi::RValueReferenceType, xi::ReferenceType, xi::ConstType, and xi::FuncType.
virtual int xi::Type::getNumStars | ( | void | ) | const [inline, virtual] |
Reimplemented in xi::PtrType.
Definition at line 31 of file xi-Type.h.
Referenced by xi::ParamList::getNumStars().
Reimplemented in xi::NamedType.
Definition at line 14 of file xi-Type.C.
References xi::die().
Referenced by xi::TypeList::genProxyNames(), xi::Array::genSubDecls(), and proxyName().
void xi::Type::genIndexName | ( | XStr & | str | ) | [virtual] |
Reimplemented in xi::NamedType.
Definition at line 19 of file xi-Type.C.
References xi::die().
Referenced by indexName().
void xi::Type::genMsgProxyName | ( | XStr & | str | ) | [virtual] |
Reimplemented in xi::NamedType, and xi::PtrType.
Definition at line 23 of file xi-Type.C.
References xi::die().
Referenced by xi::PtrType::genMsgProxyName(), xi::ParamList::genMsgProxyName(), and msgProxyName().
Definition at line 35 of file xi-Type.h.
References genProxyName().
XStr xi::Type::indexName | ( | void | ) | [inline] |
Definition at line 40 of file xi-Type.h.
References genIndexName().
XStr xi::Type::msgProxyName | ( | void | ) | [inline] |
Definition at line 45 of file xi-Type.h.
References genMsgProxyName().
virtual void xi::Type::printVar | ( | XStr & | str, | |
char * | var | |||
) | [inline, virtual] |
Definition at line 55 of file xi-Type.h.
References getBaseName().