File indexing completed on 2025-01-18 09:59:32
0001
0002
0003
0004
0005
0006 #ifndef PoPs_private_h_included
0007 #define PoPs_private_h_included
0008
0009 #if defined __cplusplus
0010 extern "C" {
0011 namespace GIDI {
0012 #endif
0013
0014 typedef struct unitsDB_s unitsDB;
0015 typedef struct PoPs_s PoPs;
0016
0017 struct unitsDB_s {
0018 int numberOfUnits;
0019 int allocated;
0020 char const **unsorted;
0021 };
0022
0023 struct PoPs_s {
0024 int numberOfParticles;
0025 int allocated;
0026 PoP **pops;
0027 PoP **sorted;
0028 };
0029
0030 int PoPs_releasePrivate( statusMessageReporting *smr );
0031
0032 char const *unitsDB_addUnitIfNeeded( statusMessageReporting *smr, char const *unit );
0033 int unitsDB_index( statusMessageReporting *smr, char const *unit );
0034 char const *unitsDB_stringFromIndex( statusMessageReporting *smr, int index );
0035
0036 #if defined __cplusplus
0037 }
0038 }
0039 #endif
0040
0041 #endif