Samchon Framework for CPP  1.0.0
samchon::namtree::NTParameterArray Class Reference

An Array of NTParameter. More...

#include <NTParameterArray.hpp>

Collaboration diagram for samchon::namtree::NTParameterArray:

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...
 
- Public Member Functions inherited from samchon::protocol::EntityGroup< _Container, _ETy, T >
 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...
 
- Public Member Functions inherited from samchon::protocol::Entity
 Entity ()
 Default Constructor. More...
 
virtual auto key () const -> std::string
 Get a key that can identify the Entity uniquely. More...
 
- Public Member Functions inherited from samchon::protocol::IEntityGroup
 IEntityGroup ()
 Default Constructor. More...
 

Protected Member Functions

virtual auto createChild (std::shared_ptr< library::XML >) -> NTParameter *override
 Factory method of a child Entity. More...
 

Detailed Description

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).

namtree_file.png
See also
samchon::namtree
Author
Jeongho Nam http://samchon.org

Definition at line 25 of file NTParameterArray.hpp.

Constructor & Destructor Documentation

NTParameterArray::NTParameterArray ( )

Default Constructor.

Definition at line 14 of file NTParameterArray.cpp.

Member Function Documentation

auto NTParameterArray::TAG ( ) const -> std::string
overridevirtual

A tag name when represented by XML.

Returns
A tag name

Implements samchon::protocol::Entity.

Definition at line 11 of file NTParameterArray.cpp.

Referenced by samchon::namtree::NTFile::construct().

Here is the caller graph for this function:

auto NTParameterArray::CHILD_TAG ( ) const -> std::string
overridevirtual

A tag name of children.

< TAG>
     <CHILD_TAG />
     <CHILD_TAG />
</TAG>

Implements samchon::protocol::IEntityGroup.

Definition at line 12 of file NTParameterArray.cpp.

auto NTParameterArray::createChild ( std::shared_ptr< library::XML ) -> NTParameter *override
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().

Returns
A new child Entity belongs to EntityGroup.

Implements samchon::protocol::EntityGroup< _Container, _ETy, T >.

Definition at line 18 of file NTParameterArray.cpp.


The documentation for this class was generated from the following files: