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

#include <vector.h>

Public Member Functions

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

Friends

class VdfVector
 

Detailed Description

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

A read-only accessor for low-level acces to the contents of the VdfVector.

Definition at line 476 of file vector.h.

Constructor & Destructor Documentation

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

Default constructor.

Member Function Documentation

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

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

Definition at line 489 of file vector.h.

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

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

Definition at line 494 of file vector.h.

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

Returns true if the vector is empty.

Definition at line 485 of file vector.h.

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

Returns a const reference to an element.

Definition at line 498 of file vector.h.

Friends And Related Function Documentation

template<typename TYPE>
friend class VdfVector
friend

Definition at line 503 of file vector.h.


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