1 #include <samchon/namtree/NTParameterDetermined.hpp> 3 #include <samchon/library/XML.hpp> 12 auto NTParameterDetermined::TAG() const ->
string {
return "parameterDetermined"; }
14 NTParameterDetermined::NTParameterDetermined()
20 label = xml->getProperty(
"label");
21 value = xml->hasProperty(
"value")
22 ? xml->getProperty<
double>(
"value") : INT_MIN;
41 xml->setProperty(
"label",
label);
43 xml->setProperty(
"value",
value);
An entity, a standard data class.
virtual auto key() const -> std::string override
Get a key that can identify the Entity uniquely.
virtual auto toXML() const -> std::shared_ptr< library::XML >
Get an XML object represents the Entity.
std::string label
A label will be printed in a combo-box.
virtual void construct(std::shared_ptr< library::XML >) override
Construct data of the Entity from an XML object.
Package of network protocol and libraries.
virtual auto toXML() const -> std::shared_ptr< library::XML > override
Get an XML object represents the Entity.
double value
A value, pre-defined.
XML is a class representing xml object.
auto getValue() const -> double
Get value.
Top level namespace of products built from samchon.
auto getLabel() const -> std::string
Get label.