Changeset 2808 in Sophya for trunk/SophyaLib/HiStats/datatable.cc


Ignore:
Timestamp:
Jun 14, 2005, 1:25:05 PM (20 years ago)
Author:
ansari
Message:

MAJ documentation - Reza 14/6/2005

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/HiStats/datatable.cc

    r2699 r2808  
    1111   This class can be used to organize data in table (row-column) form.
    1212   Each column holds homogeneous data (same data type), while different
    13    columns can be used for different data types (integer, float, string ...)
     13   columns can be used for different data types
     14   (integer, float, string ...).
     15   The whole data set is kept in memory.
    1416   \sa SOPHYA::MuTyV
    1517   \sa SOPHYA::BaseDataTable
    16    \sa SOPHYA::ObjFileIO<DataTable>
     18   \sa SOPHYA::SegDataBlock
    1719
    1820   \code
     
    4345}
    4446
    45 //! copy constructor - shares the data
     47//! copy constructor
     48/*!
     49  The copy constructur shares the data if \b share=true.
     50  Otherwise, the Clone() method is called to make a complete copy.
     51*/
    4652DataTable::DataTable(DataTable const & a, bool share)
    4753  : BaseDataTable(a.SegmentSize())
     
    5359  if (a.mInfo)  mInfo = new DVList(*(a.mInfo));
    5460}
    55 
     61//! Copy the table structure from \b a and shares the data (columns content)
    5662void DataTable::Share(DataTable const & a)
    5763{
     
    8591}
    8692
     93//! Copy the table structure from \b a and duplicate (copy) the data (columns content)
    8794void DataTable::Clone(DataTable const & a)
    8895{
     
    115122  } 
    116123}
    117 
     124//! Reset (/clear) the table content and structure
    118125void DataTable::Clear()
    119126{
     
    151158
    152159
     160/*!
     161  Implements the action defined in the BaseDataTable interface.
     162  In the current implementation, throws an exception (ParmError)
     163  if the table contains some data already.
     164*/
    153165sa_size_t DataTable::AddColumn(FieldType ft, string const & cnom)
    154166{
Note: See TracChangeset for help on using the changeset viewer.