OdbDesign
OdbDesign ODB++ Parser - C++ library, gRPC/REST server, CLI, tests
 
Loading...
Searching...
No Matches
Odb::Lib::FileModel::Design::PropertyRecord Struct Reference

#include <PropertyRecord.h>

Inheritance diagram for Odb::Lib::FileModel::Design::PropertyRecord:
[legend]
Collaboration diagram for Odb::Lib::FileModel::Design::PropertyRecord:
[legend]

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 Member Functions inherited from Utils::IJsonable
virtual ~IJsonable ()
 

Public Attributes

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

Static Public Attributes

static constexpr const char * RECORD_TOKEN = "PRP"
 

Additional Inherited Members

- Protected Member Functions inherited from Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::PropertyRecord >
 IProtoBuffable ()=default
 
- Protected Member Functions inherited from Utils::IJsonable
 IJsonable ()=default
 

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

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

Implements Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::PropertyRecord >.

Definition at line 8 of file PropertyRecord.cpp.

Here is the call graph for this function:

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: