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

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

#include <vector.h>

Public Member Functions

 ReadWriteAccessor ()=default
 Default constructor.
 
bool IsEmpty () const
 Returns true of 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.
 
TYPE & operator[] (size_t i) const
 Returns a mutable reference to an element.
 

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

◆ ReadWriteAccessor()

template<typename TYPE >
ReadWriteAccessor ( )
default

Default constructor.

Member Function Documentation

◆ GetNumValues()

template<typename TYPE >
size_t 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.

◆ IsBoxed()

template<typename TYPE >
bool 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.

◆ IsEmpty()

template<typename TYPE >
bool IsEmpty ( ) const
inline

Returns true of the vector is empty.

Definition at line 419 of file vector.h.

◆ operator[]()

template<typename TYPE >
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 Symbol Documentation

◆ VdfVector

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: