14 #ifndef SST_CORE_MODEL_PYTHON_PYMODEL_COMP_H
15 #define SST_CORE_MODEL_PYTHON_PYMODEL_COMP_H
17 #include "sst/core/sst_types.h"
18 #include "sst/core/warnmacros.h"
20 DISABLE_WARN_DEPRECATED_REGISTER
27 class ConfigComponent;
38 SST::ComponentId_t id;
44 virtual std::string getName();
45 SST::ComponentId_t getID();
69 extern PyTypeObject PyModel_ComponentType;
70 extern PyTypeObject PyModel_SubComponentType;
73 getComp(PyObject* pobj)
76 if ( c ==
nullptr ) { PyErr_SetString(PyExc_RuntimeError,
"Failed to find ConfigComponent"); }
82 #endif // SST_CORE_MODEL_PYTHON_PYMODEL_COMP_H
Definition: pymodel_comp.h:64
Definition: pymodel_comp.h:49
Definition: pymodel_comp.h:57
Represents the configuration of a generic component.
Definition: configGraph.h:217
Definition: pymodel_comp.h:35