Torque 3D 3.8
ContentsIndexHome
PreviousUpNext
_IMPLEMENT_BITFIELD Macro
Syntax
C++
#define _IMPLEMENT_BITFIELD( type, exportName, scope, doc ) \ namespace { namespace _ ## exportName { \ extern EngineSimpleTypeInfo< type > gsTypeInfo; \ } } \ _IMPLEMENT_TYPE( type, exportName ); \ namespace { namespace _ ## exportName { \ typedef type BitfieldType; \ static const char* const _sBitfieldName = #exportName; \ static const char* const _sDoc = doc; \ static EngineExportScope& _sScope = _SCOPE< scope >()(); \ static EngineEnumTable::Value _sEnums[] = {

This is macro _IMPLEMENT_BITFIELD.

Copyright (c) 2015. All rights reserved.
What do you think about this topic? Send feedback!