replicode
Public Member Functions | Private Attributes | List of all members
mBrane::sdk::StaticArray< T > Class Template Reference

#include <array.h>

Inheritance diagram for mBrane::sdk::StaticArray< T >:
Inheritance graph
Collaboration diagram for mBrane::sdk::StaticArray< T >:
Collaboration graph

Public Member Functions

 StaticArray ()
 
 ~StaticArray ()
 
void alloc (uint32_t count)
 
uint32_t count () const
 
T & operator[] (uint32_t i)
 
T * data () const
 

Private Attributes

uint32_t _count
 
T * _array
 
bool _once
 

Constructor & Destructor Documentation

template<typename T >
mBrane::sdk::StaticArray< T >::StaticArray ( )
template<typename T >
mBrane::sdk::StaticArray< T >::~StaticArray ( )

Member Function Documentation

template<typename T >
void mBrane::sdk::StaticArray< T >::alloc ( uint32_t  count)

Here is the caller graph for this function:

template<typename T >
uint32_t mBrane::sdk::StaticArray< T >::count ( ) const
inline

Here is the caller graph for this function:

template<typename T >
T * mBrane::sdk::StaticArray< T >::data ( ) const
inline
template<typename T >
T & mBrane::sdk::StaticArray< T >::operator[] ( uint32_t  i)
inline

Member Data Documentation

template<typename T>
T* mBrane::sdk::StaticArray< T >::_array
private
template<typename T>
uint32_t mBrane::sdk::StaticArray< T >::_count
private
template<typename T>
bool mBrane::sdk::StaticArray< T >::_once
private

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