Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
Meta Class Reference

#include "steam/asset/meta.hpp"

Description

key abstraction: metadata, parametrisation, customisation and similar organisational traits.

Todo:
just a stub, still have to figure out the distinctive properties of asset::Meta //////////////////////////////////TICKET #1156 : do we need the distinction between STRUCT and META?

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

Static Public Attributes

static MetaFactory create
 storage for the static MetaFactory instance
 

Public Member Functions

virtual const ID< Meta > & getID () const
 
- Public Member Functions inherited from Asset
bool operator== (Asset const &oa) const
 
auto operator<=> (Asset const &oa) const
 
virtual operator string () const
 
const vector< PAsset > & getParents () const
 List of entities this asset depends on or requires to be functional.
 
const vector< PAsset > & getDependant () const
 All the other assets requiring this asset to be functional.
 
bool isActive () const
 weather this asset is switched on and consequently included in the fixture and participates in rendering
 
bool enable (bool on=true)
 change the enabled status of this asset.
 
- Public Member Functions inherited from Descriptor
virtual ~Descriptor ()
 this is an Interface
 

Protected Member Functions

 Meta (Asset::Ident const &idi)
 
template<typename TY >
 Meta (lib::idi::EntryID< TY > const &nameID)
 
- Protected Member Functions inherited from Asset
 Asset (const Ident &idi)
 Asset is a Interface class; usually, objects of concrete subclasses are created via specialised Factories.
 
virtual ~Asset ()=0
 
virtual void unlink ()
 release all links to other Asset objects held internally.
 
virtual void unlink (IDA target)
 variant of unlink() dropping only the links to the given specific Asset, leaving all other links intact.
 
void defineDependency (PAsset parent)
 establish a connection between this and the given parent asset, denoting we are in some way dependent on the parent.
 
void defineDependency (Asset &parent)
 

Additional Inherited Members

- Public Attributes inherited from Asset
const Ident ident
 Asset identification tuple.
 
- Protected Attributes inherited from Asset
const ID< Assetid
 Asset primary key.
 
set< string > groups
 additional classification, selections or departments this asset belongs to.
 
const string shortDesc
 user visible Name-ID.
 
const string longDesc
 user visible qualification of the thing, unit or concept represented by this asset.
 
vector< PAssetparents
 
vector< PAssetdependants
 
bool enabled
 

Constructor & Destructor Documentation

◆ Meta() [1/2]

Meta ( Asset::Ident const &  idi)
inlineprotected

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

◆ Meta() [2/2]

template<typename TY >
Meta ( lib::idi::EntryID< TY > const &  nameID)
inlineprotected

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

Member Function Documentation

◆ getID()

virtual const ID< Meta > & getID ( ) const
inlinevirtual
Returns
ID of kind Meta

Reimplemented from Asset.

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

References Asset::getID().

+ Here is the call graph for this function:

Member Data Documentation

◆ create

MetaFactory create
static

storage for the static MetaFactory instance

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

Referenced by TimeGridBasics_test::createGrid_fullProcedure(), CreateAsset_test::createMetaAssets(), and ErrorLog::global().

+ Inheritance diagram for Meta:
+ Collaboration diagram for Meta:

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