Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
MetaFactory Class Reference

#include "steam/asset/meta.hpp"

Description

Factory specialised for creating Metadata Asset objects.

Definition at line 149 of file asset/meta.hpp.

Public Types

using PType = lib::P< asset::Meta >
 

Public Member Functions

template<class MA >
meta::Builder< MA > operator() (lib::idi::EntryID< MA > elementIdentity)
 Generic factory method for Metadata Asset instances.
 
template<class MA >
meta::Builder< MA > operator() (meta::Descriptor const &prototype, lib::idi::EntryID< MA > elementIdentity)
 Generic factory method for specialising Metadata.
 

Additional Inherited Members

- Private Member Functions inherited from NonCopyable
 ~NonCopyable ()=default
 
 NonCopyable ()=default
 
 NonCopyable (NonCopyable const &)=delete
 
NonCopyableoperator= (NonCopyable const &)=delete
 

Member Typedef Documentation

◆ PType

Definition at line 153 of file asset/meta.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<class MA >
meta::Builder< MA > operator() ( lib::idi::EntryID< MA >  elementIdentity)

Generic factory method for Metadata Asset instances.

Parameters
EntryIDspecifying the type and a human readable name-ID
Returns
an meta::Builder struct with the metadata parameters. After configuring and tweaking those parameters, the builder's commit() function will create a new (immutable) meta asset.

Definition at line 56 of file asset/meta.cpp.

References BareEntryID::getSym().

+ Here is the call graph for this function:

◆ operator()() [2/2]

template<class MA >
meta::Builder< MA > operator() ( meta::Descriptor const &  prototype,
lib::idi::EntryID< MA >  elementIdentity 
)

Generic factory method for specialising Metadata.

Parameters
prototypeDescriptor of a special kind of metadata, to be augmented and further specialised. Can indeed be an existing asset::Meta instance
EntryIDspecifying the type and a human readable name-ID
Returns
an meta::Builder struct with the metadata parameters. After configuring and tweaking those parameters, the builder's commit() function will create a new (immutable) meta asset.

Definition at line 73 of file asset/meta.cpp.

+ Inheritance diagram for MetaFactory:
+ Collaboration diagram for MetaFactory:

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