Public Types | Public Member Functions | List of all members
NAF::Query::Parameter Class Reference

Public Types

using Ptr = std::shared_ptr< Parameter >
 

Public Member Functions

 Parameter (std::string name, Tools::DValue value, bool editable)
 
 Parameter (std::string name, Query::Field::Position field_position, std::string related_action, bool editable)
 
ParameterType get_parameter_type () const
 
std::string get_name () const
 
std::string get_error () const
 
bool get_editable () const
 
Tools::DValueget_value ()
 
Query::Field::Positionget_field_position ()
 
std::string get_related_action () const
 
Query::Condition< Ptr >::Ptr & get_condition ()
 
void set_parameter_type (ParameterType parameter_type)
 
void set_name (std::string name)
 
void set_error (std::string error)
 
void set_editable (bool editable)
 
void set_value (Tools::DValue value)
 
void set_related_action (std::string related_action)
 
std::string ToString_ ()
 
std::string StringValue_ ()
 
int IntValue_ ()
 
bool BoolValue_ ()
 
float FloatValue_ ()
 
void SetupCondition_ (std::string identifier, Query::ConditionType type, Query::Condition< Ptr >::Functor functor)