ArrayPool< BaseT > Class Template Reference
[Hybrid Mesh Module]

#include <ArrayPool.hpp>

Collaboration diagram for ArrayPool< BaseT >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef BaseT * Iterator
typedef const Iterator const_Iterator

Public Member Functions

 ArrayPool ()
 ~ArrayPool ()
BaseT & first ()
const BaseT & first () const
const BaseT * end () const
uTind last () const
size_t size () const
size_t capacity () const
bool empty () const
void clear ()
BaseT & operator[] (const uTind pos)
const BaseT & operator[] (const uTind pos) const
BaseT & at (const uTind pos)
const BaseT & at (const uTind pos) const
BaseT & getById (const ID id)
const BaseT & getById (const ID id) const
BaseT * newObj (const uTind verts[])
size_t totalMemory () const
size_t usedMemory () const
void reserve (const size_t newcapacity, bool force=false)
void requestChange (const Tind sizeChange)
uTind memoryNeeded () const
void adjust ()
std::ostream & write (std::ostream &stream) const
std::istream & read (std::istream &stream)

template<class BaseT>
class ArrayPool< BaseT >


Member Typedef Documentation

template<class BaseT>
typedef const Iterator ArrayPool< BaseT >::const_Iterator
template<class BaseT>
typedef BaseT* ArrayPool< BaseT >::Iterator

Constructor & Destructor Documentation

template<class BaseT>
ArrayPool< BaseT >::ArrayPool (  )  [inline]

Here is the call graph for this function:

template<class BaseT>
ArrayPool< BaseT >::~ArrayPool (  )  [inline]

Here is the call graph for this function:


Member Function Documentation

template<class BaseT>
void ArrayPool< BaseT >::adjust (  )  [inline]

Pre: +all markings have beed done (correctly). + pool is not empty

Here is the call graph for this function:

Here is the caller graph for this function:

template<class BaseT>
const BaseT& ArrayPool< BaseT >::at ( const uTind  pos  )  const [inline]
template<class BaseT>
BaseT& ArrayPool< BaseT >::at ( const uTind  pos  )  [inline]

Here is the caller graph for this function:

template<class BaseT>
size_t ArrayPool< BaseT >::capacity (  )  const [inline]

Here is the caller graph for this function:

template<class BaseT>
void ArrayPool< BaseT >::clear (  )  [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

template<class BaseT>
bool ArrayPool< BaseT >::empty (  )  const [inline]

Here is the caller graph for this function:

template<class BaseT>
const BaseT* ArrayPool< BaseT >::end (  )  const [inline]

Here is the caller graph for this function:

template<class BaseT>
const BaseT& ArrayPool< BaseT >::first (  )  const [inline]
template<class BaseT>
BaseT& ArrayPool< BaseT >::first (  )  [inline]

Here is the caller graph for this function:

template<class BaseT>
const BaseT& ArrayPool< BaseT >::getById ( const ID  id  )  const [inline]

Here is the call graph for this function:

template<class BaseT>
BaseT& ArrayPool< BaseT >::getById ( const ID  id  )  [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

template<class BaseT>
uTind ArrayPool< BaseT >::last (  )  const [inline]

Here is the caller graph for this function:

template<class BaseT>
uTind ArrayPool< BaseT >::memoryNeeded (  )  const [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

template<class BaseT>
BaseT* ArrayPool< BaseT >::newObj ( const uTind  verts[]  )  [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

template<class BaseT>
const BaseT& ArrayPool< BaseT >::operator[] ( const uTind  pos  )  const [inline]
template<class BaseT>
BaseT& ArrayPool< BaseT >::operator[] ( const uTind  pos  )  [inline]
template<class BaseT>
std::istream& ArrayPool< BaseT >::read ( std::istream &  stream  )  [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

template<class BaseT>
void ArrayPool< BaseT >::requestChange ( const Tind  sizeChange  )  [inline]

Here is the caller graph for this function:

template<class BaseT>
void ArrayPool< BaseT >::reserve ( const size_t  newcapacity,
bool  force = false 
) [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

template<class BaseT>
size_t ArrayPool< BaseT >::size (  )  const [inline]

Here is the caller graph for this function:

template<class BaseT>
size_t ArrayPool< BaseT >::totalMemory (  )  const [inline]

Here is the caller graph for this function:

template<class BaseT>
size_t ArrayPool< BaseT >::usedMemory (  )  const [inline]

Here is the caller graph for this function:

template<class BaseT>
std::ostream& ArrayPool< BaseT >::write ( std::ostream &  stream  )  const [inline]

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1