Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
Bial::TableColumn Class Reference

#include <Table.hpp>

Collaboration diagram for Bial::TableColumn:
Collaboration graph

Public Member Functions

 TableColumn (size_t rows)
 Basic Constructor. More...
 
 TableColumn (const Vector< int > &data)
 Basic Constructor. More...
 
 TableColumn (const Vector< float > &data)
 Basic Constructor. More...
 
 TableColumn (const Vector< std::string > &data)
 Basic Constructor. More...
 
const TableCelloperator[] (size_t p) const
 Returns a constant reference of data pointed by index p. More...
 
TableCelloperator[] (size_t p)
 Returns the reference for data pointed by index p. More...
 
size_t size () const
 Returns the number of rows. More...
 

Detailed Description

Definition at line 148 of file Table.hpp.

Constructor & Destructor Documentation

Bial::TableColumn::TableColumn ( size_t  rows)

Basic Constructor.

Date
2015/May/22
Parameters
rowsnumber of rows for an non-initialized column.
Returns
none.
Warning
null table.
Bial::TableColumn::TableColumn ( const Vector< int > &  data)

Basic Constructor.

Date
2015/May/22
Parameters
datadata to be inserted into the column.
Returns
none.
Warning
null table.
Bial::TableColumn::TableColumn ( const Vector< float > &  data)

Basic Constructor.

Date
2015/May/22
Parameters
datadata to be inserted into the column.
Returns
none.
Warning
null table.
Bial::TableColumn::TableColumn ( const Vector< std::string > &  data)

Basic Constructor.

Date
2015/May/22
Parameters
datadata to be inserted into the column.
Returns
none.
Warning
null table.

Member Function Documentation

const TableCell& Bial::TableColumn::operator[] ( size_t  p) const

Returns a constant reference of data pointed by index p.

Date
2015/May/22
Parameters
pa global index to be acessed.
Returns
Constant reference of data pointed by index p.
Warning
Table bounds are not verified.
TableCell& Bial::TableColumn::operator[] ( size_t  p)

Returns the reference for data pointed by index p.

Date
2015/May/22
Parameters
pa index to be acessed.
Returns
Reference of data pointed by index p.
Warning
Table bounds are not verified.
size_t Bial::TableColumn::size ( ) const

Returns the number of rows.

Date
2015/May/22
Parameters
none.
Returns
Number of rows.
Warning
none.

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