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;
40 virtual TypeHandle get_type()
const override {
41 return get_class_type();
43 virtual TypeHandle force_init_type()
override {init_type();
return get_class_type();}
44 static TypeHandle get_class_type() {
47 static void init_type() {
48 ParamValueBase::init_type();
50 ParamValueBase::get_class_type());
54 static TypeHandle _type_handle;
A non-template base class of ParamValue (below), which serves mainly to define the placeholder for th...
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(),...