#include <eosim/utils/distvector.hpp>
Public Member Functions | |
DistVector () | |
The constructor creates an empty DistVector. | |
~DistVector () | |
The destructor of DistVector. This operation doesn’t delete any Distributions stored. | |
void | push (dist::Distribution *elem) |
This operation adds elem at the end of the vector. | |
void | remove (unsigned int i) |
This operation remove the element whose position in the vector is i. | |
dist::Distribution *& | operator[] (unsigned int i) |
This operation returns the Distribution whose position in the vector is i. | |
unsigned int | size () |
This operation returns the size of the vector. |
DistVector::~DistVector | ( | ) |
The destructor of DistVector. This operation doesn’t delete any Distributions stored.
void DistVector::remove | ( | unsigned int | i | ) |
This operation remove the element whose position in the vector is i.
Distribution *& DistVector::operator[] | ( | unsigned int | i | ) |
This operation returns the Distribution whose position in the vector is i.