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"
20DISABLE_WARN_DEPRECATED_REGISTER
38 SST::ComponentId_t id;
44 virtual std::string getName();
45 SST::ComponentId_t getID();
69extern PyTypeObject PyModel_ComponentType;
70extern PyTypeObject PyModel_SubComponentType;
73getComp(PyObject* pobj)
76 if ( c ==
nullptr ) { PyErr_SetString(PyExc_RuntimeError,
"Failed to find ConfigComponent"); }
Represents the configuration of a generic component.
Definition: configGraph.h:218
Definition: pymodel_comp.h:36
Definition: pymodel_comp.h:65
Definition: pymodel_comp.h:50
Definition: pymodel_comp.h:58