class MetaTable : public table

Specialized table with automatic filling and reference capabilities

Inheritance:


Public Methods

MetaTable(void)
Construct an empty Meta-table
MetaTable(const char* Name, const char* Type=0)
Name meta-table constructor.
MetaTable(const MetaTable& x)
Name meta-table constructor.
xobj* Clone(void) const
Meta-table destructor.
~MetaTable(void)
Meta-table destructor.
void defineColumn(const char* Name, const int* Addr)
Add a column to the table.
void putRow(void)
Copy an event into the data stream.
void resetStream(void)
Reset the data stream.
std::string citeTable(const std::string& col) const
Get a constant reference to the table

Inherited from table:

Public Methods

void Spew(Xwriter& xout) const
const char* getObjType(void) const
const char* getUnit(void) const
column* addColumn(const char* Name, const char* Type=0, const char* Unit=0)
column* addColumn(const column& col)
Stream& refStream(void)
const Stream& refStream(void) const
void setStream(const Stream& istr)
void setUnit(const char* Unit)

Inherited from xobj:

Public Methods

const char* getName(void) const
const char* getType(void) const
const std::string& refName(void) const
const std::string& refType(void) const
void setName(const char* Name)
void setType(const char* Type)

Documentation

Specialized table with automatic filling and reference capabilities
MetaTable(void)
Construct an empty Meta-table. Empty table constructor.

MetaTable(const char* Name, const char* Type=0)
Name meta-table constructor.

MetaTable(const MetaTable& x)
Name meta-table constructor.

xobj* Clone(void) const
Meta-table destructor.

~MetaTable(void)
Meta-table destructor.

void defineColumn(const char* Name, const int* Addr)
Specify a table column. The column name and type are included. an address field specifies a static address from which the data will be copied.
Parameters:
Name - Column name attribute field.
Addr - Pointer to the data field.

void putRow(void)
Copy all specified data fields (one for each table column) into the data stream.

void resetStream(void)
Delete the contens of the table data stream.

std::string citeTable(const std::string& col) const
Get a constant reference to the table


This class has no child classes.

alphabetic index hierarchy of classes


generated by doc++