Raytrix Light Field SDK  5.0
Rx::Constraint::CArraySize< TArray > Class Template Reference

Detailed Description

template<class TArray>
class Rx::Constraint::CArraySize< TArray >

An array size.

Template Parameters
TArrayARRAY.

Inherits Rx::Constraint::CAny.

Public Member Functions

 CArraySize ()
 
 CArraySize (size_t nArrayLenMin, size_t nArrayLenMax)
 
virtual ~CArraySize ()
 
void Get (size_t &nArrayLenMin, size_t &nArrayLenMax)
 
virtual CRxString GetInfoString (const void *ptValue)
 
virtual bool IsValid (const void *ptValue)
 
bool Set (size_t nArrayLenMin, size_t nArrayLenMax)
 

Protected Attributes

size_t m_nArrayLenMax
 
size_t m_nArrayLenMin
 

Constructor & Destructor Documentation

◆ CArraySize() [1/2]

template<class TArray >
Rx::Constraint::CArraySize< TArray >::CArraySize ( )
inline

◆ CArraySize() [2/2]

template<class TArray >
Rx::Constraint::CArraySize< TArray >::CArraySize ( size_t  nArrayLenMin,
size_t  nArrayLenMax 
)
inline

◆ ~CArraySize()

template<class TArray >
virtual Rx::Constraint::CArraySize< TArray >::~CArraySize ( )
inlinevirtual

Member Function Documentation

◆ Get()

template<class TArray >
void Rx::Constraint::CArraySize< TArray >::Get ( size_t &  nArrayLenMin,
size_t &  nArrayLenMax 
)
inline

◆ GetInfoString()

template<class TArray >
virtual CRxString Rx::Constraint::CArraySize< TArray >::GetInfoString ( const void *  ptValue)
inlinevirtual

Reimplemented from Rx::Constraint::CAny.

◆ IsValid()

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

Reimplemented from Rx::Constraint::CAny.

◆ Set()

template<class TArray >
bool Rx::Constraint::CArraySize< TArray >::Set ( size_t  nArrayLenMin,
size_t  nArrayLenMax 
)
inline

Member Data Documentation

◆ m_nArrayLenMax

template<class TArray >
size_t Rx::Constraint::CArraySize< TArray >::m_nArrayLenMax
protected

◆ m_nArrayLenMin

template<class TArray >
size_t Rx::Constraint::CArraySize< TArray >::m_nArrayLenMin
protected