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

#include <data_types.h>

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

Public Member Functions

T & get () const
 Type-cast. More...
 
 SingleObject (DataPointer &&temp)
 Cast return-by-value temporary DataPointer to this type of object. More...
 
 SingleObject (SingleObject &&temp)
 
unsigned int size () const
 There is only one object in here. 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 SingleObject< T >

Definition at line 163 of file data_types.h.

Constructor & Destructor Documentation

◆ SingleObject() [1/2]

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

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

Definition at line 166 of file data_types.h.

◆ SingleObject() [2/2]

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

Definition at line 171 of file data_types.h.

Member Function Documentation

◆ get()

template<typename T >
T& SingleObject< T >::get ( ) const
inline

Type-cast.

Definition at line 177 of file data_types.h.

◆ size()

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

There is only one object in here.

Definition at line 183 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