UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
hds::TableDoc::Item< T > Class Template Reference

#include <table_doc.hpp>

Inheritance diagram for hds::TableDoc::Item< T >:
hds::TableDoc::AbstractItem

Public Member Functions

 Item (const bool ro_flag=false)
 
 Item (const T &val, const bool ro_flag=false)
 
const T & value () const
 
void setValue (const T &val)
 
virtual ItemType type () const
 
template<>
TableDoc::ItemType type () const
 
template<>
 Item (const bool ro_flag)
 
template<>
TableDoc::ItemType type () const
 
template<>
 Item (const bool ro_flag)
 
template<>
TableDoc::ItemType type () const
 
template<>
 Item (const bool ro_flag)
 
template<>
TableDoc::ItemType type () const
 
- Public Member Functions inherited from hds::TableDoc::AbstractItem
 AbstractItem (const bool ro_flag=false)
 
virtual ~AbstractItem ()
 
bool readOnly () const
 
void setReadOnly (const bool ro_flag)
 

Detailed Description

template<typename T>
class hds::TableDoc::Item< T >

Any value item.

Constructor & Destructor Documentation

template<typename T >
hds::TableDoc::Item< T >::Item ( const bool  ro_flag = false)
inline

Default constructor with read only flag provided.

template<typename T >
hds::TableDoc::Item< T >::Item ( const T &  val,
const bool  ro_flag = false 
)
inline

Construct item with value and read only flag provided.

Member Function Documentation

template<typename T >
void hds::TableDoc::Item< T >::setValue ( const T &  val)
inline

Set item value.

template<typename T >
virtual ItemType hds::TableDoc::Item< T >::type ( ) const
inlinevirtual

Get type of item. Invalid item in common case, supported types will be specialized.

Reimplemented from hds::TableDoc::AbstractItem.

template<>
TableDoc::ItemType hds::TableDoc::Item< int >::type ( ) const
inlinevirtual

Get type of item.

Reimplemented from hds::TableDoc::AbstractItem.

template<>
TableDoc::ItemType hds::TableDoc::Item< float >::type ( ) const
inlinevirtual

Get type of item.

Reimplemented from hds::TableDoc::AbstractItem.

template<>
TableDoc::ItemType hds::TableDoc::Item< double >::type ( ) const
inlinevirtual

Get type of item.

Reimplemented from hds::TableDoc::AbstractItem.

template<>
TableDoc::ItemType hds::TableDoc::Item< std::string >::type ( ) const
inlinevirtual

Get type of item.

Reimplemented from hds::TableDoc::AbstractItem.

template<typename T >
const T& hds::TableDoc::Item< T >::value ( ) const
inline

Get item value.


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