A template for atomic data types (integers, floats, strings and others). More...
#include <SimpleData.h>
  
 Public Member Functions | |
| AbstractData * | clone () const | 
| It returns a clone of this object.  More... | |
| virtual int | getTypeCode () const | 
| It returns the data type code associated to the data value.  More... | |
| T | getValue () const | 
| It returns the associated value.  More... | |
| SimpleData & | operator= (const SimpleData &rhs) | 
| Copy constructor.  More... | |
| SimpleData (T value) | |
| Constructor.  More... | |
| SimpleData (const SimpleData &rhs) | |
| Copy constructor.  More... | |
| virtual std::string | toString () const | 
| It returns the data value in a string representation.  More... | |
| virtual | ~SimpleData () | 
| Virtual destructor.  More... | |
Private Attributes | |
| T | m_val | 
| The data value.  More... | |
A template for atomic data types (integers, floats, strings and others).
Requirements on type T:
Definition at line 59 of file SimpleData.h.
      
  | 
  inline | 
Constructor.
| value | The value associated. | 
Definition at line 68 of file SimpleData.h.
Referenced by te::dt::SimpleData< boost::int64_t, INT64_TYPE >::clone(), and te::dt::SimpleData< T *, typeCode >::clone().
      
  | 
  inline | 
Copy constructor.
| rhs | The right-hand-side data. | 
Definition at line 78 of file SimpleData.h.
      
  | 
  inlinevirtual | 
Virtual destructor.
Definition at line 84 of file SimpleData.h.
      
  | 
  inlinevirtual | 
It returns a clone of this object.
Implements te::dt::AbstractData.
Definition at line 106 of file SimpleData.h.
      
  | 
  inlinevirtual | 
It returns the data type code associated to the data value.
Implements te::dt::AbstractData.
Definition at line 116 of file SimpleData.h.
      
  | 
  inline | 
It returns the associated value.
Definition at line 139 of file SimpleData.h.
      
  | 
  inline | 
Copy constructor.
| rhs | The right-hand-side data. | 
Definition at line 91 of file SimpleData.h.
      
  | 
  inlinevirtual | 
It returns the data value in a string representation.
Implements te::dt::AbstractData.
Definition at line 126 of file SimpleData.h.
      
  | 
  private | 
The data value.
Definition at line 146 of file SimpleData.h.
Referenced by te::dt::SimpleData< boost::int64_t, INT64_TYPE >::getValue(), te::dt::SimpleData< T *, typeCode >::getValue(), te::dt::SimpleData< boost::int64_t, INT64_TYPE >::operator=(), te::dt::SimpleData< T *, typeCode >::operator=(), te::dt::SimpleData< T *, typeCode >::SimpleData(), te::dt::SimpleData< boost::int64_t, INT64_TYPE >::toString(), te::dt::SimpleData< T *, typeCode >::toString(), and te::dt::SimpleData< T *, typeCode >::~SimpleData().