Lumiera  0.pre.03
»edit your freedom«
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

typedef lib::P< asset::MetaPType
 

Public Member Functions

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

Additional Inherited Members

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

Member Function Documentation

◆ operator()() [1/2]

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.

Referenced by MetaFactory::operator()().

+ Here is the caller graph for this function:

◆ operator()() [2/2]

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.

References MetaFactory::operator()().

+ Here is the call graph for this function:
+ Inheritance diagram for MetaFactory:
+ Collaboration diagram for MetaFactory:

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