3#include <StormByte/config/item/container.hxx>
9namespace StormByte::Config::Item {
31 List(
const std::string& name);
66 ~List() noexcept override = default;
72 inline PointerType Clone()
const override {
73 return MakePointer<List>(*
this);
80 inline PointerType
Move()
override {
81 return MakePointer<List>(std::move(*
this));
89 return ContainerType::List;
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 list in a configuration file that can hold other items, subgroups, and sublists recursiv...
Definition list.hxx:20
List & operator=(List &&list) noexcept=default
PointerType Move() override
Definition list.hxx:80
List(List &&list) noexcept=default
List()=default
Constructs an empty List.
List(const List &list)=default
List(const std::string &name)
Constructs a List with the given name.
List & operator=(const List &list)=default
~List() noexcept override=default
constexpr Item::ContainerType ContainerType() const noexcept override
Definition list.hxx:88
List(std::string &&name)
Constructs a List with the given name.