# examples/ScalableProblems/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
## Defines
#define | REGISTER_TNLP(class_constructor, name)

## Define 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_; }

Definition at line 46 of file RegisteredTNLP.hpp.

All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines