3#include <StormByte/config/item/container.hxx>
9namespace StormByte::Config::Item {
66 ~Group() noexcept override = default;
72 inline PointerType Clone()
const override {
73 return MakePointer<Group>(*
this);
80 inline PointerType
Move()
override {
81 return MakePointer<Group>(std::move(*
this));
89 return ContainerType::Group;
99 Base::PointerType BeforeAdditionActions(Base::PointerType item,
const OnExistingAction onexisting)
override;
Represents a container that can hold multiple configuration items.
Definition container.hxx:21
Represents a group in a configuration file that can hold other items, subgroups, and sublists recursi...
Definition group.hxx:20
PointerType Move() override
Definition group.hxx:80
Group(std::string &&name)
Constructs a Group with the given name.
Group()=default
Constructs an empty Group.
Group(const Group &group)=default
Group(const std::string &name)
Constructs a Group with the given name.
Group & operator=(const Group &group)=default
Group & operator=(Group &&group) noexcept=default
Group(Group &&group) noexcept=default
~Group() noexcept override=default
constexpr Item::ContainerType ContainerType() const noexcept override
Definition group.hxx:88