hpp-python 9.0.2
python bindings for HPP, based on boost python
Loading...
Searching...
No Matches
parameter.cc File Reference
#include <boost/python.hpp>
#include <hpp/core/parameter.hh>
#include <pyhpp/core/fwd.hh>
#include <pyhpp/util.hh>
Include dependency graph for parameter.cc:

Namespaces

namespace  pyhpp
namespace  pyhpp::core

Macros

#define RETURN_AS(type, variable)

Functions

object pyhpp::core::parameter_as_python_object (Parameter *p)
Parameter pyhpp::core::create (object param)
Parameter pyhpp::core::createBool (bool param)
void pyhpp::core::exposeParameter ()

Macro Definition Documentation

◆ RETURN_AS

#define RETURN_AS ( type,
variable )
Value:
{ \
extract<type> get_as(variable); \
if (get_as.check()) return Parameter(get_as()); \
}