#include <DetGroup.h>
Public Types | |
typedef std::vector < DetGroupElement > | Base |
typedef DetGroupElement::DetWithState | DetWithState |
Public Member Functions | |
DetGroup () | |
DetGroup (int ind, int indSize) | |
DetGroup (const std::vector< DetWithState > &vec) | |
void | incrementIndex (int incr) |
int | index () const |
int | indexSize () const |
void | setIndexSize (int newSize) |
Private Attributes | |
int | index_ |
int | indexSize_ |
Definition at line 48 of file DetGroup.h.
typedef std::vector< DetGroupElement> DetGroup::Base |
Definition at line 51 of file DetGroup.h.
Definition at line 52 of file DetGroup.h.
DetGroup::DetGroup | ( | ) | [inline] |
Definition at line 54 of file DetGroup.h.
{}
DetGroup::DetGroup | ( | int | ind, |
int | indSize | ||
) | [inline] |
Definition at line 73 of file DetGroup.h.
: index_(ind), indexSize_(indSize) {}
DetGroup::DetGroup | ( | const std::vector< DetWithState > & | vec | ) | [inline] |
Definition at line 75 of file DetGroup.h.
References i.
{ reserve( vec.size()); for (std::vector<DetWithState>::const_iterator i=vec.begin(); i!=vec.end(); i++) { push_back(DetGroupElement(*i)); } }
void DetGroup::incrementIndex | ( | int | incr | ) | [inline] |
Definition at line 88 of file DetGroup.h.
References index_, and indexSize_.
{ // for (iterator i=begin(); i!=end(); i++) i->incrementIndex(incr); index_ += incr; indexSize_ += incr; }
int DetGroup::index | ( | ) | const [inline] |
int DetGroup::indexSize | ( | ) | const [inline] |
void DetGroup::setIndexSize | ( | int | newSize | ) | [inline] |
int DetGroup::index_ [private] |
Definition at line 96 of file DetGroup.h.
Referenced by incrementIndex(), and index().
int DetGroup::indexSize_ [private] |
Definition at line 97 of file DetGroup.h.
Referenced by incrementIndex(), indexSize(), and setIndexSize().