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

Constructor & Destructor Documentation

◆ ReadWriteAccessor()

ReadWriteAccessor ( )
default

Default constructor.

Member Function Documentation

◆ GetNumValues()

size_t GetNumValues ( ) const
inline

Returns the size of the vector, i.e.

the nu,ber of values it holds.

Definition at line 416 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 421 of file vector.h.

◆ IsEmpty()

bool IsEmpty ( ) const
inline

Returns true of the vector is empty.

Definition at line 412 of file vector.h.

◆ operator[]()

TYPE & operator[] ( size_t  i) const
inline

Returns a mutable reference to an element.

Definition at line 425 of file vector.h.

Friends And Related Function Documentation

◆ VdfVector

friend class VdfVector
friend

Definition at line 430 of file vector.h.


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