Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::SettingsRegistryInterface::Specializations Class Reference

Public Types

using TagName = AZStd::fixed_string< MaxTagNameSize >
 

Public Member Functions

 Specializations (AZStd::initializer_list< AZStd::string_view > specializations)
 
Specializationsoperator= (AZStd::initializer_list< AZStd::string_view > specializations)
 
bool Append (AZStd::string_view specialization)
 
bool Contains (AZStd::string_view specialization) const
 Whether or not the specialization is in the list.
 
bool Contains (size_t hash) const
 Whether or not the specialization is in the list.
 
size_t GetPriority (AZStd::string_view specialization) const
 
size_t GetPriority (size_t hash) const
 
size_t GetCount () const
 Returns the number of specializations currently stored.
 
AZStd::string_view GetSpecialization (size_t index) const
 Gets the specialization at the requested index or an empty string if non were assigned.
 

Static Public Member Functions

static size_t Hash (AZStd::string_view specialization)
 

Static Public Attributes

static constexpr size_t MaxTagNameSize = 64
 
static constexpr size_t MaxCount = 15
 
static constexpr size_t NotFound = static_cast<size_t>(-1)
 

Member Function Documentation

◆ GetPriority() [1/2]

size_t AZ::SettingsRegistryInterface::Specializations::GetPriority ( AZStd::string_view  specialization) const

Gets the location within in the list, with a lower value meaning a higher priority. return NotFound if the specialization isn't found.

◆ GetPriority() [2/2]

size_t AZ::SettingsRegistryInterface::Specializations::GetPriority ( size_t  hash) const

Gets the location within in the list, with a lower value meaning a higher priority. return NotFound if the specialization isn't found.


The documentation for this class was generated from the following file: