Torque 3D 3.7
ContentsIndexHome
PreviousUpNext
_IMPLEMENT_STRUCT Macro
Syntax
C++
#define _IMPLEMENT_STRUCT( type, exportName, scope, doc ) \ namespace { namespace _ ## exportName { \ extern EngineStructTypeInfo< type > gsTypeInfo; \ } } \ _IMPLEMENT_TYPE( type, exportName ); \ namespace { namespace _ ## exportName { \ typedef type StructType; \ typedef StructType ThisType; \ static const char* const _sStructName = #exportName; \ static const char* const _sDoc = doc; \ static EngineExportScope& _sScope = _SCOPE< scope >()(); \ static EngineFieldTable::Field _sFields[] = {

This is macro _IMPLEMENT_STRUCT.

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