Tanl Linguistic Pipeline |
Generic object, used for reading/writing dynamically defined tables. More...
#include <metaclass.h>
Public Member Functions | |
AnyObject (MetaClass *table) | |
Metaclass information for creating the object is provided by MetaClass. | |
MetaClass * | metaClass () const |
bool | operator== (AnyObject const &other) |
void | _clear () |
std::ostream & | print (std::ostream &out) |
Display contents. | |
template<class T > | |
ItemOf< T > & | field (char *fieldName) |
Get the named field value. | |
template<class T > | |
ItemOf< T > & | field (int i) |
Get the i-th field value. | |
Item & | operator[] (int i) |
Public Attributes | |
MetaClass * | _metaClass |
std::vector< Item * > | values |
Generic object, used for reading/writing dynamically defined tables.