Documentation for OpenFLUID 2.2.1
openfluid::ware::SignatureDataItem Class Reference

Detailed Description

Class for storage of the definition of data handled by the simulator.

#include <ware/WareSignature.hpp>

Public Member Functions

 SignatureDataItem ()
 
 SignatureDataItem (const std::string &N, const std::string &D, const std::string &SI, std::function< bool(const std::string &, std::string &, openfluid::core::Value::Type &)> Extractor=openfluid::ware::identityExtractor)
 
 SignatureDataItem (const std::string &N, const std::string &D, const std::string &SI, openfluid::core::Value::Type T, std::function< bool(const std::string &)> Validator=openfluid::ware::isNonEmpty)
 

Public Attributes

std::string Name
 
std::string Description
 
std::string SIUnit
 
openfluid::core::Value::Type DataType
 
Inheritance diagram for openfluid::ware::SignatureDataItem:

Constructor & Destructor Documentation

◆ SignatureDataItem() [1/3]

openfluid::ware::SignatureDataItem::SignatureDataItem ( )
inline

◆ SignatureDataItem() [2/3]

openfluid::ware::SignatureDataItem::SignatureDataItem ( const std::string &  N,
const std::string &  D,
const std::string &  SI,
std::function< bool(const std::string &, std::string &, openfluid::core::Value::Type &)>  Extractor = openfluid::ware::identityExtractor 
)

◆ SignatureDataItem() [3/3]

openfluid::ware::SignatureDataItem::SignatureDataItem ( const std::string &  N,
const std::string &  D,
const std::string &  SI,
openfluid::core::Value::Type  T,
std::function< bool(const std::string &)>  Validator = openfluid::ware::isNonEmpty 
)

Member Data Documentation

◆ DataType

openfluid::core::Value::Type openfluid::ware::SignatureDataItem::DataType

◆ Description

std::string openfluid::ware::SignatureDataItem::Description

◆ Name

std::string openfluid::ware::SignatureDataItem::Name

◆ SIUnit

std::string openfluid::ware::SignatureDataItem::SIUnit

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