file
AttributesBase.h
Namespaces
- namespace esp
- Root namespace.
- namespace esp::asset
- namespace esp::metadata
- Metadata management.
- namespace esp::metadata::attributes
- Metadata Attributes library.
Classes
- class esp::metadata::attributes::AbstractAttributes
- Base class for all implemented attributes. Inherits from esp::
core:: managedContainers:: AbstractFileBasedManagedObject so the attributes can be managed by a esp:: core:: managedContainers:: ManagedContainer.
Functions
-
auto getMeshTypeName(esp::
assets:: AssetType meshTypeEnum) -> std:: string - Get a string name representing the specified esp::
assets:: AssetType enum value.
Variables
- char CONFIG_NAME_AS_ASSET_FILENAME constexpr
- A tag to search for in the default_attributes section of the Scene Dataset JSON configuration files denoting that an implementation of the attributes should replace this tag with the base filename (minus all paths and extensions)
-
const std::
map<std:: string, esp:: assets:: AssetType> AssetTypeNamesMap - Constant static map to provide mappings from string tags to esp::
assets:: AssetType values. This will be used to map values set in json for mesh type to esp:: assets:: AssetType. Keys must be lowercase.