hydrobricks
Loading...
Searching...
No Matches
ParameterVariableMonthly Class Reference
Inheritance diagram for ParameterVariableMonthly:
ParameterVariable Parameter

Public Member Functions

 ParameterVariableMonthly (const string &name)
 
bool SetValues (const vecFloat &values)
 
bool UpdateParameter (int month)
 
- Public Member Functions inherited from ParameterVariable
 ParameterVariable (const string &name)
 
- Public Member Functions inherited from Parameter
 Parameter (const string &name, float val=NAN_F)
 
bool IsLinked () const
 
void SetAsLinked (bool value=true)
 
string GetName () const
 
void SetName (const string &name)
 
float GetValue () const
 
float * GetValuePointer ()
 
void SetValue (float val)
 

Additional Inherited Members

- Protected Attributes inherited from ParameterVariable
vecFloat m_values
 
- Protected Attributes inherited from Parameter
bool m_linked
 
string m_name
 
float m_value
 

Member Function Documentation

◆ SetValues()

bool ParameterVariableMonthly::SetValues ( const vecFloat & values)

Set the values of the parameter for each month.

Parameters
valuesvalues for each month
Returns
true if the values were set successfully, false otherwise

◆ UpdateParameter()

bool ParameterVariableMonthly::UpdateParameter ( int month)

Update the parameter value for a specific month.

Parameters
monthmonth to update
Returns
true if the parameter was updated successfully, false otherwise

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