Loading...
Searching...
No Matches
VdfVector::ReadAccessor< TYPE > Class Template Reference

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

#include <vector.h>

Public Member Functions

 ReadAccessor ()=default
 Default constructor.
 
bool IsEmpty () const
 Returns true if the vector is empty.
 
size_t GetNumValues () const
 Returns the size of the vector, i.e.
 
bool IsBoxed () const
 Returns true if this accessor is providing element-wise access into a boxed container.
 
const TYPE & operator[] (size_t i) const
 Returns a const reference to an element.
 

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 469 of file vector.h.

Constructor & Destructor Documentation

◆ ReadAccessor()

ReadAccessor ( )
default

Default constructor.

Member Function Documentation

◆ GetNumValues()

size_t GetNumValues ( ) const
inline

Returns the size of the vector, i.e.

the number of values it holds.

Definition at line 482 of file vector.h.

◆ IsBoxed()

bool IsBoxed ( ) const
inline

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

Definition at line 487 of file vector.h.

◆ IsEmpty()

bool IsEmpty ( ) const
inline

Returns true if the vector is empty.

Definition at line 478 of file vector.h.

◆ operator[]()

const TYPE & operator[] ( size_t  i) const
inline

Returns a const reference to an element.

Definition at line 491 of file vector.h.

Friends And Related Function Documentation

◆ VdfVector

friend class VdfVector
friend

Definition at line 496 of file vector.h.


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