20 #ifndef WORLD_BUILDER_TYPES_ONE_OF_H 21 #define WORLD_BUILDER_TYPES_ONE_OF_H 61 const std::string &name,
62 const std::string &documentation)
const override final;
83 return new OneOf(*
this);
OneOf(const Interface &type_1, const Interface &type_2)
std::vector< std::unique_ptr< Interface > > inner_types_ptr
OneOf * clone_impl() const override final
void write_schema(Parameters &prm, const std::string &name, const std::string &documentation) const override final