PPL Logo

bufferT< T > Class Template Reference

#include <collide_buffers.h>

Inheritance diagram for bufferT< T >:

Inheritance graph
[legend]
Collaboration diagram for bufferT< T >:

Collaboration graph
[legend]

Public Member Functions

int length (void) const
T & operator[] (int t)
const T & operator[] (int t) const
T & at (int t)
const T & at (int t) const
T * getData (void)
const T * getData (void) const

Protected Member Functions

 bufferT ()
 bufferT (T *data_, int len_)
void set (T *data_, int len_)
void setData (T *data_)
void setLength (int len_)
intgetLength (void)

Private Attributes

T * data
int len

Detailed Description

template<class T>
class bufferT< T >

Definition at line 39 of file collide_buffers.h.


Constructor & Destructor Documentation

template<class T>
bufferT< T >::bufferT (  )  [inline, protected]

Definition at line 43 of file collide_buffers.h.

template<class T>
bufferT< T >::bufferT ( T *  data_,
int  len_ 
) [inline, protected]

Definition at line 44 of file collide_buffers.h.


Member Function Documentation

template<class T>
void bufferT< T >::set ( T *  data_,
int  len_ 
) [inline, protected]

Definition at line 45 of file collide_buffers.h.

template<class T>
void bufferT< T >::setData ( T *  data_  )  [inline, protected]

Definition at line 46 of file collide_buffers.h.

Referenced by growableBufferT< CollideObjRec >::reallocate(), and growableBufferT< CollideObjRec >::resize().

Here is the caller graph for this function:

template<class T>
void bufferT< T >::setLength ( int  len_  )  [inline, protected]

Definition at line 47 of file collide_buffers.h.

Referenced by growableBufferT< CollideObjRec >::reallocate().

Here is the caller graph for this function:

template<class T>
int& bufferT< T >::getLength ( void   )  [inline, protected]

template<class T>
int bufferT< T >::length ( void   )  const [inline]

template<class T>
T& bufferT< T >::operator[] ( int  t  )  [inline]

Definition at line 52 of file collide_buffers.h.

template<class T>
const T& bufferT< T >::operator[] ( int  t  )  const [inline]

Definition at line 53 of file collide_buffers.h.

template<class T>
T& bufferT< T >::at ( int  t  )  [inline]

Definition at line 54 of file collide_buffers.h.

Referenced by CollideOctant::divide(), growableBufferT< CollideObjRec >::push_back(), and growableBufferT< CollideObjRec >::push_fast().

Here is the caller graph for this function:

template<class T>
const T& bufferT< T >::at ( int  t  )  const [inline]

Definition at line 55 of file collide_buffers.h.

template<class T>
T* bufferT< T >::getData ( void   )  [inline]

Definition at line 57 of file collide_buffers.h.

Referenced by serialCollideClient::collisions(), and voxelAggregator::send().

Here is the caller graph for this function:

template<class T>
const T* bufferT< T >::getData ( void   )  const [inline]

Definition at line 58 of file collide_buffers.h.


Field Documentation

template<class T>
T* bufferT< T >::data [private]

template<class T>
int bufferT< T >::len [private]


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

Generated on Mon Sep 21 08:17:58 2020 for Charm++ by  doxygen 1.5.5