STK++ 0.9.13
STK::IDataBridge Class Reference

Interface class wrapping a data set. More...

#include <STK_IDataBridge.h>

Inheritance diagram for STK::IDataBridge:
Inheritance graph

Public Member Functions

 IDataBridge (std::string const &idData)
 default constructor.
 
 IDataBridge (IDataBridge const &bridge)
 copy constructor (Warning: will copy the data set)
 
virtual ~IDataBridge ()
 destructor
 
std::string constidData () const
 return the Id of the mixture
 

Private Attributes

std::string idData_
 Id data of the mixture.
 

Detailed Description

Interface class wrapping a data set.

Every data set wrapped by the end-user has to furnish an Id identifying it.

Definition at line 46 of file STK_IDataBridge.h.

Constructor & Destructor Documentation

◆ IDataBridge() [1/2]

STK::IDataBridge::IDataBridge ( std::string const idData)
inline

default constructor.

User must provide with the data set an Id

Definition at line 68 of file STK_IDataBridge.h.

69 : idData_(idData) {}
std::string idData_
Id data of the mixture.
std::string const & idData() const
return the Id of the mixture

◆ IDataBridge() [2/2]

STK::IDataBridge::IDataBridge ( IDataBridge const bridge)
inline

copy constructor (Warning: will copy the data set)

Parameters
bridgethe DataBridge to copy

Definition at line 73 of file STK_IDataBridge.h.

74 : idData_(bridge.idData_)
75{}

◆ ~IDataBridge()

virtual STK::IDataBridge::~IDataBridge ( )
inlinevirtual

destructor

Definition at line 57 of file STK_IDataBridge.h.

57{}

Member Function Documentation

◆ idData()

std::string const & STK::IDataBridge::idData ( ) const
inline

return the Id of the mixture

Definition at line 60 of file STK_IDataBridge.h.

60{ return idData_;}

References idData_.

Member Data Documentation

◆ idData_

std::string STK::IDataBridge::idData_
private

Id data of the mixture.

Definition at line 64 of file STK_IDataBridge.h.

Referenced by idData().


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