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