14#ifndef PARAMPYOBJECT_H
15#define PARAMPYOBJECT_H
29 INLINE ParamPyObject(PyObject *value);
30 virtual ~ParamPyObject();
32 INLINE PyObject *get_value()
const;
34 void output(std::ostream &out)
const override;
41 return get_class_type();
43 virtual TypeHandle force_init_type()
override {init_type();
return get_class_type();}
47 static void init_type() {
48 ParamValueBase::init_type();
50 ParamValueBase::get_class_type());
A non-template base class of ParamValue (below), which serves mainly to define the placeholder for th...
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...