HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VdfVector::ReadWriteAccessor< TYPE > Class Template Reference

#include <vector.h>

Public Member Functions

 ReadWriteAccessor ()=default
 
bool IsEmpty () const
 
size_t GetNumValues () const
 
bool IsBoxed () const
 
TYPE & operator[] (size_t i) const
 

Friends

class VdfVector
 

Detailed Description

template<typename TYPE>
class VdfVector::ReadWriteAccessor< TYPE >

A read/write accessor for low-level access to the contents of the VdfVector.

Definition at line 410 of file vector.h.

Constructor & Destructor Documentation

template<typename TYPE>
VdfVector::ReadWriteAccessor< TYPE >::ReadWriteAccessor ( )
default

Default constructor.

Member Function Documentation

template<typename TYPE>
size_t VdfVector::ReadWriteAccessor< TYPE >::GetNumValues ( ) const
inline

Returns the size of the vector, i.e. the nu,ber of values it holds.

Definition at line 423 of file vector.h.

template<typename TYPE>
bool VdfVector::ReadWriteAccessor< TYPE >::IsBoxed ( ) const
inline

Returns true if this accessor is providing element-wise access into a boxed container.

Definition at line 428 of file vector.h.

template<typename TYPE>
bool VdfVector::ReadWriteAccessor< TYPE >::IsEmpty ( ) const
inline

Returns true of the vector is empty.

Definition at line 419 of file vector.h.

template<typename TYPE>
TYPE& VdfVector::ReadWriteAccessor< TYPE >::operator[] ( size_t  i) const
inline

Returns a mutable reference to an element.

Definition at line 432 of file vector.h.

Friends And Related Function Documentation

template<typename TYPE>
friend class VdfVector
friend

Definition at line 437 of file vector.h.


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