mimmo::IODataT< T > Class Template Reference

IODataT is the templated class of generic data derived from IOData base class. More...

#include <IOData.hpp>

Inheritance diagram for mimmo::IODataT< T >:
Collaboration diagram for mimmo::IODataT< T >:

Public Member Functions

 IODataT ()
 
 IODataT (const IODataT &other)
 
 IODataT (T &data)
 
 ~IODataT ()
 
T * getData ()
 
void setData (T &data)
 
- Public Member Functions inherited from mimmo::IOData
 IOData ()
 
virtual ~IOData ()
 
template<typename T >
T * getData ()
 
template<typename T >
void setData (T data)
 

Public Attributes

m_data
 

Detailed Description

template<typename T>
class mimmo::IODataT< T >

IODataT is the templated class of generic data derived from IOData base class.

IODataT stores a generic data used in manipulation objects.

Definition at line 79 of file IOData.hpp.

Constructor & Destructor Documentation

◆ IODataT() [1/3]

template<typename T >
mimmo::IODataT< T >::IODataT ( )
inline

Default constructor of IODataT.

Definition at line 86 of file IOData.hpp.

◆ IODataT() [2/3]

template<typename T >
mimmo::IODataT< T >::IODataT ( T &  data)
inline

Custom constructor of IODataT.

Parameters
[in]dataData to be stored.

Definition at line 91 of file IOData.hpp.

◆ ~IODataT()

template<typename T >
mimmo::IODataT< T >::~IODataT ( )
inline

Default destructor of IODataT.

Definition at line 97 of file IOData.hpp.

◆ IODataT() [3/3]

template<typename T >
mimmo::IODataT< T >::IODataT ( const IODataT< T > &  other)
inline

Copy constructor of IODataT.

Definition at line 101 of file IOData.hpp.

Member Function Documentation

◆ getData()

template<typename T >
T* mimmo::IODataT< T >::getData ( )
inline

It gets the data stored in the object.

Returns
Pointer to data stored.

Definition at line 115 of file IOData.hpp.

◆ setData()

template<typename T >
void mimmo::IODataT< T >::setData ( T &  data)
inline

It sets the data stored in the object.

Parameters
[in]dataData to be stored.

Definition at line 108 of file IOData.hpp.

Member Data Documentation

◆ m_data

template<typename T >
T mimmo::IODataT< T >::m_data

Data contained in the object.

Definition at line 81 of file IOData.hpp.


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