Raytrix Light Field SDK  4.0
Logo
Public Member Functions | Protected Attributes | List of all members
Rx::Constraint::CArrayRange< TArray, TValue > Class Template Reference

Detailed Description

template<class TArray, class TValue>
class Rx::Constraint::CArrayRange< TArray, TValue >

An array range.

Template Parameters
TArrayARRAY.
TValueVALUE.

Inherits Rx::Constraint::CAny.

Public Member Functions

 CArrayRange ()
 
 CArrayRange (size_t nArrayLenMin, size_t nArrayLenMax, TValue tMin, TValue tMax)
 
virtual ~CArrayRange ()
 
void Get (size_t &nArrayLenMin, size_t &nArrayLenMax, TValue &tMin, TValue &tMax)
 
virtual CRxString GetInfoString (const void *ptValue)
 
virtual bool IsValid (const void *ptValue)
 
bool Set (size_t nArrayLenMin, size_t nArrayLenMax, TValue tMin, TValue tMax)
 

Protected Attributes

size_t m_nArrayLenMax
 
size_t m_nArrayLenMin
 
TValue m_tMax
 
TValue m_tMin
 

Constructor & Destructor Documentation

template<class TArray , class TValue >
Rx::Constraint::CArrayRange< TArray, TValue >::CArrayRange ( )
inline
template<class TArray , class TValue >
Rx::Constraint::CArrayRange< TArray, TValue >::CArrayRange ( size_t  nArrayLenMin,
size_t  nArrayLenMax,
TValue  tMin,
TValue  tMax 
)
inline
template<class TArray , class TValue >
virtual Rx::Constraint::CArrayRange< TArray, TValue >::~CArrayRange ( )
inlinevirtual

Member Function Documentation

template<class TArray , class TValue >
void Rx::Constraint::CArrayRange< TArray, TValue >::Get ( size_t &  nArrayLenMin,
size_t &  nArrayLenMax,
TValue &  tMin,
TValue &  tMax 
)
inline
template<class TArray , class TValue >
virtual CRxString Rx::Constraint::CArrayRange< TArray, TValue >::GetInfoString ( const void *  ptValue)
inlinevirtual

Reimplemented from Rx::Constraint::CAny.

template<class TArray , class TValue >
virtual bool Rx::Constraint::CArrayRange< TArray, TValue >::IsValid ( const void *  ptValue)
inlinevirtual

Reimplemented from Rx::Constraint::CAny.

template<class TArray , class TValue >
bool Rx::Constraint::CArrayRange< TArray, TValue >::Set ( size_t  nArrayLenMin,
size_t  nArrayLenMax,
TValue  tMin,
TValue  tMax 
)
inline

Member Data Documentation

template<class TArray , class TValue >
size_t Rx::Constraint::CArrayRange< TArray, TValue >::m_nArrayLenMax
protected
template<class TArray , class TValue >
size_t Rx::Constraint::CArrayRange< TArray, TValue >::m_nArrayLenMin
protected
template<class TArray , class TValue >
TValue Rx::Constraint::CArrayRange< TArray, TValue >::m_tMax
protected
template<class TArray , class TValue >
TValue Rx::Constraint::CArrayRange< TArray, TValue >::m_tMin
protected