Tenncor
Public Member Functions | List of all members
teq::iData Struct Referenceabstract

Interface for unveiling data. More...

#include <idata.hpp>

Inheritance diagram for teq::iData:
Inheritance graph
[legend]

Public Member Functions

virtual ~iData (void)=default
 
virtual void * data (void)=0
 Return pointer to internal data. More...
 
virtual const void * data (void) const =0
 Return const pointer to internal data. More...
 
virtual size_t type_code (void) const =0
 Return data type encoding. More...
 
virtual std::string type_label (void) const =0
 Return data type label (for better readability) More...
 
virtual size_t nbytes (void) const =0
 Return number of bytes in the data. More...
 

Detailed Description

Interface for unveiling data.

Constructor & Destructor Documentation

◆ ~iData()

virtual teq::iData::~iData ( void  )
virtualdefault

Member Function Documentation

◆ data() [1/2]

virtual void* teq::iData::data ( void  )
pure virtual

Return pointer to internal data.

Implemented in dbg::CustomFunctor< T >, eteq::Functor< T >, and eteq::iLeaf< T >.

◆ data() [2/2]

virtual const void* teq::iData::data ( void  ) const
pure virtual

Return const pointer to internal data.

Implemented in eteq::Functor< T >, dbg::CustomFunctor< T >, and eteq::iLeaf< T >.

◆ nbytes()

virtual size_t teq::iData::nbytes ( void  ) const
pure virtual

Return number of bytes in the data.

Implemented in eteq::Functor< T >, dbg::CustomFunctor< T >, and eteq::iLeaf< T >.

◆ type_code()

virtual size_t teq::iData::type_code ( void  ) const
pure virtual

Return data type encoding.

Implemented in eteq::Functor< T >, dbg::CustomFunctor< T >, and eteq::iLeaf< T >.

◆ type_label()

virtual std::string teq::iData::type_label ( void  ) const
pure virtual

Return data type label (for better readability)

Implemented in eteq::Functor< T >, dbg::CustomFunctor< T >, and eteq::iLeaf< T >.


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