OdbDesignLib
OdbDesign ODB++ Parsing Library
 
Loading...
Searching...
No Matches
Odb::Lib::FileModel::Design::PropertyRecord Struct Reference
Inheritance diagram for Odb::Lib::FileModel::Design::PropertyRecord:
Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::PropertyRecord >

Public Types

typedef std::map< std::string, std::shared_ptr< PropertyRecord > > StringMap
 
typedef std::vector< std::shared_ptr< PropertyRecord > > Vector
 

Public Member Functions

std::unique_ptr< Odb::Lib::Protobuf::PropertyRecord > to_protobuf () const override
 
void from_protobuf (const Odb::Lib::Protobuf::PropertyRecord &message) override
 
- Public Member Functions inherited from Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::PropertyRecord >
bool to_pbstring (std::string &pb_string) const
 
bool from_pbstring (const std::string &pb_string)
 
bool to_stream (std::ostream &outputStream) const
 
bool from_stream (std::istream &inputStream)
 
std::string to_json () const override
 
void from_json (const std::string &json) override
 

Public Attributes

std::string name
 
std::string value
 
std::vector< double > floatValues
 

Static Public Attributes

static constexpr const char * RECORD_TOKEN = "PRP"
 

Detailed Description

Definition at line 14 of file PropertyRecord.h.

Member Typedef Documentation

◆ StringMap

typedef std::map<std::string, std::shared_ptr<PropertyRecord> > Odb::Lib::FileModel::Design::PropertyRecord::StringMap

Definition at line 25 of file PropertyRecord.h.

◆ Vector

typedef std::vector<std::shared_ptr<PropertyRecord> > Odb::Lib::FileModel::Design::PropertyRecord::Vector

Definition at line 26 of file PropertyRecord.h.

Member Function Documentation

◆ from_protobuf()

void Odb::Lib::FileModel::Design::PropertyRecord::from_protobuf ( const Odb::Lib::Protobuf::PropertyRecord &  message)
overridevirtual

◆ to_protobuf()

std::unique_ptr< Odb::Lib::Protobuf::PropertyRecord > Odb::Lib::FileModel::Design::PropertyRecord::to_protobuf ( ) const
overridevirtual

Member Data Documentation

◆ floatValues

std::vector<double> Odb::Lib::FileModel::Design::PropertyRecord::floatValues

Definition at line 19 of file PropertyRecord.h.

◆ name

std::string Odb::Lib::FileModel::Design::PropertyRecord::name

Definition at line 17 of file PropertyRecord.h.

◆ RECORD_TOKEN

constexpr const char* Odb::Lib::FileModel::Design::PropertyRecord::RECORD_TOKEN = "PRP"
inlinestaticconstexpr

Definition at line 22 of file PropertyRecord.h.

◆ value

std::string Odb::Lib::FileModel::Design::PropertyRecord::value

Definition at line 18 of file PropertyRecord.h.


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