features.h File Reference

Control compile-time and run-time selectable library features. More...

Go to the source code of this file.

Namespaces

namespace  mxflib

Defines

#define MXFLIB_FEATURE_MASK   (~UINT64_C(0))
#define MXFLIB_FEATURE_DEFAULT   (UINT64_C(0))
#define MXFLIB_FEATURE_LOCK   (UINT64_C(0))

Functions

bool SetFeature (const UInt64 SetValue)
 Set an MXFLib library feature (or multiple features).
bool ClearFeature (const UInt64 ClearValue)
 Clear an MXFLib library feature (or multiple features).
bool Feature (const UInt64 Value)
 Determine if an MXFLibrary feature is selected (or combination of features are all selected).

Variables

const UInt64 FeatureVersion1KLVFill = UINT64_C(1) << 0
 MXFLib feature: Write KLVFill items with the version 1 key.
const UInt64 FeatureNegPrechargeIndex = UINT64_C(1) << 16
 MXFLib feature: Use -ve indexing for precharge.
const UInt64 UserExtension = UINT64_C(1) << 31
 MXFLib feature: Reserved to allow user extensions.
const UInt64 Feature32 = UINT64_C(1) << 32
UInt64 Features


Detailed Description

Control compile-time and run-time selectable library features.

Version:
Id
features.h,v 1.7 2007/03/31 14:34:58 matt-beard Exp
Library feature selection allows the behaviour of the library to be modified at run-time or compile-time. Run-time selection allows the application to select the desired behaviour, but code will be compiled for all options. Compile-time selection allows an optimizing compiler to remove all code specific to the disabled behaviour.

The selectable behaviours are categorized as "standard features" that comply with the MXF specification, but implement it differently, and "non-standard features" that do not strictly comply with the MXF specification, yet may be useful in controlled application areas.


Define Documentation

#define MXFLIB_FEATURE_DEFAULT   (UINT64_C(0))

#define MXFLIB_FEATURE_LOCK   (UINT64_C(0))

#define MXFLIB_FEATURE_MASK   (~UINT64_C(0))


Generated on Mon Apr 2 15:20:55 2007 for MXFLib by  doxygen 1.5.1-p1