#include "particle.hpp"Namespaces | |
| namespace | dcn |
| namespace | dcn::parse |
Functions | |
| 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 condition 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 condition 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 condition object. | |
| template<> | |
| Result< ParticleRecord > | dcn::parse::parseFromJson (std::string json_str, use_protobuf_t) |
| Parses a JSON string to a condition object using Protobuf. | |