$darkmode
cloe::FromSimulator Struct Reference
Inheritance diagram for cloe::FromSimulator:
Collaboration diagram for cloe::FromSimulator:

Public Member Functions

bool is_by_name () const
 
bool is_by_index () const
 
void clear ()
 
 CONFABLE_SCHEMA (FromSimulator)
 
void from_conf (const Conf &c) override
 
void to_json (Json &j) const override
 
- Public Member Functions inherited from fable::Confable
 Confable (const Confable &) noexcept
 
 Confable (Confable &&) noexcept=default
 
Confableoperator= (const Confable &other) noexcept
 
Confableoperator= (Confable &&other) noexcept
 
virtual void reset_schema ()
 
Schemaschema ()
 
const Schemaschema () const
 
virtual void validate_or_throw (const Conf &c) const
 
virtual bool validate (const Conf &c, std::optional< SchemaError > &err) const
 
virtual void to_json (Json &j) const
 
Json to_json () const
 

Public Attributes

std::string simulator
 
std::string index_str
 
size_t index_num
 

Additional Inherited Members

- Protected Member Functions inherited from fable::Confable
virtual Schema schema_impl ()
 

Member Function Documentation

◆ from_conf()

void cloe::FromSimulator::from_conf ( const Conf c)
inlineoverridevirtual

Deserialize a Confable from a Conf.

Unless you have special needs, it is recommended to implement

Schema schema_impl()

and use the default implementation of this.

Reimplemented from fable::Confable.

Here is the call graph for this function:

The documentation for this struct was generated from the following file: