Samchon Framework for CPP
1.0.0
|
An Array of NTParameter. More...
#include <NTParameterArray.hpp>
Public Member Functions | |
virtual auto | TAG () const -> std::string override |
A tag name when represented by XML. More... | |
virtual auto | CHILD_TAG () const -> std::string override |
A tag name of children. More... | |
NTParameterArray () | |
Default Constructor. More... | |
![]() | |
EntityGroup () | |
Default Constructor. More... | |
virtual void | construct (std::shared_ptr< library::XML > xml) |
Construct data of the Entity from an XML object. More... | |
auto | has (const std::string &key) const -> bool |
Indicates whether a container has an object having the specified identifier. More... | |
auto | get (const std::string &key) -> value_type & |
Access the element by specified identifier(key). More... | |
auto | get (const std::string &key) const -> const value_type & |
Access the const element by specified identifier(key). More... | |
virtual auto | toXML () const -> std::shared_ptr< library::XML > |
Get an XML object represents the EntityGroup. More... | |
![]() | |
Entity () | |
Default Constructor. More... | |
virtual auto | key () const -> std::string |
Get a key that can identify the Entity uniquely. More... | |
![]() | |
IEntityGroup () | |
Default Constructor. More... | |
Protected Member Functions | |
virtual auto | createChild (std::shared_ptr< library::XML >) -> NTParameter *override |
Factory method of a child Entity. More... | |
An Array of NTParameter.
NTParameterArray is an array class containing NTParameter objects.
The NTParameter is belonged to a NTFile class to realize associate relationship between NTFile and NTParameter(s).
Definition at line 25 of file NTParameterArray.hpp.
NTParameterArray::NTParameterArray | ( | ) |
Default Constructor.
Definition at line 14 of file NTParameterArray.cpp.
|
overridevirtual |
A tag name when represented by XML.
Implements samchon::protocol::Entity.
Definition at line 11 of file NTParameterArray.cpp.
Referenced by samchon::namtree::NTFile::construct().
|
overridevirtual |
A tag name of children.
< TAG>
<CHILD_TAG />
<CHILD_TAG />
</TAG>
Implements samchon::protocol::IEntityGroup.
Definition at line 12 of file NTParameterArray.cpp.
|
overrideprotectedvirtual |
Factory method of a child Entity.
EntityGroup::createChild() is a factory method creating a new child Entity which is belonged to the EntityGroup. This method is called by EntityGroup::construct(). The children construction methods Entity::construct() will be called by abstract method of the EntityGroup::construct().
Implements samchon::protocol::EntityGroup< _Container, _ETy, T >.
Definition at line 18 of file NTParameterArray.cpp.