xc
|
Cells vector. More...
#include <VectorCells.h>
Public Types | |
typedef std::vector< Cell * > | v_cell |
typedef v_cell::reference | reference |
typedef v_cell::const_reference | const_reference |
typedef v_cell::iterator | iterator |
typedef v_cell::const_iterator | const_iterator |
Public Member Functions | |
VectorCells (const size_t &sz=0) | |
Constructor. | |
VectorCells (const VectorCells &) | |
Copy constructor. | |
VectorCells & | operator= (const VectorCells &) |
Assignment operator. | |
~VectorCells (void) | |
Destructor. | |
size_t | size (void) const |
void | resize (const size_t sz) |
Destructor. | |
void | put (const size_t i, const Cell &c) |
Put the cell in the i-th position. More... | |
const_reference | operator[] (const size_t i) const |
void | Print (std::ostream &s) const |
Print stuff. | |
Cells vector.
void XC::VectorCells::put | ( | const size_t | i, |
const Cell & | c | ||
) |
Put the cell in the i-th position.
i | cell index. |
c | cell value. |