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 112 of file vtkPV4Foam.H.
|
inline |
Definition at line 121 of file vtkPV4Foam.H.
|
inline |
Return the block holding these datasets.
Definition at line 130 of file vtkPV4Foam.H.
References vtkPV4Foam::arrayRange::block_.
|
inline |
Assign block number, return previous value.
Definition at line 136 of file vtkPV4Foam.H.
References vtkPV4Foam::arrayRange::block_.
|
inline |
Return block name.
Definition at line 144 of file vtkPV4Foam.H.
References vtkPV4Foam::arrayRange::name_.
|
inline |
Return array start index.
Definition at line 150 of file vtkPV4Foam.H.
References vtkPV4Foam::arrayRange::start_.
|
inline |
Return array end index.
Definition at line 156 of file vtkPV4Foam.H.
References vtkPV4Foam::arrayRange::size_, and vtkPV4Foam::arrayRange::start_.
|
inline |
Return sublist size.
Definition at line 162 of file vtkPV4Foam.H.
References vtkPV4Foam::arrayRange::size_.
|
inline |
Definition at line 167 of file vtkPV4Foam.H.
References vtkPV4Foam::arrayRange::size_.
|
inline |
Reset the size to zero and optionally assign a new start.
Definition at line 173 of file vtkPV4Foam.H.
References vtkPV4Foam::arrayRange::size_, and vtkPV4Foam::arrayRange::start_.
|
inline |
Increment the size.
Definition at line 180 of file vtkPV4Foam.H.
References n, and vtkPV4Foam::arrayRange::size_.
|
private |
Definition at line 114 of file vtkPV4Foam.H.
Referenced by vtkPV4Foam::arrayRange::name().
|
private |
Definition at line 115 of file vtkPV4Foam.H.
Referenced by vtkPV4Foam::arrayRange::block().
|
private |
Definition at line 116 of file vtkPV4Foam.H.
Referenced by vtkPV4Foam::arrayRange::end(), vtkPV4Foam::arrayRange::reset(), and vtkPV4Foam::arrayRange::start().
|
private |
Definition at line 117 of file vtkPV4Foam.H.
Referenced by vtkPV4Foam::arrayRange::empty(), vtkPV4Foam::arrayRange::end(), vtkPV4Foam::arrayRange::operator+=(), vtkPV4Foam::arrayRange::reset(), and vtkPV4Foam::arrayRange::size().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.