Hold a vector of TGeomID and clear it at destruction. More...
#include <StdMeshers_Cartesian_3D_Grid.hxx>
Public Member Functions | |
| GeomIDVecHelder (const TVector &idVec, bool isOwner) | |
| GeomIDVecHelder (const GeomIDVecHelder &holder) | |
| ~GeomIDVecHelder () | |
| size_t | size () const |
| TGeomID | operator[] (size_t i) const |
| bool | operator== (const GeomIDVecHelder &other) const |
| bool | contain (const TGeomID &id) const |
| TGeomID | otherThan (const TGeomID &id) const |
| TGeomID | oneCommon (const GeomIDVecHelder &other) const |
Private Types | |
| typedef std::vector< TGeomID > | TVector |
Private Attributes | |
| const TVector & | myVec |
| bool | myOwn |
Hold a vector of TGeomID and clear it at destruction.
|
private |
| StdMeshers::Cartesian3D::GeomIDVecHelder::GeomIDVecHelder | ( | const GeomIDVecHelder & | holder | ) |
References myOwn.
References myVec.
Referenced by StdMeshers::Cartesian3D::GridLine::GetSolidIDBefore(), and oneCommon().
| TGeomID StdMeshers::Cartesian3D::GeomIDVecHelder::oneCommon | ( | const GeomIDVecHelder & | other | ) | const |
References contain(), myVec, and StdMeshers::Cartesian3D::theUndefID.
Referenced by StdMeshers::Cartesian3D::GridLine::GetSolidIDBefore().
| bool StdMeshers::Cartesian3D::GeomIDVecHelder::operator== | ( | const GeomIDVecHelder & | other | ) | const |
References myVec.
References myVec, size(), and StdMeshers::Cartesian3D::theUndefID.
References myVec, and StdMeshers::Cartesian3D::theUndefID.
Referenced by StdMeshers::Cartesian3D::GridLine::GetSolidIDBefore().
| size_t StdMeshers::Cartesian3D::GeomIDVecHelder::size | ( | ) | const |
References myVec.
Referenced by StdMeshers::Cartesian3D::GridLine::GetSolidIDBefore(), and operator[]().
|
private |
Referenced by GeomIDVecHelder(), and ~GeomIDVecHelder().
|
private |
Referenced by contain(), oneCommon(), operator==(), operator[](), otherThan(), size(), and ~GeomIDVecHelder().