Public Member Functions | List of all members
SingleArray< T > Class Template Reference

#include <data_types.h>

Inheritance diagram for SingleArray< T >:
Inheritance graph
[legend]

Public Member Functions

T & operator[] (unsigned int i) const
 Represent the pointer as an array of T. More...
 
 SingleArray (DataPointer &&temp)
 Cast return-by-value temporary DataPointer to this type of array. More...
 
 SingleArray (SingleArray &&temp)
 
unsigned int size ()
 The number of T instances in this array. More...
 
- Public Member Functions inherited from DataPointer
 DataPointer (DataPointer &&other)
 
 DataPointer (DataPointer &other)
 
 DataPointer (unsigned char *pointer, unsigned int size, PrivateImplementation *private_impl=0)
 
unsigned char * get_raw_pointer () const
 
bool valid ()
 Indicator for nullpointer / no data contained if false. More...
 
 ~DataPointer ()
 Delete the private implementation with its derived dtor. More...
 

Additional Inherited Members

- Protected Attributes inherited from DataPointer
unsigned char * m_pointer
 
unsigned int m_size
 

Detailed Description

template<typename T>
class SingleArray< T >

Definition at line 107 of file data_types.h.

Constructor & Destructor Documentation

◆ SingleArray() [1/2]

template<typename T >
SingleArray< T >::SingleArray ( DataPointer &&  temp)
inline

Cast return-by-value temporary DataPointer to this type of array.

Definition at line 110 of file data_types.h.

◆ SingleArray() [2/2]

template<typename T >
SingleArray< T >::SingleArray ( SingleArray< T > &&  temp)
inline

Definition at line 115 of file data_types.h.

Member Function Documentation

◆ operator[]()

template<typename T >
T& SingleArray< T >::operator[] ( unsigned int  i) const
inline

Represent the pointer as an array of T.

Definition at line 121 of file data_types.h.

◆ size()

template<typename T >
unsigned int SingleArray< T >::size ( )
inline

The number of T instances in this array.

Definition at line 127 of file data_types.h.


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


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:26