Torque 3D 3.8
ContentsIndexHome
PreviousUpNext
_DECLARE_TYPE Macro
Syntax
C++
#define _DECLARE_TYPE( type ) \ template<> const EngineTypeInfo* TYPE< type >(); \ template<> struct _SCOPE< type > { \ EngineExportScope& operator()() const { \ return *static_cast< EngineExportScope* >( \ const_cast< EngineTypeInfo* >( ( TYPE< type >() ) ) \ ); \ } \ };

This is macro _DECLARE_TYPE.

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