|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Bind described attributes and configured XML child collections. More...
#include <XmlRecordBinding.hpp>
Classes | |
| struct | ChildBinding |
Public Member Functions | |
| XmlRecordBinding & | ignore (std::initializer_list< std::string_view > names) |
| Leave these attributes to other readers of the same element. | |
| std::optional< Input > | read (const Node &node, std::string &error, uint64_t *error_row=nullptr) const |
| template<auto Pointer> | |
| XmlRecordBinding & | repeated (std::string child_name, std::string defaults_name={}, std::string required_item_attribute={}, size_t minimum=0) |
| XmlRecordBinding & | required (std::string name) |
Static Private Member Functions | |
| static bool | has_children (const Node &node) |
| static std::string | label (const Node &node) |
| template<Reflect::Described T> | |
| static bool | overlay (T &target, const Node &node, std::string &error) |
Private Attributes | |
| std::vector< ChildBinding > | m_children |
| std::vector< std::string > | m_ignored |
| std::vector< std::string > | m_required |
Bind described attributes and configured XML child collections.
Definition at line 41 of file XmlRecordBinding.hpp.