humoto
Classes | Namespaces | Macros
config.h File Reference

Detailed Description

Author
Alexander Sherikov

Definition in file config.h.

Go to the source code of this file.

Classes

class  humoto::config::CommonConfigurableBase< t_crash_on_missing_entry >
 Configurable base class. More...
 
class  humoto::config::ConfigurableBase
 Default configurable base is strict. More...
 
class  humoto::config::RelaxedConfigurableBase
 
class  humoto::config::StrictConfigurableBase
 

Namespaces

 humoto
 The root namespace of HuMoTo.
 
 humoto::config
 Namespace of classes related to configuration handling.
 

Macros

#define HUMOTO_CONFIG_DEFINE_ACCESSORS   "humoto/config/define_accessors.h"
 
#define HUMOTO_CONFIG_READ_COMPOUND(entry)   reader.readCompound(entry, #entry, crash_on_missing_entry);
 
#define HUMOTO_CONFIG_READ_COMPOUND_(entry)   reader.readCompound(entry##_, #entry, crash_on_missing_entry);
 
#define HUMOTO_CONFIG_READ_ENUM(entry)   reader.readEnum(entry, #entry, crash_on_missing_entry);
 
#define HUMOTO_CONFIG_READ_ENUM_(entry)   reader.readEnum(entry##_, #entry, crash_on_missing_entry);
 
#define HUMOTO_CONFIG_READ_MEMBER_CLASS(member, name)   member.readNestedConfig(reader, name, crash_on_missing_entry);
 
#define HUMOTO_CONFIG_READ_PARENT_CLASS(parent_class)   parent_class::readConfigEntries(reader, crash_on_missing_entry);
 
#define HUMOTO_CONFIG_READ_SCALAR(entry)   reader.readScalar(entry, #entry, crash_on_missing_entry);
 
#define HUMOTO_CONFIG_READ_SCALAR_(entry)   reader.readScalar(entry##_, #entry, crash_on_missing_entry);
 
#define HUMOTO_CONFIG_WRITE_COMPOUND(entry)   writer.writeCompound(entry, #entry);
 
#define HUMOTO_CONFIG_WRITE_COMPOUND_(entry)   writer.writeCompound(entry##_, #entry);
 
#define HUMOTO_CONFIG_WRITE_ENUM(entry)   writer.writeEnum(entry, #entry);
 
#define HUMOTO_CONFIG_WRITE_ENUM_(entry)   writer.writeEnum(entry##_, #entry);
 
#define HUMOTO_CONFIG_WRITE_MEMBER_CLASS(member, name)   member.writeNestedConfig(writer, name);
 
#define HUMOTO_CONFIG_WRITE_PARENT_CLASS(parent_class)   parent_class::writeConfigEntries(writer);
 
#define HUMOTO_CONFIG_WRITE_SCALAR(entry)   writer.writeScalar(entry, #entry);
 
#define HUMOTO_CONFIG_WRITE_SCALAR_(entry)   writer.writeScalar(entry##_, #entry);
 

Macro Definition Documentation

◆ HUMOTO_CONFIG_DEFINE_ACCESSORS

#define HUMOTO_CONFIG_DEFINE_ACCESSORS   "humoto/config/define_accessors.h"

Definition at line 22 of file config.h.

◆ HUMOTO_CONFIG_READ_COMPOUND

#define HUMOTO_CONFIG_READ_COMPOUND (   entry)    reader.readCompound(entry, #entry, crash_on_missing_entry);

Definition at line 42 of file config.h.

◆ HUMOTO_CONFIG_READ_COMPOUND_

#define HUMOTO_CONFIG_READ_COMPOUND_ (   entry)    reader.readCompound(entry##_, #entry, crash_on_missing_entry);

Definition at line 41 of file config.h.

◆ HUMOTO_CONFIG_READ_ENUM

#define HUMOTO_CONFIG_READ_ENUM (   entry)    reader.readEnum(entry, #entry, crash_on_missing_entry);

Definition at line 48 of file config.h.

◆ HUMOTO_CONFIG_READ_ENUM_

#define HUMOTO_CONFIG_READ_ENUM_ (   entry)    reader.readEnum(entry##_, #entry, crash_on_missing_entry);

Definition at line 47 of file config.h.

◆ HUMOTO_CONFIG_READ_MEMBER_CLASS

#define HUMOTO_CONFIG_READ_MEMBER_CLASS (   member,
  name 
)    member.readNestedConfig(reader, name, crash_on_missing_entry);

Definition at line 39 of file config.h.

◆ HUMOTO_CONFIG_READ_PARENT_CLASS

#define HUMOTO_CONFIG_READ_PARENT_CLASS (   parent_class)    parent_class::readConfigEntries(reader, crash_on_missing_entry);

Definition at line 38 of file config.h.

◆ HUMOTO_CONFIG_READ_SCALAR

#define HUMOTO_CONFIG_READ_SCALAR (   entry)    reader.readScalar(entry, #entry, crash_on_missing_entry);

Definition at line 45 of file config.h.

◆ HUMOTO_CONFIG_READ_SCALAR_

#define HUMOTO_CONFIG_READ_SCALAR_ (   entry)    reader.readScalar(entry##_, #entry, crash_on_missing_entry);

Definition at line 44 of file config.h.

◆ HUMOTO_CONFIG_WRITE_COMPOUND

#define HUMOTO_CONFIG_WRITE_COMPOUND (   entry)    writer.writeCompound(entry, #entry);

Definition at line 29 of file config.h.

◆ HUMOTO_CONFIG_WRITE_COMPOUND_

#define HUMOTO_CONFIG_WRITE_COMPOUND_ (   entry)    writer.writeCompound(entry##_, #entry);

Definition at line 28 of file config.h.

◆ HUMOTO_CONFIG_WRITE_ENUM

#define HUMOTO_CONFIG_WRITE_ENUM (   entry)    writer.writeEnum(entry, #entry);

Definition at line 35 of file config.h.

◆ HUMOTO_CONFIG_WRITE_ENUM_

#define HUMOTO_CONFIG_WRITE_ENUM_ (   entry)    writer.writeEnum(entry##_, #entry);

Definition at line 34 of file config.h.

◆ HUMOTO_CONFIG_WRITE_MEMBER_CLASS

#define HUMOTO_CONFIG_WRITE_MEMBER_CLASS (   member,
  name 
)    member.writeNestedConfig(writer, name);

Definition at line 26 of file config.h.

◆ HUMOTO_CONFIG_WRITE_PARENT_CLASS

#define HUMOTO_CONFIG_WRITE_PARENT_CLASS (   parent_class)    parent_class::writeConfigEntries(writer);

Definition at line 25 of file config.h.

◆ HUMOTO_CONFIG_WRITE_SCALAR

#define HUMOTO_CONFIG_WRITE_SCALAR (   entry)    writer.writeScalar(entry, #entry);

Definition at line 32 of file config.h.

◆ HUMOTO_CONFIG_WRITE_SCALAR_

#define HUMOTO_CONFIG_WRITE_SCALAR_ (   entry)    writer.writeScalar(entry##_, #entry);

Definition at line 31 of file config.h.