xc
Public Types | Public Member Functions | List of all members

Cells vector. More...

#include <VectorCells.h>

Inheritance diagram for XC::VectorCells:
Inheritance graph
[legend]
Collaboration diagram for XC::VectorCells:
Collaboration graph
[legend]

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.
 
VectorCellsoperator= (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.
 

Detailed Description

Cells vector.

Member Function Documentation

◆ put()

void XC::VectorCells::put ( const size_t  i,
const Cell c 
)

Put the cell in the i-th position.

Parameters
icell index.
ccell value.

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