#include <xi-Template.h>
Public Member Functions | |
TName (Type *t, const char *n, const char *v=0) | |
void | print (XStr &str) |
void | genLong (XStr &str, bool printDefault=true) |
void | genShort (XStr &str) |
Private Attributes | |
Type * | type |
const char * | name |
const char * | val |
Definition at line 159 of file xi-Template.h.
xi::TName::TName | ( | Type * | t, | |
const char * | n, | |||
const char * | v = 0 | |||
) |
Definition at line 99 of file xi-Template.C.
void xi::TName::print | ( | XStr & | str | ) | [virtual] |
Implements xi::Printable.
Definition at line 280 of file xi-Template.C.
References name, xi::Type::print(), type, and val.
Implements xi::TVar.
Definition at line 230 of file xi-Template.C.
References name, xi::Type::print(), type, and val.
void xi::TName::genShort | ( | XStr & | str | ) | [virtual] |
Type* xi::TName::type [private] |
const char* xi::TName::name [private] |
const char* xi::TName::val [private] |