IFidTable Class Reference

#include <IFidTable.H>

List of all members.


Detailed Description

This class maintains a mapping between integer indices and IFids for a given EB index space.

Public Member Functions

 IFidTable ()
 Creates an empty table.
 ~IFidTable ()
 Destructor (not virtual).
int add (const IFid &a_id)
const IFidoperator[] (int a_index) const
 Retrieves the identifier corresponding to the given index.
int size () const
 Returns the number of IDs in the table.
int linearSize () const
void linearIn (const void *const inBuf)
void linearOut (void *const a_outBuf) const

Private Member Functions

 IFidTable (const IFidTable &)
IFidTableoperator= (const IFidTable &)

Private Attributes

Vector< IFidm_ids

Constructor & Destructor Documentation

IFidTable::IFidTable (  )  [inline]

Creates an empty table.

IFidTable::~IFidTable (  )  [inline]

Destructor (not virtual).

IFidTable::IFidTable ( const IFidTable  )  [private]


Member Function Documentation

int IFidTable::add ( const IFid a_id  )  [inline]

Adds the given IFid to the table, returning the index at which it may be subsequently retrieved. If the IFid already exists in the table, the table is unaltered and the index of the existing entry is returned.

References m_ids, Vector< T >::push_back(), Vector< T >::size(), and Vector< T >::stdVector().

const IFid& IFidTable::operator[] ( int  a_index  )  const [inline]

Retrieves the identifier corresponding to the given index.

References CH_assert, m_ids, and Vector< T >::size().

int IFidTable::size (  )  const [inline]

Returns the number of IDs in the table.

References m_ids, and Vector< T >::size().

int IFidTable::linearSize ( void   )  const [inline]

References linearListSize(), and m_ids.

Referenced by linearSize().

void IFidTable::linearIn ( const void *const   inBuf  )  [inline]

References linearListIn(), and m_ids.

Referenced by linearIn().

void IFidTable::linearOut ( void *const   a_outBuf  )  const [inline]

References linearListOut(), and m_ids.

Referenced by linearOut().

IFidTable& IFidTable::operator= ( const IFidTable  )  [private]


Member Data Documentation


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

Generated on Fri Apr 5 04:25:06 2019 for Chombo + EB by  doxygen 1.5.5