SST  12.0.1
StructuralSimulationToolkit
pymodel_statgroup.h
1 // -*- c++ -*-
2 
3 // Copyright 2009-2022 NTESS. Under the terms
4 // of Contract DE-NA0003525 with NTESS, the U.S.
5 // Government retains certain rights in this software.
6 //
7 // Copyright (c) 2009-2022, NTESS
8 // All rights reserved.
9 //
10 // This file is part of the SST software package. For license
11 // information, see the LICENSE file in the top level directory of the
12 // distribution.
13 
14 #ifndef SST_CORE_MODEL_PYTHON_PYMODEL_STATGROUP_H
15 #define SST_CORE_MODEL_PYTHON_PYMODEL_STATGROUP_H
16 
17 #include "sst/core/sst_types.h"
18 #include "sst/core/warnmacros.h"
19 
20 DISABLE_WARN_DEPRECATED_REGISTER
21 #include <Python.h>
22 REENABLE_WARNING
23 
24 namespace SST {
25 class ConfigStatGroup;
26 class ConfigStatOutput;
27 
28 extern "C" {
29 
31 {
32  PyObject_HEAD SST::ConfigStatGroup* ptr;
33 };
34 
36 {
37  PyObject_HEAD size_t id; /* Index into Graph's statOutputs array */
38  ConfigStatOutput* ptr;
39 };
40 
41 extern PyTypeObject PyModel_StatGroupType;
42 extern PyTypeObject PyModel_StatOutputType;
43 
44 } /* extern C */
45 
46 } // namespace SST
47 
48 #endif // SST_CORE_MODEL_PYTHON_PYMODEL_STATGROUP_H
Definition: pymodel_statgroup.h:35
Definition: configGraph.h:194
Definition: pymodel_statgroup.h:30
Definition: configGraph.h:158