File Index Symbol Index

#include <limits.h>
#include <float.h>
#include "WfLibraryReflection.h"
namespace
vl
{
using
namespace
collections
;
using
namespace
regex
;
namespace
reflection
{
namespace
description
{
/*********************************************************************** TypeName ***********************************************************************/
#ifndef VCZH_DEBUG_NO_REFLECTION
#endif
/*********************************************************************** WfLoadLibraryTypes ***********************************************************************/
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#define _ ,
#pragma push_macro("CompareString")
#if defined CompareString
#undef CompareString #endif
#define DEFINE_COMPARE(TYPE) CLASS_MEMBER_STATIC_METHOD_OVERLOAD(Compare, PROTECT_PARAMETERS({L"a" _ L"b"}), vint(*)(TYPE, TYPE))
#undef DEFINE_COMPARE
#pragma pop_macro("CompareString")
#define DEFINE_MINMAX(TYPE)\
CLASS_MEMBER_STATIC_METHOD_OVERLOAD(Min, PROTECT_PARAMETERS({L"a" _ L"b"}), TYPE(*)(TYPE, TYPE))\
CLASS_MEMBER_STATIC_METHOD_OVERLOAD(Max, PROTECT_PARAMETERS({L"a" _ L"b"}), TYPE(*)(TYPE, TYPE))\
#undef DEFINE_MINMAX
#undef _
class
WfLibraryTypeLoader
:
public
Object
,
public
ITypeLoader
{
public
:
void
Load
(
ITypeManager
*
manager
)
override
{ }
void
Unload
(
ITypeManager
*
manager
)
override
{ } };
#endif
bool
WfLoadLibraryTypes
() {
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
ITypeManager
*
manager
=
GetGlobalTypeManager
();
if
(
manager
) {
Ptr
<
ITypeLoader
>
loader
=
new
WfLibraryTypeLoader
;
return
manager
->
AddTypeLoader
(
loader
); }
#endif
return
false
; } } } }