X3D libraries
The libraries to work with X3D dataset

x3d::BaseSet< T, step > Class Template Reference

The basic template used to create arrays. More...

#include <node.h>

Inheritance diagram for x3d::BaseSet< T, step >:

Inheritance graph
[legend]
Collaboration diagram for x3d::BaseSet< T, step >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BaseSet (const BaseSet &src)
 BaseSet (void)
unsigned int Count () const
void Delete (unsigned int idx)
void Empty ()
T & Get (unsigned int idx) const
T * GetData () const
void Insert (int idx, const T &item)
bool IsEmpty () const
bool operator!= (const BaseSet &src) const
BaseSetoperator= (const BaseSet &src)
bool operator== (const BaseSet &src) const
void Reset ()
void Set (unsigned int idx, const T &item)
 ~BaseSet ()

Private Member Functions

void MinimumSize (unsigned int size)

Private Attributes

T * f_array
unsigned int f_count
unsigned int f_max

Detailed Description

template<class T, int step>
class x3d::BaseSet< T, step >

The basic template used to create arrays.


Constructor & Destructor Documentation

template<class T, int step>
x3d::BaseSet< T, step >::BaseSet void   )  [inline]
 

template<class T, int step>
x3d::BaseSet< T, step >::BaseSet const BaseSet< T, step > &  src  )  [inline]
 

template<class T, int step>
x3d::BaseSet< T, step >::~BaseSet  )  [inline]
 


Member Function Documentation

template<class T, int step>
unsigned int x3d::BaseSet< T, step >::Count  )  const [inline]
 

Reimplemented in x3d::Array< T, step >, and x3d::Vector< T, step >.

template<class T, int step>
void x3d::BaseSet< T, step >::Delete unsigned int  idx  )  [inline]
 

Reimplemented in x3d::Array< T, step >, and x3d::Vector< T, step >.

template<class T, int step>
void x3d::BaseSet< T, step >::Empty  )  [inline]
 

Reimplemented in x3d::Array< T, step >, and x3d::Vector< T, step >.

template<class T, int step>
T& x3d::BaseSet< T, step >::Get unsigned int  idx  )  const [inline]
 

Reimplemented in x3d::Array< T, step >, and x3d::Vector< T, step >.

template<class T, int step>
T* x3d::BaseSet< T, step >::GetData  )  const [inline]
 

Reimplemented in x3d::Array< T, step >.

template<class T, int step>
void x3d::BaseSet< T, step >::Insert int  idx,
const T &  item
[inline]
 

Reimplemented in x3d::Array< T, step >.

template<class T, int step>
bool x3d::BaseSet< T, step >::IsEmpty  )  const [inline]
 

Reimplemented in x3d::Array< T, step >, and x3d::Vector< T, step >.

template<class T, int step>
void x3d::BaseSet< T, step >::MinimumSize unsigned int  size  )  [inline, private]
 

template<class T, int step>
bool x3d::BaseSet< T, step >::operator!= const BaseSet< T, step > &  src  )  const [inline]
 

template<class T, int step>
BaseSet& x3d::BaseSet< T, step >::operator= const BaseSet< T, step > &  src  )  [inline]
 

template<class T, int step>
bool x3d::BaseSet< T, step >::operator== const BaseSet< T, step > &  src  )  const [inline]
 

template<class T, int step>
void x3d::BaseSet< T, step >::Reset  )  [inline]
 

Reimplemented in x3d::Array< T, step >, and x3d::Vector< T, step >.

template<class T, int step>
void x3d::BaseSet< T, step >::Set unsigned int  idx,
const T &  item
[inline]
 

Reimplemented in x3d::Array< T, step >.


Member Data Documentation

template<class T, int step>
T* x3d::BaseSet< T, step >::f_array [private]
 

template<class T, int step>
unsigned int x3d::BaseSet< T, step >::f_count [private]
 

template<class T, int step>
unsigned int x3d::BaseSet< T, step >::f_max [private]
 


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