X3D libraries
The libraries to work with X3D dataset

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

The Array is a specialization of the BaseSet<T, step> template for basic types (i.e. bool, double, float, int, structures thereof). More...

#include <node.h>

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

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef T element_t

Public Member Functions

 Array (const Array &src)
 Array ()
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 Array &src) const
Array & operator= (const Array &src)
bool operator== (const Array &src) const
void Reset ()
void Set (unsigned int idx, const T &item)
 ~Array ()

Detailed Description

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

The Array is a specialization of the BaseSet<T, step> template for basic types (i.e. bool, double, float, int, structures thereof).


Member Typedef Documentation

template<class T, int step>
typedef T x3d::Array< T, step >::element_t
 


Constructor & Destructor Documentation

template<class T, int step>
x3d::Array< T, step >::Array (   )  [inline]
 

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

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


Member Function Documentation

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

Reimplemented from x3d::BaseSet< T, step >.

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

Reimplemented from x3d::BaseSet< T, step >.

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

Reimplemented from x3d::BaseSet< T, step >.

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

Reimplemented from x3d::BaseSet< T, step >.

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

Reimplemented from x3d::BaseSet< T, step >.

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

Reimplemented from x3d::BaseSet< T, step >.

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

Reimplemented from x3d::BaseSet< T, step >.

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

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

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

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

Reimplemented from x3d::BaseSet< T, step >.

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

Reimplemented from x3d::BaseSet< T, step >.


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