/home/coin/svn-release/OptimizationSuite-1.1.0/Ipopt/examples/ScalableProblems/RegisteredTNLP.hpp File Reference

#include "IpTNLP.hpp"
#include <map>
Include dependency graph for RegisteredTNLP.hpp:
This graph shows which files directly or indirectly include this file:

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.


Generated on 15 Mar 2015 for Coin-All by  doxygen 1.6.1