Wtx ~ Wt Extension Library
WtxLib
Public Member Functions | List of all members
Wtx::Dbo::TableDef Class Reference

Table Definition. More...

#include <TableDef.h>

+ Inheritance diagram for Wtx::Dbo::TableDef:

Public Member Functions

 TableDef (const char *tn)
 ctor More...
 
const char * tableName () const
 
void push_back (FieldDefBase &fd)
 
FieldDefBasefieldDef (const std::string &fieldName) const
 
const std::vector< FieldDefBase * > & fieldDefs () const
 
std::string toJson () const
 

Detailed Description

Table Definition.

This object encapsulates the functionality of a complete database-table definition. This object contains all the necessary definition components to run the application.

The object contains lists of fields and connections and indexes and so on once these components are fully defined within the table definition then it can be used to manufacture the database object within the database server.

Definition at line 72 of file TableDef.h.

Constructor & Destructor Documentation

Wtx::Dbo::TableDef::TableDef ( const char *  tn)
inline

ctor

This initializes the table name to the object. The table name is constant and will never change throughout the life of this object.

Definition at line 83 of file TableDef.h.


The documentation for this class was generated from the following files: