#include <FieldElementFinfo.h>
Public Member Functions | |
FieldElementFinfo (const string &name, const string &doc, const Cinfo *fieldCinfo, F *(T::*lookupField)(unsigned int), void(T::*setNumField)(unsigned int num), unsigned int(T::*getNumField)() const, bool deferCreate=0) | |
char * | lookupField (char *parent, unsigned int fieldIndex) const |
void | setNumField (char *parent, unsigned int num) const |
virtual func to resize Field array, using char* for parent | |
unsigned int | getNumField (const char *parent) const |
virtual func to get size of Field array, using char* for parent | |
string | rttiType () const |
Virtual function to look up type of FieldElementFinfo. |
FieldElementFinfo< T, F >::FieldElementFinfo | ( | const string & | name, | |
const string & | doc, | |||
const Cinfo * | fieldCinfo, | |||
F *(T::*)(unsigned int) | lookupField, | |||
void(T::*)(unsigned int num) | setNumField, | |||
unsigned int(T::*)() const | getNumField, | |||
bool | deferCreate = 0 | |||
) | [inline] |
References FieldElementFinfoBase::getNum_, and FieldElementFinfoBase::setNum_.
unsigned int FieldElementFinfo< T, F >::getNumField | ( | const char * | parent | ) | const [inline, virtual] |
virtual func to get size of Field array, using char* for parent
Implements FieldElementFinfoBase.
char* FieldElementFinfo< T, F >::lookupField | ( | char * | parent, | |
unsigned int | fieldIndex | |||
) | const [inline, virtual] |
virtual function to look up pointer for Field object. This casts everything down to chars so that the FieldElement can use it.
Implements FieldElementFinfoBase.
string FieldElementFinfo< T, F >::rttiType | ( | ) | const [inline, virtual] |
Virtual function to look up type of FieldElementFinfo.
Reimplemented from Finfo.
void FieldElementFinfo< T, F >::setNumField | ( | char * | parent, | |
unsigned int | num | |||
) | const [inline, virtual] |
virtual func to resize Field array, using char* for parent
Implements FieldElementFinfoBase.