Samchon Framework for CPP  1.0.0
NTParameterDetermined.hpp
1 #pragma once
2 #include <samchon/API.hpp>
3 
4 #include <samchon/protocol/Entity.hpp>
5 
6 namespace samchon
7 {
8 namespace namtree
9 {
30  class SAMCHON_FRAMEWORK_API NTParameterDetermined
31  : public virtual protocol::Entity
32  {
33  private:
34  typedef protocol::Entity super;
35 
36  protected:
41  std::string label;
42 
46  double value;
47 
48  public:
49  /* -------------------------------------------------------------------
50  CONSTRUCTORS
51  ------------------------------------------------------------------- */
56  virtual ~NTParameterDetermined() = default;
57 
58  virtual void construct(std::shared_ptr<library::XML>) override;
59 
60  /* -------------------------------------------------------------------
61  GETTERS
62  ------------------------------------------------------------------- */
63  virtual auto key() const->std::string override;
64 
68  auto getLabel() const->std::string;
69 
73  auto getValue() const -> double;
74 
75  /* -------------------------------------------------------------------
76  EXPORTERS
77  ------------------------------------------------------------------- */
78  virtual auto TAG() const->std::string override;
79 
80  virtual auto toXML() const->std::shared_ptr<library::XML> override;
81  };
82 };
83 };
An entity, a standard data class.
Definition: Entity.hpp:48
std::string label
A label will be printed in a combo-box.
Definition: RWMutex.hpp:4
A pre-determined value of a parameter.
Top level namespace of products built from samchon.
Definition: ByteArray.hpp:7