Main Page Class Hierarchy Compound List Compound Members

# TableMetaData Class Reference

List of all members.

## Detailed Description

This class represents the metadata in a Table.

TableMetaData consists of the description, Field collection, Link collection,

## Public Methods
| TableMetaData ()
| ~TableMetaData ()
TableMetaData | operator= (const TableMetaData &t)
| TableMetaData (const TableMetaData &t)
int | getNumOfColumns (int &ncols, int *status)
int | getNumOfLinks (int &nLinks, int *status)
int | getField (Field &field, int fieldNum, int *status)
int | getLink (Link &link, int linkNum, int *status)
int | getDescription (char *&desc, int *status)

## Constructor & Destructor Documentation

TableMetaData.TableMetaData | ( |  | ) |

| Default constructor.

TableMetaData.~TableMetaData | ( |  | ) |

| Destructor

TableMetaData.TableMetaData | ( | const TableMetaData & | t | ) |

| Copy Constructor.

## Member Function Documentation

int TableMetaData.getDescription | ( | char *& | desc,
|  | int * | status
| ) |

| Gets the description of the Table.

int TableMetaData.getField | ( | Field & | field,
|  | int | fieldNum,
|  | int * | status
| ) |

| Gets 'Field', given the index. Index starts at 0.

int TableMetaData.getLink | ( | Link & | link,
|  | int | linkNum,
|  | int * | status
| ) |

| Gets 'Link', given the index. Index starts at 0.

int TableMetaData.getNumOfColumns | ( | int & | ncols,
|  | int * | status
| ) |

| Gets total number of Columns i.e. <FIELD> elements in this table.

int TableMetaData.getNumOfLinks | ( | int & | nLinks,
|  | int * | status
| ) |

| Gets total number of Links.

TableMetaData TableMetaData.operator= | ( | const TableMetaData & | t | ) |

| Assignment operator overloaded.