Struct Field::Container

Nested Relationships

This struct is a nested type of Struct Field.

Inheritance Relationships

Base Type

Struct Documentation

struct Container : public MapContainer<Field>

Public Functions

const void print_original_src(unsigned int indent_depth)

Prints the user defined classes only. It will raise a runtime error if called. Never need to print the fields.

Parameters
  • indent_depth: Depth to tab the contents.

void add_by_name(const std::string &name)

Modified version of the field that automates boxing the field objects.

Parameters
  • name: Name of the field to add.

bool is_super_set(Container *other)

Checks whether the implicit Field::Container() object is a superset of other's fields.

Return
True if the implicit container is a superset.
Parameters
  • other: Set of fields to be checked against the implicit container.