![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
#include "lib/time/formats.hpp"
Descriptor to denote support for a specific (timecode) format.
This helper can be used to configure a selection of specific timecode formats to be or not to be supported by some facility. Formats are described by the format descriptor types defined in this header (or elsewhere for additional formats). This helper establishes an numeric ID at runtime and uses a bitset to keep track of the support for a given format.
Definition at line 187 of file formats.hpp.
Static Public Member Functions | |
| template<typename TY > | |
| static Supported | formats () |
| build a new Descriptor to denote support for all the Formats, | |
Public Member Functions | |
| template<class F > | |
| bool | check () const |
| check if a specific Format is supported | |
Private Types | |
| enum | { MAXID = 8 } |
Private Member Functions | |
| template<class F > | |
| IxID | typeID () const |
| template<class F , class FS > | |
| Supported | define (Node< F, FS >) |
| Supported | define (Nil) |
| Supported () | |
Private Attributes | |
| std::bitset< MAXID > | flags_ |
|
inlineprivate |
Definition at line 209 of file formats.hpp.
Referenced by Supported::formats().
Here is the caller graph for this function:
|
private |
| Enumerator | |
|---|---|
| MAXID | |
Definition at line 189 of file formats.hpp.
|
inlineprivate |
Definition at line 195 of file formats.hpp.
Definition at line 202 of file formats.hpp.
References Supported::define(), and Supported::flags_.
Referenced by Supported::define(), and Supported::formats().
Here is the call graph for this function:
Here is the caller graph for this function:recursion end
Definition at line 207 of file formats.hpp.
|
inlinestatic |
build a new Descriptor to denote support for all the Formats,
| TY | typelist holding all the Format types to support |
Definition at line 218 of file formats.hpp.
References Supported::Supported(), and Supported::define().
Here is the call graph for this function:
|
inline |
check if a specific Format is supported
Definition at line 227 of file formats.hpp.
References Supported::flags_.
Referenced by FormatSupport_test::run(), and Quantiser::supports().
Here is the caller graph for this function:
|
private |
Definition at line 191 of file formats.hpp.
Referenced by Supported::check(), and Supported::define().
Inheritance diagram for Supported:
Collaboration diagram for Supported: