Ipopt
3.12.12
|
Class for storing the value and counter for each option in OptionsList. More...
Public Member Functions | |
std::string | GetValue () const |
Method for retrieving the value of an option. More... | |
std::string | Value () const |
Method for retrieving the value without increasing the counter. More... | |
Index | Counter () const |
Method for accessing current value of the request counter. More... | |
bool | AllowClobber () const |
True if the option can be overwritten. More... | |
bool | DontPrint () const |
True if this option is not to show up in the print_user_options output. More... | |
Constructors/Destructors | |
OptionValue () | |
Default constructor (needed for the map) More... | |
OptionValue (std::string value, bool allow_clobber, bool dont_print) | |
Constructor given the value. More... | |
OptionValue (const OptionValue ©) | |
Copy Constructor. More... | |
void | operator= (const OptionValue ©) |
Equals operator. More... | |
~OptionValue () | |
Default Destructor. More... | |
Private Attributes | |
std::string | value_ |
Value for this option. More... | |
Index | counter_ |
Counter for requests. More... | |
bool | initialized_ |
for debugging More... | |
bool | allow_clobber_ |
True if the option can be overwritten. More... | |
bool | dont_print_ |
True if this option is not to show up in the print_user_options output. More... | |
Class for storing the value and counter for each option in OptionsList.
Definition at line 36 of file IpOptionsList.hpp.
|
inline |
Default constructor (needed for the map)
Definition at line 42 of file IpOptionsList.hpp.
|
inline |
Constructor given the value.
Definition at line 48 of file IpOptionsList.hpp.
|
inline |
Copy Constructor.
Definition at line 58 of file IpOptionsList.hpp.
|
inline |
Default Destructor.
Definition at line 78 of file IpOptionsList.hpp.
|
inline |
Equals operator.
Definition at line 68 of file IpOptionsList.hpp.
|
inline |
Method for retrieving the value of an option.
Calling this method will increase the counter by one.
Definition at line 84 of file IpOptionsList.hpp.
|
inline |
Method for retrieving the value without increasing the counter.
Definition at line 93 of file IpOptionsList.hpp.
|
inline |
Method for accessing current value of the request counter.
Definition at line 100 of file IpOptionsList.hpp.
|
inline |
True if the option can be overwritten.
Definition at line 107 of file IpOptionsList.hpp.
|
inline |
True if this option is not to show up in the print_user_options output.
Definition at line 115 of file IpOptionsList.hpp.
|
private |
Value for this option.
Definition at line 123 of file IpOptionsList.hpp.
|
mutableprivate |
Counter for requests.
Definition at line 126 of file IpOptionsList.hpp.
|
private |
for debugging
Definition at line 129 of file IpOptionsList.hpp.
|
private |
True if the option can be overwritten.
Definition at line 132 of file IpOptionsList.hpp.
|
private |
True if this option is not to show up in the print_user_options output.
Definition at line 136 of file IpOptionsList.hpp.