![]()  | 
  
    The Gaudi Framework
    v36r11 (bdb84f5f)
    
   | 
 
Helper to record a property identifier as a sequence of SharedString instances. More...
#include </builds/gaudi/Gaudi/GaudiCoreSvc/src/JobOptionsSvc/PropertyId.h>

Public Member Functions | |
| PropertyId (const std::string &s) | |
| PropertyId (std::string_view s) | |
| std::string | str () const | 
| operator std::string () const | |
| std::size_t | hash () const noexcept | 
Private Attributes | |
| std::vector< SharedString > | m_chunks | 
| std::size_t | m_hash | 
Friends | |
| bool | operator== (const PropertyId &lhs, const PropertyId &rhs) | 
Helper to record a property identifier as a sequence of SharedString instances.
A PropertyId instance initilized from a string like SomeName.OtherName.AnotherLevel.PropertyName will use internally a vector of 4 SharedString instances so that the storage for the various components can be shared with other PropertyId instances.
To be afficiently used as key in an std::unordered_map, PropertyId caches the hash computed from the string it was constructed from. 
Definition at line 72 of file PropertyId.h.
      
  | 
  inline | 
Definition at line 74 of file PropertyId.h.
      
  | 
  inline | 
Definition at line 75 of file PropertyId.h.
      
  | 
  inlinenoexcept | 
Definition at line 103 of file PropertyId.h.
      
  | 
  inline | 
Definition at line 101 of file PropertyId.h.
      
  | 
  inline | 
Definition at line 91 of file PropertyId.h.
      
  | 
  friend | 
Definition at line 110 of file PropertyId.h.
      
  | 
  private | 
Definition at line 106 of file PropertyId.h.
      
  | 
  private | 
Definition at line 107 of file PropertyId.h.