Ipopt 3.12.10

- Main Page
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Macros
RegisteredTNLP.hpp File Reference
`#include "IpTNLP.hpp"`
`#include <map>`

Go to the source code of this file.

## Classes
class | RegisteredTNLP
| Class implemented the NLP discretization of. More...
class | RegisteredTNLPs

## Macros
#define | REGISTER_TNLP(class_constructor, name)

## Macro Definition Documentation

#define REGISTER_TNLP | ( |  | class_constructor,
|  |  | name
| ) |  |

Value:
class RegisteredTNLP_Setup_ ## name : public RegisteredTNLPs \
{ \
public: \
RegisteredTNLP_Setup_ ## name() \
: \
RegisteredTNLPs(new class_constructor, #name) \
{ } \
RegisteredTNLP_Setup_ ## name* KeepCompilerFromRemovingThis(); \
}; \
\
RegisteredTNLP_Setup_ ## name RegisteredTNLP_Setup_ ## name ## instance_; \
RegisteredTNLP_Setup_ ## name* \
RegisteredTNLP_Setup_ ## name::KeepCompilerFromRemovingThis() \
{ return &RegisteredTNLP_Setup_ ## name ## instance_; }
RegisteredTNLPs
Definition: RegisteredTNLP.hpp:29
RegisteredTNLPs::RegisteredTNLPs
RegisteredTNLPs(const SmartPtr< RegisteredTNLP > &tnlp, const std::string name)
Definition: RegisteredTNLP.hpp:32

Definition at line 46 of file RegisteredTNLP.hpp.