22#include <StormByte/config/item/container.hxx>
90 ~Group() noexcept override = default;
101 inline PointerType Clone()
const override {
102 return MakePointer<Group>(*
this);
109 inline PointerType
Move()
override {
110 return MakePointer<Group>(std::move(*
this));
118 return ContainerType::Group;
Holds child items. Group and List derive from this.
Definition container.hxx:38
Named container { … } that can hold items, subgroups and lists.
Definition group.hxx:38
PointerType Move() override
Moves the group.
Definition group.hxx:109
Group(std::string &&name)
Constructs a Group with the given name (move).
Group()=default
Constructs an empty Group.
Group(const Group &group)=default
Copy constructor.
Group(const std::string &name)
Constructs a Group with the given name.
Group & operator=(const Group &group)=default
Copy assignment operator.
Group & operator=(Group &&group) noexcept=default
Move assignment operator.
Group(Group &&group) noexcept=default
Move constructor.
~Group() noexcept override=default
Destructor.
constexpr Item::ContainerType ContainerType() const noexcept override
Gets the container type.
Definition group.hxx:117
Configuration items (values, comments, groups, lists).
Definition alias.hxx:30
OnExistingAction
Forward declaration of the configuration document.
Definition typedefs.hxx:35