Go to the source code of this file.
Namespaces | |
| namespace | dcn |
| namespace | dcn::parse |
Functions | |
| template<typename H > | |
| H | dcn::AbslHashValue (H h, const Particle &p) |
| Combines hash values for a Particle object. | |
| std::string | dcn::constructParticleSolidityCode (const Particle &particle) |
| template<> | |
| Result< json > | dcn::parse::parseToJson (Particle particle, use_json_t) |
| Parses a Particle object to a JSON object. | |
| template<> | |
| Result< Particle > | dcn::parse::parseFromJson (json json_obj, use_json_t) |
| Parses a JSON object to a Particle object. | |
| template<> | |
| Result< std::string > | dcn::parse::parseToJson (Particle particle, use_protobuf_t) |
| Converts a Particle object to a JSON string using protobuf. | |
| template<> | |
| Result< Particle > | dcn::parse::parseFromJson (std::string json_str, use_protobuf_t) |
| Parses a JSON string to a Particle object using Protobuf. | |
| template<> | |
| Result< json > | dcn::parse::parseToJson (ParticleRecord particle_record, use_json_t) |
| Converts a ParticleRecord object to a JSON object using JSON. | |
| template<> | |
| Result< std::string > | dcn::parse::parseToJson (ParticleRecord particle_record, use_protobuf_t) |
| Converts a ParticleRecord to a JSON string using Protobuf. | |
| template<> | |
| Result< ParticleRecord > | dcn::parse::parseFromJson (json json_obj, use_json_t) |
| Parses a JSON object to a ParticleRecord object using JSON. | |
| template<> | |
| Result< ParticleRecord > | dcn::parse::parseFromJson (std::string json_str, use_protobuf_t) |
| Parses a JSON string to a ParticleRecord object using Protobuf. | |