psl::meta::file class

disk-based representation of a runtime instance.

This class contains associated helper data for a runtime instance, by default atleast a psl::UID, polymorphic information, and all associated tags are stored. You can extend meta::file to add additional information that might be needed. See the "see also" section for examples.

derived classes

core::meta::shader
contains extensions for meta data when loading shader files.
finalfinal
core::meta::texture_t
Custom meta data that describes a texture. i.e. width, height, format, etc..
finalfinal

constructors, destructors, conversion operators

file
public

member-functions

ID
const public
name
const public
tags
const public

Function documentation

psl::meta::file::file(const psl::UID& key)

Parameters
key in the unique psl::UID associated with this meta::file

const psl::UID& psl::meta::file::ID() const

Returns the psl::UID associated with this instance.

psl::string8::view psl::meta::file::name() const

Details

Returns the serialization name.

const std::vector<psl::string8_t>& psl::meta::file::tags() const

Returns all associated tags with this instance.