1 #ifndef Rosebud_BoostSerializer_H
2 #define Rosebud_BoostSerializer_H
3 #include <Rosebud/Serializer.h>
12 using Ptr = std::shared_ptr<BoostSerializer>;
18 static Ptr instance();
19 virtual std::string
name()
const override;
20 virtual std::string
purpose()
const override;
Rosebud is a tool to generate code for ROSE.
virtual bool isSerializable(const Ast::ClassPtr &) const override
Determines if a class should be serialized.
Base class for backend code generators.
virtual void generate(std::ostream &header, std::ostream &impl, const Ast::ClassPtr &, const Generator &) const override
Generate code for the specified class.
Class serializer using Boost Serialization.
virtual std::string name() const override
Every serializer has a unique name.
std::shared_ptr< Class > ClassPtr
Shared-ownership pointer to a Class.
virtual std::string purpose() const override
Single-line description for the serializer.
Base class for serialization generators.