Parameter stores parameter information including name and circular.
More...
#include <Parameters.h>
Parameter stores parameter information including name and circular.
◆ Parameter() [1/3]
◆ Parameter() [2/3]
Parameter::Parameter |
( |
const Parameter & |
other | ) |
|
Initialize parameter.
- Parameters
-
name | Parameter name. |
circular | Whether parameter is circular. |
◆ Parameter() [3/3]
Initialize parameter.
- Parameters
-
name | Parameter name. |
circular | Whether parameter is circular. |
◆ ~Parameter()
Parameter::~Parameter |
( |
| ) |
|
|
virtual |
◆ getCircular()
bool Parameter::getCircular |
( |
| ) |
const |
◆ getName()
string Parameter::getName |
( |
| ) |
const |
◆ operator<()
bool Parameter::operator< |
( |
const Parameter & |
right | ) |
const |
Compares two Parameter objects based solely on name. The comparison algorithm uses std::string::compare.
- Parameters
-
right | Right hand-side of the compare sign. |
- Returns
- A boolean for whether this < right.
◆ operator=()
◆ operator==()
bool Parameter::operator== |
( |
const Parameter & |
rhs | ) |
const |
◆ print()
void Parameter::print |
( |
std::ostream & |
| ) |
const |
◆ setCircular()
void Parameter::setCircular |
( |
bool |
circular | ) |
|
◆ setName()
void Parameter::setName |
( |
std::string |
| ) |
|
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
, |
|
|
Parameter const & |
|
|
) |
| |
|
friend |
◆ circular_
bool Parameter::circular_ |
|
private |
◆ name_
std::string Parameter::name_ |
|
private |
The documentation for this class was generated from the following files: