Update release

This commit is contained in:
vczh
2021-10-09 14:02:19 -07:00
parent 5bbf4e4a25
commit 5e2c7917bb
142 changed files with 3542 additions and 1817 deletions
+14
View File
@@ -19756,6 +19756,20 @@ GacUI Reflection Helper
namespace vl
{
namespace presentation
{
namespace helper_types
{
struct SiteValue
{
vint row = 0;
vint column = 0;
vint rowSpan = 1;
vint columnSpan = 1;
};
}
}
namespace reflection
{
namespace description
+12 -110
View File
@@ -279,7 +279,7 @@ namespace vl
writer.WriteLine(L"\t\t\t\t{");
writer.WriteLine(L"\t\t\t\t\tGUI_PLUGIN_DEPEND(GacUI_Res_Resource);");
writer.WriteLine(L"\t\t\t\t\tGUI_PLUGIN_DEPEND(GacUI_Res_TypeResolvers);");
writer.WriteLine(L"#ifndef VCZH_DEBUG_NO_REFLECTION");
writer.WriteLine(L"#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA");
writer.WriteLine(L"\t\t\t\t\tGUI_PLUGIN_DEPEND(GacUI_Instance_Reflection);");
writer.WriteLine(L"\t\t\t\t\tGUI_PLUGIN_DEPEND(GacUI_Compiler_WorkflowTypeResolvers);");
writer.WriteLine(L"#endif");
@@ -1548,100 +1548,6 @@ GuiInstanceGradientAnimation::Compile
}
/***********************************************************************
.\GUIINSTANCEHELPERTYPES.CPP
***********************************************************************/
namespace vl
{
namespace presentation
{
namespace helper_types
{
}
}
#ifndef VCZH_DEBUG_NO_REFLECTION
namespace reflection
{
namespace description
{
using namespace presentation::helper_types;
/***********************************************************************
Type Declaration
***********************************************************************/
GUIREFLECTIONHELPERTYPES_TYPELIST(IMPL_VL_TYPE_INFO)
#define _ ,
BEGIN_STRUCT_MEMBER(SiteValue)
STRUCT_MEMBER(row)
STRUCT_MEMBER(column)
STRUCT_MEMBER(rowSpan)
STRUCT_MEMBER(columnSpan)
END_STRUCT_MEMBER(SiteValue)
#undef _
}
}
namespace presentation
{
using namespace reflection::description;
using namespace controls;
/***********************************************************************
Type Loader
***********************************************************************/
class GuiHelperTypesLoader : public Object, public ITypeLoader
{
public:
void Load(ITypeManager* manager)
{
GUIREFLECTIONHELPERTYPES_TYPELIST(ADD_TYPE_INFO)
}
void Unload(ITypeManager* manager)
{
}
};
/***********************************************************************
GuiHelperTypesLoaderPlugin
***********************************************************************/
class GuiHelperTypesLoaderPlugin : public Object, public IGuiPlugin
{
public:
GUI_PLUGIN_NAME(GacUI_Instance_ReflectionHelper)
{
GUI_PLUGIN_DEPEND(GacUI_Instance_Reflection);
}
void Load()override
{
ITypeManager* manager=GetGlobalTypeManager();
if(manager)
{
Ptr<ITypeLoader> loader=new GuiHelperTypesLoader;
manager->AddTypeLoader(loader);
}
}
void Unload()override
{
}
};
GUI_REGISTER_PLUGIN(GuiHelperTypesLoaderPlugin)
}
#endif
}
/***********************************************************************
.\GUIINSTANCELOADER.CPP
***********************************************************************/
@@ -4369,14 +4275,13 @@ Instance Type Resolver (Instance)
#define UNLOAD_ASSEMBLY(PATH)\
if (auto compiled = Workflow_GetModule(context, PATH, {}))\
{\
compiled->context = nullptr;\
compiled->UnloadTypes();\
}\
#define DELETE_ASSEMBLY(PATH)\
if (auto compiled = Workflow_GetModule(context, PATH, {}))\
{\
compiled->context = nullptr;\
compiled->assembly = nullptr;\
compiled->UnloadAssembly();\
}\
void PerResourcePrecompile(Ptr<GuiResourceItem> resource, GuiResourcePrecompileContext& context, GuiResourceError::List& errors)override
@@ -7284,14 +7189,6 @@ GuiCellCompositionInstanceLoader
auto call = MakePtr<WfCallExpression>();
call->function = refSetSite;
auto GetValueText = [](const Value& value)
{
WString result;
auto st = value.GetTypeDescriptor()->GetSerializableType();
st->Serialize(value, result);
return result;
};
{
auto arg = MakePtr<WfIntegerExpression>();
arg->value.value = itow(site.row);
@@ -8293,8 +8190,8 @@ GuiPredefinedInstanceLoadersPlugin
GUI_PLUGIN_NAME(GacUI_Instance_TypeLoaders)
{
GUI_PLUGIN_DEPEND(GacUI_Res_ResourceResolver);
GUI_PLUGIN_DEPEND(GacUI_Instance_Reflection);
GUI_PLUGIN_DEPEND(GacUI_Instance);
GUI_PLUGIN_DEPEND(GacUI_Instance_Reflection);
}
void Load()override
@@ -9302,6 +9199,8 @@ namespace vl
IMPL_TYPE_INFO_RENAME(vl::presentation::GuiIqSetQuery, presentation::GuiIqSetQuery)
IMPL_TYPE_INFO_RENAME(vl::presentation::GuiIqQuery::IVisitor, presentation::GuiIqQuery::IVisitor)
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
BEGIN_CLASS_MEMBER(GuiIqQuery)
CLASS_MEMBER_METHOD_OVERLOAD(Accept, {L"visitor"}, void(GuiIqQuery::*)(GuiIqQuery::IVisitor* visitor))
END_CLASS_MEMBER(GuiIqQuery)
@@ -9364,8 +9263,10 @@ namespace vl
CLASS_MEMBER_METHOD_OVERLOAD(Visit, {L"node"}, void(GuiIqQuery::IVisitor::*)(GuiIqSetQuery* node))
END_INTERFACE_MEMBER(GuiIqQuery)
#endif
#undef PARSING_TOKEN_FIELD
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
class GuiIqTypeLoader : public vl::Object, public ITypeLoader
{
public:
@@ -9385,15 +9286,16 @@ namespace vl
{
}
};
#endif
#endif
bool GuiIqLoadTypes()
{
#ifndef VCZH_DEBUG_NO_REFLECTION
ITypeManager* manager=GetGlobalTypeManager();
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
ITypeManager* manager = GetGlobalTypeManager();
if(manager)
{
Ptr<ITypeLoader> loader=new GuiIqTypeLoader;
Ptr<ITypeLoader> loader = new GuiIqTypeLoader;
return manager->AddTypeLoader(loader);
}
#endif
+3 -71
View File
@@ -139,77 +139,6 @@ namespace vl
#endif
/***********************************************************************
.\GUIINSTANCEHELPERTYPES.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
Developer: Zihan Chen(vczh)
GacUI Reflection: Instance Helper Types
Interfaces:
***********************************************************************/
#ifndef VCZH_PRESENTATION_REFLECTION_GUIINSTANCEHELPERTYPES
#define VCZH_PRESENTATION_REFLECTION_GUIINSTANCEHELPERTYPES
#if defined(__APPLE__) || defined(__APPLE_CC__)
using namespace vl;
using namespace vl::presentation;
using namespace vl::presentation::elements;
using namespace vl::presentation::compositions;
using namespace vl::presentation::controls;
using namespace vl::presentation::templates;
using namespace vl::presentation::theme;
#endif
namespace vl
{
namespace presentation
{
/***********************************************************************
Helper Types
***********************************************************************/
namespace helper_types
{
struct SiteValue
{
vint row = 0;
vint column = 0;
vint rowSpan = 1;
vint columnSpan = 1;
};
}
}
#ifndef VCZH_DEBUG_NO_REFLECTION
namespace reflection
{
namespace description
{
/***********************************************************************
Type List
***********************************************************************/
#define GUIREFLECTIONHELPERTYPES_TYPELIST(F)\
F(presentation::helper_types::SiteValue)\
GUIREFLECTIONHELPERTYPES_TYPELIST(DECL_TYPE_INFO)
}
}
#endif
}
#endif
/***********************************************************************
.\GUIINSTANCELOCALIZEDSTRINGS.H
***********************************************************************/
@@ -466,6 +395,8 @@ namespace vl
DECL_TYPE_INFO(vl::presentation::GuiIqSetQuery)
DECL_TYPE_INFO(vl::presentation::GuiIqQuery::IVisitor)
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(vl::presentation::GuiIqQuery::IVisitor)
void Visit(vl::presentation::GuiIqPrimaryQuery* node)override
{
@@ -484,6 +415,7 @@ namespace vl
END_INTERFACE_PROXY(vl::presentation::GuiIqQuery::IVisitor)
#endif
#endif
/// <summary>Load all reflectable AST types, only available when <b>VCZH_DEBUG_NO_REFLECTION</b> is off.</summary>
/// <returns>Returns true if this operation succeeded.</returns>
+71 -13
View File
@@ -15,11 +15,22 @@ namespace vl
using namespace stream;
using namespace workflow::runtime;
using namespace controls;
using namespace reflection;
using namespace reflection::description;
/***********************************************************************
GuiInstanceSharedScript
***********************************************************************/
GuiInstanceCompiledWorkflow::GuiInstanceCompiledWorkflow()
{
}
GuiInstanceCompiledWorkflow::~GuiInstanceCompiledWorkflow()
{
UnloadAssembly();
}
bool GuiInstanceCompiledWorkflow::Initialize(bool initializeContext, workflow::runtime::WfAssemblyLoadErrors& loadErrors)
{
if (binaryToLoad)
@@ -29,18 +40,54 @@ GuiInstanceSharedScript
{
return false;
}
context = nullptr;
binaryToLoad = nullptr;
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
context = nullptr;
#endif
}
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
if (initializeContext && !context)
{
context = new WfRuntimeGlobalContext(assembly);
LoadFunction<void()>(context, L"<initialize>")();
}
#else
if (initializeContext)
{
if (assembly->typeImpl)
{
if (auto tm = GetGlobalTypeManager())
{
tm->AddTypeLoader(assembly->typeImpl);
}
}
}
#endif
return true;
}
void GuiInstanceCompiledWorkflow::UnloadAssembly()
{
UnloadTypes();
assembly = nullptr;
}
void GuiInstanceCompiledWorkflow::UnloadTypes()
{
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
context = nullptr;
#else
if (assembly && assembly->typeImpl)
{
if (auto tm = GetGlobalTypeManager())
{
tm->RemoveTypeLoader(assembly->typeImpl);
}
}
#endif
}
/***********************************************************************
Compiled Workflow Type Resolver (Workflow)
***********************************************************************/
@@ -192,8 +239,9 @@ namespace vl
{
using namespace parsing::xml;
using namespace presentation;
using namespace helper_types;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
/***********************************************************************
Type Declaration
@@ -204,6 +252,13 @@ Type Declaration
#define GUI_TEMPLATE_PROPERTY_REFLECTION(CLASS, TYPE, NAME)\
CLASS_MEMBER_PROPERTY_GUIEVENT_FAST(NAME)
BEGIN_STRUCT_MEMBER(SiteValue)
STRUCT_MEMBER(row)
STRUCT_MEMBER(column)
STRUCT_MEMBER(rowSpan)
STRUCT_MEMBER(columnSpan)
END_STRUCT_MEMBER(SiteValue)
BEGIN_STRUCT_MEMBER(Color)
valueType = new SerializableValueType<Color>();
serializableType = new SerializableType<Color>();
@@ -869,7 +924,7 @@ Type Loader
bool LoadGuiBasicTypes()
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
ITypeManager* manager=GetGlobalTypeManager();
if(manager)
{
@@ -898,7 +953,7 @@ namespace vl
using namespace presentation::compositions;
using namespace presentation::controls;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#define _ ,
@@ -1388,7 +1443,7 @@ Type Loader
bool LoadGuiCompositionTypes()
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
ITypeManager* manager=GetGlobalTypeManager();
if(manager)
{
@@ -1420,7 +1475,7 @@ namespace vl
using namespace presentation::elements::text;
using namespace presentation::theme;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#define _ ,
@@ -2879,7 +2934,7 @@ Type Loader
bool LoadGuiControlTypes()
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
ITypeManager* manager=GetGlobalTypeManager();
if(manager)
{
@@ -2907,7 +2962,7 @@ namespace vl
using namespace presentation;
using namespace presentation::elements;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#define _ ,
@@ -3186,7 +3241,7 @@ Type Loader
bool LoadGuiElementTypes()
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
ITypeManager* manager=GetGlobalTypeManager();
if(manager)
{
@@ -3212,7 +3267,7 @@ namespace vl
{
using namespace presentation::compositions;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
/***********************************************************************
Type Declaration
@@ -3341,7 +3396,7 @@ Type Loader
bool LoadGuiEventTypes()
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
ITypeManager* manager=GetGlobalTypeManager();
if(manager)
{
@@ -3380,6 +3435,8 @@ namespace vl
#undef GUIREFLECTIONTEMPLATES_IMPL_VL_TYPE_INFO
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
extern bool LoadGuiBasicTypes();
extern bool LoadGuiElementTypes();
extern bool LoadGuiCompositionTypes();
@@ -3417,6 +3474,7 @@ namespace vl
}
};
GUI_REGISTER_PLUGIN(GuiReflectionPlugin)
#endif
}
}
}
@@ -3437,7 +3495,7 @@ namespace vl
using namespace presentation::controls::list;
using namespace presentation::templates;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#define _ ,
@@ -3675,7 +3733,7 @@ Type Loader
bool LoadGuiTemplateTypes()
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
ITypeManager* manager=GetGlobalTypeManager();
if(manager)
{
+14
View File
@@ -59,9 +59,16 @@ namespace vl
AssemblyType type = AssemblyType::Shared;
Ptr<workflow::runtime::WfAssembly> assembly;
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
Ptr<workflow::runtime::WfRuntimeGlobalContext> context;
#endif
GuiInstanceCompiledWorkflow();
~GuiInstanceCompiledWorkflow();
bool Initialize(bool initializeContext, workflow::runtime::WfAssemblyLoadErrors& loadErrors);
void UnloadAssembly();
void UnloadTypes();
};
}
}
@@ -101,6 +108,7 @@ Type List (Basic)
***********************************************************************/
#define GUIREFLECTIONBASIC_TYPELIST(F)\
F(presentation::helper_types::SiteValue)\
F(presentation::Color)\
F(presentation::Alignment)\
F(presentation::AxisDirection)\
@@ -481,6 +489,9 @@ Type List (Controls)
Type List
***********************************************************************/
#define GUIREFLECTIONHELPERTYPES_TYPELIST(F)\
F(presentation::helper_types::SiteValue)\
#define GUIREFLECTIONTEMPLATES_DECL_TYPE_INFO(NAME, BASE) DECL_TYPE_INFO(presentation::templates::NAME)
GUIREFLECTIONBASIC_TYPELIST(DECL_TYPE_INFO)
@@ -492,6 +503,8 @@ Type List
#undef GUIREFLECTIONTEMPLATES_DECL_TYPE_INFO
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#pragma warning(push)
#pragma warning(disable:4250)
@@ -1169,6 +1182,7 @@ Interface Proxy (Controls)
#pragma warning(pop)
#endif
#endif
}
+1 -1
View File
@@ -32538,7 +32538,7 @@ namespace vl
{
GUI_PLUGIN_DEPEND(GacUI_Res_Resource);
GUI_PLUGIN_DEPEND(GacUI_Res_TypeResolvers);
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
GUI_PLUGIN_DEPEND(GacUI_Instance_Reflection);
GUI_PLUGIN_DEPEND(GacUI_Compiler_WorkflowTypeResolvers);
#endif
File diff suppressed because it is too large Load Diff
+3 -1
View File
@@ -176,6 +176,7 @@ namespace vl
IMPL_CPP_TYPE_INFO(darkskin::WindowTemplate)
IMPL_CPP_TYPE_INFO(darkskin::WindowTemplateConstructor)
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#define _ ,
BEGIN_CLASS_MEMBER(::darkskin::BottomScrollButtonTemplate)
CLASS_MEMBER_BASE(::vl::presentation::templates::GuiButtonTemplate)
@@ -1678,11 +1679,12 @@ namespace vl
{
}
};
#endif
#endif
bool LoadDarkSkinTypes()
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
if (auto manager = GetGlobalTypeManager())
{
return manager->AddTypeLoader(MakePtr<DarkSkinTypeLoader>());
+85
View File
@@ -2390,6 +2390,28 @@ Serialization
}
};
template<>
struct Serialization<vuint64_t>
{
template<typename TContext>
static void IO(Reader<TContext>& reader, vuint64_t& value)
{
if (reader.input.Read(&value, sizeof(value)) != sizeof(value))
{
CHECK_FAIL(L"Deserialization failed.");
}
}
template<typename TContext>
static void IO(Writer<TContext>& writer, vuint64_t& value)
{
if (writer.output.Write(&value, sizeof(value)) != sizeof(value))
{
CHECK_FAIL(L"Serialization failed.");
}
}
};
template<>
struct Serialization<vint32_t>
{
@@ -2409,6 +2431,69 @@ Serialization
}
};
template<>
struct Serialization<vuint32_t>
{
template<typename TContext>
static void IO(Reader<TContext>& reader, vint32_t& value)
{
vuint64_t v = 0;
Serialization<vuint64_t>::IO(reader, v);
value = (vuint32_t)v;
}
template<typename TContext>
static void IO(Writer<TContext>& writer, vint32_t& value)
{
vuint64_t v = (vuint64_t)value;
Serialization<vuint64_t>::IO(writer, v);
}
};
template<>
struct Serialization<double>
{
template<typename TContext>
static void IO(Reader<TContext>& reader, double& value)
{
if (reader.input.Read(&value, sizeof(value)) != sizeof(value))
{
CHECK_FAIL(L"Deserialization failed.");
}
}
template<typename TContext>
static void IO(Writer<TContext>& writer, double& value)
{
if (writer.output.Write(&value, sizeof(value)) != sizeof(value))
{
CHECK_FAIL(L"Serialization failed.");
}
}
};
template<>
struct Serialization<float>
{
template<typename TContext>
static void IO(Reader<TContext>& reader, float& value)
{
if (reader.input.Read(&value, sizeof(value)) != sizeof(value))
{
CHECK_FAIL(L"Deserialization failed.");
}
}
template<typename TContext>
static void IO(Writer<TContext>& writer, float& value)
{
if (writer.output.Write(&value, sizeof(value)) != sizeof(value))
{
CHECK_FAIL(L"Serialization failed.");
}
}
};
template<>
struct Serialization<bool>
{
+20 -8
View File
@@ -948,6 +948,7 @@ namespace vl
Type Declaration
***********************************************************************/
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#define _ ,
BEGIN_STRUCT_MEMBER(ParsingTextPos)
@@ -1036,6 +1037,7 @@ Type Declaration
CLASS_MEMBER_FIELD(errorMessage)
END_CLASS_MEMBER(ParsingError)
#undef _
#endif
}
}
}
@@ -1053,7 +1055,7 @@ namespace vl
Type Loader
***********************************************************************/
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
class ParsingTypeLoader : public Object, public ITypeLoader
{
public:
@@ -1070,7 +1072,7 @@ Type Loader
bool LoadParsingTypes()
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
ITypeManager* manager=GetGlobalTypeManager();
if(manager)
{
@@ -9581,6 +9583,8 @@ namespace vl
IMPL_TYPE_INFO_RENAME(vl::parsing::json::JsonObject, system::JsonObject)
IMPL_TYPE_INFO_RENAME(vl::parsing::json::JsonNode::IVisitor, system::JsonNode::IVisitor)
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
BEGIN_CLASS_MEMBER(JsonNode)
CLASS_MEMBER_METHOD_OVERLOAD(Accept, {L"visitor"}, void(JsonNode::*)(JsonNode::IVisitor* visitor))
END_CLASS_MEMBER(JsonNode)
@@ -9650,8 +9654,10 @@ namespace vl
CLASS_MEMBER_METHOD_OVERLOAD(Visit, {L"node"}, void(JsonNode::IVisitor::*)(JsonObject* node))
END_INTERFACE_MEMBER(JsonNode)
#endif
#undef PARSING_TOKEN_FIELD
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
class JsonTypeLoader : public vl::Object, public ITypeLoader
{
public:
@@ -9672,15 +9678,16 @@ namespace vl
{
}
};
#endif
#endif
bool JsonLoadTypes()
{
#ifndef VCZH_DEBUG_NO_REFLECTION
ITypeManager* manager=GetGlobalTypeManager();
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
ITypeManager* manager = GetGlobalTypeManager();
if(manager)
{
Ptr<ITypeLoader> loader=new JsonTypeLoader;
Ptr<ITypeLoader> loader = new JsonTypeLoader;
return manager->AddTypeLoader(loader);
}
#endif
@@ -10622,6 +10629,8 @@ namespace vl
IMPL_TYPE_INFO_RENAME(vl::parsing::xml::XmlDocument, system::XmlDocument)
IMPL_TYPE_INFO_RENAME(vl::parsing::xml::XmlNode::IVisitor, system::XmlNode::IVisitor)
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
BEGIN_CLASS_MEMBER(XmlNode)
CLASS_MEMBER_METHOD_OVERLOAD(Accept, {L"visitor"}, void(XmlNode::*)(XmlNode::IVisitor* visitor))
END_CLASS_MEMBER(XmlNode)
@@ -10698,8 +10707,10 @@ namespace vl
CLASS_MEMBER_METHOD_OVERLOAD(Visit, {L"node"}, void(XmlNode::IVisitor::*)(XmlDocument* node))
END_INTERFACE_MEMBER(XmlNode)
#endif
#undef PARSING_TOKEN_FIELD
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
class XmlTypeLoader : public vl::Object, public ITypeLoader
{
public:
@@ -10720,15 +10731,16 @@ namespace vl
{
}
};
#endif
#endif
bool XmlLoadTypes()
{
#ifndef VCZH_DEBUG_NO_REFLECTION
ITypeManager* manager=GetGlobalTypeManager();
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
ITypeManager* manager = GetGlobalTypeManager();
if(manager)
{
Ptr<ITypeLoader> loader=new XmlTypeLoader;
Ptr<ITypeLoader> loader = new XmlTypeLoader;
return manager->AddTypeLoader(loader);
}
#endif
+6
View File
@@ -2961,6 +2961,8 @@ namespace vl
DECL_TYPE_INFO(vl::parsing::json::JsonObject)
DECL_TYPE_INFO(vl::parsing::json::JsonNode::IVisitor)
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(vl::parsing::json::JsonNode::IVisitor)
void Visit(vl::parsing::json::JsonLiteral* node)override
{
@@ -2994,6 +2996,7 @@ namespace vl
END_INTERFACE_PROXY(vl::parsing::json::JsonNode::IVisitor)
#endif
#endif
/// <summary>Load all reflectable AST types, only available when <b>VCZH_DEBUG_NO_REFLECTION</b> is off.</summary>
/// <returns>Returns true if this operation succeeded.</returns>
@@ -3314,6 +3317,8 @@ namespace vl
DECL_TYPE_INFO(vl::parsing::xml::XmlDocument)
DECL_TYPE_INFO(vl::parsing::xml::XmlNode::IVisitor)
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(vl::parsing::xml::XmlNode::IVisitor)
void Visit(vl::parsing::xml::XmlText* node)override
{
@@ -3352,6 +3357,7 @@ namespace vl
END_INTERFACE_PROXY(vl::parsing::xml::XmlNode::IVisitor)
#endif
#endif
/// <summary>Load all reflectable AST types, only available when <b>VCZH_DEBUG_NO_REFLECTION</b> is off.</summary>
/// <returns>Returns true if this operation succeeded.</returns>
+1698 -324
View File
File diff suppressed because it is too large Load Diff
+164 -131
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+50 -18
View File
@@ -10,6 +10,51 @@ DEVELOPER: Zihan Chen(vczh)
#include "VlppRegex.h"
#include "VlppParser.h"
/***********************************************************************
.\CPP\WFMERGECPP.H
***********************************************************************/
/***********************************************************************
Vczh Library++ 3.0
Developer: Zihan Chen(vczh)
Workflow::C++ Code Generator
Interfaces:
**********************************************************************/
#ifndef VCZH_WORKFLOW_CPP_WFMERGECPP
#define VCZH_WORKFLOW_CPP_WFMERGECPP
namespace vl
{
namespace workflow
{
namespace cppcodegen
{
/***********************************************************************
MergeCpp
***********************************************************************/
class MergeCppMultiPlatformException : public Exception
{
public:
vint row32;
vint column32;
vint row64;
vint column64;
MergeCppMultiPlatformException(vint _row32, vint _column32, vint _row64, vint _column64);
};
extern WString MergeCppMultiPlatform(const WString& code32, const WString& code64);
extern WString MergeCppFileContent(const WString& dst, const WString& src);
}
}
}
#endif
/***********************************************************************
.\EXPRESSION\WFEXPRESSION_AST.H
***********************************************************************/
@@ -1986,6 +2031,8 @@ namespace vl
DECL_TYPE_INFO(vl::workflow::WfVirtualCseExpression::IVisitor)
DECL_TYPE_INFO(vl::workflow::WfModuleUsingFragment::IVisitor)
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(vl::workflow::WfType::IVisitor)
void Visit(vl::workflow::WfPredefinedType* node)override
{
@@ -2462,6 +2509,7 @@ namespace vl
END_INTERFACE_PROXY(vl::workflow::WfModuleUsingFragment::IVisitor)
#endif
#endif
/// <summary>Load all reflectable AST types, only available when <b>VCZH_DEBUG_NO_REFLECTION</b> is off.</summary>
/// <returns>Returns true if this operation succeeded.</returns>
@@ -4565,21 +4613,18 @@ Attribute Evaluator
class WfAttributeEvaluator : public Object
{
typedef reflection::description::Value Value;
typedef collections::Dictionary<Ptr<WfAttribute>, Value> AttributeValueMap;
typedef collections::Dictionary<Ptr<WfAttribute>, runtime::WfRuntimeValue> AttributeValueMap;
protected:
analyzer::WfLexicalScopeManager* manager;
AttributeValueMap attributeValues; // cached value for attribute
Ptr<runtime::WfAssembly> attributeAssembly; // shared assembly for evaluating attribute value
Ptr<runtime::WfRuntimeGlobalContext> attributeGlobalContext; // shared shared context for evaluating attribute value
public:
WfAttributeEvaluator(analyzer::WfLexicalScopeManager* _manager);
Ptr<WfAttribute> GetAttribute(collections::List<Ptr<WfAttribute>>& atts, const WString& category, const WString& name);
collections::LazyList<Ptr<WfAttribute>> GetAttributes(collections::List<Ptr<WfAttribute>>& atts, const WString& category, const WString& name);
Value GetAttributeValue(Ptr<WfAttribute> att);
runtime::WfRuntimeValue GetAttributeValue(Ptr<WfAttribute> att);
};
/***********************************************************************
@@ -4981,20 +5026,7 @@ GenerateCppFiles
WString entryFileName;
};
class MergeCppMultiPlatformException : public Exception
{
public:
vint row32;
vint column32;
vint row64;
vint column64;
MergeCppMultiPlatformException(vint _row32, vint _column32, vint _row64, vint _column64);
};
extern Ptr<WfCppOutput> GenerateCppFiles(Ptr<WfCppInput> input, analyzer::WfLexicalScopeManager* manager);
extern WString MergeCppMultiPlatform(const WString& code32, const WString& code64);
extern WString MergeCppFileContent(const WString& dst, const WString& src);
}
}
}
+2 -25
View File
@@ -1013,33 +1013,10 @@ TypeName
WfLoadLibraryTypes
***********************************************************************/
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#define _ ,
template<>
struct CustomTypeDescriptorSelector<DescriptableObject>
{
public:
class CustomTypeDescriptorImpl : public TypeDescriptorImpl
{
public:
CustomTypeDescriptorImpl()
:TypeDescriptorImpl(TypeDescriptorFlags::Class, &TypeInfo<DescriptableObject>::content)
{
Description<DescriptableObject>::SetAssociatedTypeDescroptor(this);
}
~CustomTypeDescriptorImpl()
{
Description<DescriptableObject>::SetAssociatedTypeDescroptor(0);
}
protected:
void LoadInternal()override
{
}
};
};
BEGIN_CLASS_MEMBER(Sys)
CLASS_MEMBER_STATIC_METHOD(Int32ToInt, { L"value" })
CLASS_MEMBER_STATIC_METHOD(Int64ToInt, { L"value" })
@@ -1253,7 +1230,7 @@ WfLoadLibraryTypes
bool WfLoadLibraryTypes()
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
ITypeManager* manager = GetGlobalTypeManager();
if (manager)
{
+2 -2
View File
@@ -642,7 +642,7 @@ Coroutine (State Machine)
class StateMachine : public Object, public AggregatableDescription<StateMachine>
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct CustomTypeDescriptorSelector<StateMachine>;
#endif
protected:
@@ -844,7 +844,7 @@ Predefined Types
Interface Implementation Proxy (Implement)
***********************************************************************/
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#pragma warning(push)
#pragma warning(disable:4250)
File diff suppressed because it is too large Load Diff
+56 -4
View File
@@ -198,10 +198,52 @@ Instruction
Unknown,
};
struct WfRuntimeValue
{
// U8 with ITypeDescriptor* -> enum
// Unknown with ITypeDescriptor* -> type
// Unknown -> Null
WfInsType type = WfInsType::Unknown;
reflection::description::ITypeDescriptor* typeDescriptor = nullptr;
WString stringValue;
union
{
bool boolValue;
vint8_t i1Value;
vint16_t i2Value;
vint32_t i4Value;
vint64_t i8Value;
vuint8_t u1Value;
vuint16_t u2Value;
vuint32_t u4Value;
vuint64_t u8Value = 0;
float f4Value;
double f8Value;
};
WfRuntimeValue() {}
WfRuntimeValue(bool value) : type(WfInsType::Bool), boolValue(value) {}
WfRuntimeValue(vint8_t value) : type(WfInsType::I1), i1Value(value) {}
WfRuntimeValue(vint16_t value) : type(WfInsType::I2), i2Value(value) {}
WfRuntimeValue(vint32_t value) : type(WfInsType::I4), i4Value(value) {}
WfRuntimeValue(vint64_t value) : type(WfInsType::I8), i8Value(value) {}
WfRuntimeValue(vuint8_t value) : type(WfInsType::U1), u1Value(value) {}
WfRuntimeValue(vuint16_t value) : type(WfInsType::U2), u2Value(value) {}
WfRuntimeValue(vuint32_t value) : type(WfInsType::U4), u4Value(value) {}
WfRuntimeValue(vuint64_t value) : type(WfInsType::U8), u8Value(value) {}
WfRuntimeValue(float value) : type(WfInsType::F4), f4Value(value) {}
WfRuntimeValue(double value) : type(WfInsType::F8), f8Value(value) {}
WfRuntimeValue(WString value) : type(WfInsType::String), stringValue(value) {}
WfRuntimeValue(vuint64_t value, reflection::description::ITypeDescriptor* enumType)
: type(WfInsType::U8), typeDescriptor(enumType), u8Value(value) {}
WfRuntimeValue(reflection::description::ITypeDescriptor* td)
: type(WfInsType::Unknown), typeDescriptor(td) {}
};
struct WfInstruction
{
WfInsCode code = WfInsCode::Nop;
reflection::description::Value valueParameter;
WfRuntimeValue valueParameter;
vint countParameter = 0;
union
{
@@ -220,7 +262,7 @@ Instruction
WfInstruction();
#define CTOR(NAME) static WfInstruction NAME();
#define CTOR_VALUE(NAME) static WfInstruction NAME(const reflection::description::Value& value);
#define CTOR_VALUE(NAME) static WfInstruction NAME(const WfRuntimeValue& value);
#define CTOR_FUNCTION(NAME) static WfInstruction NAME(vint function);
#define CTOR_FUNCTION_COUNT(NAME) static WfInstruction NAME(vint function, vint count);
#define CTOR_VARIABLE(NAME) static WfInstruction NAME(vint variable);
@@ -300,6 +342,7 @@ namespace vl
namespace reflection
{
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#define DEFINE_DESCRIPTION(TYPE)\
template<>\
class Description<workflow::typeimpl::TYPE> : public virtual DescriptableObject\
@@ -318,6 +361,7 @@ namespace vl
DEFINE_DESCRIPTION(WfInterfaceInstance)
#undef DEFINE_DESCRIPTION
#endif
}
namespace workflow
@@ -935,6 +979,8 @@ Interfaces:
#define VCZH_WORKFLOW_RUNTIME_WFRUNTIMECONSTRUCTIONS
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
namespace vl
{
namespace workflow
@@ -1037,7 +1083,7 @@ InterfaceInstance
}
#endif
#endif
/***********************************************************************
.\WFRUNTIMEDEBUGGER.H
@@ -1054,6 +1100,8 @@ Interfaces:
#define VCZH_WORKFLOW_RUNTIME_WFRUNTIMEDEBUGGER
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
namespace vl
{
namespace workflow
@@ -1448,7 +1496,7 @@ Debugger
}
#endif
#endif
/***********************************************************************
.\WFRUNTIME.H
@@ -1465,6 +1513,8 @@ Interfaces:
#define VCZH_WORKFLOW_RUNTIME_WFRUNTIME
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
namespace vl
{
namespace workflow
@@ -1716,6 +1766,7 @@ RuntimeThreadContext
WfRuntimeTrapFrame& GetCurrentTrapFrame();
WfRuntimeThreadContextError PushTrapFrame(vint instructionIndex);
WfRuntimeThreadContextError PopTrapFrame(vint saveStackPatternCount);
WfRuntimeThreadContextError PushRuntimeValue(const WfRuntimeValue& value);
WfRuntimeThreadContextError PushValue(const reflection::description::Value& value);
WfRuntimeThreadContextError PopValue(reflection::description::Value& value);
WfRuntimeThreadContextError RaiseException(const WString& exception, bool fatalError, bool skipDebugger = false);
@@ -1764,4 +1815,5 @@ Helper Functions
}
#endif
#endif
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -54,7 +54,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf183_Demo_demo_DocumentEditorRibbonConstructor___vwsn_demo_DocumentEditorRibbon_Initialize_;
friend struct ::vl_workflow_global::__vwsnf184_Demo_demo_DocumentEditorRibbonConstructor___vwsn_demo_DocumentEditorRibbon_Initialize_;
friend struct ::vl_workflow_global::__vwsnf185_Demo_demo_DocumentEditorRibbonConstructor___vwsn_demo_DocumentEditorRibbon_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<DocumentEditorRibbon>;
#endif
private:
@@ -89,7 +89,7 @@ namespace demo
friend class ::vl_workflow_global::__vwsnc85_Demo_demo_DocumentEditorToolstripConstructor___vwsn_demo_DocumentEditorToolstrip_Initialize__vl_reflection_description_IValueSubscription;
friend struct ::vl_workflow_global::__vwsnf190_Demo_demo_DocumentEditorToolstripConstructor___vwsn_demo_DocumentEditorToolstrip_Initialize_;
friend struct ::vl_workflow_global::__vwsnf191_Demo_demo_DocumentEditorToolstripConstructor___vwsn_demo_DocumentEditorToolstrip_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<DocumentEditorToolstrip>;
#endif
public:
@@ -118,6 +118,7 @@ namespace vl
IMPL_CPP_TYPE_INFO(demo::TreeViewTabPage)
IMPL_CPP_TYPE_INFO(demo::TreeViewTabPageConstructor)
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#define _ ,
BEGIN_CLASS_MEMBER(::demo::AnimationTabPage)
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiTabPage)
@@ -1852,11 +1853,12 @@ namespace vl
{
}
};
#endif
#endif
bool LoadDemoTypes()
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
if (auto manager = GetGlobalTypeManager())
{
return manager->AddTypeLoader(MakePtr<DemoTypeLoader>());
@@ -121,6 +121,8 @@ namespace vl
DECL_TYPE_INFO(::demo::TreeViewTabPage)
DECL_TYPE_INFO(::demo::TreeViewTabPageConstructor)
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(::demo::IStringResourceStrings)
::vl::WString Currency(const ::vl::WString& __vwsn_ls_0) override
{
@@ -171,6 +173,7 @@ namespace vl
INVOKEGET_INTERFACE_PROXY(YearMonthDate, __vwsn_ls_0);
}
END_INTERFACE_PROXY(::demo::IStringResourceStrings)
#endif
#endif
extern bool LoadDemoTypes();
@@ -117,7 +117,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf168_Demo_demo_DocumentEditorBaseConstructor___vwsn_demo_DocumentEditorBase_Initialize_;
friend struct ::vl_workflow_global::__vwsnf169_Demo_demo_DocumentEditorBaseConstructor___vwsn_demo_DocumentEditorBase_Initialize_;
friend struct ::vl_workflow_global::__vwsnf170_Demo_demo_DocumentEditorBaseConstructor___vwsn_demo_DocumentEditorBase_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<DocumentEditorBase>;
#endif
protected:
@@ -32,7 +32,7 @@ namespace demo
friend class ::vl_workflow_global::__vwsnc7_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize__vl_reflection_description_IValueSubscription;
friend struct ::vl_workflow_global::__vwsnf44_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf45_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
#endif
public:
@@ -91,7 +91,7 @@ namespace demo
class ICategory : public virtual ::vl::reflection::IDescriptable, public ::vl::reflection::Description<ICategory>
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<ICategory>;
#endif
public:
@@ -104,7 +104,7 @@ namespace demo
class IContact : public virtual ::vl::reflection::IDescriptable, public ::vl::reflection::Description<IContact>
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<IContact>;
#endif
public:
@@ -120,7 +120,7 @@ namespace demo
class IViewModel : public virtual ::vl::reflection::IDescriptable, public ::vl::reflection::Description<IViewModel>
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<IViewModel>;
#endif
public:
@@ -182,7 +182,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf7_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf8_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf9_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindowConstructor>;
#endif
protected:
@@ -252,7 +252,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf32_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf33_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf34_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<NewContactWindowConstructor>;
#endif
protected:
@@ -297,7 +297,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf32_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf33_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf34_Demo_demo_NewContactWindowConstructor___vwsn_demo_NewContactWindow_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<NewContactWindow>;
#endif
public:
@@ -318,7 +318,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf35_Demo_demo_NewFolderWindowConstructor___vwsn_demo_NewFolderWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf36_Demo_demo_NewFolderWindowConstructor___vwsn_demo_NewFolderWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf37_Demo_demo_NewFolderWindowConstructor___vwsn_demo_NewFolderWindow_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<NewFolderWindowConstructor>;
#endif
protected:
@@ -348,7 +348,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf35_Demo_demo_NewFolderWindowConstructor___vwsn_demo_NewFolderWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf36_Demo_demo_NewFolderWindowConstructor___vwsn_demo_NewFolderWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf37_Demo_demo_NewFolderWindowConstructor___vwsn_demo_NewFolderWindow_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<NewFolderWindow>;
#endif
public:
@@ -41,6 +41,7 @@ namespace vl
IMPL_CPP_TYPE_INFO(demo::NewFolderWindow)
IMPL_CPP_TYPE_INFO(demo::NewFolderWindowConstructor)
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#define _ ,
BEGIN_INTERFACE_MEMBER(::demo::ICategory)
CLASS_MEMBER_BASE(::vl::reflection::IDescriptable)
@@ -266,11 +267,12 @@ namespace vl
{
}
};
#endif
#endif
bool LoadDemoTypes()
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
if (auto manager = GetGlobalTypeManager())
{
return manager->AddTypeLoader(MakePtr<DemoTypeLoader>());
@@ -47,6 +47,8 @@ namespace vl
DECL_TYPE_INFO(::demo::NewFolderWindow)
DECL_TYPE_INFO(::demo::NewFolderWindowConstructor)
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(::demo::ICategory)
::vl::Ptr<::vl::reflection::description::IValueObservableList> GetContacts() override
{
@@ -147,6 +149,7 @@ namespace vl
INVOKE_INTERFACE_PROXY(SetSelectedContact, __vwsn_value_);
}
END_INTERFACE_PROXY(::demo::IViewModel)
#endif
#endif
extern bool LoadDemoTypes();
@@ -70,7 +70,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf7_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf8_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf9_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
#endif
public:
@@ -56,7 +56,7 @@ namespace demo
{
friend struct ::vl_workflow_global::__vwsnf2_Demo_demo_ColorAnimation_CreateAnimation_;
friend struct ::vl_workflow_global::__vwsno1_Demo_demo_ColorAnimation_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<ColorAnimation>;
#endif
public:
@@ -85,7 +85,7 @@ namespace demo
class ColorDef : public ::vl::Object, public ::vl::reflection::Description<ColorDef>
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<ColorDef>;
#endif
private:
@@ -131,7 +131,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf7_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf8_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf9_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindowConstructor>;
#endif
protected:
@@ -182,7 +182,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf7_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf8_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf9_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
#endif
private:
@@ -36,6 +36,7 @@ namespace vl
IMPL_CPP_TYPE_INFO(demo::MainWindow)
IMPL_CPP_TYPE_INFO(demo::MainWindowConstructor)
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#define _ ,
BEGIN_CLASS_MEMBER(::demo::ColorAnimation)
CLASS_MEMBER_BASE(::vl::reflection::DescriptableObject)
@@ -150,11 +151,12 @@ namespace vl
{
}
};
#endif
#endif
bool LoadDemoTypes()
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
if (auto manager = GetGlobalTypeManager())
{
return manager->AddTypeLoader(MakePtr<DemoTypeLoader>());
@@ -54,7 +54,7 @@ namespace demo
class Calculator : public ::vl::reflection::description::StateMachine, public ::vl::reflection::Description<Calculator>
{
friend class ::vl_workflow_global::__vwsnc2_Demo_demo_Calculator___vwsn_state_CreateCoroutine__vl_reflection_description_ICoroutine;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<Calculator>;
#endif
public:
@@ -103,7 +103,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf7_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf8_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf9_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindowConstructor>;
#endif
protected:
@@ -183,7 +183,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf7_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf8_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf9_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
#endif
public:
@@ -35,6 +35,7 @@ namespace vl
IMPL_CPP_TYPE_INFO(demo::MainWindow)
IMPL_CPP_TYPE_INFO(demo::MainWindowConstructor)
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#define _ ,
BEGIN_CLASS_MEMBER(::demo::Calculator)
CLASS_MEMBER_BASE(::vl::reflection::description::StateMachine)
@@ -140,11 +141,12 @@ namespace vl
{
}
};
#endif
#endif
bool LoadDemoTypes()
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
if (auto manager = GetGlobalTypeManager())
{
return manager->AddTypeLoader(MakePtr<DemoTypeLoader>());
@@ -53,7 +53,7 @@ namespace demo
friend class ::vl_workflow_global::__vwsnc2_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize_;
friend struct ::vl_workflow_global::__vwsnf2_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<ColorBomboItemTemplateConstructor>;
#endif
protected:
@@ -76,7 +76,7 @@ namespace demo
friend class ::vl_workflow_global::__vwsnc2_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
friend struct ::vl_workflow_global::__vwsnf1_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize_;
friend struct ::vl_workflow_global::__vwsnf2_Demo_demo_ColorBomboItemTemplateConstructor___vwsn_demo_ColorBomboItemTemplate_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<ColorBomboItemTemplate>;
#endif
public:
@@ -94,7 +94,7 @@ namespace demo
{
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_ColorListItemTemplateConstructor___vwsn_demo_ColorListItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
friend struct ::vl_workflow_global::__vwsnf3_Demo_demo_ColorListItemTemplateConstructor___vwsn_demo_ColorListItemTemplate_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<ColorListItemTemplateConstructor>;
#endif
protected:
@@ -111,7 +111,7 @@ namespace demo
friend class ::demo::ColorListItemTemplateConstructor;
friend class ::vl_workflow_global::__vwsnc3_Demo_demo_ColorListItemTemplateConstructor___vwsn_demo_ColorListItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
friend struct ::vl_workflow_global::__vwsnf3_Demo_demo_ColorListItemTemplateConstructor___vwsn_demo_ColorListItemTemplate_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<ColorListItemTemplate>;
#endif
public:
@@ -123,7 +123,7 @@ namespace demo
class IColorItem : public virtual ::vl::reflection::IDescriptable, public ::vl::reflection::Description<IColorItem>
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<IColorItem>;
#endif
public:
@@ -133,7 +133,7 @@ namespace demo
class IViewModel : public virtual ::vl::reflection::IDescriptable, public ::vl::reflection::Description<IViewModel>
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<IViewModel>;
#endif
public:
@@ -145,7 +145,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf4_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf5_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf6_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindowConstructor>;
#endif
protected:
@@ -170,7 +170,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf4_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf5_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf6_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
#endif
public:
@@ -40,6 +40,7 @@ namespace vl
IMPL_CPP_TYPE_INFO(demo::MainWindow)
IMPL_CPP_TYPE_INFO(demo::MainWindowConstructor)
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#define _ ,
BEGIN_CLASS_MEMBER(::demo::ColorBomboItemTemplate)
CLASS_MEMBER_BASE(::vl::presentation::templates::GuiControlTemplate)
@@ -145,11 +146,12 @@ namespace vl
{
}
};
#endif
#endif
bool LoadDemoTypes()
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
if (auto manager = GetGlobalTypeManager())
{
return manager->AddTypeLoader(MakePtr<DemoTypeLoader>());
@@ -46,6 +46,8 @@ namespace vl
DECL_TYPE_INFO(::demo::MainWindow)
DECL_TYPE_INFO(::demo::MainWindowConstructor)
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(::demo::IColorItem)
::vl::presentation::Color GetItemColor() override
{
@@ -63,6 +65,7 @@ namespace vl
INVOKEGET_INTERFACE_PROXY_NOPARAMS(GetColorItems);
}
END_INTERFACE_PROXY(::demo::IViewModel)
#endif
#endif
extern bool LoadDemoTypes();
@@ -30,7 +30,7 @@ namespace demo
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindowConstructor>;
#endif
protected:
@@ -119,7 +119,7 @@ namespace demo
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::demo::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
{
friend class ::demo::MainWindowConstructor;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
#endif
public:
@@ -34,6 +34,7 @@ namespace vl
IMPL_CPP_TYPE_INFO(demo::MainWindow)
IMPL_CPP_TYPE_INFO(demo::MainWindowConstructor)
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#define _ ,
BEGIN_CLASS_MEMBER(::demo::MainWindow)
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiWindow)
@@ -138,11 +139,12 @@ namespace vl
{
}
};
#endif
#endif
bool LoadDemoTypes()
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
if (auto manager = GetGlobalTypeManager())
{
return manager->AddTypeLoader(MakePtr<DemoTypeLoader>());
@@ -167,7 +167,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf40_Demo_demo_CategoryDisplayerConstructor___vwsn_demo_CategoryDisplayer_Initialize_;
friend struct ::vl_workflow_global::__vwsnf41_Demo_demo_CategoryDisplayerConstructor___vwsn_demo_CategoryDisplayer_Initialize_;
friend struct ::vl_workflow_global::__vwsnf42_Demo_demo_CategoryDisplayerConstructor___vwsn_demo_CategoryDisplayer_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<CategoryDisplayerConstructor>;
#endif
protected:
@@ -193,7 +193,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf40_Demo_demo_CategoryDisplayerConstructor___vwsn_demo_CategoryDisplayer_Initialize_;
friend struct ::vl_workflow_global::__vwsnf41_Demo_demo_CategoryDisplayerConstructor___vwsn_demo_CategoryDisplayer_Initialize_;
friend struct ::vl_workflow_global::__vwsnf42_Demo_demo_CategoryDisplayerConstructor___vwsn_demo_CategoryDisplayer_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<CategoryDisplayer>;
#endif
public:
@@ -213,7 +213,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf44_Demo_demo_CategoryEditorConstructor___vwsn_demo_CategoryEditor_Initialize_;
friend struct ::vl_workflow_global::__vwsnf45_Demo_demo_CategoryEditorConstructor___vwsn_demo_CategoryEditor_Initialize_;
friend struct ::vl_workflow_global::__vwsnf46_Demo_demo_CategoryEditorConstructor___vwsn_demo_CategoryEditor_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<CategoryEditorConstructor>;
#endif
protected:
@@ -235,7 +235,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf44_Demo_demo_CategoryEditorConstructor___vwsn_demo_CategoryEditor_Initialize_;
friend struct ::vl_workflow_global::__vwsnf45_Demo_demo_CategoryEditorConstructor___vwsn_demo_CategoryEditor_Initialize_;
friend struct ::vl_workflow_global::__vwsnf46_Demo_demo_CategoryEditorConstructor___vwsn_demo_CategoryEditor_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<CategoryEditor>;
#endif
public:
@@ -248,7 +248,7 @@ namespace demo
{
friend class ::vl_workflow_global::__vwsnc18_Demo_demo_CategoryItemTemplateConstructor___vwsn_demo_CategoryItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
friend struct ::vl_workflow_global::__vwsnf47_Demo_demo_CategoryItemTemplateConstructor___vwsn_demo_CategoryItemTemplate_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<CategoryItemTemplateConstructor>;
#endif
protected:
@@ -266,7 +266,7 @@ namespace demo
friend class ::demo::CategoryItemTemplateConstructor;
friend class ::vl_workflow_global::__vwsnc18_Demo_demo_CategoryItemTemplateConstructor___vwsn_demo_CategoryItemTemplate_Initialize__vl_reflection_description_IValueSubscription;
friend struct ::vl_workflow_global::__vwsnf47_Demo_demo_CategoryItemTemplateConstructor___vwsn_demo_CategoryItemTemplate_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<CategoryItemTemplate>;
#endif
public:
@@ -282,7 +282,7 @@ namespace demo
friend class ::vl_workflow_global::__vwsnc20_Demo_demo_CategoryVisualizerConstructor___vwsn_demo_CategoryVisualizer_Initialize__vl_reflection_description_IValueSubscription;
friend struct ::vl_workflow_global::__vwsnf48_Demo_demo_CategoryVisualizerConstructor___vwsn_demo_CategoryVisualizer_Initialize_;
friend struct ::vl_workflow_global::__vwsnf49_Demo_demo_CategoryVisualizerConstructor___vwsn_demo_CategoryVisualizer_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<CategoryVisualizerConstructor>;
#endif
protected:
@@ -301,7 +301,7 @@ namespace demo
friend class ::vl_workflow_global::__vwsnc20_Demo_demo_CategoryVisualizerConstructor___vwsn_demo_CategoryVisualizer_Initialize__vl_reflection_description_IValueSubscription;
friend struct ::vl_workflow_global::__vwsnf48_Demo_demo_CategoryVisualizerConstructor___vwsn_demo_CategoryVisualizer_Initialize_;
friend struct ::vl_workflow_global::__vwsnf49_Demo_demo_CategoryVisualizerConstructor___vwsn_demo_CategoryVisualizer_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<CategoryVisualizer>;
#endif
public:
@@ -315,7 +315,7 @@ namespace demo
friend class ::vl_workflow_global::__vwsnc7_Demo_demo_DateEditorConstructor___vwsn_demo_DateEditor_Initialize__vl_reflection_description_IValueSubscription;
friend struct ::vl_workflow_global::__vwsnf30_Demo_demo_DateEditorConstructor___vwsn_demo_DateEditor_Initialize_;
friend struct ::vl_workflow_global::__vwsnf31_Demo_demo_DateEditorConstructor___vwsn_demo_DateEditor_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<DateEditorConstructor>;
#endif
protected:
@@ -334,7 +334,7 @@ namespace demo
friend class ::vl_workflow_global::__vwsnc7_Demo_demo_DateEditorConstructor___vwsn_demo_DateEditor_Initialize__vl_reflection_description_IValueSubscription;
friend struct ::vl_workflow_global::__vwsnf30_Demo_demo_DateEditorConstructor___vwsn_demo_DateEditor_Initialize_;
friend struct ::vl_workflow_global::__vwsnf31_Demo_demo_DateEditorConstructor___vwsn_demo_DateEditor_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<DateEditor>;
#endif
public:
@@ -352,7 +352,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf35_Demo_demo_DateFilterConstructor___vwsn_demo_DateFilter_Initialize_;
friend struct ::vl_workflow_global::__vwsnf36_Demo_demo_DateFilterConstructor___vwsn_demo_DateFilter_Initialize_;
friend struct ::vl_workflow_global::__vwsnf37_Demo_demo_DateFilterConstructor___vwsn_demo_DateFilter_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<DateFilterConstructor>;
#endif
protected:
@@ -385,7 +385,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf35_Demo_demo_DateFilterConstructor___vwsn_demo_DateFilter_Initialize_;
friend struct ::vl_workflow_global::__vwsnf36_Demo_demo_DateFilterConstructor___vwsn_demo_DateFilter_Initialize_;
friend struct ::vl_workflow_global::__vwsnf37_Demo_demo_DateFilterConstructor___vwsn_demo_DateFilter_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<DateFilter>;
#endif
private:
@@ -404,7 +404,7 @@ namespace demo
{
friend class ::vl_workflow_global::__vwsnc21_Demo_demo_GenderDisplayerConstructor___vwsn_demo_GenderDisplayer_Initialize__vl_reflection_description_IValueSubscription;
friend struct ::vl_workflow_global::__vwsnf50_Demo_demo_GenderDisplayerConstructor___vwsn_demo_GenderDisplayer_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<GenderDisplayerConstructor>;
#endif
protected:
@@ -421,7 +421,7 @@ namespace demo
friend class ::demo::GenderDisplayerConstructor;
friend class ::vl_workflow_global::__vwsnc21_Demo_demo_GenderDisplayerConstructor___vwsn_demo_GenderDisplayer_Initialize__vl_reflection_description_IValueSubscription;
friend struct ::vl_workflow_global::__vwsnf50_Demo_demo_GenderDisplayerConstructor___vwsn_demo_GenderDisplayer_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<GenderDisplayer>;
#endif
public:
@@ -441,7 +441,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf52_Demo_demo_GenderEditorConstructor___vwsn_demo_GenderEditor_Initialize_;
friend struct ::vl_workflow_global::__vwsnf53_Demo_demo_GenderEditorConstructor___vwsn_demo_GenderEditor_Initialize_;
friend struct ::vl_workflow_global::__vwsnf54_Demo_demo_GenderEditorConstructor___vwsn_demo_GenderEditor_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<GenderEditorConstructor>;
#endif
protected:
@@ -463,7 +463,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf52_Demo_demo_GenderEditorConstructor___vwsn_demo_GenderEditor_Initialize_;
friend struct ::vl_workflow_global::__vwsnf53_Demo_demo_GenderEditorConstructor___vwsn_demo_GenderEditor_Initialize_;
friend struct ::vl_workflow_global::__vwsnf54_Demo_demo_GenderEditorConstructor___vwsn_demo_GenderEditor_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<GenderEditor>;
#endif
public:
@@ -474,7 +474,7 @@ namespace demo
class GenderItemTemplateConstructor : public ::vl::Object, public ::vl::reflection::Description<GenderItemTemplateConstructor>
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<GenderItemTemplateConstructor>;
#endif
protected:
@@ -490,7 +490,7 @@ namespace demo
class GenderItemTemplate : public ::vl::presentation::templates::GuiTextListItemTemplate, public ::demo::GenderItemTemplateConstructor, public ::vl::reflection::Description<GenderItemTemplate>
{
friend class ::demo::GenderItemTemplateConstructor;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<GenderItemTemplate>;
#endif
public:
@@ -504,7 +504,7 @@ namespace demo
{
friend class ::vl_workflow_global::__vwsnc24_Demo_demo_GenderVisualizerConstructor___vwsn_demo_GenderVisualizer_Initialize__vl_reflection_description_IValueSubscription;
friend struct ::vl_workflow_global::__vwsnf55_Demo_demo_GenderVisualizerConstructor___vwsn_demo_GenderVisualizer_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<GenderVisualizerConstructor>;
#endif
protected:
@@ -521,7 +521,7 @@ namespace demo
friend class ::demo::GenderVisualizerConstructor;
friend class ::vl_workflow_global::__vwsnc24_Demo_demo_GenderVisualizerConstructor___vwsn_demo_GenderVisualizer_Initialize__vl_reflection_description_IValueSubscription;
friend struct ::vl_workflow_global::__vwsnf55_Demo_demo_GenderVisualizerConstructor___vwsn_demo_GenderVisualizer_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<GenderVisualizer>;
#endif
public:
@@ -565,7 +565,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsno25_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_Compare_;
friend struct ::vl_workflow_global::__vwsno3_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_Compare_;
friend struct ::vl_workflow_global::__vwsno9_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_Compare_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindowConstructor>;
#endif
protected:
@@ -636,7 +636,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsno25_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_Compare_;
friend struct ::vl_workflow_global::__vwsno3_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_Compare_;
friend struct ::vl_workflow_global::__vwsno9_Demo_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_Compare_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
#endif
public:
@@ -647,7 +647,7 @@ namespace demo
class MyDataItem : public ::vl::Object, public ::vl::reflection::Description<MyDataItem>
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MyDataItem>;
#endif
private:
@@ -695,7 +695,7 @@ namespace demo
friend class ::vl_workflow_global::__vwsnc12_Demo_demo_TextEditorConstructor___vwsn_demo_TextEditor_Initialize__vl_reflection_description_IValueSubscription;
friend struct ::vl_workflow_global::__vwsnf38_Demo_demo_TextEditorConstructor___vwsn_demo_TextEditor_Initialize_;
friend struct ::vl_workflow_global::__vwsnf39_Demo_demo_TextEditorConstructor___vwsn_demo_TextEditor_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<TextEditorConstructor>;
#endif
protected:
@@ -714,7 +714,7 @@ namespace demo
friend class ::vl_workflow_global::__vwsnc12_Demo_demo_TextEditorConstructor___vwsn_demo_TextEditor_Initialize__vl_reflection_description_IValueSubscription;
friend struct ::vl_workflow_global::__vwsnf38_Demo_demo_TextEditorConstructor___vwsn_demo_TextEditor_Initialize_;
friend struct ::vl_workflow_global::__vwsnf39_Demo_demo_TextEditorConstructor___vwsn_demo_TextEditor_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<TextEditor>;
#endif
public:
@@ -59,6 +59,7 @@ namespace vl
IMPL_CPP_TYPE_INFO(demo::TextEditor)
IMPL_CPP_TYPE_INFO(demo::TextEditorConstructor)
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#define _ ,
BEGIN_CLASS_MEMBER(::demo::CategoryDisplayer)
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiCustomControl)
@@ -392,11 +393,12 @@ namespace vl
{
}
};
#endif
#endif
bool LoadDemoTypes()
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
if (auto manager = GetGlobalTypeManager())
{
return manager->AddTypeLoader(MakePtr<DemoTypeLoader>());
@@ -117,7 +117,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf7_EditorBase_demo_DocumentEditorBaseConstructor___vwsn_demo_DocumentEditorBase_Initialize_;
friend struct ::vl_workflow_global::__vwsnf8_EditorBase_demo_DocumentEditorBaseConstructor___vwsn_demo_DocumentEditorBase_Initialize_;
friend struct ::vl_workflow_global::__vwsnf9_EditorBase_demo_DocumentEditorBaseConstructor___vwsn_demo_DocumentEditorBase_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<DocumentEditorBase>;
#endif
protected:
@@ -216,7 +216,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf7_EditorBase_demo_DocumentEditorBaseConstructor___vwsn_demo_DocumentEditorBase_Initialize_;
friend struct ::vl_workflow_global::__vwsnf8_EditorBase_demo_DocumentEditorBaseConstructor___vwsn_demo_DocumentEditorBase_Initialize_;
friend struct ::vl_workflow_global::__vwsnf9_EditorBase_demo_DocumentEditorBaseConstructor___vwsn_demo_DocumentEditorBase_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<DocumentEditorBaseConstructor>;
#endif
protected:
@@ -271,7 +271,7 @@ namespace demo
{
friend struct ::vl_workflow_global::__vwsnf1_EditorBase_demo_HyperlinkWindowConstructor___vwsn_demo_HyperlinkWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf2_EditorBase_demo_HyperlinkWindowConstructor___vwsn_demo_HyperlinkWindow_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<HyperlinkWindowConstructor>;
#endif
protected:
@@ -301,7 +301,7 @@ namespace demo
friend class ::demo::HyperlinkWindowConstructor;
friend struct ::vl_workflow_global::__vwsnf1_EditorBase_demo_HyperlinkWindowConstructor___vwsn_demo_HyperlinkWindow_Initialize_;
friend struct ::vl_workflow_global::__vwsnf2_EditorBase_demo_HyperlinkWindowConstructor___vwsn_demo_HyperlinkWindow_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<HyperlinkWindow>;
#endif
public:
@@ -36,6 +36,7 @@ namespace vl
IMPL_CPP_TYPE_INFO(demo::HyperlinkWindow)
IMPL_CPP_TYPE_INFO(demo::HyperlinkWindowConstructor)
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#define _ ,
BEGIN_CLASS_MEMBER(::demo::DocumentEditorBase)
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiCustomControl)
@@ -170,11 +171,12 @@ namespace vl
{
}
};
#endif
#endif
bool LoadEditorBaseTypes()
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
if (auto manager = GetGlobalTypeManager())
{
return manager->AddTypeLoader(MakePtr<EditorBaseTypeLoader>());
@@ -97,7 +97,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf7_EditorRibbon_demo_DocumentEditorRibbonConstructor___vwsn_demo_DocumentEditorRibbon_Initialize_;
friend struct ::vl_workflow_global::__vwsnf8_EditorRibbon_demo_DocumentEditorRibbonConstructor___vwsn_demo_DocumentEditorRibbon_Initialize_;
friend struct ::vl_workflow_global::__vwsnf9_EditorRibbon_demo_DocumentEditorRibbonConstructor___vwsn_demo_DocumentEditorRibbon_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<DocumentEditorRibbonConstructor>;
#endif
protected:
@@ -235,7 +235,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf7_EditorRibbon_demo_DocumentEditorRibbonConstructor___vwsn_demo_DocumentEditorRibbon_Initialize_;
friend struct ::vl_workflow_global::__vwsnf8_EditorRibbon_demo_DocumentEditorRibbonConstructor___vwsn_demo_DocumentEditorRibbon_Initialize_;
friend struct ::vl_workflow_global::__vwsnf9_EditorRibbon_demo_DocumentEditorRibbonConstructor___vwsn_demo_DocumentEditorRibbon_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<DocumentEditorRibbon>;
#endif
private:
@@ -267,7 +267,7 @@ namespace demo
{
friend class ::vl_workflow_global::__vwsnc1_EditorRibbon_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize__vl_reflection_description_IValueSubscription;
friend struct ::vl_workflow_global::__vwsnf1_EditorRibbon_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindowConstructor>;
#endif
protected:
@@ -284,7 +284,7 @@ namespace demo
friend class ::demo::MainWindowConstructor;
friend class ::vl_workflow_global::__vwsnc1_EditorRibbon_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize__vl_reflection_description_IValueSubscription;
friend struct ::vl_workflow_global::__vwsnf1_EditorRibbon_demo_MainWindowConstructor___vwsn_demo_MainWindow_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
#endif
public:
@@ -294,7 +294,7 @@ namespace demo
class StyleGroup : public ::vl::Object, public ::vl::reflection::Description<StyleGroup>
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<StyleGroup>;
#endif
public:
@@ -305,7 +305,7 @@ namespace demo
class StyleItem : public ::vl::Object, public ::vl::reflection::Description<StyleItem>
{
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<StyleItem>;
#endif
public:
@@ -322,7 +322,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf18_EditorRibbon_demo_StyleItemTemplateConstructor___vwsn_demo_StyleItemTemplate_Initialize_;
friend struct ::vl_workflow_global::__vwsnf19_EditorRibbon_demo_StyleItemTemplateConstructor___vwsn_demo_StyleItemTemplate_Initialize_;
friend struct ::vl_workflow_global::__vwsnf20_EditorRibbon_demo_StyleItemTemplateConstructor___vwsn_demo_StyleItemTemplate_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<StyleItemTemplateConstructor>;
#endif
protected:
@@ -352,7 +352,7 @@ namespace demo
friend struct ::vl_workflow_global::__vwsnf18_EditorRibbon_demo_StyleItemTemplateConstructor___vwsn_demo_StyleItemTemplate_Initialize_;
friend struct ::vl_workflow_global::__vwsnf19_EditorRibbon_demo_StyleItemTemplateConstructor___vwsn_demo_StyleItemTemplate_Initialize_;
friend struct ::vl_workflow_global::__vwsnf20_EditorRibbon_demo_StyleItemTemplateConstructor___vwsn_demo_StyleItemTemplate_Initialize_;
#ifndef VCZH_DEBUG_NO_REFLECTION
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<StyleItemTemplate>;
#endif
public:

Some files were not shown because too many files have changed in this diff Show More