Public Member Functions | Private Attributes

Ipopt::AmplOptionsList::AmplOption Class Reference

Ampl Option class, contains name, type and description for an AMPL option. More...

#include <AmplTNLP.hpp>

Inheritance diagram for Ipopt::AmplOptionsList::AmplOption:
Ipopt::ReferencedObject

List of all members.

Public Member Functions

 AmplOption (const std::string ipopt_option_name, AmplOptionType type, const std::string description)
 ~AmplOption ()
const std::string & IpoptOptionName () const
AmplOptionType Type () const
char * Description () const

Private Member Functions

Default Compiler Generated Methods

(Hidden to avoid implicit creation/calling).

These methods are not implemented and we do not want the compiler to implement them for us, so we declare them private and do not define them. This ensures that they will not be implicitly created/called.

 AmplOption ()
 Default Constructor.
 AmplOption (const AmplOption &)
 Copy Constructor.
void operator= (const AmplOption &)
 Overloaded Equals Operator.

Private Attributes

const std::string ipopt_option_name_
const AmplOptionType type_
char * description_

Detailed Description

Ampl Option class, contains name, type and description for an AMPL option.

Definition at line 126 of file AmplTNLP.hpp.


Constructor & Destructor Documentation

Ipopt::AmplOptionsList::AmplOption::AmplOption ( const std::string  ipopt_option_name,
AmplOptionType  type,
const std::string  description 
) [inline]

Definition at line 129 of file AmplTNLP.hpp.

Ipopt::AmplOptionsList::AmplOption::~AmplOption (  )  [inline]

Definition at line 140 of file AmplTNLP.hpp.

Ipopt::AmplOptionsList::AmplOption::AmplOption (  )  [private]

Default Constructor.

Ipopt::AmplOptionsList::AmplOption::AmplOption ( const AmplOption  )  [private]

Copy Constructor.


Member Function Documentation

const std::string& Ipopt::AmplOptionsList::AmplOption::IpoptOptionName (  )  const [inline]

Definition at line 145 of file AmplTNLP.hpp.

AmplOptionType Ipopt::AmplOptionsList::AmplOption::Type (  )  const [inline]

Definition at line 149 of file AmplTNLP.hpp.

char* Ipopt::AmplOptionsList::AmplOption::Description (  )  const [inline]

Definition at line 153 of file AmplTNLP.hpp.

void Ipopt::AmplOptionsList::AmplOption::operator= ( const AmplOption  )  [private]

Overloaded Equals Operator.


Member Data Documentation

Definition at line 176 of file AmplTNLP.hpp.

Definition at line 177 of file AmplTNLP.hpp.

Definition at line 178 of file AmplTNLP.hpp.


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