#include <SymbolName.h>
Public Types | |
| typedef std::vector< std::shared_ptr< SymbolName > > | Vector |
| typedef std::map< std::string, std::shared_ptr< SymbolName > > | StringMap |
Public Member Functions | |
| SymbolName () | |
| std::string | GetName () const |
| int | GetIndex () const |
| UnitType | GetUnitType () const |
| void | ApplyDefaultUnitTypeIfNone (UnitType unitType) |
| bool | Parse (const std::filesystem::path &path, const std::string &line, int lineNumber) |
| std::unique_ptr< Odb::Lib::Protobuf::SymbolName > | to_protobuf () const override |
| void | from_protobuf (const Odb::Lib::Protobuf::SymbolName &message) override |
Public Member Functions inherited from Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::SymbolName > | |
| 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 () |
Additional Inherited Members | |
Protected Member Functions inherited from Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::SymbolName > | |
| IProtoBuffable ()=default | |
Protected Member Functions inherited from Utils::IJsonable | |
| IJsonable ()=default | |
Definition at line 17 of file SymbolName.h.
| typedef std::map<std::string, std::shared_ptr<SymbolName> > Odb::Lib::FileModel::Design::SymbolName::StringMap |
Definition at line 34 of file SymbolName.h.
| typedef std::vector<std::shared_ptr<SymbolName> > Odb::Lib::FileModel::Design::SymbolName::Vector |
Definition at line 33 of file SymbolName.h.
| Odb::Lib::FileModel::Design::SymbolName::SymbolName | ( | ) |
Definition at line 12 of file SymbolName.cpp.
| void Odb::Lib::FileModel::Design::SymbolName::ApplyDefaultUnitTypeIfNone | ( | UnitType | unitType | ) |
Definition at line 34 of file SymbolName.cpp.
|
overridevirtual |
Implements Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::SymbolName >.
Definition at line 114 of file SymbolName.cpp.
| int Odb::Lib::FileModel::Design::SymbolName::GetIndex | ( | ) | const |
Definition at line 24 of file SymbolName.cpp.
| std::string Odb::Lib::FileModel::Design::SymbolName::GetName | ( | ) | const |
Definition at line 19 of file SymbolName.cpp.
| UnitType Odb::Lib::FileModel::Design::SymbolName::GetUnitType | ( | ) | const |
Definition at line 29 of file SymbolName.cpp.
| bool Odb::Lib::FileModel::Design::SymbolName::Parse | ( | const std::filesystem::path & | path, |
| const std::string & | line, | ||
| int | lineNumber | ||
| ) |
Definition at line 42 of file SymbolName.cpp.
|
overridevirtual |
Implements Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::SymbolName >.
Definition at line 106 of file SymbolName.cpp.