Bookkeeping for GUI checklists and the multi-block organization. More...
Public Member Functions | |
arrayRange (const char *name, const int blockNo=0) | |
int | block () const |
Return the block holding these datasets. More... | |
int | block (int blockNo) |
Assign block number, return previous value. More... | |
const char * | name () const |
Return block name. More... | |
int | start () const |
Return array start index. More... | |
int | end () const |
Return array end index. More... | |
int | size () const |
Return sublist size. More... | |
bool | empty () const |
void | reset (const int startAt=0) |
Reset the size to zero and optionally assign a new start. More... | |
void | operator+= (const int n) |
Increment the size. More... | |
Private Attributes | |
const char * | name_ |
int | block_ |
int | start_ |
int | size_ |
Bookkeeping for GUI checklists and the multi-block organization.
Definition at line 89 of file vtkPV3blockMesh.H.
|
inline |
Definition at line 98 of file vtkPV3blockMesh.H.
|
inline |
Return the block holding these datasets.
Definition at line 107 of file vtkPV3blockMesh.H.
References vtkPV3blockMesh::arrayRange::block_.
|
inline |
Assign block number, return previous value.
Definition at line 113 of file vtkPV3blockMesh.H.
References vtkPV3blockMesh::arrayRange::block_.
|
inline |
Return block name.
Definition at line 121 of file vtkPV3blockMesh.H.
References vtkPV3blockMesh::arrayRange::name_.
|
inline |
Return array start index.
Definition at line 127 of file vtkPV3blockMesh.H.
References vtkPV3blockMesh::arrayRange::start_.
|
inline |
Return array end index.
Definition at line 133 of file vtkPV3blockMesh.H.
References vtkPV3blockMesh::arrayRange::size_, and vtkPV3blockMesh::arrayRange::start_.
|
inline |
Return sublist size.
Definition at line 139 of file vtkPV3blockMesh.H.
References vtkPV3blockMesh::arrayRange::size_.
|
inline |
Definition at line 144 of file vtkPV3blockMesh.H.
References vtkPV3blockMesh::arrayRange::size_.
|
inline |
Reset the size to zero and optionally assign a new start.
Definition at line 150 of file vtkPV3blockMesh.H.
References vtkPV3blockMesh::arrayRange::size_, and vtkPV3blockMesh::arrayRange::start_.
|
inline |
Increment the size.
Definition at line 157 of file vtkPV3blockMesh.H.
References n, and vtkPV3blockMesh::arrayRange::size_.
|
private |
Definition at line 91 of file vtkPV3blockMesh.H.
Referenced by vtkPV3blockMesh::arrayRange::name().
|
private |
Definition at line 92 of file vtkPV3blockMesh.H.
Referenced by vtkPV3blockMesh::arrayRange::block().
|
private |
Definition at line 93 of file vtkPV3blockMesh.H.
Referenced by vtkPV3blockMesh::arrayRange::end(), vtkPV3blockMesh::arrayRange::reset(), and vtkPV3blockMesh::arrayRange::start().
|
private |
Definition at line 94 of file vtkPV3blockMesh.H.
Referenced by vtkPV3blockMesh::arrayRange::empty(), vtkPV3blockMesh::arrayRange::end(), vtkPV3blockMesh::arrayRange::operator+=(), vtkPV3blockMesh::arrayRange::reset(), and vtkPV3blockMesh::arrayRange::size().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.