commore  1.0.6-SNAPSHOT
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
commore::Table Class Reference

#include <Table.h>

Classes

class  ConstLine
 
struct  Header
 
class  Line
 
struct  LineItem
 

Public Member Functions

 Table ()
 
 Table (const Symbol &name)
 
 Table (const Table &)
 
Tableoperator= (const Table &t)
 
 ~Table ()
 
Tableassign (const Table &t)
 
void clear (bool all=false)
 
int add_column (const Symbol &name, Types type)
 
int add_int_col (const Symbol &name)
 
int add_list_int_col (const Symbol &name)
 
int add_bool_col (const Symbol &name)
 
int add_astring_col (const Symbol &name)
 
int add_tuple_col (const Symbol &name)
 
int remove_column (const Symbol &name)
 
int compare (const Table &t) const
 
Line begin ()
 
Line end ()
 
ConstLine begin () const
 
ConstLine end () const
 
Line add_line ()
 
const Symbolget_name () const
 
size_t size () const
 
size_t line_size () const
 
int write_xml (OBStream &o) const
 
int read_xml (IBStream &i)
 
int write (CommBuffer &buffer) const
 
int read (const CommBuffer &buffer)
 

Friends

class Line
 
class ConstLine
 

Detailed Description

Remarks
not used
Todo:
remove from commore

Constructor & Destructor Documentation

Table::Table ( )
Table::Table ( const Symbol name)
Table::Table ( const Table t)
Table::~Table ( )

Member Function Documentation

int commore::Table::add_astring_col ( const Symbol name)
inline
int commore::Table::add_bool_col ( const Symbol name)
inline
int Table::add_column ( const Symbol name,
Types  type 
)
int commore::Table::add_int_col ( const Symbol name)
inline
Table::Line Table::add_line ( )
int commore::Table::add_list_int_col ( const Symbol name)
inline
int commore::Table::add_tuple_col ( const Symbol name)
inline
Table & Table::assign ( const Table t)
Table::Line Table::begin ( )
Table::ConstLine Table::begin ( ) const
void Table::clear ( bool  all = false)
int Table::compare ( const Table t) const
Line commore::Table::end ( )
ConstLine commore::Table::end ( ) const
const Symbol & Table::get_name ( ) const
size_t Table::line_size ( ) const
Table& commore::Table::operator= ( const Table t)
inline
int Table::read ( const CommBuffer buffer)
int commore::Table::read_xml ( IBStream i)
int Table::remove_column ( const Symbol name)
size_t Table::size ( ) const
int Table::write ( CommBuffer buffer) const
int Table::write_xml ( OBStream o) const

Friends And Related Function Documentation

friend class ConstLine
friend
friend class Line
friend

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