Public Member Functions | Private Attributes
partInfo Class Reference

Bookkeeping for GUI checklists and the multi-block organization. More...

Public Member Functions

 partInfo (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
 
int start () const
 
int end () const
 
int size () const
 
bool empty () const
 
void reset ()
 
void operator= (const int i)
 Assign new start and reset the size. More...
 
void operator+= (const int n)
 Increment the size. More...
 

Private Attributes

const char * name_
 
int block_
 
int start_
 
int size_
 

Detailed Description

Bookkeeping for GUI checklists and the multi-block organization.

Definition at line 75 of file vtkPV3Readers.H.

Constructor & Destructor Documentation

◆ partInfo()

partInfo ( const char *  name,
const int  blockNo = 0 
)
inline

Definition at line 84 of file vtkPV3Readers.H.

Member Function Documentation

◆ block() [1/2]

int block ( ) const
inline

Return the block holding these datasets.

Definition at line 93 of file vtkPV3Readers.H.

References partInfo::block_.

Referenced by Foam::vtkPV3Readers::AddToBlock(), Foam::vtkPV3Readers::GetDataSetFromBlock(), and Foam::vtkPV3Readers::GetNumberOfDataSets().

Here is the caller graph for this function:

◆ block() [2/2]

int block ( int  blockNo)
inline

Assign block number, return previous value.

Definition at line 99 of file vtkPV3Readers.H.

References partInfo::block_.

◆ name()

const char* name ( ) const
inline

Definition at line 106 of file vtkPV3Readers.H.

References partInfo::name_.

Referenced by Foam::vtkPV3Readers::AddToBlock().

Here is the caller graph for this function:

◆ start()

int start ( ) const
inline

Definition at line 111 of file vtkPV3Readers.H.

References partInfo::start_.

Referenced by Foam::vtkPV3Readers::getSelected(), and Foam::vtkPV3Readers::getSelectedArrayEntries().

Here is the caller graph for this function:

◆ end()

int end ( ) const
inline

Definition at line 116 of file vtkPV3Readers.H.

References partInfo::size_, and partInfo::start_.

Referenced by Foam::vtkPV3Readers::getSelected(), and Foam::vtkPV3Readers::getSelectedArrayEntries().

Here is the caller graph for this function:

◆ size()

int size ( ) const
inline

Definition at line 121 of file vtkPV3Readers.H.

References partInfo::size_.

Referenced by Foam::vtkPV3Readers::getSelectedArrayEntries().

Here is the caller graph for this function:

◆ empty()

bool empty ( ) const
inline

Definition at line 126 of file vtkPV3Readers.H.

References partInfo::size_.

◆ reset()

void reset ( )
inline

Definition at line 131 of file vtkPV3Readers.H.

References partInfo::size_, and partInfo::start_.

◆ operator=()

void operator= ( const int  i)
inline

Assign new start and reset the size.

Definition at line 138 of file vtkPV3Readers.H.

References partInfo::size_, and partInfo::start_.

◆ operator+=()

void operator+= ( const int  n)
inline

Increment the size.

Definition at line 145 of file vtkPV3Readers.H.

References n, and partInfo::size_.

Field Documentation

◆ name_

const char* name_
private

Definition at line 77 of file vtkPV3Readers.H.

Referenced by partInfo::name().

◆ block_

int block_
private

Definition at line 78 of file vtkPV3Readers.H.

Referenced by partInfo::block().

◆ start_

int start_
private

◆ size_

int size_
private

The documentation for this class was generated from the following file: