Tanl Linguistic Pipeline

IXE::MetaClass Class Reference
[Reflection]

Class MetaClass Describes the structure of an object. More...

#include <metaclass.h>

List of all members.

Public Member Functions

 META (MetaClass,(VARFIELD(name_, 2048), FIELD(columns), FIELD(nColumns), FIELD(instanceSize)))
 MetaClass (char const *name, Field *columns, Size instanceSize, void(*factory)(void *dst)=0)
 MetaClass.
 MetaClass (MetaClass const &mc)
 Copy constructor.
char const * name ()
Fieldfields () const
Count fieldCount () const
void * createInstance (void *dst)
 Creates an instance of the class stored in.
Size size ()
 size of instances
Size recordSize (byte *base=0)
 size of record for storing an instance
Size recordSize (AnyObject const *obj)
Fieldfind (char const *name)
 Find field with requested name.
byte * store (byte *&dst, byte *src)
byte * fetch (byte *dst, byte *&src)
std::ostream & print (std::ostream &out) const

Protected Attributes

char const * name_
Fieldcolumns
Count nColumns
Size instanceSize
void(* factory )(void *dst)

Friends

class AnyObject

Detailed Description

Class MetaClass Describes the structure of an object.


Member Function Documentation

void* IXE::MetaClass::createInstance ( void *  dst  )  [inline]

Creates an instance of the class stored in.

Parameters:
dst 

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
 
Copyright © 2005-2011 G. Attardi. Generated on 4 Mar 2011 by doxygen 1.6.1.