Public Member Functions | Private Member Functions | Private Attributes | List of all members
gte::Array2< T > Class Template Reference

#include <GteArray2.h>

Public Member Functions

 Array2 (size_t bound0, size_t bound1)
 
 Array2 (size_t bound0, size_t bound1, T *objects)
 
 Array2 ()
 
 Array2 (Array2 const &other)
 
 Array2 (Array2 &&other)
 
size_t GetBound0 () const
 
size_t GetBound1 () const
 
Array2operator= (Array2 const &other)
 
Array2operator= (Array2 &&other)
 
T const * operator[] (int row) const
 
T * operator[] (int row)
 

Private Member Functions

void SetPointers (T *objects)
 
void SetPointers (Array2 const &other)
 

Private Attributes

size_t mBound0
 
size_t mBound1
 
std::vector< T * > mIndirect1
 
std::vector< T > mObjects
 

Detailed Description

template<typename T>
class gte::Array2< T >

Definition at line 21 of file GteArray2.h.

Constructor & Destructor Documentation

template<typename T >
gte::Array2< T >::Array2 ( size_t  bound0,
size_t  bound1 
)

Definition at line 59 of file GteArray2.h.

template<typename T>
gte::Array2< T >::Array2 ( size_t  bound0,
size_t  bound1,
T *  objects 
)

Definition at line 70 of file GteArray2.h.

template<typename T>
gte::Array2< T >::Array2 ( )

Definition at line 80 of file GteArray2.h.

template<typename T>
gte::Array2< T >::Array2 ( Array2< T > const &  other)

Definition at line 88 of file GteArray2.h.

template<typename T>
gte::Array2< T >::Array2 ( Array2< T > &&  other)

Definition at line 103 of file GteArray2.h.

Member Function Documentation

template<typename T >
size_t gte::Array2< T >::GetBound0 ( ) const
inline

Definition at line 118 of file GteArray2.h.

template<typename T >
size_t gte::Array2< T >::GetBound1 ( ) const
inline

Definition at line 124 of file GteArray2.h.

template<typename T >
Array2< T > & gte::Array2< T >::operator= ( Array2< T > const &  other)

Definition at line 94 of file GteArray2.h.

template<typename T >
Array2< T > & gte::Array2< T >::operator= ( Array2< T > &&  other)

Definition at line 109 of file GteArray2.h.

template<typename T >
T const * gte::Array2< T >::operator[] ( int  row) const
inline

Definition at line 130 of file GteArray2.h.

template<typename T >
T * gte::Array2< T >::operator[] ( int  row)
inline

Definition at line 136 of file GteArray2.h.

template<typename T>
void gte::Array2< T >::SetPointers ( T *  objects)
private

Definition at line 142 of file GteArray2.h.

template<typename T>
void gte::Array2< T >::SetPointers ( Array2< T > const &  other)
private

Definition at line 152 of file GteArray2.h.

Member Data Documentation

template<typename T>
size_t gte::Array2< T >::mBound0
private

Definition at line 53 of file GteArray2.h.

template<typename T>
size_t gte::Array2< T >::mBound1
private

Definition at line 53 of file GteArray2.h.

template<typename T>
std::vector<T*> gte::Array2< T >::mIndirect1
private

Definition at line 55 of file GteArray2.h.

template<typename T>
std::vector<T> gte::Array2< T >::mObjects
private

Definition at line 54 of file GteArray2.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:05