Lumiera
0.pre.03
»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.
Public Member Functions | |
template<class F > | |
bool | check () const |
check if a specific Format is supported | |
Static Public Member Functions | |
template<typename TY > | |
static Supported | formats () |
build a new Descriptor to denote support for all the Formats, More... | |
Private Types | |
enum | { MAXID = 8 } |
Private Member Functions | |
Supported () | |
template<class F , class FS > | |
Supported | define (Node< F, FS >) |
Supported | define (NullType) |
template<class F > | |
IxID | typeID () const |
Private Attributes | |
std::bitset< MAXID > | flags_ |
|
inlineprivate |
Definition at line 209 of file formats.hpp.
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.