16#include "ioss_export.h"
19#if defined USE_ROBIN_MAP
22#include <unordered_map>
26#if defined USE_ROBIN_MAP
29 using PropMapType = std::unordered_map<std::string, Property>;
40 : m_properties(from.m_properties)
48 void erase(
const std::string &property_name);
51 IOSS_NODISCARD bool exists(
const std::string &property_name)
const;
54 IOSS_NODISCARD double get_optional(
const std::string &property_name,
55 double optional_value)
const;
56 IOSS_NODISCARD int64_t get_optional(
const std::string &property_name,
57 int64_t optional_value)
const;
58 IOSS_NODISCARD int get_optional(
const std::string &property_name,
int optional_value)
const;
59 IOSS_NODISCARD std::string get_optional(
const std::string &property_name,
60 const std::string &optional_value)
const;
74#if defined(IOSS_THREADSAFE)
75 mutable std::mutex m_;
#define IOSS_NODISCARD
Definition Ioss_CodeTypes.h:55
A collection of Ioss::Property objects.
Definition Ioss_PropertyManager.h:36
PropertyManager()=default
PropertyManager(const PropertyManager &from)
Definition Ioss_PropertyManager.h:39
PropertyManager & operator=(const PropertyManager &from)=delete
A named value that has a known type.
Definition Ioss_Property.h:27
Origin
Definition Ioss_Property.h:30
Definition robin_map.h:90
typename ht::value_type value_type
Definition robin_map.h:126
The main namespace for the Ioss library.
Definition Ioad_DatabaseIO.C:40
PropMapType::value_type ValuePair
Definition Ioss_PropertyManager.h:31
Ioss::NameList NameList
Definition Ioss_ChangeSetFactory.h:25