A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
pdb::Vector< TypeContained > Class Template Reference

#include <PDBVector.h>

+ Inheritance diagram for pdb::Vector< TypeContained >:
+ Collaboration diagram for pdb::Vector< TypeContained >:

Public Member Functions

ENABLE_DEEP_COPY Vector (uint32_t initSize, uint32_t numUsed)
 
 Vector (uint32_t initSize)
 
 Vector ()
 
size_t size () const
 
TypeContained & operator[] (uint32_t which)
 
TypeContained & operator[] (uint32_t which) const
 
void assign (uint32_t which, const TypeContained &val)
 
void push_back (const TypeContained &val)
 
void push_back ()
 
void pop_back ()
 
void clear ()
 
TypeContained * c_ptr () const
 
void resize (uint32_t toMe)
 
void print () const
 
void fill (const TypeContained &val)
 
- Public Member Functions inherited from pdb::Object
void setVTablePtr (void *setToMe)
 
void * getVTablePtr ()
 
virtual void setUpAndCopyFrom (void *target, void *source) const
 
virtual void deleteObject (void *deleteMe)
 
virtual size_t getSize (void *ofMe)
 

Private Attributes

Handle< Array< TypeContained > > myArray
 

Friends

class PDBCommunicator
 

Additional Inherited Members

- Static Public Member Functions inherited from pdb::Object
static void * operator new (size_t sz, const std::nothrow_t &tag)
 
static void * operator new (size_t sz)
 
static void operator delete (void *me)
 
static void * operator new (std::size_t count, void *ptr)
 

Detailed Description

template<class TypeContained>
class pdb::Vector< TypeContained >

Definition at line 41 of file PDBVector.h.

Constructor & Destructor Documentation

template<class TypeContained >
pdb::Vector< TypeContained >::Vector ( uint32_t  initSize,
uint32_t  numUsed 
)

Definition at line 49 of file PDBVector.cc.

template<class TypeContained >
pdb::Vector< TypeContained >::Vector ( uint32_t  initSize)

Definition at line 41 of file PDBVector.cc.

template<class TypeContained >
pdb::Vector< TypeContained >::Vector ( )

Definition at line 61 of file PDBVector.cc.

Member Function Documentation

template<class TypeContained>
void pdb::Vector< TypeContained >::assign ( uint32_t  which,
const TypeContained &  val 
)

Definition at line 82 of file PDBVector.cc.

template<class TypeContained >
TypeContained * pdb::Vector< TypeContained >::c_ptr ( ) const

Definition at line 118 of file PDBVector.cc.

+ Here is the caller graph for this function:

template<class TypeContained >
void pdb::Vector< TypeContained >::clear ( )

Definition at line 108 of file PDBVector.cc.

template<class TypeContained>
void pdb::Vector< TypeContained >::fill ( const TypeContained &  val)

Definition at line 135 of file PDBVector.cc.

template<class TypeContained >
TypeContained & pdb::Vector< TypeContained >::operator[] ( uint32_t  which)

Definition at line 72 of file PDBVector.cc.

template<class TypeContained >
TypeContained & pdb::Vector< TypeContained >::operator[] ( uint32_t  which) const

Definition at line 77 of file PDBVector.cc.

template<class TypeContained >
void pdb::Vector< TypeContained >::pop_back ( )

Definition at line 103 of file PDBVector.cc.

template<class TypeContained >
void pdb::Vector< TypeContained >::print ( ) const

Definition at line 125 of file PDBVector.cc.

template<class TypeContained>
void pdb::Vector< TypeContained >::push_back ( const TypeContained &  val)

Definition at line 95 of file PDBVector.cc.

+ Here is the caller graph for this function:

template<class TypeContained>
void pdb::Vector< TypeContained >::push_back ( )

Definition at line 87 of file PDBVector.cc.

template<class TypeContained >
void pdb::Vector< TypeContained >::resize ( uint32_t  toMe)

Definition at line 113 of file PDBVector.cc.

template<class TypeContained >
size_t pdb::Vector< TypeContained >::size ( ) const

Definition at line 67 of file PDBVector.cc.

+ Here is the caller graph for this function:

Friends And Related Function Documentation

template<class TypeContained>
friend class PDBCommunicator
friend

Definition at line 77 of file PDBVector.h.

Member Data Documentation

template<class TypeContained>
Handle<Array<TypeContained> > pdb::Vector< TypeContained >::myArray
private

Definition at line 45 of file PDBVector.h.


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