diff options
Diffstat (limited to 'src/data_types.hpp')
-rw-r--r-- | src/data_types.hpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/data_types.hpp b/src/data_types.hpp index f1512db..607289a 100644 --- a/src/data_types.hpp +++ b/src/data_types.hpp @@ -16,11 +16,20 @@ namespace monitoring constexpr auto MAPPER_BUSNAME = "xyz.openbmc_project.ObjectMapper"; constexpr auto MAPPER_PATH = "/xyz/openbmc_project/object_mapper"; constexpr auto MAPPER_INTERFACE = "xyz.openbmc_project.ObjectMapper"; + +//PropertyIndex::key_type fields constexpr auto pathIndex = 0; +constexpr auto interfaceIndex = 1; constexpr auto propertyIndex = 2; + +//PropertyIndex::mapped_type fields +constexpr auto pathMetaIndex = 0; +constexpr auto propertyMetaIndex = 1; constexpr auto storageIndex = 2; + +//ConfigPropertyStorage fields constexpr auto valueIndex = 0; -constexpr auto metaIndex = 1; +constexpr auto resultIndex = 1; enum class Context { |