class table : public xobj

XSIL table class.

Inheritance:


Public Methods

table(void)
default constructor.
table(const char* Name, const char* Type=0)
Named table constructor.
virtual ~table(void)
Deconstructor.
void Spew(Xwriter& xout) const
Write table to an XML file.
virtual xobj* Clone(void) const
Clone a table object.
const char* getObjType(void) const
Get object type.
const char* getUnit(void) const
get Table units.
column* addColumn(const char* Name, const char* Type=0, const char* Unit=0)
Add a column.
column* addColumn(const column& col)
Add a column.
Stream& refStream(void)
Reference initialization strem.
const Stream& refStream(void) const
Reference initialization strem.
void setStream(const Stream& istr)
Add a stream to the array.
void setUnit(const char* Unit)
Set the table units.

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

This class defines tables to be output in XSIL.
table(void)
XSil table default constructor.

table(const char* Name, const char* Type=0)
Named table constructor.

virtual ~table(void)
XSil table destructor.

void Spew(Xwriter& xout) const
Write an XSil table definition to an XML output file.
Parameters:
xout - XML output file to receive the table definition.

virtual xobj* Clone(void) const
Clone an XSIL table definition.
Returns:
Pointer to the cloned object.

const char* getObjType(void) const
Get the XSIL object type.
Returns:
Pointer to the object type string.

const char* getUnit(void) const
get Table units.
Returns:
Pointer to string containing the Table units.

column* addColumn(const char* Name, const char* Type=0, const char* Unit=0)
Add a column to the table.
Returns:
Pointer to added column.
Parameters:
Name - Pointer to column name string.
Type - Pointer to column type string.
Unit - Pointer to column unit string.

column* addColumn(const column& col)
Add a column to the table.
Returns:
Pointer to added column.
Parameters:
col - Column definition to be added to table.

Stream& refStream(void)
Get reference to an initialization stream.
Returns:
reference to the initialization stream.

const Stream& refStream(void) const
Get reference to an initialization stream.
Returns:
reference to the initialization stream.

void setStream(const Stream& istr)
Add a stream to the array.
Parameters:
Stream - object to be added to the array.

void setUnit(const char* Unit)
Set the table units.
Parameters:
Unit - Pointer to table unit string.


Direct child classes:
MetaTable
Author:
J. Zweizig
Version:
1.1; Modified December 13, 1999.

alphabetic index hierarchy of classes


generated by doc++