14 #ifndef SST_CORE_MODEL_PYMODEL_COMP_H
15 #define SST_CORE_MODEL_PYMODEL_COMP_H
17 #include "sst/core/sst_types.h"
32 virtual ConfigComponent* getComp();
34 virtual std::string getName();
35 ComponentId_t getID();
36 ConfigComponent* getSubComp(
const std::string& name,
int slot_num);
58 extern PyTypeObject PyModel_ComponentType;
59 extern PyTypeObject PyModel_SubComponentType;
61 static inline ConfigComponent* getComp(PyObject *pobj) {
64 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