Loading...
Searching...
No Matches
ml::Trait Class Reference

Empty marker base class for all Malena traits. More...

#include <Trait.h>

Inheritance diagram for ml::Trait:

Detailed Description

Empty marker base class for all Malena traits.

Trait serves as the common root of the trait hierarchy. It carries no data or virtual methods — its purpose is to give every trait a shared, identifiable base type that template machinery (e.g., GatherFlags, HasCoreTraits) can detect at compile time.

Traits that need no manifest derive from Trait directly:

class Subscribable : public Trait { ... };
class Flaggable : public Trait { ... };
Trait that provides system-level boolean flag management.
Definition Flaggable.h:49
Trait that allows a component to subscribe to and publish framework events.
Empty marker base class for all Malena traits.
Definition Trait.h:31

Traits that declare their own manifest use TraitWith instead.

See also
TraitWith, Customizable, Draggable

Definition at line 31 of file Trait.h.


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