HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_StackBuffer< T, MAXBYTES > Class Template Reference

#include <UT_StackBuffer.h>

Public Types

typedef T value_type
 
typedef Titerator
 
typedef const Tconst_iterator
 

Public Member Functions

 UT_StackBuffer ()
 
 UT_StackBuffer (size_t num_elems)
 
 ~UT_StackBuffer ()
 
void setSize (size_t num_elems)
 
 operator T * ()
 
 operator const T * () const
 
Tarray ()
 
const Tarray () const
 
Toperator() (exint i)
 
const Toperator() (exint i) const
 
exint size () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 

Detailed Description

template<typename T, size_t MAXBYTES = 256>
class UT_StackBuffer< T, MAXBYTES >

Examples:
RAY/RAY_DemoEdgeDetectFilter.C, and RAY/RAY_DemoGT.C.

Definition at line 19 of file UT_StackBuffer.h.

Member Typedef Documentation

template<typename T, size_t MAXBYTES = 256>
typedef const T* UT_StackBuffer< T, MAXBYTES >::const_iterator

Definition at line 84 of file UT_StackBuffer.h.

template<typename T, size_t MAXBYTES = 256>
typedef T* UT_StackBuffer< T, MAXBYTES >::iterator

Definition at line 83 of file UT_StackBuffer.h.

template<typename T, size_t MAXBYTES = 256>
typedef T UT_StackBuffer< T, MAXBYTES >::value_type

Definition at line 22 of file UT_StackBuffer.h.

Constructor & Destructor Documentation

template<typename T, size_t MAXBYTES = 256>
UT_StackBuffer< T, MAXBYTES >::UT_StackBuffer ( )
inline

Definition at line 24 of file UT_StackBuffer.h.

template<typename T, size_t MAXBYTES = 256>
UT_StackBuffer< T, MAXBYTES >::UT_StackBuffer ( size_t  num_elems)
inline

Definition at line 25 of file UT_StackBuffer.h.

template<typename T, size_t MAXBYTES = 256>
UT_StackBuffer< T, MAXBYTES >::~UT_StackBuffer ( )
inline

Definition at line 33 of file UT_StackBuffer.h.

Member Function Documentation

template<typename T, size_t MAXBYTES = 256>
T* UT_StackBuffer< T, MAXBYTES >::array ( )
inline

Definition at line 66 of file UT_StackBuffer.h.

template<typename T, size_t MAXBYTES = 256>
const T* UT_StackBuffer< T, MAXBYTES >::array ( ) const
inline

Definition at line 67 of file UT_StackBuffer.h.

template<typename T, size_t MAXBYTES = 256>
iterator UT_StackBuffer< T, MAXBYTES >::begin ( void  )
inline

Definition at line 85 of file UT_StackBuffer.h.

template<typename T, size_t MAXBYTES = 256>
const_iterator UT_StackBuffer< T, MAXBYTES >::begin ( void  ) const
inline

Definition at line 87 of file UT_StackBuffer.h.

template<typename T, size_t MAXBYTES = 256>
iterator UT_StackBuffer< T, MAXBYTES >::end ( void  )
inline

Definition at line 86 of file UT_StackBuffer.h.

template<typename T, size_t MAXBYTES = 256>
const_iterator UT_StackBuffer< T, MAXBYTES >::end ( void  ) const
inline

Definition at line 88 of file UT_StackBuffer.h.

template<typename T, size_t MAXBYTES = 256>
UT_StackBuffer< T, MAXBYTES >::operator const T * ( ) const
inline

Definition at line 61 of file UT_StackBuffer.h.

template<typename T, size_t MAXBYTES = 256>
UT_StackBuffer< T, MAXBYTES >::operator T * ( )
inline

Definition at line 57 of file UT_StackBuffer.h.

template<typename T, size_t MAXBYTES = 256>
T& UT_StackBuffer< T, MAXBYTES >::operator() ( exint  i)
inline

Definition at line 78 of file UT_StackBuffer.h.

template<typename T, size_t MAXBYTES = 256>
const T& UT_StackBuffer< T, MAXBYTES >::operator() ( exint  i) const
inline

Definition at line 79 of file UT_StackBuffer.h.

template<typename T, size_t MAXBYTES = 256>
void UT_StackBuffer< T, MAXBYTES >::setSize ( size_t  num_elems)
inline

be careful with this, as constructors/destructors will not be called on the contents of the stack buffer

Definition at line 41 of file UT_StackBuffer.h.

template<typename T, size_t MAXBYTES = 256>
exint UT_StackBuffer< T, MAXBYTES >::size ( void  ) const
inline

Definition at line 81 of file UT_StackBuffer.h.


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