class cogs::ScalePreservingTransformSerializer — HIRO 0.7.0 documentation

# class cogs::ScalePreservingTransformSerializer

ScalePreservingTransformSerializer - serialize read and write cogs::ScalePreservingTransform.

    #include <ScalePreservingTransformSerializer.h>

    class ScalePreservingTransformSerializer: public utils::Serializer {
    public:
        // construction

        ScalePreservingTransformSerializer();
    };

## Inherited Members

    public:
        // methods

        std::vector<Type> FromJsonString(const std::string& json_string) const;
        std::vector<std::shared_ptr<Type>> FromJsonStringAsPtr(const std::string& json_string) const;
        std::string ToJsonString(const std::vector<Type>& objects) const;
        std::vector<Type> FromJsonFile(const std::string& file_path) const;
        std::vector<std::shared_ptr<Type>> FromJsonFileAsPtr(const std::string& file_path) const;
        bool ToJsonFile(const std::vector<Type>& objects, const std::string& file_path) const;