OdbDesign
OdbDesign ODB++ Parser - C++ library, gRPC/REST server, CLI, tests
 
Loading...
Searching...
No Matches
Utils::IJsonable Class Referenceabstract

#include <IJsonable.h>

Inheritance diagram for Utils::IJsonable:
[legend]

Public Member Functions

virtual ~IJsonable ()
 
virtual std::string to_json () const =0
 
virtual void from_json (const std::string &json)=0
 

Protected Member Functions

 IJsonable ()=default
 

Detailed Description

Definition at line 8 of file IJsonable.h.

Constructor & Destructor Documentation

◆ ~IJsonable()

virtual Utils::IJsonable::~IJsonable ( )
inlinevirtual

Definition at line 11 of file IJsonable.h.

◆ IJsonable()

Utils::IJsonable::IJsonable ( )
protecteddefault

Member Function Documentation

◆ from_json()

virtual void Utils::IJsonable::from_json ( const std::string &  json)
pure virtual

Implemented in Odb::Lib::IProtoBuffable< TPbMessage >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::AttrListFile >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ComponentsFile >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ComponentsFile::BomDescriptionRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ComponentsFile::ComponentRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ComponentsFile::ComponentRecord::ToeprintRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ContourPolygon >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ContourPolygon::PolygonPart >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::EdaDataFile >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::EdaDataFile::FeatureGroupRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::EdaDataFile::FeatureIdRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::EdaDataFile::NetRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::EdaDataFile::NetRecord::SubnetRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::EdaDataFile::PackageRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::EdaDataFile::PackageRecord::OutlineRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::EdaDataFile::PackageRecord::PinRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::FeaturesFile >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::FeaturesFile::FeatureRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::FileArchive >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::LayerDirectory >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::MatrixFile >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::MatrixFile::LayerRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::MatrixFile::StepRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::MiscInfoFile >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::NetlistFile >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::NetlistFile::NetPointRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::NetlistFile::NetRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ProductModel::Component >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ProductModel::Net >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ProductModel::Package >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ProductModel::Part >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ProductModel::Pin >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ProductModel::PinConnection >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ProductModel::Via >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::PropertyRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::StandardFontsFile >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::StandardFontsFile::CharacterBlock >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::StandardFontsFile::CharacterBlock::LineRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::StepDirectory >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::StepHdrFile >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::StepHdrFile::StepRepeatRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::SymbolName >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::SymbolsDirectory >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ToolsFile >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ToolsFile::Tool >, and Odb::Lib::IProtoBuffable< Protobuf::ProductModel::Design >.

◆ to_json()

virtual std::string Utils::IJsonable::to_json ( ) const
pure virtual

Implemented in Odb::Lib::IProtoBuffable< TPbMessage >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::AttrListFile >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ComponentsFile >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ComponentsFile::BomDescriptionRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ComponentsFile::ComponentRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ComponentsFile::ComponentRecord::ToeprintRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ContourPolygon >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ContourPolygon::PolygonPart >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::EdaDataFile >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::EdaDataFile::FeatureGroupRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::EdaDataFile::FeatureIdRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::EdaDataFile::NetRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::EdaDataFile::NetRecord::SubnetRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::EdaDataFile::PackageRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::EdaDataFile::PackageRecord::OutlineRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::EdaDataFile::PackageRecord::PinRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::FeaturesFile >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::FeaturesFile::FeatureRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::FileArchive >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::LayerDirectory >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::MatrixFile >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::MatrixFile::LayerRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::MatrixFile::StepRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::MiscInfoFile >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::NetlistFile >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::NetlistFile::NetPointRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::NetlistFile::NetRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ProductModel::Component >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ProductModel::Net >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ProductModel::Package >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ProductModel::Part >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ProductModel::Pin >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ProductModel::PinConnection >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ProductModel::Via >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::PropertyRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::StandardFontsFile >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::StandardFontsFile::CharacterBlock >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::StandardFontsFile::CharacterBlock::LineRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::StepDirectory >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::StepHdrFile >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::StepHdrFile::StepRepeatRecord >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::SymbolName >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::SymbolsDirectory >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ToolsFile >, Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ToolsFile::Tool >, and Odb::Lib::IProtoBuffable< Protobuf::ProductModel::Design >.


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