replicode
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
mBrane::sdk::payloads::CStorage< S, T > Class Template Reference

#include <message.h>

Inheritance diagram for mBrane::sdk::payloads::CStorage< S, T >:
Inheritance graph
Collaboration diagram for mBrane::sdk::payloads::CStorage< S, T >:
Collaboration graph

Public Member Functions

void * operator new (size_t s)
 
void * operator new (size_t s, uint32_t capacity)
 
void operator delete (void *o)
 
virtual ~CStorage ()
 
size_t size () const
 
uint32_t getCapacity () const
 
T & data (uint32_t i)
 
T & data (uint32_t i) const
 
T * data ()
 

Static Public Member Functions

static void * New (uint32_t size)
 

Protected Member Functions

 CStorage ()
 

Protected Attributes

uint32_t _size
 
uint32_t _capacity
 
T * _data
 

Constructor & Destructor Documentation

template<class S , typename T >
mBrane::sdk::payloads::CStorage< S, T >::CStorage ( )
protected
template<class S , typename T >
mBrane::sdk::payloads::CStorage< S, T >::~CStorage ( )
virtual

Member Function Documentation

template<class S , typename T >
T & mBrane::sdk::payloads::CStorage< S, T >::data ( uint32_t  i)

Here is the caller graph for this function:

template<class S , typename T >
T & mBrane::sdk::payloads::CStorage< S, T >::data ( uint32_t  i) const
template<class S , typename T >
T * mBrane::sdk::payloads::CStorage< S, T >::data ( )
template<class S , typename T >
uint32_t mBrane::sdk::payloads::CStorage< S, T >::getCapacity ( ) const
template<class S , typename T >
void * mBrane::sdk::payloads::CStorage< S, T >::New ( uint32_t  size)
static
template<class S , typename T >
void mBrane::sdk::payloads::CStorage< S, T >::operator delete ( void *  o)
template<class S , typename T >
void * mBrane::sdk::payloads::CStorage< S, T >::operator new ( size_t  s)
template<class S , typename T >
void * mBrane::sdk::payloads::CStorage< S, T >::operator new ( size_t  s,
uint32_t  capacity 
)
template<class S , typename T >
size_t mBrane::sdk::payloads::CStorage< S, T >::size ( ) const

Member Data Documentation

template<class S, typename T>
uint32_t mBrane::sdk::payloads::CStorage< S, T >::_capacity
protected
template<class S, typename T>
T* mBrane::sdk::payloads::CStorage< S, T >::_data
protected
template<class S, typename T>
uint32_t mBrane::sdk::payloads::CStorage< S, T >::_size
protected

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