14 #ifndef SST_CORE_MODEL_PYMODEL_COMP_H
15 #define SST_CORE_MODEL_PYMODEL_COMP_H
17 #include "sst/core/sst_types.h"
31 virtual ConfigComponent* getComp();
33 virtual std::string getName();
34 ComponentId_t getID();
35 ConfigComponent* getSubComp(
const std::string& name,
int slot_num);
57 extern PyTypeObject PyModel_ComponentType;
58 extern PyTypeObject PyModel_SubComponentType;
60 static inline ConfigComponent* getComp(PyObject *pobj) {
63 PyErr_SetString(PyExc_RuntimeError,
"Failed to find ConfigComponent");
Definition: pymodel_comp.h:53
Definition: pymodel_comp.h:39
Definition: pymodel_comp.h:46
Definition: pymodel_comp.h:25