From f0cfea8ef7e00cc6ef0e8db1dac9f22c4b154ef9 Mon Sep 17 00:00:00 2001 From: "William R. Otte" Date: Tue, 20 Feb 2007 16:38:18 +0000 Subject: Tue Feb 20 16:17:46 UTC 2007 William R. Otte --- CIAO/CCF/CCF/CodeGenerationKit/CommandLine.hpp | 19 +- CIAO/ChangeLog | 288 + .../Deployment/CIAO_NodeApplication_CallBack.idl | 23 + CIAO/DAnCE/Deployment/CIAO_ServerResources.idl | 237 + CIAO/DAnCE/Deployment/DAnCE_Core.mpc | 120 + CIAO/DAnCE/Deployment/Deployment.idl | 52 + CIAO/DAnCE/Deployment/Deployment_Application.idl | 39 + .../Deployment/Deployment_ApplicationManager.idl | 30 + CIAO/DAnCE/Deployment/Deployment_Base.idl | 42 + CIAO/DAnCE/Deployment/Deployment_Connection.idl | 50 + CIAO/DAnCE/Deployment/Deployment_Container.idl | 93 + CIAO/DAnCE/Deployment/Deployment_Core.idl | 49 + CIAO/DAnCE/Deployment/Deployment_Data.idl | 45 + .../DAnCE/Deployment/Deployment_DeploymentPlan.idl | 228 + .../Deployment/Deployment_DomainApplication.idl | 19 + .../Deployment_DomainApplicationManager.idl | 73 + CIAO/DAnCE/Deployment/Deployment_Events.idl | 95 + .../Deployment/Deployment_ExecutionManager.idl | 63 + .../Deployment/Deployment_NodeApplication.idl | 127 + .../Deployment_NodeApplicationManager.idl | 63 + CIAO/DAnCE/Deployment/Deployment_NodeManager.idl | 71 + .../DAnCE/Deployment/Deployment_Packaging_Data.idl | 171 + CIAO/DAnCE/Deployment/Deployment_PlanError.idl | 14 + .../Deployment/Deployment_RepositoryManager.idl | 40 + .../Deployment_ResourceCommitmentManager.idl | 41 + CIAO/DAnCE/Deployment/Deployment_TargetData.idl | 65 + CIAO/DAnCE/Deployment/Deployment_TargetManager.idl | 76 + CIAO/DAnCE/Deployment/Deployment_Target_Data.idl | 14 + CIAO/DAnCE/Deployment/Deployment_common.h | 54 + CIAO/DAnCE/Deployment/Deployment_stub_export.h | 58 + CIAO/DAnCE/Deployment/Deployment_svnt_export.h | 58 + CIAO/DAnCE/Deployment/NodeApp_CB_Impl.cpp | 64 + CIAO/DAnCE/Deployment/NodeApp_CB_Impl.h | 78 + .../Deployment_Configuration.h | 2 +- .../DomainApplicationManager_Impl.cpp | 2 +- .../DomainApplicationManager_Impl.h | 6 +- CIAO/DAnCE/ExecutionManager/DAM_Map.h | 2 +- CIAO/DAnCE/ExecutionManager/ExecutionManager.mpc | 2 +- .../ExecutionManager/Execution_Manager_Impl.h | 4 +- CIAO/DAnCE/Interfaces/ExecutionManagerDaemon.idl | 2 +- CIAO/DAnCE/Interfaces/NodeManagerDaemon.idl | 4 +- CIAO/DAnCE/NodeApplication/Container_Impl.h | 4 +- CIAO/DAnCE/NodeApplication/NodeApp_Configurator.h | 2 +- CIAO/DAnCE/NodeApplication/NodeApplication.mpc | 2 +- .../DAnCE/NodeApplication/NodeApplication_Core.cpp | 2 +- .../DAnCE/NodeApplication/NodeApplication_Impl.cpp | 2 +- CIAO/DAnCE/NodeApplication/NodeApplication_Impl.h | 2 +- CIAO/DAnCE/NodeApplication/RTConfig_Manager.h | 2 +- .../NodeApplication/RTNodeApp_Configurator.cpp | 2 +- .../NodeApplicationManager/Containers_Info_Map.cpp | 2 +- .../NodeApplicationManager/Containers_Info_Map.h | 4 +- .../NodeApplicationManager/ImplementationInfo.cpp | 2 +- .../NodeApplicationManager/ImplementationInfo.h | 2 +- .../NodeApplicationManager_Impl.cpp | 2 +- .../NodeApplicationManager_Impl.h | 4 +- CIAO/DAnCE/NodeManager/BaseMonitor.h | 2 +- CIAO/DAnCE/NodeManager/MonitorCB.h | 2 +- CIAO/DAnCE/NodeManager/MonitorController.h | 4 +- CIAO/DAnCE/NodeManager/NodeManager.mpc | 2 +- CIAO/DAnCE/Plan_Generator/PCVisitorBase.h | 2 +- CIAO/DAnCE/Plan_Generator/Plan_Generator_Impl.h | 2 +- CIAO/DAnCE/Plan_Launcher/Plan_Launcher.mpc | 2 +- CIAO/DAnCE/RepositoryManager/PC_Updater.cpp | 2 +- CIAO/DAnCE/RepositoryManager/PC_Updater.h | 2 +- CIAO/DAnCE/RepositoryManager/RM_Helper.h | 2 +- CIAO/DAnCE/RepositoryManager/RepositoryManager.mpc | 4 +- .../RepositoryManager/RepositoryManagerDaemon.idl | 2 +- .../RepositoryManager/RepositoryManager_Impl.cpp | 4 +- CIAO/DAnCE/TargetManager/CmpClient.cpp | 2 +- CIAO/DAnCE/TargetManager/DomainEvents.idl | 2 +- CIAO/DAnCE/TargetManager/TargetManagerImpl.idl | 3 +- .../NodeApplicationTest/NodeApp_test_client.cpp | 2 +- .../NodeApp_test_client_dynamic.cpp | 2 +- .../NodeApplicationTest/NodeApp_test_client_ex.cpp | 2 +- .../NodeApp_test_client_simple.cpp | 2 +- CIAO/MPC/config/ciao_client_dnc.mpb | 4 +- CIAO/MPC/config/ciao_component_dnc.mpb | 4 +- CIAO/MPC/config/ciao_container_dnc.mpb | 4 +- CIAO/MPC/config/ciao_events_base_dnc.mpb | 4 +- CIAO/MPC/config/ciao_events_dnc.mpb | 4 +- CIAO/MPC/config/ciao_servant_dnc.mpb | 4 +- CIAO/MPC/config/ciao_server_dnc.mpb | 4 +- CIAO/MPC/config/ciaoexe.mpb | 4 + CIAO/MPC/config/xscdefaults.mpb | 21 + CIAO/ciao/CCM_Core.mpc | 124 +- CIAO/ciao/CCM_Events.idl | 5 - CIAO/ciao/CIAO_NodeApplication_CallBack.idl | 23 - CIAO/ciao/CIAO_ServerResources.idl | 237 - CIAO/ciao/Container_Base.h | 1 + CIAO/ciao/Context_Impl_Base.h | 5 + CIAO/ciao/Deployment.idl | 36 - CIAO/ciao/Deployment_Application.idl | 34 - CIAO/ciao/Deployment_ApplicationManager.idl | 28 - CIAO/ciao/Deployment_Base.idl | 40 - CIAO/ciao/Deployment_Connection.idl | 43 - CIAO/ciao/Deployment_Container.idl | 93 - CIAO/ciao/Deployment_Core.idl | 49 - CIAO/ciao/Deployment_Data.idl | 40 - CIAO/ciao/Deployment_DeploymentPlan.idl | 192 - CIAO/ciao/Deployment_DomainApplicationManager.idl | 65 - CIAO/ciao/Deployment_Events.idl | 95 - CIAO/ciao/Deployment_ExecutionManager.idl | 52 - CIAO/ciao/Deployment_NodeApplication.idl | 122 - CIAO/ciao/Deployment_NodeApplicationManager.idl | 58 - CIAO/ciao/Deployment_NodeManager.idl | 58 - CIAO/ciao/Deployment_Packaging_Data.idl | 160 - CIAO/ciao/Deployment_PlanError.idl | 14 - CIAO/ciao/Deployment_RepositoryManager.idl | 40 - CIAO/ciao/Deployment_ResourceCommitmentManager.idl | 41 - CIAO/ciao/Deployment_TargetData.idl | 64 - CIAO/ciao/Deployment_TargetManager.idl | 33 - CIAO/ciao/Deployment_common.h | 54 - CIAO/ciao/Deployment_stub_export.h | 58 - CIAO/ciao/Deployment_svnt_export.h | 58 - CIAO/ciao/NodeApp_CB_Impl.cpp | 62 - CIAO/ciao/NodeApp_CB_Impl.h | 76 - CIAO/ciao/Session_Container.cpp | 2 +- CIAO/ciaosvcs/Events/CIAO_Events.mpc | 4 +- .../Events/CIAO_Events_Base/CIAO_Events_Base.mpc | 4 +- CIAO/docs/schema/Basic_Deployment_Data.xsd | 61 +- CIAO/docs/schema/cid.xsd | 3 +- CIAO/docs/schema/cpd.xsd | 2 +- CIAO/docs/schema/xsc-banner.h | 1 - CIAO/tools/Config_Handlers/ADD_Handler.cpp | 2 +- CIAO/tools/Config_Handlers/BasicSP.cdp | 489 - .../Config_Handlers/Basic_Deployment_Data.cpp | 24420 ++++++++++--------- .../Config_Handlers/Basic_Deployment_Data.hpp | 11219 +++++---- CIAO/tools/Config_Handlers/CCD_Handler.cpp | 2 +- CIAO/tools/Config_Handlers/CEPE_Handler.cpp | 2 +- .../Config_Handlers/CIAO_Events/CIAOEvents.cpp | 1665 ++ .../Config_Handlers/CIAO_Events/CIAOEvents.hpp | 1030 +- .../CIAO_Events/CIAOEvents_Handler.cpp | 2 +- .../CIAO_Events/CIAOEvents_Handler.h | 4 +- .../CIAO_Events/CIAO_Events_Handlers.mpc | 19 + CIAO/tools/Config_Handlers/CIAO_Events/test.cpp | 2 +- CIAO/tools/Config_Handlers/CPD_Handler.cpp | 2 +- CIAO/tools/Config_Handlers/CRDD_Handler.cpp | 2 +- .../ComponentPropertyDescription_Handler.cpp | 2 +- CIAO/tools/Config_Handlers/Config_Handlers.mpc | 33 +- CIAO/tools/Config_Handlers/DD_Handler.cpp | 2 +- CIAO/tools/Config_Handlers/DP_Handler.cpp | 4 +- CIAO/tools/Config_Handlers/DP_PCD_Handler.cpp | 2 +- CIAO/tools/Config_Handlers/DataType_Handler.h | 2 +- CIAO/tools/Config_Handlers/Deployment.cpp | 815 +- CIAO/tools/Config_Handlers/Deployment.hpp | 3 +- CIAO/tools/Config_Handlers/DnC_Dump.cpp | 2 +- CIAO/tools/Config_Handlers/DnC_Dump.h | 4 +- CIAO/tools/Config_Handlers/Dump_Obj.h | 2 +- CIAO/tools/Config_Handlers/ERE_Handler.cpp | 2 +- CIAO/tools/Config_Handlers/ESD_Handler.cpp | 2 +- CIAO/tools/Config_Handlers/IDD_Handler.cpp | 2 +- CIAO/tools/Config_Handlers/ID_Handler.cpp | 2 +- CIAO/tools/Config_Handlers/IRDD_Handler.cpp | 2 +- CIAO/tools/Config_Handlers/MDD_Handler.cpp | 2 +- CIAO/tools/Config_Handlers/PCD_Handler.cpp | 2 +- CIAO/tools/Config_Handlers/PSPE_Handler.cpp | 2 +- .../Package_Handlers/CAD_Handler.cpp | 2 +- .../Config_Handlers/Package_Handlers/CAD_Handler.h | 2 +- .../Package_Handlers/CID_Handler.cpp | 2 +- .../Package_Handlers/CPD_Handler.cpp | 2 +- .../Package_Handlers/Comp_Intf_Descr_Handler.h | 2 +- .../Config_Handlers/Package_Handlers/NIA_Handler.h | 2 +- .../Package_Handlers/PCD_Handler.cpp | 14 +- .../Package_Handlers/SID_Handler.cpp | 2 +- .../Config_Handlers/Package_Handlers/test.cpp | 2 +- CIAO/tools/Config_Handlers/Property_Handler.cpp | 2 +- CIAO/tools/Config_Handlers/RDD_Handler.cpp | 2 +- CIAO/tools/Config_Handlers/RT-CCM/CB_Handler.h | 2 +- .../Config_Handlers/RT-CCM/CIAOServerResources.cpp | 205 +- .../Config_Handlers/RT-CCM/CIAOServerResources.hpp | 262 +- CIAO/tools/Config_Handlers/RT-CCM/CLA_Handler.h | 2 +- CIAO/tools/Config_Handlers/RT-CCM/OC_Handler.h | 2 +- CIAO/tools/Config_Handlers/RT-CCM/OR_Handler.h | 2 +- CIAO/tools/Config_Handlers/RT-CCM/PM_Handler.h | 2 +- CIAO/tools/Config_Handlers/RT-CCM/PS_Handler.h | 2 +- .../Config_Handlers/RT-CCM/RT-CCM-Handlers.mpc | 20 + CIAO/tools/Config_Handlers/RT-CCM/SRD_Handler.h | 2 +- CIAO/tools/Config_Handlers/RT-CCM/TPL_Handler.h | 2 +- CIAO/tools/Config_Handlers/RT-CCM/TP_Handler.h | 2 +- CIAO/tools/Config_Handlers/Req_Handler.cpp | 2 +- CIAO/tools/Config_Handlers/STD_CID_Handler.cpp | 2 +- CIAO/tools/Config_Handlers/STD_CID_Handler.h | 2 +- CIAO/tools/Config_Handlers/STD_CPD_Handler.cpp | 2 +- .../Config_Handlers/SatisfierProperty_Handler.cpp | 2 +- CIAO/tools/Config_Handlers/XML_File_Intf.cpp | 2 +- CIAO/tools/Config_Handlers/ccd.cpp | 470 +- CIAO/tools/Config_Handlers/ccd.hpp | 1089 +- CIAO/tools/Config_Handlers/cdd.cpp | 5121 ++-- CIAO/tools/Config_Handlers/cdd.hpp | 2533 +- CIAO/tools/Config_Handlers/cdp.cpp | 400 +- CIAO/tools/Config_Handlers/cdp.hpp | 686 +- CIAO/tools/Config_Handlers/cid.cpp | 6422 ++--- CIAO/tools/Config_Handlers/cid.hpp | 3019 ++- CIAO/tools/Config_Handlers/cpd.cpp | 2318 +- CIAO/tools/Config_Handlers/cpd.hpp | 937 +- CIAO/tools/Config_Handlers/iad.cpp | 2774 +-- CIAO/tools/Config_Handlers/iad.hpp | 1109 +- CIAO/tools/Config_Handlers/pcd.cpp | 496 +- CIAO/tools/Config_Handlers/pcd.hpp | 977 +- CIAO/tools/Config_Handlers/test.cpp | 4 +- CIAO/tools/Config_Handlers/toplevel.cpp | 183 +- CIAO/tools/Config_Handlers/toplevel.hpp | 144 +- 202 files changed, 40079 insertions(+), 33755 deletions(-) create mode 100644 CIAO/DAnCE/Deployment/CIAO_NodeApplication_CallBack.idl create mode 100644 CIAO/DAnCE/Deployment/CIAO_ServerResources.idl create mode 100644 CIAO/DAnCE/Deployment/DAnCE_Core.mpc create mode 100644 CIAO/DAnCE/Deployment/Deployment.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_Application.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_ApplicationManager.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_Base.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_Connection.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_Container.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_Core.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_Data.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_DeploymentPlan.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_DomainApplication.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_DomainApplicationManager.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_Events.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_ExecutionManager.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_NodeApplication.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_NodeApplicationManager.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_NodeManager.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_Packaging_Data.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_PlanError.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_RepositoryManager.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_ResourceCommitmentManager.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_TargetData.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_TargetManager.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_Target_Data.idl create mode 100644 CIAO/DAnCE/Deployment/Deployment_common.h create mode 100644 CIAO/DAnCE/Deployment/Deployment_stub_export.h create mode 100644 CIAO/DAnCE/Deployment/Deployment_svnt_export.h create mode 100644 CIAO/DAnCE/Deployment/NodeApp_CB_Impl.cpp create mode 100644 CIAO/DAnCE/Deployment/NodeApp_CB_Impl.h create mode 100644 CIAO/MPC/config/ciaoexe.mpb create mode 100644 CIAO/MPC/config/xscdefaults.mpb delete mode 100644 CIAO/ciao/CIAO_NodeApplication_CallBack.idl delete mode 100644 CIAO/ciao/CIAO_ServerResources.idl delete mode 100644 CIAO/ciao/Deployment.idl delete mode 100644 CIAO/ciao/Deployment_Application.idl delete mode 100644 CIAO/ciao/Deployment_ApplicationManager.idl delete mode 100644 CIAO/ciao/Deployment_Base.idl delete mode 100644 CIAO/ciao/Deployment_Connection.idl delete mode 100644 CIAO/ciao/Deployment_Container.idl delete mode 100644 CIAO/ciao/Deployment_Core.idl delete mode 100644 CIAO/ciao/Deployment_Data.idl delete mode 100644 CIAO/ciao/Deployment_DeploymentPlan.idl delete mode 100644 CIAO/ciao/Deployment_DomainApplicationManager.idl delete mode 100644 CIAO/ciao/Deployment_Events.idl delete mode 100644 CIAO/ciao/Deployment_ExecutionManager.idl delete mode 100644 CIAO/ciao/Deployment_NodeApplication.idl delete mode 100644 CIAO/ciao/Deployment_NodeApplicationManager.idl delete mode 100644 CIAO/ciao/Deployment_NodeManager.idl delete mode 100644 CIAO/ciao/Deployment_Packaging_Data.idl delete mode 100644 CIAO/ciao/Deployment_PlanError.idl delete mode 100644 CIAO/ciao/Deployment_RepositoryManager.idl delete mode 100644 CIAO/ciao/Deployment_ResourceCommitmentManager.idl delete mode 100644 CIAO/ciao/Deployment_TargetData.idl delete mode 100644 CIAO/ciao/Deployment_TargetManager.idl delete mode 100644 CIAO/ciao/Deployment_common.h delete mode 100644 CIAO/ciao/Deployment_stub_export.h delete mode 100644 CIAO/ciao/Deployment_svnt_export.h delete mode 100644 CIAO/ciao/NodeApp_CB_Impl.cpp delete mode 100644 CIAO/ciao/NodeApp_CB_Impl.h delete mode 100644 CIAO/tools/Config_Handlers/BasicSP.cdp diff --git a/CIAO/CCF/CCF/CodeGenerationKit/CommandLine.hpp b/CIAO/CCF/CCF/CodeGenerationKit/CommandLine.hpp index 6c3d84b2481..1d77e8ea026 100644 --- a/CIAO/CCF/CCF/CodeGenerationKit/CommandLine.hpp +++ b/CIAO/CCF/CCF/CodeGenerationKit/CommandLine.hpp @@ -119,8 +119,23 @@ public: return not_found_value; } } - - + + bool + get_all_values (std::string name, std::vector &values) + { + Options::iterator i (options.begin ()); + + while ((i = std::find_if (i, + options.end (), + OptionNamePredicat (name))) != options.end ()) + { + values.push_back (i->value ()); + ++i; + } + + return values.size () != 0; + } + struct Option { Option (std::string const& name) diff --git a/CIAO/ChangeLog b/CIAO/ChangeLog index 767b9f7e92b..1725c5606f7 100644 --- a/CIAO/ChangeLog +++ b/CIAO/ChangeLog @@ -1,3 +1,291 @@ +Tue Feb 20 16:17:46 UTC 2007 William R. Otte + + * Merged ciao_core_2 to head. + + Tue Feb 20 16:03:02 UTC 2007 William R. Otte + + * RACE/Plan_Analyzer/Interface/PlanIngress.idl + * RACE/Planners/Interface/Planner_I.idl + * RACE/Controller/Component/Controller.idl + * RACE/Output_Adapters/Interface/PlanEgress.idl + * RACE/Planner_Manager/Interface/Planner_Manager_I.idl + + Further updates to support migration of Deployment IDL to + DAnCE/Deployment. + + Mon Feb 19 21:27:11 UTC 2007 William R. Otte + + * MPC/config/ciao_events_base_dnc.mpb + * MPC/config/ciaoexe.mpb + * MPC/config/ciao_client_dnc.mpb + * MPC/config/ciao_container_dnc.mpb + * MPC/config/ciao_servant_dnc.mpb + * MPC/config/ciao_component_dnc.mpb + * MPC/config/ciao_events_dnc.mpb + * MPC/config/ciao_server_dnc.mpb + + Removed the _DnC_ from a bunch of projects, as since we no longer have + DnC and non DnC versions of CIAO, its reall superfluous. + + * DAnCE/Deployment + * DAnCE/Deployment/Deployment_NodeApplication.idl + * DAnCE/Deployment/Deployment_Data.idl + * DAnCE/Deployment/Deployment_svnt_export.h + * DAnCE/Deployment/Deployment_Base.idl + * DAnCE/Deployment/Deployment_RepositoryManager.idl + * DAnCE/Deployment/Deployment_Packaging_Data.idl + * DAnCE/Deployment/Deployment_Target_Data.idl + * DAnCE/Deployment/CIAO_NodeApplication_CallBack.idl + * DAnCE/Deployment/Deployment_TargetData.idl + * DAnCE/Deployment/Deployment.idl + * DAnCE/Deployment/Deployment_NodeManager.idl + * DAnCE/Deployment/Deployment_TargetManager.idl + * DAnCE/Deployment/Deployment_Container.idl + * DAnCE/Deployment/NodeApp_CB_Impl.cpp + * DAnCE/Deployment/Deployment_DomainApplicationManager.idl + * DAnCE/Deployment/Deployment_Core.idl + * DAnCE/Deployment/NodeApp_CB_Impl.h + * DAnCE/Deployment/Deployment_DeploymentPlan.idl + * DAnCE/Deployment/Deployment_DomainApplication.idl + * DAnCE/Deployment/CIAO_ServerResources.idl + * DAnCE/Deployment/Deployment_stub_export.h + * DAnCE/Deployment/Deployment_ExecutionManager.idl + * DAnCE/Deployment/Deployment_ApplicationManager.idl + * DAnCE/Deployment/Deployment_Connection.idl + * DAnCE/Deployment/Deployment_Application.idl + * DAnCE/Deployment/Deployment_NodeApplicationManager.idl + * DAnCE/Deployment/Deployment_Events.idl + * DAnCE/Deployment/Deployment_common.h + + Moved these IDLs from CIAO_ROOT/ciao in an effort to isolate the + DnC IDL from the CIAO IDL and control directory size explosion of + CIAO_ROOT/ciao. + + * tools/Config_Handlers/DnC_Dump.h + * tools/Config_Handlers/DP_Handler.cpp + * tools/Config_Handlers/MDD_Handler.cpp + * tools/Config_Handlers/CPD_Handler.cpp + * tools/Config_Handlers/Property_Handler.cpp + * tools/Config_Handlers/ID_Handler.cpp + * tools/Config_Handlers/DnC_Dump.cpp + * tools/Config_Handlers/Package_Handlers/Comp_Intf_Descr_Handler.h + * tools/Config_Handlers/Package_Handlers/PCD_Handler.cpp + * tools/Config_Handlers/Package_Handlers/CPD_Handler.cpp + * tools/Config_Handlers/Package_Handlers/NIA_Handler.h + * tools/Config_Handlers/Package_Handlers/SID_Handler.cpp + * tools/Config_Handlers/Package_Handlers/test.cpp + * tools/Config_Handlers/Package_Handlers/CAD_Handler.cpp + * tools/Config_Handlers/Package_Handlers/CAD_Handler.h + * tools/Config_Handlers/Package_Handlers/CID_Handler.cpp + * tools/Config_Handlers/PCD_Handler.cpp + * tools/Config_Handlers/CRDD_Handler.cpp + * tools/Config_Handlers/DataType_Handler.h + * tools/Config_Handlers/STD_CPD_Handler.cpp + * tools/Config_Handlers/CIAO_Events/test.cpp + * tools/Config_Handlers/CIAO_Events/CIAOEvents_Handler.h + * tools/Config_Handlers/CIAO_Events/CIAOEvents_Handler.cpp + * tools/Config_Handlers/Req_Handler.cpp + * tools/Config_Handlers/DP_PCD_Handler.cpp + * tools/Config_Handlers/RDD_Handler.cpp + * tools/Config_Handlers/STD_CID_Handler.cpp + * tools/Config_Handlers/ERE_Handler.cpp + * tools/Config_Handlers/XML_File_Intf.cpp + * tools/Config_Handlers/test.cpp + * tools/Config_Handlers/CCD_Handler.cpp + * tools/Config_Handlers/SatisfierProperty_Handler.cpp + * tools/Config_Handlers/RT-CCM/CLA_Handler.h + * tools/Config_Handlers/RT-CCM/TPL_Handler.h + * tools/Config_Handlers/RT-CCM/OC_Handler.h + * tools/Config_Handlers/RT-CCM/PM_Handler.h + * tools/Config_Handlers/RT-CCM/OR_Handler.h + * tools/Config_Handlers/RT-CCM/PS_Handler.h + * tools/Config_Handlers/RT-CCM/TP_Handler.h + * tools/Config_Handlers/RT-CCM/CB_Handler.h + * tools/Config_Handlers/RT-CCM/SRD_Handler.h + * tools/Config_Handlers/PSPE_Handler.cpp + * tools/Config_Handlers/Dump_Obj.h + * tools/Config_Handlers/ESD_Handler.cpp + * tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp + * tools/Config_Handlers/CEPE_Handler.cpp + * tools/Config_Handlers/STD_CID_Handler.h + * tools/Config_Handlers/IRDD_Handler.cpp + * tools/Config_Handlers/DD_Handler.cpp + * tools/Config_Handlers/ADD_Handler.cpp + * tools/Config_Handlers/IDD_Handler.cpp + * ciaosvcs/Events/CIAO_Events_Base/CIAO_Events_Base.mpc + * ciaosvcs/Events/CIAO_Events.mpc + * DAnCE/NodeManager/MonitorController.h + * DAnCE/NodeManager/MonitorCB.h + * DAnCE/NodeManager/BaseMonitor.h + * DAnCE/Plan_Generator/PCVisitorBase.h + * DAnCE/Plan_Generator/Plan_Generator_Impl.h + * DAnCE/TargetManager/CmpClient.cpp + * DAnCE/TargetManager/DomainEvents.idl + * DAnCE/TargetManager/TargetManagerImpl.idl + * DAnCE/tests/NodeApplicationTest/NodeApp_test_client_ex.cpp + * DAnCE/tests/NodeApplicationTest/NodeApp_test_client.cpp + * DAnCE/tests/NodeApplicationTest/NodeApp_test_client_dynamic.cpp + * DAnCE/tests/NodeApplicationTest/NodeApp_test_client_simple.cpp + * DAnCE/Interfaces/ExecutionManagerDaemon.idl + * DAnCE/Interfaces/NodeManagerDaemon.idl + * DAnCE/NodeApplicationManager/ImplementationInfo.cpp + * DAnCE/NodeApplicationManager/Containers_Info_Map.h + * DAnCE/NodeApplicationManager/NodeApplicationManager_Impl.cpp + * DAnCE/NodeApplicationManager/ImplementationInfo.h + * DAnCE/NodeApplicationManager/NodeApplicationManager_Impl.h + * DAnCE/NodeApplicationManager/Containers_Info_Map.cpp + * DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.cpp + * DAnCE/DomainApplicationManager/Deployment_Configuration.h + * DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.h + * DAnCE/NodeApplication/NodeApplication_Impl.h + * DAnCE/NodeApplication/Container_Impl.h + * DAnCE/NodeApplication/RTConfig_Manager.h + * DAnCE/NodeApplication/NodeApp_Configurator.h + * DAnCE/NodeApplication/RTNodeApp_Configurator.cpp + * DAnCE/NodeApplication/NodeApplication_Core.cpp + * DAnCE/NodeApplication/NodeApplication_Impl.cpp + * DAnCE/RepositoryManager/RM_Helper.h + * DAnCE/RepositoryManager/RepositoryManagerDaemon.idl + * DAnCE/RepositoryManager/PC_Updater.cpp + * DAnCE/RepositoryManager/RepositoryManager_Impl.cpp + * DAnCE/RepositoryManager/PC_Updater.h + * DAnCE/ExecutionManager/DAM_Map.h + * DAnCE/ExecutionManager/Execution_Manager_Impl.h + * DAnCE/ExecutionManager/ExecutionManager.mpc + * ciao/Swapping_Container.h + * ciao/Dynamic_Component_Activator.h + * ciao/CCM_Core.mpc + * ciao/Container_Base.h + + For the most part, modifications to support movement of DnC interfaces + to DAnCE/Deployment. One or two files were further modified to support + removal of DnC from project names. + + Mon Feb 19 19:40:19 UTC 2007 William R. Otte + + * MPC/config/ciaoexe.mpb + * DAnCE/NodeManager/NodeManager.mpc + * DAnCE/NodeApplication/NodeApplication.mpc + * DAnCE/RepositoryManager/RepositoryManager.mpc + * DAnCE/Plan_Launcher/Plan_Launcher.mpc + + Modified to install exes to CIAO_ROOT/bin. + + Mon Feb 19 19:33:32 UTC 2007 William R. Otte + + * DAnCE/NodeManager/MonitorCB.cpp + * DAnCE/TargetManager/DomainDataManager.cpp + + Corrected to reflect changes in IDL. + + * CCF/CCF/CodeGenerationKit/CommandLine.cpp + + Added get_all_values to support revrieval of all values for a given + option passed on the command line. + + Mon Feb 19 19:32:34 UTC 2007 William R. Otte + + * ciao/Container_Base.cpp + + Cosmetic format changes. + + * ciao/CCM_Context.idl + + re-added removed comment. + + Mon Feb 19 19:25:06 UTC 2007 William R. Otte + + * ccd.hpp + * cid.cpp + * pcd.cpp + * Deployment.hpp + * toplevel.cpp + * cdd.hpp + * Basic_Deployment_Data.cpp + * cdp.hpp + * cpd.hpp + * CIAO_Events/CIAOEvents.cpp + * CIAO_Events/CIAOEvents.hpp + * ccd.cpp + * iad.hpp + * cid.hpp + * pcd.hpp + * Deployment.cpp + * cdd.cpp + * toplevel.hpp + * RT-CCM/CIAOServerResources.hpp + * RT-CCM/CIAOServerResources.cpp + * cdp.cpp + * cpd.cpp + * Basic_Deployment_Data.hpp + * iad.cpp + + * docs/schema/cid.xsd + * docs/schema/cpd.xsd + + Changed include ordering. + + * docs/schema/Basic_Deployment_Data.xsd + + Added elements to support sequence, struct, and valuetypes + in the schema. + + Mon Feb 19 19:20:35 UTC 2007 William R. Otte + + * Package_Handlers/PCD_Handler.cpp + + Changed to reflect slight change in schema. + + * CIAO_Events/CIAO_Events_Handlers.mpc + * Config_Handlers.mpc + * RT-CCM/RT-CCM-Handlers.mpc + + Updated to include XSC generation. + + Mon Feb 19 15:30:04 UTC 2007 William R. Otte + + * MPC/config/xscdefaults.mpb + * tools/Config_Handlers/Config_Handlers.mpc + + Added a custom type to MPC to handle XSC generation. + + Wed Feb 7 21:16:36 UTC 2007 William R. Otte + + * ciao/Deployment_Data.idl + * ciao/Deployment_ApplicationManager.idl + * ciao/CCM_CCMException.idl + * ciao/Deployment_Application.idl + * ciao/Context_Impl_Base.h + * ciao/Deployment.idl + * ciao/Context_Impl_Base.cpp + * ciao/Deployment_NodeApplication.idl + * ciao/Deployment_TargetData.idl + * ciao/CCM_Events.idl + * ciao/Deployment_ExecutionManager.idl + * ciao/Deployment_NodeApplicationManager.idl + * ciao/CCM_Context.idl + * ciao/Deployment_Base.idl + * ciao/Deployment_Packaging_Data.idl + * ciao/Deployment_DomainApplicationManager.idl + * ciao/Deployment_Connection.idl + * ciao/Deployment_TargetManager.idl + * ciao/Deployment_DeploymentPlan.idl + * ciao/Deployment_NodeManager.idl + + Updated with changes to comply with the 06-02-01 version of the + DnC spec. Many of these changes would break the entire toolchain, + so they are commented out for the time being. grep for + + @@changed @@add @@delete + + to find changes. + + * ciao/CCM_Core.mpc + *ciao/Deployment_DomainApplication.idl + + Added DomainApplication interface, completely missing from our IDL. + + Tue Feb 20 14:15:14 UTC 2007 Johnny Willemsen * CIDLC/OperationHeaderEmitters.cpp: diff --git a/CIAO/DAnCE/Deployment/CIAO_NodeApplication_CallBack.idl b/CIAO/DAnCE/Deployment/CIAO_NodeApplication_CallBack.idl new file mode 100644 index 00000000000..9398507a0ad --- /dev/null +++ b/CIAO/DAnCE/Deployment/CIAO_NodeApplication_CallBack.idl @@ -0,0 +1,23 @@ +// $Id$ + +/** + * This IDL file is used to combine the NodeApplication + * interface with the NodeApplicationManager interface. + * + * NodeApplicationManager will be spawn NodeApplication. + * The call back object will be used to get the objectref of + * NodeApplication. + */ + +#include "DAnCE/Deployment/Deployment_NodeApplication.idl" +#include "DAnCE/Deployment/Deployment_NodeApplicationManager.idl" + +module CIAO +{ + interface NodeApplication_Callback + { + Deployment::NodeApplicationManager + register_node_application (in Deployment::NodeApplication na, + out Deployment::Properties properties); + }; +}; diff --git a/CIAO/DAnCE/Deployment/CIAO_ServerResources.idl b/CIAO/DAnCE/Deployment/CIAO_ServerResources.idl new file mode 100644 index 00000000000..de14402f835 --- /dev/null +++ b/CIAO/DAnCE/Deployment/CIAO_ServerResources.idl @@ -0,0 +1,237 @@ +// $Id$ + +/** + * @file CIAO_ServerResources.idl + * + * @brief A collection of IDL data types for + * + * @author Nanbor Wang + */ + +#if !defined (CIAO_SERVERRESOURCES_IDL) +#define CIAO_SERVERRESOURCES_IDL + +#include + +module CIAO +{ + module DAnCE + { + /** + * @brief A single command line argument corresponds to a string as + * in the case of "argv". + */ + typedef string CommandlineArg; + /** + * @brief A list of command line arguments which a + * NodeApplicationManager will use to start up the NodeApplication + * this list is associated to. The command line arguments will be + * appended to the command line in order. + */ + typedef sequence CommandlineArgs; + + /** + * @brief A string containing the filename of the svc.conf file the + * NodeApplication uses. The current approach of specifying + * svc.conf filename directly some harder problems such as + * distribution of svc.conf files and the relative/absolute path to + * the svc.conf file (the ServerResrouces xml document will have to + * assume the svc.conf file will be available at specific location.) + */ + typedef string SvcconfURI; + + /** + * @brief enumeration of ORB Resource Types (ORT) supported in RT + * extension. + */ + enum ORBResourceType + { + ORT_THREADPOOL, + ORT_THREADPOOLWITHLANES, + ORT_CONNECTIONBANDS + }; + + typedef short Priority; + + /** + * @brief Define a threadpool resource that an ORB must provide + */ + struct ORS_Threadpool + { + string Id; + unsigned long stacksize; + unsigned long static_threads; + unsigned long dynamic_threads; + Priority default_priority; + boolean allow_request_buffering; + unsigned long max_buffered_requests; + unsigned long max_request_buffer_size; + }; + + typedef sequence ORS_ThreadpoolSeq; + + /** + * @brief Defines the configuration of a threadpool lane. We need + * to redefine it here to avoid dependency to RTCORBA library. + */ + struct ORS_ThreadpoolLane + { + Priority lane_priority; + unsigned long static_threads; + unsigned long dynamic_threads; + }; + + /** + * @brief Defines a set of threadpool lanes. We need + * to redefine it here to avoid dependency to RTCORBA library. + */ + typedef sequence ORS_ThreadpoolLanes; + + /** + * @brief Defines a Threadpool with Lanes resource that an ORB + * must provide. + */ + struct ORS_ThreadpoolWithLanes + { + string Id; + unsigned long stacksize; + ORS_ThreadpoolLanes threadpool_lanes; + boolean allow_borrowing; + boolean allow_request_buffering; + unsigned long max_buffered_requests; + unsigned long max_request_buffer_size; + }; + + typedef sequence ORS_ThreadpoolWithLanesSeq; + + /** + * @brief Define a priority band for BandedConnection policies. + */ + struct ORS_PriorityBand + { + Priority low; + Priority high; + }; + /** + * @brief Define a list of priority bands for BandedConnection + * policies. + */ + typedef sequence ORS_PriorityBands; + + /** + * @brief Define the information needed to create a + * BandedConnection policy. This info can be referred to via its + * name (Id). + */ + struct ORS_ConnectionBands + { + string Id; + ORS_PriorityBands bands; + }; + + typedef sequence ORS_ConnectionBandsSeq; + + /** + * @brief Collection of resources managed by the NodeApplication + * ORB. + */ + struct ORBResource + { + ORS_ThreadpoolSeq threadpool_list; + + ORS_ThreadpoolWithLanesSeq threadpool_with_lanes_list; + + ORS_ConnectionBandsSeq connection_bands_list; + }; + + typedef sequence ORBResources; + + // ================================================================= + + /** + * @brief PolicyType supported by DAnCE extension. Again, we are + * redefining these value to avoid dependencies to various ORB + * modules such as RTCORBA. + */ + const CORBA::PolicyType PRIORITY_MODEL_POLICY_TYPE = 40; + const CORBA::PolicyType THREADPOOL_POLICY_TYPE = 41; + const CORBA::PolicyType PRIORITY_BANDED_CONNECTION_POLICY_TYPE = 45; + + enum PriorityModel + { + CLIENT_PROPAGATED, + SERVER_DECLARED + }; + + /** + * @brief Defines data required for creating a PriorityModel Policy + */ + struct PriorityModelPolicyDef + { + PriorityModel priority_model; + Priority server_priority; + }; + + /** + * @brief Define data required for creating a Threadpool policy + */ + struct ThreadpoolPolicyDef + { + string Id; // Threadpool name defined in + // ORBResource + }; + + /** + * @brief Define data required for creating a PriorityBandedConnection + * policy + */ + struct PriorityBandedConnectionPolicyDef + { + string Id; // PriorityBands name defined in + // ORBResource + }; + + union PolicyDef switch (CORBA::PolicyType) + { + case 40: PriorityModelPolicyDef PriorityModelDef; + case 41: ThreadpoolPolicyDef ThreadpoolDef; + case 45: PriorityBandedConnectionPolicyDef PriorityBandedConnectionDef; + }; + + /** + * @brief Define a set of policy definitions. + */ + typedef sequence PolicyDefs; + + /** + * @brief A policy set is named. + */ + struct PolicySet + { + string Id; // Name of this policy set + PolicyDefs policies; + }; + + /** + * @brief A list of all policy sets. + */ + typedef sequence PolicySets; + + struct ORBConfigs + { + ORBResources orb_resources; + PolicySets policy_set; + }; + + struct ServerResource + { + string Id; + + CommandlineArgs args; + SvcconfURI svcconf; + ORBConfigs orb_config; + }; + }; +}; + +#endif /* CIAO_SERVERRESOURCES_IDL */ diff --git a/CIAO/DAnCE/Deployment/DAnCE_Core.mpc b/CIAO/DAnCE/Deployment/DAnCE_Core.mpc new file mode 100644 index 00000000000..0360fa9b43a --- /dev/null +++ b/CIAO/DAnCE/Deployment/DAnCE_Core.mpc @@ -0,0 +1,120 @@ +// -*- MPC -*- +// $Id$ + + +// Valuetype library must be linked for this project. +// Please don't remove. +project(Deployment_stub) : taolib_with_idl, valuetype, ifr_client, ciao_events_base_dnc, ciao_client_dnc { + sharedname = CIAO_Deployment_stub + + // This is necessary for MPC to pull in rules.ciao.GNU + includes += $(CIAO_ROOT) + + idlflags += -Wb,stub_export_macro=Deployment_stub_Export + idlflags += -Wb,stub_export_include=Deployment_stub_export.h + idlflags += -Wb,skel_export_macro=Deployment_svnt_Export + idlflags += -Wb,skel_export_include=Deployment_svnt_export.h + + dynamicflags = DEPLOYMENT_STUB_BUILD_DLL + + IDL_Files { + idlflags += -SS -Sci + Deployment_Packaging_Data.idl + Deployment_PlanError.idl + } + + IDL_Files { + idlflags += -SS + Deployment_Base.idl + Deployment_Connection.idl + Deployment_Data.idl + Deployment_DeploymentPlan.idl + Deployment_TargetData.idl + Deployment_Events.idl + CIAO_ServerResources.idl + Deployment_ResourceCommitmentManager.idl + } + + IDL_Files { + Deployment_TargetManager.idl + CIAO_NodeApplication_CallBack.idl + Deployment_Core.idl + Deployment_NodeApplication.idl + Deployment_Application.idl + Deployment_Container.idl + Deployment.idl + Deployment_NodeManager.idl + Deployment_ApplicationManager.idl + Deployment_NodeApplicationManager.idl + Deployment_DomainApplicationManager.idl + Deployment_DomainApplication.idl + Deployment_ExecutionManager.idl + Deployment_RepositoryManager.idl + } + + Source_Files { + Deployment_CoreC.cpp + Deployment_BaseC.cpp + Deployment_ConnectionC.cpp + Deployment_DataC.cpp + Deployment_DeploymentPlanC.cpp + Deployment_TargetDataC.cpp + Deployment_NodeApplicationC.cpp + Deployment_ApplicationC.cpp + Deployment_ContainerC.cpp + Deployment_Packaging_DataC.cpp + Deployment_PlanErrorC.cpp + DeploymentC.cpp + Deployment_TargetManagerC.cpp + Deployment_NodeManagerC.cpp + Deployment_NodeApplicationManagerC.cpp + Deployment_ApplicationManagerC.cpp + Deployment_DomainApplicationManagerC.cpp + Deployment_DomainApplicationC.cpp + Deployment_ExecutionManagerC.cpp + Deployment_RepositoryManagerC.cpp + Deployment_ResourceCommitmentManagerC.cpp + CIAO_NodeApplication_CallBackC.cpp + CIAO_ServerResourcesC.cpp + Deployment_EventsC.cpp + } +} + + +// CIAO_DnC_Client library must be linked for this project. +// Please don't remove. +project(Deployment_svnt) : taolib_with_idl, portableserver, valuetype, ifr_client, ciao_deployment_stub, ciao_events_dnc, ciao_client_dnc, naming { + sharedname = CIAO_Deployment_svnt + dynamicflags = DEPLOYMENT_SVNT_BUILD_DLL + idlflags += -Wb,stub_export_macro=Deployment_stub_Export + idlflags += -Wb,stub_export_include=Deployment_stub_export.h + idlflags += -Wb,skel_export_macro=Deployment_svnt_Export + idlflags += -Wb,skel_export_include=Deployment_svnt_export.h + + // This is necessary for MPC to pull in rules.ciao.GNU + includes += $(CIAO_ROOT) + + IDL_Files { + } + + Source_Files { + Deployment_CoreS.cpp + Deployment_ApplicationS.cpp + Deployment_NodeApplicationS.cpp + Deployment_ContainerS.cpp + DeploymentS.cpp + Deployment_RepositoryManagerS.cpp + Deployment_NodeManagerS.cpp + Deployment_NodeApplicationManagerS.cpp + Deployment_ApplicationManagerS.cpp + Deployment_DomainApplicationManagerS.cpp + Deployment_DomainApplicationS.cpp + Deployment_ExecutionManagerS.cpp + Deployment_ResourceCommitmentManagerS.cpp + NodeApp_CB_Impl.cpp + Deployment_TargetManagerS.cpp + CIAO_NodeApplication_CallBackS.cpp + } + +} + diff --git a/CIAO/DAnCE/Deployment/Deployment.idl b/CIAO/DAnCE/Deployment/Deployment.idl new file mode 100644 index 00000000000..ee3ea4df782 --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment.idl @@ -0,0 +1,52 @@ +// $Id$ + +#ifndef DEPLOYMENT_IDL +#define DEPLOYMENT_IDL + +#include "DAnCE/Deployment/Deployment_Packaging_Data.idl" +#include "DAnCE/Deployment/Deployment_PlanError.idl" + +module Deployment { + + exception InvalidProperty { + string name; + string reason; + }; + + // @@added + exception InvalidNodeExecParameter { + string name; + string reason; + }; + + // @@added + exception InvalidComponentExecParameter { + string name; + string reason; + }; + + // @@added + exception LastConfiguration { + }; + + exception NoSuchName { + }; + + exception InvalidReference { + }; + + /// Below exception types are CIAO specific + exception PlanNotExist { + }; + + /// CIAO specific struct type used for shared component management + /// mapping the name of component to its plan_uuid + struct ComponentPlan + { + string name; + string plan_uuid; + }; + typedef sequence < ComponentPlan > ComponentPlans; +}; + +#endif /* DEPLOYMENT_IDL */ diff --git a/CIAO/DAnCE/Deployment/Deployment_Application.idl b/CIAO/DAnCE/Deployment/Deployment_Application.idl new file mode 100644 index 00000000000..e045d0ca849 --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_Application.idl @@ -0,0 +1,39 @@ +// $Id$ + +#if !defined (DEPLOYMENT_APPLICATION_IDL) +#define DEPLOYMENT_APPLICATION_IDL + +#include "DAnCE/Deployment/Deployment_Connection.idl" + +module Deployment +{ + exception StartError + { + string name; + string reason; + }; + + exception InvalidConnection + { + string name; + string reason; + }; + + interface Application + { + // @@changed + // void finishLaunch (in Connections providedReference, + // in boolean start) + // raises (StartError, InvalidConnection); + + void finishLaunch (in Connections providedReference, + in boolean start, + in boolean is_ReDAC) + raises (StartError, InvalidConnection); + void start () + raises (StartError); + }; + typedef sequence < Application > Applications; +}; + +#endif /* DEPLOYMENT_APPLICATION_IDL */ diff --git a/CIAO/DAnCE/Deployment/Deployment_ApplicationManager.idl b/CIAO/DAnCE/Deployment/Deployment_ApplicationManager.idl new file mode 100644 index 00000000000..c7f5a1957d1 --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_ApplicationManager.idl @@ -0,0 +1,30 @@ +// $Id$ +#ifndef DEPLOYMENT_APPLICATIONMANAGER_IDL +#define DEPLOYMENT_APPLICATIONMANAGER_IDL + +#include "DAnCE/Deployment/Deployment_Core.idl" +#include "DAnCE/Deployment/Deployment.idl" + +module Deployment { + exception ResourceNotAvailable { + string name; + string resourceType; + string propertyName; + string elementName; + string resourceName; + }; + + interface ApplicationManager { + /// @todo Spec mentions another few exceptions in the raises cluase + // @@changed + Application startLaunch (in Properties configProperty, + out Connections providedReference, + in boolean start) + raises (ResourceNotAvailable, StartError, InvalidProperty, + InvalidNodeExecParameter, InvalidComponentExecParameter); + void destroyApplication (in Application app) + raises (StopError); + }; +}; + +#endif /* DEPLOYMENT_APPLICATIONMANAGER_IDL */ diff --git a/CIAO/DAnCE/Deployment/Deployment_Base.idl b/CIAO/DAnCE/Deployment/Deployment_Base.idl new file mode 100644 index 00000000000..0ae4a2748f6 --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_Base.idl @@ -0,0 +1,42 @@ +//$Id$ + +#ifndef DEPLOYMENT_BASE_IDL +#define DEPLOYMENT_BASE_IDL + +module Deployment { + + struct Property + { + string name; + any value; + }; + typedef sequence < Property > Properties; + + // @@changed element order + struct Requirement { + string name; + string resourceType; + Properties property; + }; + + typedef sequence < Requirement > Requirements; + + enum SatisfierPropertyKind { + Quantity, + Capacity, + Minimum, + Maximum, + _Attribute, + Selection + }; + + struct SatisfierProperty { + string name; + SatisfierPropertyKind kind; + boolean dynamic; + any value; + }; + typedef sequence < SatisfierProperty > SatisfierProperties; +}; + +#endif /* DEPLOYMENT_BASE_IDL */ diff --git a/CIAO/DAnCE/Deployment/Deployment_Connection.idl b/CIAO/DAnCE/Deployment/Deployment_Connection.idl new file mode 100644 index 00000000000..0d6ac886ef1 --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_Connection.idl @@ -0,0 +1,50 @@ +// $Id$ + +#if !defined (DEPLOYMENT_CONNECTION_IDL) +#define DEPLOYMENT_CONNECTION_IDL + +#include "DAnCE/Deployment/Deployment_DeploymentPlan.idl" +#include + +// *************** Packaging and Deployment *************** +module Deployment +{ + typedef sequence < Object > Endpoints; + //typedef Object Endpoint; + + // @@changed + // struct Connection + // { + // string name; + // Endpoints endpoint; + // }; + + // CIAO's specific type defition. + // To avoid the connection info in the plan being passed to the + // local node and to make the implementation not very cumbersome + // I changed the connection struct to include some extra informations. + struct Connection + { + string instanceName; + string portName; + CCMComponentPortKind kind; + + string endpointInstanceName; // CIAO specific extension + string endpointPortName; // CIAO specific extension + + // the endpoints member is change to endpoint. + // Since we will not have more than 1 objref in there. + Object endpoint; + + // A wrapper facade interface to provision different event + // communication mechanisms, including RTEC, etc. + CIAO::CIAO_Event_Service event_service; + + // The properties of this connection, particularly useful + // to speicfy QoS properties of pub/sub service connections. + Properties config; + }; + + typedef sequence < Connection > Connections; +}; +#endif /* DEPLOYMENT_CONNECTION_IDL */ diff --git a/CIAO/DAnCE/Deployment/Deployment_Container.idl b/CIAO/DAnCE/Deployment/Deployment_Container.idl new file mode 100644 index 00000000000..3e35cbae5b3 --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_Container.idl @@ -0,0 +1,93 @@ +// $Id$ + +#if !defined (DEPLOYMENT_CONTAINER_IDL) +#define DEPLOYMENT_CONTAINER_IDL + +#include "DAnCE/Deployment/Deployment_Application.idl" +#include "DAnCE/Deployment/Deployment_Core.idl" + +// *************** Packaging and Deployment *************** +module Deployment +{ + interface NodeApplication; // Forward decl. + + /// CIAO specific + struct Component_Info + { + string component_instance_name; + Components::CCMObject component_ref; + }; + + /// CIAO specific + typedef sequence < Component_Info > ComponentInfos; + + /// CIAO specific + struct ComponentImplementationInfo + { + string component_instance_name; + string executor_dll; + string executor_entrypt; + string servant_dll; + string servant_entrypt; + Properties component_config; + // Properties home_config; //ignored for now. + }; + + /// CIAO specific + typedef sequence ComponentImplementationInfos; + + // ContainerImplementationInfo contains a list of components to be installed and + // policy configuration for the container which hosts these components + /// CIAO specific + struct ContainerImplementationInfo + { + ComponentImplementationInfos impl_infos; + Properties container_config; + }; + + /// CIAO specific + typedef sequence ContainerImplementationInfos; + + /// CIAO specific interface, which could deal with installing multiple + /// containers into a single NodeApplication. + interface Container + { + readonly attribute ::Deployment::Properties properties; + + /// Get the NodeApplication which created us + NodeApplication get_node_application (); + + /// Initialize the container with policies + // long init (in ::CORBA::PolicyList policies); + + // NW: The following should be component specific info because the + // container has already been created and initialized at this + // time. So there's not much container configuration to be done + // at this stage. + //@@ The container_impl_info will contain + //1 component instance name as the key. + //2 dll/so name of the exec + //3 entry point of the exec + //4 dll/so name of the svnt + //5 entry point of the svnt + //6 Poosible other configuration for container/home/component + + /// Install all homes and components + Deployment::ComponentInfos install (in ContainerImplementationInfo container_impl_info) + raises (UnknownImplId, + ImplEntryPointNotFound, + InstallationFailure, + ::Components::InvalidConfiguration); + + /// Remove all homes and components + void remove () + raises (::Components::RemoveFailure); + + /// Remove a component instance + void remove_component (in string inst_name) + raises (::Components::RemoveFailure); + }; + + typedef sequence Containers; +}; +#endif /* DEPLOYMENT_CONTAINER_IDL */ diff --git a/CIAO/DAnCE/Deployment/Deployment_Core.idl b/CIAO/DAnCE/Deployment/Deployment_Core.idl new file mode 100644 index 00000000000..d6c32e010a9 --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_Core.idl @@ -0,0 +1,49 @@ +// $Id$ + +#if !defined (DEPLOYMENT_CORE_IDL) +#define DEPLOYMENT_CORE_IDL + +#include "ciao/CCM_Component.idl" +#include "DAnCE/Deployment/Deployment_TargetData.idl" +#include "DAnCE/Deployment/Deployment_Data.idl" +#include "DAnCE/Deployment/Deployment_Application.idl" + +// *************** Packaging and Deployment *************** +module Deployment +{ + // Typeprefix Components "omg.org"; + // OMG threw these things away, didn't it. + + /// CIAO specific + exception UnknownImplId + { + string name; + string reason; + }; + + /// CIAO specific + exception InstallationFailure + { + string name; + string reason; + }; + + /// CIAO specific + exception ImplEntryPointNotFound + { + string name; + string reason; + }; + + /** + * The StopError exception is raised if a problem occurred while terminating + * an application, either during the terminate operation of the + * ApplicationManager or during the destroyManager operation of the + * ExecutionManager. + */ + exception StopError { + string name; + string reason; + }; +}; +#endif /* DEPLOYMENT_CORE_IDL */ diff --git a/CIAO/DAnCE/Deployment/Deployment_Data.idl b/CIAO/DAnCE/Deployment/Deployment_Data.idl new file mode 100644 index 00000000000..b452ebe3ad4 --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_Data.idl @@ -0,0 +1,45 @@ +// $Id$ + +#ifndef DEPLOYMENT_DATA_IDL +#define DEPLOYMENT_DATA_IDL + +#include "DAnCE/Deployment/Deployment_DeploymentPlan.idl" + +module Deployment { + + struct ComponentPackageReference { + string requiredUUID; + string requiredName; + + // @@changed + //ComponentInterfaceDescription requiredType; + + string requiredType; + }; + + typedef sequence < ComponentPackageReference > ComponentPackageReferences; + + typedef sequence < ResourceUsageKind > ResourceUsageKinds; + + struct ImplementationRequirement { + ResourceUsageKinds resourceUsage; + string resourcePort; + string componentPort; + // @@ changed: order of name and resourceType + string name; + string resourceType; + Properties property; + }; + + typedef sequence < ImplementationRequirement > ImplementationRequirements; + + struct Capability { + string name; + ::CORBA::StringSeq resourceType; + SatisfierProperties property; + }; + + typedef sequence < Capability > Capabilities; +}; + +#endif /* DEPLOYMENT_DATA_IDL */ diff --git a/CIAO/DAnCE/Deployment/Deployment_DeploymentPlan.idl b/CIAO/DAnCE/Deployment/Deployment_DeploymentPlan.idl new file mode 100644 index 00000000000..248a61b75d2 --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_DeploymentPlan.idl @@ -0,0 +1,228 @@ +// $Id$ + +#ifndef DEPLOYMENT_DEPLOYMENTPLAN_IDL +#define DEPLOYMENT_DEPLOYMENTPLAN_IDL + +#include "DAnCE/Deployment/Deployment_Base.idl" +#include "tao/StringSeq.pidl" +#include "tao/ULongSeq.pidl" +#include "tao/Typecode_types.pidl" + +module Deployment { + + enum CCMComponentPortKind + { + Facet, + SimplexReceptacle, + MultiplexReceptacle, + EventEmitter, + EventPublisher, + EventConsumer + }; + + struct ComponentPortDescription { + string name; + string specificType; + ::CORBA::StringSeq supportedType; + boolean provider; + boolean exclusiveProvider; + boolean exclusiveUser; + boolean optional; + CCMComponentPortKind kind; + }; + + typedef sequence < ComponentPortDescription > ComponentPortDescriptions; + + struct ComponentPropertyDescription { + string name; + CORBA::TypeCode type; + }; + + typedef sequence < ComponentPropertyDescription > ComponentPropertyDescriptions; + + struct ComponentInterfaceDescription { + string label; + string UUID; + string specificType; + ::CORBA::StringSeq supportedType; + ::CORBA::StringSeq idlFile; + Properties configProperty; + ComponentPortDescriptions port; + ComponentPropertyDescriptions property; + Properties infoProperty; + }; + + struct MonolithicDeploymentDescription { + string name; + ::CORBA::StringSeq source; + ::CORBA::ULongSeq artifactRef; + // @@changed + // Properties nodeExecParameter; + Properties execParameter; + + // @@added + // Properties componentExecParameter; + + // @@delete: + Requirements deployRequirement; + }; + + typedef sequence < MonolithicDeploymentDescription > MonolithicDeploymentDescriptions; + + enum ResourceUsageKind { + None, + InstanceUsesResource, + ResourceUsesInstance, + PortUsesResource, + ResourceUsesPort + }; + + struct InstanceResourceDeploymentDescription { + ResourceUsageKind resourceUsage; + // @@added + //string resourcePort; + // @@added + //string componentPort; + + string requirementName; + string resourceName; + Properties property; + }; + + typedef sequence < InstanceResourceDeploymentDescription > InstanceResourceDeploymentDescriptions; + + struct InstanceDeploymentDescription { + string name; + string node; + ::CORBA::StringSeq source; + unsigned long implementationRef; + Properties configProperty; + InstanceResourceDeploymentDescriptions deployedResource; + InstanceResourceDeploymentDescriptions deployedSharedResource; + }; + + typedef sequence < InstanceDeploymentDescription > InstanceDeploymentDescriptions; + + struct ComponentExternalPortEndpoint { + string portName; + }; + + typedef sequence < ComponentExternalPortEndpoint > ComponentExternalPortEndpoints; + + struct PlanSubcomponentPortEndpoint { + string portName; + boolean provider; + CCMComponentPortKind kind; + unsigned long instanceRef; + }; + + typedef sequence < PlanSubcomponentPortEndpoint > PlanSubcomponentPortEndpoints; + + struct ExternalReferenceEndpoint { + string location; + // @@added + // boolean provider; + // @@added + // string portName; + // @@added + // ::CORBA::StringSeq supportedType; + }; + + typedef sequence < ExternalReferenceEndpoint > ExternalReferenceEndpoints; + + struct ConnectionResourceDeploymentDescription { + string targetName; + string requirementName; + string resourceName; + Properties property; + }; + + typedef sequence < ConnectionResourceDeploymentDescription > ConnectionResourceDeploymentDescriptions; + + struct PlanConnectionDescription { + string name; + ::CORBA::StringSeq source; + Requirements deployRequirement; + ComponentExternalPortEndpoints externalEndpoint; + PlanSubcomponentPortEndpoints internalEndpoint; + ExternalReferenceEndpoints externalReference; + ConnectionResourceDeploymentDescriptions deployedResource; + }; + + typedef sequence < PlanConnectionDescription > PlanConnectionDescriptions; + + struct PlanSubcomponentPropertyReference { + string propertyName; + unsigned long instanceRef; + }; + + typedef sequence < PlanSubcomponentPropertyReference > PlanSubcomponentPropertyReferences; + + struct PlanPropertyMapping { + string name; + ::CORBA::StringSeq source; + string externalName; + PlanSubcomponentPropertyReferences delegatesTo; + }; + + typedef sequence < PlanPropertyMapping > PlanPropertyMappings; + + struct ImplementationDependency { + string requiredType; + }; + + typedef sequence < ImplementationDependency > ImplementationDependencies; + + struct ResourceDeploymentDescription { + string requirementName; + string resourceName; + Properties property; + }; + + typedef sequence < ResourceDeploymentDescription > ResourceDeploymentDescriptions; + + struct ArtifactDeploymentDescription { + string name; + ::CORBA::StringSeq location; + string node; + ::CORBA::StringSeq source; + Properties execParameter; + + // @@delete: + Requirements deployRequirement; + + ResourceDeploymentDescriptions deployedResource; + }; + + typedef sequence < ArtifactDeploymentDescription > ArtifactDeploymentDescriptions; + + // @@added + enum PlanLocalityKind { + PlanSameProcess, + PlanDifferentProcess, + PlanNoConstraint + }; + + // @@added + struct PlanLocality { + PlanLocalityKind constraint; + ::CORBA::ULongSeq constrainedInstanceRef; + }; + + struct DeploymentPlan { + string label; + string UUID; + ComponentInterfaceDescription realizes; + MonolithicDeploymentDescriptions implementation; + InstanceDeploymentDescriptions instance; + PlanConnectionDescriptions connection; + PlanPropertyMappings externalProperty; + ImplementationDependencies dependsOn; + ArtifactDeploymentDescriptions artifact; + Properties infoProperty; + // @added + // PlanLocalities localityConstraint; + }; +}; + +#endif /* DEPLOYMENT_DATA_IDL */ diff --git a/CIAO/DAnCE/Deployment/Deployment_DomainApplication.idl b/CIAO/DAnCE/Deployment/Deployment_DomainApplication.idl new file mode 100644 index 00000000000..7781907bafe --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_DomainApplication.idl @@ -0,0 +1,19 @@ +// $Id$ + +#ifndef DEPLOYMENT_DOMAINAPPLICATION_IDL +#define DEPLOYMENT_DOMAINAPPLICATION_IDL + +#include "Deployment_Application.idl" +#include "Deployment_Core.idl" + +module Deployment +{ + // @@added + interface DomainApplication : + Application + { + }; +}; + + +#endif diff --git a/CIAO/DAnCE/Deployment/Deployment_DomainApplicationManager.idl b/CIAO/DAnCE/Deployment/Deployment_DomainApplicationManager.idl new file mode 100644 index 00000000000..9e0ab0eab52 --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_DomainApplicationManager.idl @@ -0,0 +1,73 @@ +// $Id$ +#ifndef DOMAINAPPLICATIONMANAGER_IDL +#define DOMAINAPPLICATIONMANAGER_IDL + +#include "DAnCE/Deployment/Deployment.idl" +#include "DAnCE/Deployment/Deployment_NodeApplication.idl" +#include "DAnCE/Deployment/Deployment_ApplicationManager.idl" + +module Deployment { + // @@changed + // interface DomainApplicationManager : + // ApplicationManager + // { + // Applications getApplications (); + // DeploymentPlan getPlan (); + // }; + + /// CIAO 's DomainApplicationManager interface differs spec-defined interface + /// in the same that it also integrates the spec-defined interface for + /// DomainApplication into itself + /// This should be derived from ApplicationManager + interface DomainApplicationManager + { + DeploymentPlan getPlan (); + + /// This method is missing from CIAO but in the spec + /// Applications getApplications (); + + /// CIAO specific version of startLaunch implementation, this one + /// differs with spec-defined operation in the sense that it doesn't + /// return DomainApplication object reference. + void startLaunch (in Properties configProperty, in boolean start) + raises (ResourceNotAvailable, StartError, InvalidProperty); + + /// This method has CIAO specific arguments and is not spec compliant + void finishLaunch (in boolean start, + in boolean is_ReDAC) + raises (StartError, InvalidConnection); + + /// CIAO specific extension + void start () + raises (StartError); + + /// CIAO specific extention + /// Fetch NodeApplication based on the given node name + NodeApplication get_node_app (in string node_name) + raises (NoSuchName); + + /// CIAO specific extension, it differs with the spec defined one + /// for no input parameter. + void destroyApplication () + raises (StopError); + + /// CIAO specific extension to destroy NodeApplicationManager + void destroyManager () + raises (StopError); + + /// CIAO specific extension + /// Perform the actual redeployment and reconfiguration on the dommain level. + void perform_redeployment (in DeploymentPlan new_plan) + raises (PlanError, + InstallationFailure, + UnknownImplId, + ImplEntryPointNotFound, + InvalidConnection, + InvalidProperty, + ::Components::RemoveFailure); + }; + + typedef sequence < DomainApplicationManager > DomainApplicationManagers; +}; + +#endif /* DOMAINAPPLICATIONMANAGER_IDL */ diff --git a/CIAO/DAnCE/Deployment/Deployment_Events.idl b/CIAO/DAnCE/Deployment/Deployment_Events.idl new file mode 100644 index 00000000000..b0559dfe164 --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_Events.idl @@ -0,0 +1,95 @@ +// $Id$ + +/** + * @file Deployment_Events.idl + * + * @brief A collection of IDL data types for CIAO pub/sub services deployment. + * + * @author Gan Deng + */ + +#if !defined (CIAO_DEPLOYMENT_EVENT_SERVICES_IDL) +#define CIAO_DEPLOYMENT_EVENT_SERVICES_IDL + +#include "tao/StringSeq.pidl" + +// EventServiceType definition +#include + +module CIAO +{ + module DAnCE + { + /// Each element in the EventSourceSet denotes a event source id + typedef string EventSourceId; + + typedef sequence EventSourceSet; + + /// Event Filters + enum FilterType + { + CONJUNCTION, + DISJUNCTION, + LOGICAL_AND, + NEGATE + }; + + struct EventFilter + { + string name; + FilterType type; + EventSourceSet sources; + }; + typedef sequence EventFilters; + + struct AddrServer + { + string name; + unsigned short port; + string address; + }; + typedef sequence AddrServers; + + struct UDPSender + { + string name; + string addr_serv_id; + }; + typedef sequence UDPSenders; + + struct UPDReceiver + { + string name; + string addr_serv_id; + boolean is_multicast; + unsigned short listen_port; + }; + typedef sequence UPDReceivers; +/* + struct EventHandler + { + string name; + boolean is_multicast; + }; + typedef sequence EventHandlers; + */ + + /// CIAO specific extension to describe pub/sub services in the deployment + struct EventServiceDeploymentDescription + { + string name; + string node; + EventServiceType type; + string svc_cfg_file; + + EventFilters filters; + AddrServers addr_servs; + UDPSenders senders; + UPDReceivers receivers; + }; + typedef sequence < EventServiceDeploymentDescription > + EventServiceDeploymentDescriptions; + }; +}; + +#endif /* CIAO_DEPLOYMENT_EVENT_SERVICES_IDL */ diff --git a/CIAO/DAnCE/Deployment/Deployment_ExecutionManager.idl b/CIAO/DAnCE/Deployment/Deployment_ExecutionManager.idl new file mode 100644 index 00000000000..070b6a99100 --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_ExecutionManager.idl @@ -0,0 +1,63 @@ +// $Id$ +#ifndef EXECUTIONMANAGER_IDL +#define EXECUTIONMANAGER_IDL + +#include "DAnCE/Deployment/Deployment.idl" +#include "DAnCE/Deployment/Deployment_DomainApplicationManager.idl" + +module Deployment { + // @@changed + // interface ExecutionManager + // { + // DomainApplicationManager preparePlan (in DeploymentPlan plan, + // in ResourceCommitmentManager resourceCommitment) + // raises (ResourceNotAvailable, PlanError, StartError); + // DomainApplicationManagers getManagers (); + // void destroyManager (in DomainApplicationManager manager) + // raises (StopError); + // }; + + interface ExecutionManager { + /// @todo ResourceCommitmentManger is missing + DomainApplicationManager preparePlan (in DeploymentPlan plan, + in boolean commitResources) + raises (ResourceNotAvailable, PlanError, StartError); + + DomainApplicationManagers getManagers (); + + void destroyManager (in DomainApplicationManager manager) + raises (StopError); + + /// CIAO Specific extension + DomainApplicationManager getManager (in string plan_uuid) + raises (PlanNotExist); + + /// CIAO specific extention + /// Destroy ApplicationManagers by plan_uuid, the unique semantics of this + /// operation lies in the fact that if some components are + /// still up and running, then the ApplicationManagers won't be destroyed. + void destroyManagerByPlan (in string plan_uuid) + raises (StopError); + + /// CIAO specific extention + /// "Get" operation, return the DeploymentPlan + DeploymentPlan getPlan (in string plan_uuid); + + /// CIAO specific operation to handle dynamic system redeployment + /// and reconfiguration + /// This operation could handle dynamic redeployment, and this + /// is the operation exposed to clients directly. Other + /// "perform_redeployment" operation defined on DAM and NA + /// are implementaion details within DAnCE. + void perform_redeployment (in DeploymentPlan new_plan) + raises (PlanError, + InstallationFailure, + UnknownImplId, + ImplEntryPointNotFound, + InvalidConnection, + InvalidProperty, + ::Components::RemoveFailure); + }; +}; + +#endif /* EXECUTIONMANAGER_IDL */ diff --git a/CIAO/DAnCE/Deployment/Deployment_NodeApplication.idl b/CIAO/DAnCE/Deployment/Deployment_NodeApplication.idl new file mode 100644 index 00000000000..f80dda55369 --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_NodeApplication.idl @@ -0,0 +1,127 @@ +// $Id$ + +#if !defined (DEPLOYMENT_NODEAPPLICATION_IDL) +#define DEPLOYMENT_NODEAPPLICATION_IDL + +#include "Deployment_Application.idl" +#include "Deployment_Core.idl" +#include "Deployment_Container.idl" +#include "Deployment_Events.idl" + +// *************** Packaging and Deployment *************** +module Deployment +{ + /// CIAO specific extension + /// This struct captures the installation information of a particular + /// CIAO_Event_Service, as defined in + struct ESInstallationInfo + { + string id; + CIAO::EventServiceType type; + string svcconf; + //Properties es_config; + }; + + /// CIAO specific + struct NodeImplementationInfo + { + ContainerImplementationInfos impl_infos; + Properties nodeapp_config; + }; + + /// CIAO specific + typedef sequence CIAO_Event_Services; + + /// CIAO specific extension + typedef sequence ESInstallationInfos; + + // @@changed + //interface NodeApplication : Application + //{ + //}; + + interface NodeApplication : Application + { + /// CIAO specific extensions + readonly attribute ::Deployment::Properties properties; + + /// CIAO specific operation to handle dynamic system redeployment + /// and reconfiguration + /// @@ Initialize the nodeapplication, so it will know what + /// components it will create and home many of them are + /// there. However the real create action will take place when + /// start launch is called on NodeApplicationManager. + long init (); + + /// @@ This operation will be called by NodeApplicationManager + /// client to really start to create homes and components. + /// CIAO specific extensions + ComponentInfos install (in NodeImplementationInfo node_impl_info) + raises (UnknownImplId, + ImplEntryPointNotFound, + InstallationFailure, + ::Components::InvalidConfiguration, + ::Components::RemoveFailure); + + /// CIAO specific extension + /// This operation will create one or more CIAO_Event_Service objects + /// within the NodeApplication, which will be used to mediate the + /// communication of CCM events + CIAO::CIAO_Event_Service install_es ( + in CIAO::DAnCE::EventServiceDeploymentDescription es_info) + raises (InstallationFailure); + + /// CIAO specific extensions + ///@@ We know that Deployment::NodeApplicationManager will be returned, + /// however to avoid the size of the shared object of CIAO_Server. + /// we return an Object. + Object get_node_application_manager (); + + /// CIAO specific extension + Container create_container (in ::Deployment::Properties properties) + raises (::Components::CreateFailure, + ::Components::InvalidConfiguration); + + /// CIAO specific extension + void remove_container (in Container cref) + raises (::Components::RemoveFailure); + + /// CIAO specific extension + Containers get_containers (); + + /// CIAO specific extension + /// Remove a component instance from the NodeApplication + void remove_component (in string inst_name) + raises (::Components::RemoveFailure); + + /// CIAO specific extensions + /// Activate a component instance from the NodeApplication + void activate_component (in string inst_name) + raises (::Deployment::StartError); + + /// CIAO specific extensions + /// Passivate a component instance from the NodeApplication + void passivate_component (in string inst_name) + raises (::Components::RemoveFailure); + + /// Remove all containers, components and component homes. + /// Shuts down the ORB of the NodeApplication to terminate the process. + oneway void remove (); + + /// CIAO specific extension. This will enforce the component to + /// be activated (preactivate, activate, postactivated) before the assembly + /// is established + void ciao_preactivate () + raises (StartError); + + /// CIAO specific extension + void ciao_postactivate () + raises (StartError); + + /// CIAO specific extension + void ciao_passivate () + raises (StopError); + }; + +}; +#endif /* DEPLOYMENT_CORE_IDL */ diff --git a/CIAO/DAnCE/Deployment/Deployment_NodeApplicationManager.idl b/CIAO/DAnCE/Deployment/Deployment_NodeApplicationManager.idl new file mode 100644 index 00000000000..9fc2aa09581 --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_NodeApplicationManager.idl @@ -0,0 +1,63 @@ +// $Id$ +#ifndef NODEAPPLICATIONMANAGER_IDL +#define NODEAPPLICATIONMANAGER_IDL + +#include "Deployment_Core.idl" +#include "Deployment_ApplicationManager.idl" +#include "Deployment.idl" + +module Deployment { + /** + * CIAO specific structure to carry the scheduling params + * to set the process, required by RACE + * @struct Sched_Params + * @brief Carries Scheduling Params + */ + struct Sched_Params + { + long policy_; + long priority_; + long scope_; + long msec_; + }; + + // @@changed: + // interface NodeApplicationManager : + // ApplicationManager + // { + // }; + + interface NodeApplicationManager : + ApplicationManager + { + /// CIAO specific operation to handle dynamic system redeployment + /// and reconfiguration + /// This operation could handle dynamic redeployment for + /// a node-level deployment plan within a node + /// @param add_or_remove If true, we add new components only, vice vesa. + Application perform_redeployment (in Properties configProperty, + out Connections providedReference, + in boolean add_or_remove, + in boolean start) + raises (PlanError, + InstallationFailure, + UnknownImplId, + ImplEntryPointNotFound, + InvalidConnection, + InvalidProperty, + ::Components::RemoveFailure); + + /// CIAO specific operation to reset deployment plan + void reset_plan (in DeploymentPlan plan); + + /// CIAO specific operation to set the information of + /// "shared components" (through NodeManager) + void set_shared_components (in ComponentPlans components); + + /// CIAO specific function to set priority + /// of component, required by RACE + long set_priority (in string cid , in Sched_Params params); + }; +}; + +#endif /* NODEAPPLICATIONMANAGER_IDL */ diff --git a/CIAO/DAnCE/Deployment/Deployment_NodeManager.idl b/CIAO/DAnCE/Deployment/Deployment_NodeManager.idl new file mode 100644 index 00000000000..7c15dff0598 --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_NodeManager.idl @@ -0,0 +1,71 @@ +// $Id$ +#ifndef NODEMANAGER_IDL +#define NODEMANAGER_IDL + +#include "DAnCE/Deployment/Deployment.idl" +#include "DAnCE/Deployment/Deployment_Core.idl" +#include "DAnCE/Deployment/Deployment_TargetManager.idl" + +module Deployment { + + interface Logger { + }; + + interface NodeApplicationManager; + + //@@changed +// interface NodeManager { +// void joinDomain (in Domain theDomain, in TargetManager manager, in +// Logger log, in long updateInterval); +// void leaveDomain (); +// NodeApplicationManager preparePlan (in DeploymentPlan plan, in +// ResourceCommitmentManager resourceCommitment) +// raises (StartError, PlanError); +// void destroyManager (in NodeApplicationManager appManager) +// raises (StopError); +// Resources getDynamicResources (); +// }; + + interface NodeManager { + /* + * @todo 06-02-01 mentions a 4th argument:in long updateInterval + */ + void joinDomain (in Domain ciao_domain, + in TargetManager manager, + in Logger log); + + void leaveDomain (); + + /* + * @todo According to 06-02-01 there should also be a ResourceCommitmentManager + * as second argument + */ + NodeApplicationManager preparePlan (in DeploymentPlan plan) + raises (StartError, PlanError); + + /* + * @todo According to 06-02-01 InvalidReference shouldn't be here + */ + void destroyManager (in NodeApplicationManager appManager) + raises (StopError, InvalidReference); + + /// CIAO specific extension + /// Destroy the NAM and all the associated NAs with this child_plan + /// We can guarantee that the input DeploymentPlan is valid, since it + /// is fetched from the cached DeploymentPlan of DAM, which has been + /// validated before. + void destroyPlan (in DeploymentPlan plan) + raises (StopError); + + /// CIAO specific extension + /// Get all the shared components installed in this node + ComponentPlans get_shared_components (); + + /* + * @todo According to 06-02-01 missing is: + * Resources getDynamicResources (); + */ + }; +}; + +#endif /* NODEMANAGER_IDL */ diff --git a/CIAO/DAnCE/Deployment/Deployment_Packaging_Data.idl b/CIAO/DAnCE/Deployment/Deployment_Packaging_Data.idl new file mode 100644 index 00000000000..99619f4699c --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_Packaging_Data.idl @@ -0,0 +1,171 @@ +// $Id$ + +#ifndef PACKAGING_DATA_IDL +#define PACKAGING_DATA_IDL + +#include "DAnCE/Deployment/Deployment_Data.idl" + +module Deployment +{ + struct ComponentPackageImport { + ::CORBA::StringSeq location; + }; + + typedef sequence < ComponentPackageImport > ComponentPackageImports; + + struct SubcomponentPropertyReference { + string propertyName; + unsigned long instanceRef; + }; + + struct SubcomponentPortEndpoint { + string portName; + unsigned long instanceRef; + }; + + typedef sequence < SubcomponentPortEndpoint > SubcomponentPortEndpoints; + + typedef sequence < SubcomponentPropertyReference > SubcomponentPropertyReferences; + + struct AssemblyPropertyMapping { + string name; + string externalName; + SubcomponentPropertyReferences delegatesTo; + }; + + typedef sequence < AssemblyPropertyMapping > AssemblyPropertyMappings; + + struct NamedImplementationArtifact; + + typedef sequence < NamedImplementationArtifact > NamedImplementationArtifacts; + + struct ImplementationArtifactDescription { + string label; + string UUID; + ::CORBA::StringSeq location; + Properties execParameter; + Requirements deployRequirement; + NamedImplementationArtifacts dependsOn; + Properties infoProperty; + }; + + struct NamedImplementationArtifact { + string name; + ImplementationArtifactDescription referencedArtifact; + }; + + // @@changed: order of members + struct MonolithicImplementationDescription { + Properties nodeExecParameter; + NamedImplementationArtifacts primaryArtifact; + ImplementationRequirements deployRequirement; + Properties componentExecParameter; + }; + + typedef sequence < MonolithicImplementationDescription > MonolithicImplementationDescriptions; + + struct PackageConfiguration; + + typedef sequence < PackageConfiguration > PackageConfigurations; + + struct ComponentPackageDescription; + + typedef sequence < ComponentPackageDescription > ComponentPackageDescriptions; + + struct SubcomponentInstantiationDescription { + string name; + ComponentPackageDescriptions basePackage; + PackageConfigurations specializedConfig; + Requirements selectRequirement; + Properties configProperty; + ComponentPackageReferences referencedPackage; + ComponentPackageImports importedPackage; + }; + + typedef sequence < SubcomponentInstantiationDescription > SubcomponentInstantiationDescriptions; + + struct AssemblyConnectionDescription { + string name; + Requirements deployRequirement; + ComponentExternalPortEndpoints externalEndpoint; + SubcomponentPortEndpoints internalEndpoint; + ExternalReferenceEndpoints externalReference; + }; + + typedef sequence < AssemblyConnectionDescription > AssemblyConnectionDescriptions; + + // @@added + enum LocalityKind { + SameNodeAnyProcess, + SameNodeSameProcess, + SameNodeDifferentProcess, + DifferentNode, + DifferentProcess, + NoConstraint + }; + + // @@added + struct Locality { + LocalityKind constraint; + ::CORBA::ULongSeq constrainedInstanceRef; + }; + + struct ComponentAssemblyDescription { + SubcomponentInstantiationDescriptions instance; + AssemblyConnectionDescriptions connection; + AssemblyPropertyMappings externalProperty; + // @@added + // Localities localityConstraint; + }; + + typedef sequence < ComponentAssemblyDescription > ComponentAssemblyDescriptions; + + struct ComponentImplementationDescription { + string label; + string UUID; + ComponentInterfaceDescription implements; + ComponentAssemblyDescriptions assemblyImpl; + MonolithicImplementationDescriptions monolithicImpl; + Properties configProperty; + Capabilities capability; + ImplementationDependencies dependsOn; + Properties infoProperty; + }; + + + struct PackagedComponentImplementation { + string name; + ComponentImplementationDescription referencedImplementation; + }; + + + typedef sequence < PackagedComponentImplementation > PackagedComponentImplementations; + + struct ComponentPackageDescription { + string label; + string UUID; + ComponentInterfaceDescription realizes; + Properties configProperty; + PackagedComponentImplementations implementation; + Properties infoProperty; + }; + + + struct PackageConfiguration { + string label; + string UUID; + ComponentPackageDescriptions basePackage; + PackageConfigurations specializedConfig; + Requirements selectRequirement; + Properties configProperty; + ComponentPackageReferences reference; + // @@changed, delete previous + //ComponentPackageReferences referencedPackage; + // @@add + ComponentPackageImports importedPackage; + }; + + +}; + +#endif /* PACKAGING_DATA_IDL */ diff --git a/CIAO/DAnCE/Deployment/Deployment_PlanError.idl b/CIAO/DAnCE/Deployment/Deployment_PlanError.idl new file mode 100644 index 00000000000..2816db930dd --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_PlanError.idl @@ -0,0 +1,14 @@ +// $Id$ + +#ifndef DEPLOYMENT_PLANERROR_IDL +#define DEPLOYMENT_PLANERROR_IDL + +module Deployment { + + exception PlanError { + string name; + string reason; + }; +}; + +#endif /* DEPLOYMENT_PLANERROR_IDL */ diff --git a/CIAO/DAnCE/Deployment/Deployment_RepositoryManager.idl b/CIAO/DAnCE/Deployment/Deployment_RepositoryManager.idl new file mode 100644 index 00000000000..d9201af0702 --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_RepositoryManager.idl @@ -0,0 +1,40 @@ +// $Id$ +#ifndef REPOSITORY_MANAGER_IDL +#define REPOSITORY_MANAGER_IDL + +#include "DAnCE/Deployment/Deployment_Packaging_Data.idl" +#include "DAnCE/Deployment/Deployment.idl" + +module Deployment { + + exception NameExists { + }; + + exception PackageError { + string source; + string reason; + }; + + interface RepositoryManager { + void installPackage (in string installationName, + in string location, + in boolean replace) + raises (NameExists, PackageError); + void createPackage (in string installationName, + in PackageConfiguration package, + in string baseLocation, + in boolean replace) + raises (NameExists, PackageError); + PackageConfiguration findPackageByName (in string name) + raises (NoSuchName); + PackageConfiguration findPackageByUUID (in string UUID) + raises (NoSuchName); + ::CORBA::StringSeq findNamesByType (in string type); + ::CORBA::StringSeq getAllNames (); + ::CORBA::StringSeq getAllTypes (); + void deletePackage (in string installationName) + raises (NoSuchName); + }; +}; + +#endif /* REPOSITOR_MANAGER_IDL */ diff --git a/CIAO/DAnCE/Deployment/Deployment_ResourceCommitmentManager.idl b/CIAO/DAnCE/Deployment/Deployment_ResourceCommitmentManager.idl new file mode 100644 index 00000000000..8c1e9c29776 --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_ResourceCommitmentManager.idl @@ -0,0 +1,41 @@ +// $Id$ +// +#ifndef RESOURCE_COMMITMENT_MANAGER_IDL +#define RESOURCE_COMMITMENT_MANAGER_IDL + +#include "DAnCE/Deployment/Deployment_Base.idl" +#include "tao/AnyTypeCode/AnySeq.pidl" + +module Deployment { + + exception ResourceCommitmentFailure { + string reason; + long index; + string propertyName; + ::CORBA::AnySeq propertyValue; + }; + /** + * @struct ResourceAllocation + * @brief Identifies a resource within a domain that is + * allocated from and the amount it is allocated + */ + struct ResourceAllocation + { + string elementName; + string resourceName; + Properties property; + }; + + /// The Resource Allocation Sequence + typedef sequence ResourceAllocations; + + interface ResourceCommitmentManager { + void commitResources (in ResourceAllocations resources) + raises (ResourceCommitmentFailure); + void releaseResources (in ResourceAllocations resources) + raises (ResourceCommitmentFailure); + }; +}; + + +#endif diff --git a/CIAO/DAnCE/Deployment/Deployment_TargetData.idl b/CIAO/DAnCE/Deployment/Deployment_TargetData.idl new file mode 100644 index 00000000000..877600f93bf --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_TargetData.idl @@ -0,0 +1,65 @@ +//$Id$ + +#ifndef DEPLOYMENT_TARGETDATA_IDL +#define DEPLOYMENT_TARGETDATA_IDL + +#include "DAnCE/Deployment/Deployment_Base.idl" +#include "tao/StringSeq.pidl" +#include "tao/ULongSeq.pidl" + +module Deployment { + + struct Resource { + string name; + ::CORBA::StringSeq resourceType; + SatisfierProperties property; + }; + + typedef sequence < Resource > Resources; + + struct SharedResource { + string name; + ::CORBA::StringSeq resourceType; + ::CORBA::ULongSeq nodeRef; + SatisfierProperties property; + }; + typedef sequence < SharedResource > SharedResources; + + struct Node { + string name; + string label; + ::CORBA::ULongSeq sharedResourceRef; + ::CORBA::ULongSeq connectionRef; + Resources resource; + }; + typedef sequence < Node > Nodes; + + struct Interconnect { + string name; + string label; + ::CORBA::ULongSeq connectionRef; + ::CORBA::ULongSeq connectRef; + Resources resource; + }; + typedef sequence < Interconnect > Interconnects; + + struct Bridge { + string name; + string label; + ::CORBA::ULongSeq connectRef; + Resources resource; + }; + typedef sequence < Bridge > Bridges; + + struct Domain { + string UUID; + string label; + SharedResources sharedResource; + Nodes node; + Interconnects interconnect; + Bridges bridge; + Properties infoProperty; + }; +}; + +#endif /* DEPLOYMENT_TARGETDATA_IDL */ diff --git a/CIAO/DAnCE/Deployment/Deployment_TargetManager.idl b/CIAO/DAnCE/Deployment/Deployment_TargetManager.idl new file mode 100644 index 00000000000..1ed8c907808 --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_TargetManager.idl @@ -0,0 +1,76 @@ +// $Id$ + +#ifndef TARGETMANAGER_IDL +#define TARGETMANAGER_IDL + +#include "DAnCE/Deployment/Deployment_PlanError.idl" +#include "DAnCE/Deployment/Deployment_TargetData.idl" +#include "DAnCE/Deployment/Deployment_DeploymentPlan.idl" +// Only needed for ResourceNotAvailable but that should go, so this include also +#include "DAnCE/Deployment/Deployment_ApplicationManager.idl" + +module Deployment { + + /// @todo, UpdateAvailable is not in the spec, must be UpdateDynamic + enum DomainUpdateKind { + Add, + Delete, + UpdateAll, + // @@changed + UpdateDynamic + }; + + /** + * @todo The ResourceCommitmentManager is part of 06-04-01 and this is not + * part of the Target Manager yet + */ +// // @@add for conformance to 06-02-01 +// struct ResourceAllocation { +// string elementName; +// string resourceName; +// Properties property; +// }; + +// // @@added for conformance to 06-02-01 +// exception ResourceCommitmentFailure { +// string reason; +// long index; +// string propertyName; +// ::CORBA::AnySeq propertyValue; +// }; + +// // @@added for conformance to 06-02-01 +// interface ResourceCommitmentManager { +// void commitResources (in ResourceAllocations resources) +// raises (ResourceCommitmentFailure); + +// void releaseResources (in ResourceAllocations resources) +// raises (ResourceCommitmentFailure); +// }; + + interface TargetManager { + Domain getAllResources (); + Domain getAvailableResources (); + /// @todo 06-04-01 specifies this differently + void commitResources (in DeploymentPlan plan) + raises (ResourceNotAvailable, PlanError); + + // @@changed + // ResourceCommitmentManager commitResources (in ResourceAllocations + // resources) + // raises (ResourceCommitmentFailure); + + // @@added + // void destroyResourceCommitment (in ResourceCommitmentManager manager); + + /// @todo This is not part of 06-04-01 + // @@delete: + void releaseResources (in DeploymentPlan argname); + + void updateDomain (in ::CORBA::StringSeq elements, + in Domain domainSubset, + in DomainUpdateKind updateKind); + }; +}; + +#endif /* TARGETMANAGER_IDL */ diff --git a/CIAO/DAnCE/Deployment/Deployment_Target_Data.idl b/CIAO/DAnCE/Deployment/Deployment_Target_Data.idl new file mode 100644 index 00000000000..0e08248972a --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_Target_Data.idl @@ -0,0 +1,14 @@ +// $Id$ + +#ifndef TARGET_DATA_IDL +#define TARGET_DATA_IDL + +module Deployment { + + exception PlanError { + string name; + string reason; + }; +}; + +#endif /* TARGET_DATA_IDL */ diff --git a/CIAO/DAnCE/Deployment/Deployment_common.h b/CIAO/DAnCE/Deployment/Deployment_common.h new file mode 100644 index 00000000000..725b6afd953 --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_common.h @@ -0,0 +1,54 @@ +// $Id$ + +/** + * @file Deployment_common.h + * + * This file collects common type definitions used across different + * objects of DAnCE toolchain. + * + * @author Gan Deng + */ + +#ifndef DANCE_COMMON_H +#define DANCE_COMMON_H +#include /**/ "ace/pre.h" + +#include "ace/config-all.h" + +#if !defined ACE_LACKS_PRAGMA_ONCE +#pragma once +#endif /* ! ACE_LACKS_PRAGMA_ONCE */ + +/// A struct which captures the binding information about a component + +namespace CIAO +{ + /// A struct which captures the compnent binding information, which + /// is useful for inter-assembly connection setup + typedef struct _component_binding + { + _component_binding () + { + providedReference_ = 0; + } + + ACE_CString name_; + ACE_CString plan_uuid_; + ACE_CString node_; + + Deployment::Connections_var providedReference_; + + bool operator==(const struct _component_binding & comp) + { + if (this->name_ == comp.name_ && + this->plan_uuid_ == comp.plan_uuid_ && + this->node_ == comp.node_) + return true; + else + return false; + } + } Component_Binding_Info; +} + +#include /**/ "ace/post.h" +#endif /* DANCE_COMMON_H */ diff --git a/CIAO/DAnCE/Deployment/Deployment_stub_export.h b/CIAO/DAnCE/Deployment/Deployment_stub_export.h new file mode 100644 index 00000000000..12985a68b5b --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_stub_export.h @@ -0,0 +1,58 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl -s Deployment_stub +// ------------------------------ +#ifndef DEPLOYMENT_STUB_EXPORT_H +#define DEPLOYMENT_STUB_EXPORT_H + +#include "ace/config-all.h" + +#if defined (ACE_AS_STATIC_LIBS) && !defined (DEPLOYMENT_STUB_HAS_DLL) +# define DEPLOYMENT_STUB_HAS_DLL 0 +#endif /* ACE_AS_STATIC_LIBS && DEPLOYMENT_STUB_HAS_DLL */ + +#if !defined (DEPLOYMENT_STUB_HAS_DLL) +# define DEPLOYMENT_STUB_HAS_DLL 1 +#endif /* ! DEPLOYMENT_STUB_HAS_DLL */ + +#if defined (DEPLOYMENT_STUB_HAS_DLL) && (DEPLOYMENT_STUB_HAS_DLL == 1) +# if defined (DEPLOYMENT_STUB_BUILD_DLL) +# define Deployment_stub_Export ACE_Proper_Export_Flag +# define DEPLOYMENT_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define DEPLOYMENT_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* DEPLOYMENT_STUB_BUILD_DLL */ +# define Deployment_stub_Export ACE_Proper_Import_Flag +# define DEPLOYMENT_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define DEPLOYMENT_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* DEPLOYMENT_STUB_BUILD_DLL */ +#else /* DEPLOYMENT_STUB_HAS_DLL == 1 */ +# define Deployment_stub_Export +# define DEPLOYMENT_STUB_SINGLETON_DECLARATION(T) +# define DEPLOYMENT_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* DEPLOYMENT_STUB_HAS_DLL == 1 */ + +// Set DEPLOYMENT_STUB_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (DEPLOYMENT_STUB_NTRACE) +# if (ACE_NTRACE == 1) +# define DEPLOYMENT_STUB_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define DEPLOYMENT_STUB_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !DEPLOYMENT_STUB_NTRACE */ + +#if (DEPLOYMENT_STUB_NTRACE == 1) +# define DEPLOYMENT_STUB_TRACE(X) +#else /* (DEPLOYMENT_STUB_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define DEPLOYMENT_STUB_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (DEPLOYMENT_STUB_NTRACE == 1) */ + +#endif /* DEPLOYMENT_STUB_EXPORT_H */ + +// End of auto generated file. diff --git a/CIAO/DAnCE/Deployment/Deployment_svnt_export.h b/CIAO/DAnCE/Deployment/Deployment_svnt_export.h new file mode 100644 index 00000000000..e403dbf0c41 --- /dev/null +++ b/CIAO/DAnCE/Deployment/Deployment_svnt_export.h @@ -0,0 +1,58 @@ + +// -*- C++ -*- +// $Id$ +// Definition for Win32 Export directives. +// This file is generated automatically by generate_export_file.pl -s Deployment_svnt +// ------------------------------ +#ifndef DEPLOYMENT_SVNT_EXPORT_H +#define DEPLOYMENT_SVNT_EXPORT_H + +#include "ace/config-all.h" + +#if defined (ACE_AS_STATIC_LIBS) && !defined (DEPLOYMENT_SVNT_HAS_DLL) +# define DEPLOYMENT_SVNT_HAS_DLL 0 +#endif /* ACE_AS_STATIC_LIBS && DEPLOYMENT_SVNT_HAS_DLL */ + +#if !defined (DEPLOYMENT_SVNT_HAS_DLL) +# define DEPLOYMENT_SVNT_HAS_DLL 1 +#endif /* ! DEPLOYMENT_SVNT_HAS_DLL */ + +#if defined (DEPLOYMENT_SVNT_HAS_DLL) && (DEPLOYMENT_SVNT_HAS_DLL == 1) +# if defined (DEPLOYMENT_SVNT_BUILD_DLL) +# define Deployment_svnt_Export ACE_Proper_Export_Flag +# define DEPLOYMENT_SVNT_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) +# define DEPLOYMENT_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# else /* DEPLOYMENT_SVNT_BUILD_DLL */ +# define Deployment_svnt_Export ACE_Proper_Import_Flag +# define DEPLOYMENT_SVNT_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) +# define DEPLOYMENT_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +# endif /* DEPLOYMENT_SVNT_BUILD_DLL */ +#else /* DEPLOYMENT_SVNT_HAS_DLL == 1 */ +# define Deployment_svnt_Export +# define DEPLOYMENT_SVNT_SINGLETON_DECLARATION(T) +# define DEPLOYMENT_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) +#endif /* DEPLOYMENT_SVNT_HAS_DLL == 1 */ + +// Set DEPLOYMENT_SVNT_NTRACE = 0 to turn on library specific tracing even if +// tracing is turned off for ACE. +#if !defined (DEPLOYMENT_SVNT_NTRACE) +# if (ACE_NTRACE == 1) +# define DEPLOYMENT_SVNT_NTRACE 1 +# else /* (ACE_NTRACE == 1) */ +# define DEPLOYMENT_SVNT_NTRACE 0 +# endif /* (ACE_NTRACE == 1) */ +#endif /* !DEPLOYMENT_SVNT_NTRACE */ + +#if (DEPLOYMENT_SVNT_NTRACE == 1) +# define DEPLOYMENT_SVNT_TRACE(X) +#else /* (DEPLOYMENT_SVNT_NTRACE == 1) */ +# if !defined (ACE_HAS_TRACE) +# define ACE_HAS_TRACE +# endif /* ACE_HAS_TRACE */ +# define DEPLOYMENT_SVNT_TRACE(X) ACE_TRACE_IMPL(X) +# include "ace/Trace.h" +#endif /* (DEPLOYMENT_SVNT_NTRACE == 1) */ + +#endif /* DEPLOYMENT_SVNT_EXPORT_H */ + +// End of auto generated file. diff --git a/CIAO/DAnCE/Deployment/NodeApp_CB_Impl.cpp b/CIAO/DAnCE/Deployment/NodeApp_CB_Impl.cpp new file mode 100644 index 00000000000..c87e80f9333 --- /dev/null +++ b/CIAO/DAnCE/Deployment/NodeApp_CB_Impl.cpp @@ -0,0 +1,64 @@ +// $Id$ +#include "NodeApp_CB_Impl.h" + +CIAO::NodeApplication_Callback_Impl:: +NodeApplication_Callback_Impl (CORBA::ORB_ptr o, + PortableServer::POA_ptr p, + Deployment::NodeApplicationManager_ptr s, + const Deployment::Properties &properties) + ACE_THROW_SPEC ((CORBA::SystemException)) + : orb_ (CORBA::ORB::_duplicate (o)), + poa_ (PortableServer::POA::_duplicate (p)), + nam_ (Deployment::NodeApplicationManager::_duplicate (s)) +{ + try + { + //@@ Note: this properties is useless unless + // we have some specific properties for the callback obj. + Deployment::Properties * tmp = 0; + ACE_NEW_THROW_EX (tmp, + Deployment::Properties (properties), + CORBA::NO_MEMORY ()); + this->properties_ = tmp; + } + catch (const CORBA::Exception& ex) + { + ex._tao_print_exception ("NodeApp_CB_Impl::Constructor\t\n"); + throw; + } +} + +CIAO::NodeApplication_Callback_Impl::~NodeApplication_Callback_Impl () +{ +} + +PortableServer::POA_ptr +CIAO::NodeApplication_Callback_Impl::_default_POA (void) +{ + return PortableServer::POA::_duplicate (this->poa_.in ()); +} + +Deployment::NodeApplicationManager_ptr +CIAO::NodeApplication_Callback_Impl::register_node_application ( + Deployment::NodeApplication_ptr na, + Deployment::Properties_out properties) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + properties = this->properties_._retn (); + + this->nodeapp_ = Deployment::NodeApplication::_duplicate (na); + return Deployment::NodeApplicationManager::_duplicate (this->nam_.in ()); +} + +Deployment::NodeApplication_ptr +CIAO::NodeApplication_Callback_Impl::get_nodeapp_ref (void) +{ + // @@ (OO) How are you relinquishing ownership here? Since you're + // duplicating the reference you actually maintain + // ownership. Is the below comment wrong, or is the code + // wrong? + + // Relinquish the ownership of the nodeapplication reference. + //This method should only be called from the NodeApplicationManager. + return Deployment::NodeApplication::_duplicate (this->nodeapp_.in ()); +} diff --git a/CIAO/DAnCE/Deployment/NodeApp_CB_Impl.h b/CIAO/DAnCE/Deployment/NodeApp_CB_Impl.h new file mode 100644 index 00000000000..bd5c5fd7711 --- /dev/null +++ b/CIAO/DAnCE/Deployment/NodeApp_CB_Impl.h @@ -0,0 +1,78 @@ +// -*- C++ -*- +// $Id$ +//============================================================================= +/** + * @file NodeApp_CB_Impl.h + * + * @author Nanbor Wang + * Tao Lu + * + //===========================================================================*/ + + +#ifndef NODEAPPLICATION_CALLBACK_IMPL_H +#define NODEAPPLICATION_CALLBACK_IMPL_H +#include /**/ "ace/pre.h" + +#include "ace/config-all.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "CIAO_NodeApplication_CallBackS.h" + +namespace CIAO +{ + /** + * @class NodeApplication_Callback_Impl + * + * @brief A call back interface for NodeApplication + * @Note Here is no need to be thread safe since for every nodeapplication + * we will have an unique callback object. --Tao + */ + class Deployment_svnt_Export NodeApplication_Callback_Impl + : public virtual POA_CIAO::NodeApplication_Callback + { + public: + friend class NodeApplicationManager_Impl; + + /// Constructor. + NodeApplication_Callback_Impl (CORBA::ORB_ptr o, + PortableServer::POA_ptr p, + Deployment::NodeApplicationManager_ptr s, + const Deployment::Properties &properties) + ACE_THROW_SPEC ((CORBA::SystemException)); + + /// Get the containing POA. This operation does *not* increase + /// the reference count of the POA. + virtual PortableServer::POA_ptr _default_POA (void); + + /// Record the NodeApplication reference returned by the newly + /// spawned NodeApplication and give it back a reference to + /// NodeApplicationManager + Deployment::NodeApplicationManager_ptr + register_node_application (Deployment::NodeApplication_ptr na, + Deployment::Properties_out properties) + ACE_THROW_SPEC ((CORBA::SystemException)); + + Deployment::NodeApplication_ptr get_nodeapp_ref (void); + + protected: + /// Destructor. + ~NodeApplication_Callback_Impl (); + + CORBA::ORB_var orb_; + + PortableServer::POA_var poa_; + + Deployment::NodeApplicationManager_var nam_; + + Deployment::NodeApplication_var nodeapp_; + + Deployment::Properties_var properties_; + }; +} + +#include /**/ "ace/post.h" +#endif /* NODEAPPLICATION_CALLBACK_IMPL_H */ diff --git a/CIAO/DAnCE/DomainApplicationManager/Deployment_Configuration.h b/CIAO/DAnCE/DomainApplicationManager/Deployment_Configuration.h index af17d4357ed..cd6d13b9f0c 100644 --- a/CIAO/DAnCE/DomainApplicationManager/Deployment_Configuration.h +++ b/CIAO/DAnCE/DomainApplicationManager/Deployment_Configuration.h @@ -23,7 +23,7 @@ # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -#include "ciao/Deployment_NodeManagerC.h" +#include "DAnCE/Deployment/Deployment_NodeManagerC.h" #include "tao/Valuetype/ValueBase.h" #include "tao/Valuetype/Valuetype_Adapter_Impl.h" #include "ace/SString.h" diff --git a/CIAO/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.cpp b/CIAO/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.cpp index 31c6375c0c8..7a7a082eb25 100644 --- a/CIAO/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.cpp +++ b/CIAO/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.cpp @@ -2,7 +2,7 @@ #include "DomainApplicationManager_Impl.h" #include "ExecutionManager/Execution_Manager_Impl.h" -#include "ciao/Deployment_NodeApplicationManagerC.h" +#include "DAnCE/Deployment/Deployment_NodeApplicationManagerC.h" #include "ace/Null_Mutex.h" #include "ace/OS_NS_string.h" #include "ace/SString.h" diff --git a/CIAO/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.h b/CIAO/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.h index 0e578e299af..bc471e2f495 100644 --- a/CIAO/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.h +++ b/CIAO/DAnCE/DomainApplicationManager/DomainApplicationManager_Impl.h @@ -29,14 +29,14 @@ #include "ace/Functor.h" #include "ace/OS_NS_string.h" -#include "ciao/Deployment_DomainApplicationManagerS.h" -#include "ciao/Deployment_common.h" +#include "DAnCE/Deployment/Deployment_DomainApplicationManagerS.h" +#include "DAnCE/Deployment/Deployment_common.h" #include "tao/Valuetype/ValueBase.h" #include "tao/Valuetype/Valuetype_Adapter_Impl.h" #include "ciao/CIAO_common.h" -#include "ciao/Deployment_EventsC.h" +#include "DAnCE/Deployment/Deployment_EventsC.h" #include "Deployment_Configuration.h" #include "DomainApplicationManager_Export.h" diff --git a/CIAO/DAnCE/ExecutionManager/DAM_Map.h b/CIAO/DAnCE/ExecutionManager/DAM_Map.h index dc4e07e5155..734b953d912 100644 --- a/CIAO/DAnCE/ExecutionManager/DAM_Map.h +++ b/CIAO/DAnCE/ExecutionManager/DAM_Map.h @@ -13,7 +13,7 @@ #define CIAO_DAM_MAP_H #include /**/ "ace/pre.h" -#include "ciao/Deployment_DomainApplicationManagerC.h" +#include "DAnCE/Deployment/Deployment_DomainApplicationManagerC.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once diff --git a/CIAO/DAnCE/ExecutionManager/ExecutionManager.mpc b/CIAO/DAnCE/ExecutionManager/ExecutionManager.mpc index 736eaa5f885..2e2ce4693eb 100644 --- a/CIAO/DAnCE/ExecutionManager/ExecutionManager.mpc +++ b/CIAO/DAnCE/ExecutionManager/ExecutionManager.mpc @@ -1,7 +1,7 @@ // -*- MPC -*- // $Id$ -project(ExecutionManager): ciao_server_dnc, dance_extension_stub, ciao_domainapplicationmanager_dnc, ciao_executionmanager_stub { +project(ExecutionManager): ciao_server_dnc, dance_extension_stub, ciao_domainapplicationmanager_dnc, ciao_executionmanager_stub, ciaoexe { exename = Execution_Manager IDL_Files { diff --git a/CIAO/DAnCE/ExecutionManager/Execution_Manager_Impl.h b/CIAO/DAnCE/ExecutionManager/Execution_Manager_Impl.h index 5862d514421..21f30f82933 100644 --- a/CIAO/DAnCE/ExecutionManager/Execution_Manager_Impl.h +++ b/CIAO/DAnCE/ExecutionManager/Execution_Manager_Impl.h @@ -24,7 +24,7 @@ #include "DAM_Map.h" #include "ace/SString.h" -#include "ciao/Deployment_common.h" +#include "DAnCE/Deployment/Deployment_common.h" namespace CIAO { @@ -48,7 +48,7 @@ namespace CIAO const char * init_file); /// Template methods from ExecutionManagerDaemon, please see - /// $CIAO_ROOT/ciao/Deployment.idl for documentation + /// $CIAO_ROOT/DAnCE/Deployment/Deployment.idl for documentation virtual Deployment::DomainApplicationManager_ptr preparePlan (const Deployment::DeploymentPlan & plan, CORBA::Boolean commitResources); diff --git a/CIAO/DAnCE/Interfaces/ExecutionManagerDaemon.idl b/CIAO/DAnCE/Interfaces/ExecutionManagerDaemon.idl index 01942fd3afa..6bc330ff25e 100644 --- a/CIAO/DAnCE/Interfaces/ExecutionManagerDaemon.idl +++ b/CIAO/DAnCE/Interfaces/ExecutionManagerDaemon.idl @@ -8,7 +8,7 @@ * to terminate the process cleanly. */ -#include "ciao/Deployment_ExecutionManager.idl" +#include "DAnCE/Deployment/Deployment_ExecutionManager.idl" module CIAO { diff --git a/CIAO/DAnCE/Interfaces/NodeManagerDaemon.idl b/CIAO/DAnCE/Interfaces/NodeManagerDaemon.idl index 617df0f080f..2daf535031a 100644 --- a/CIAO/DAnCE/Interfaces/NodeManagerDaemon.idl +++ b/CIAO/DAnCE/Interfaces/NodeManagerDaemon.idl @@ -6,8 +6,8 @@ * @brief Controling interface for managing and controling CIAO daemon. */ -#include "ciao/Deployment_NodeManager.idl" -#include "ciao/Deployment_NodeApplicationManager.idl" +#include "DAnCE/Deployment/Deployment_NodeManager.idl" +#include "DAnCE/Deployment/Deployment_NodeApplicationManager.idl" module CIAO { diff --git a/CIAO/DAnCE/NodeApplication/Container_Impl.h b/CIAO/DAnCE/NodeApplication/Container_Impl.h index 7b8870e21c8..3ccfa27935f 100644 --- a/CIAO/DAnCE/NodeApplication/Container_Impl.h +++ b/CIAO/DAnCE/NodeApplication/Container_Impl.h @@ -25,8 +25,8 @@ # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -#include "ciao/Deployment_ContainerS.h" -#include "ciao/Deployment_NodeApplicationC.h" +#include "DAnCE/Deployment/Deployment_ContainerS.h" +#include "DAnCE/Deployment/Deployment_NodeApplicationC.h" #include "ciao/DeploymentC.h" #include "ciao/Session_Container.h" #include "ace/SString.h" diff --git a/CIAO/DAnCE/NodeApplication/NodeApp_Configurator.h b/CIAO/DAnCE/NodeApplication/NodeApp_Configurator.h index b3eb92b4482..918dbb1d860 100644 --- a/CIAO/DAnCE/NodeApplication/NodeApp_Configurator.h +++ b/CIAO/DAnCE/NodeApplication/NodeApp_Configurator.h @@ -20,7 +20,7 @@ # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -#include "ciao/Deployment_CoreC.h" +#include "DAnCE/Deployment/Deployment_CoreC.h" namespace CIAO { diff --git a/CIAO/DAnCE/NodeApplication/NodeApplication.mpc b/CIAO/DAnCE/NodeApplication/NodeApplication.mpc index a801e308c5c..a3a5f16b2f7 100644 --- a/CIAO/DAnCE/NodeApplication/NodeApplication.mpc +++ b/CIAO/DAnCE/NodeApplication/NodeApplication.mpc @@ -22,7 +22,7 @@ project(NodeApplicationLib): ciao_server_dnc, ciao_events_dnc, ciao_noop_configu } } -project(NodeApplication): ciao_server_dnc, ciao_events_dnc, ciao_nodeapplication, ciao_noop_configurator { +project(NodeApplication): ciao_server_dnc, ciao_events_dnc, ciao_nodeapplication, ciao_noop_configurator, ciaoexe { exename = NodeApplication Source_Files { diff --git a/CIAO/DAnCE/NodeApplication/NodeApplication_Core.cpp b/CIAO/DAnCE/NodeApplication/NodeApplication_Core.cpp index eef577b2cfd..fc7a8a380ea 100644 --- a/CIAO/DAnCE/NodeApplication/NodeApplication_Core.cpp +++ b/CIAO/DAnCE/NodeApplication/NodeApplication_Core.cpp @@ -1,6 +1,6 @@ // $Id$ -#include "ciao/CIAO_NodeApplication_CallBackC.h" +#include "DAnCE/Deployment/CIAO_NodeApplication_CallBackC.h" #include "ace/Sched_Params.h" #include "NodeApplication_Impl.h" #include "NodeApplication_Core.h" diff --git a/CIAO/DAnCE/NodeApplication/NodeApplication_Impl.cpp b/CIAO/DAnCE/NodeApplication/NodeApplication_Impl.cpp index dd12b651349..a47d7421df0 100644 --- a/CIAO/DAnCE/NodeApplication/NodeApplication_Impl.cpp +++ b/CIAO/DAnCE/NodeApplication/NodeApplication_Impl.cpp @@ -3,7 +3,7 @@ #include "NodeApplication_Impl.h" #include "ace/SString.h" #include "Container_Impl.h" -#include "Deployment_EventsC.h" +#include "DAnCE/Deployment/Deployment_EventsC.h" #include "ciaosvcs/Events/CIAO_RTEC/CIAO_RTEventC.h" #if !defined (__ACE_INLINE__) diff --git a/CIAO/DAnCE/NodeApplication/NodeApplication_Impl.h b/CIAO/DAnCE/NodeApplication/NodeApplication_Impl.h index 9b54353062f..70d5c1ee0fd 100644 --- a/CIAO/DAnCE/NodeApplication/NodeApplication_Impl.h +++ b/CIAO/DAnCE/NodeApplication/NodeApplication_Impl.h @@ -26,7 +26,7 @@ #include "ace/SString.h" #include "ace/Hash_Map_Manager_T.h" #include "tao/ORB.h" -#include "ciao/Deployment_NodeApplicationS.h" +#include "DAnCE/Deployment/Deployment_NodeApplicationS.h" #include "ciao/Server_init.h" #include "ciao/CIAO_common.h" #include "ciao/Object_Set_T.h" diff --git a/CIAO/DAnCE/NodeApplication/RTConfig_Manager.h b/CIAO/DAnCE/NodeApplication/RTConfig_Manager.h index b691eef2887..992bc49f8c1 100644 --- a/CIAO/DAnCE/NodeApplication/RTConfig_Manager.h +++ b/CIAO/DAnCE/NodeApplication/RTConfig_Manager.h @@ -25,7 +25,7 @@ #endif /* ACE_LACKS_PRAGMA_ONCE */ #include "tao/RTCORBA/RTCORBA.h" -#include "ciao/CIAO_ServerResourcesC.h" +#include "DAnCE/Deployment/CIAO_ServerResourcesC.h" #include "ace/Null_Mutex.h" #include "ace/SString.h" #include "ace/Hash_Map_Manager_T.h" diff --git a/CIAO/DAnCE/NodeApplication/RTNodeApp_Configurator.cpp b/CIAO/DAnCE/NodeApplication/RTNodeApp_Configurator.cpp index 741d4263188..04e7bd91f74 100644 --- a/CIAO/DAnCE/NodeApplication/RTNodeApp_Configurator.cpp +++ b/CIAO/DAnCE/NodeApplication/RTNodeApp_Configurator.cpp @@ -1,7 +1,7 @@ // $Id$ #include "RTNodeApp_Configurator.h" -#include "ciao/CIAO_ServerResourcesC.h" +#include "DAnCE/Deployment/CIAO_ServerResourcesC.h" #include "tao/RTPortableServer/RTPortableServer.h" CIAO::RTNodeApp_Configurator::~RTNodeApp_Configurator () diff --git a/CIAO/DAnCE/NodeApplicationManager/Containers_Info_Map.cpp b/CIAO/DAnCE/NodeApplicationManager/Containers_Info_Map.cpp index e31a2e6bc91..a433c9e180b 100644 --- a/CIAO/DAnCE/NodeApplicationManager/Containers_Info_Map.cpp +++ b/CIAO/DAnCE/NodeApplicationManager/Containers_Info_Map.cpp @@ -3,7 +3,7 @@ #include "Containers_Info_Map.h" #include "ciao/CIAO_Config.h" #include "ciao/CIAO_common.h" -#include "ciao/CIAO_ServerResourcesC.h" +#include "DAnCE/Deployment/CIAO_ServerResourcesC.h" //Added for HTTP #include "URL_Parser.h" //for parsing the URL diff --git a/CIAO/DAnCE/NodeApplicationManager/Containers_Info_Map.h b/CIAO/DAnCE/NodeApplicationManager/Containers_Info_Map.h index 93f6b70c5cc..237ecf07c86 100644 --- a/CIAO/DAnCE/NodeApplicationManager/Containers_Info_Map.h +++ b/CIAO/DAnCE/NodeApplicationManager/Containers_Info_Map.h @@ -19,8 +19,8 @@ //added for the HTTP support #include "ace/Message_Block.h" //for ACE_Message_Block -#include "ciao/Deployment_ContainerC.h" -#include "ciao/DeploymentC.h" +#include "DAnCE/Deployment/Deployment_ContainerC.h" +#include "DAnCE/Deployment/DeploymentC.h" #include "ace/SString.h" #include "CIAO_NAM_Export.h" diff --git a/CIAO/DAnCE/NodeApplicationManager/ImplementationInfo.cpp b/CIAO/DAnCE/NodeApplicationManager/ImplementationInfo.cpp index af905369dcf..0ae9f9b0175 100644 --- a/CIAO/DAnCE/NodeApplicationManager/ImplementationInfo.cpp +++ b/CIAO/DAnCE/NodeApplicationManager/ImplementationInfo.cpp @@ -3,7 +3,7 @@ #define CIAO_IMPLEMENTATION_INFO_CPP #include "ImplementationInfo.h" -#include "ciao/CIAO_ServerResourcesC.h" +#include "DAnCE/Deployment/CIAO_ServerResourcesC.h" #include "ace/SString.h" CIAO::NodeImplementationInfoHandler:: diff --git a/CIAO/DAnCE/NodeApplicationManager/ImplementationInfo.h b/CIAO/DAnCE/NodeApplicationManager/ImplementationInfo.h index 2b935d9d637..4109fee1a21 100644 --- a/CIAO/DAnCE/NodeApplicationManager/ImplementationInfo.h +++ b/CIAO/DAnCE/NodeApplicationManager/ImplementationInfo.h @@ -21,7 +21,7 @@ # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -#include "ciao/Deployment_NodeApplicationC.h" +#include "DAnCE/Deployment/Deployment_NodeApplicationC.h" #include "ace/SString.h" #include "ace/Hash_Map_Manager.h" #include "Containers_Info_Map.h" diff --git a/CIAO/DAnCE/NodeApplicationManager/NodeApplicationManager_Impl.cpp b/CIAO/DAnCE/NodeApplicationManager/NodeApplicationManager_Impl.cpp index cf6205e2f24..e9947b22260 100644 --- a/CIAO/DAnCE/NodeApplicationManager/NodeApplicationManager_Impl.cpp +++ b/CIAO/DAnCE/NodeApplicationManager/NodeApplicationManager_Impl.cpp @@ -8,7 +8,7 @@ #include "ace/Sched_Params.h" #include "ace/Vector_T.h" #include "ciao/Container_Base.h" -#include "ciao/CIAO_ServerResourcesC.h" +#include "DAnCE/Deployment/CIAO_ServerResourcesC.h" #include "NodeApplication/NodeApplication_Impl.h" #include "ace/Reactor.h" diff --git a/CIAO/DAnCE/NodeApplicationManager/NodeApplicationManager_Impl.h b/CIAO/DAnCE/NodeApplicationManager/NodeApplicationManager_Impl.h index a191aef6db0..c7ba6ec9e8c 100644 --- a/CIAO/DAnCE/NodeApplicationManager/NodeApplicationManager_Impl.h +++ b/CIAO/DAnCE/NodeApplicationManager/NodeApplicationManager_Impl.h @@ -29,8 +29,8 @@ #include "ace/Hash_Map_Manager_T.h" #include "ace/OS_NS_sys_wait.h" #include "ace/Process_Manager.h" -#include "ciao/NodeApp_CB_Impl.h" -#include "ciao/Deployment_NodeApplicationManagerS.h" +#include "DAnCE/Deployment/NodeApp_CB_Impl.h" +#include "DAnCE/Deployment/Deployment_NodeApplicationManagerS.h" #include "ciao/CIAO_common.h" #include "CIAO_NAM_Export.h" #include "ImplementationInfo.h" diff --git a/CIAO/DAnCE/NodeManager/BaseMonitor.h b/CIAO/DAnCE/NodeManager/BaseMonitor.h index d05e798b523..5fe6a950908 100644 --- a/CIAO/DAnCE/NodeManager/BaseMonitor.h +++ b/CIAO/DAnCE/NodeManager/BaseMonitor.h @@ -13,7 +13,7 @@ #ifndef MONITOR_BASEH #define MONITOR_BASEH #include "tao/ORB.h" -#include "ciao/Deployment_TargetManagerC.h" +#include "DAnCE/Deployment/Deployment_TargetManagerC.h" namespace CIAO { diff --git a/CIAO/DAnCE/NodeManager/MonitorCB.h b/CIAO/DAnCE/NodeManager/MonitorCB.h index 777625bc9e0..5d4f2d8a58a 100644 --- a/CIAO/DAnCE/NodeManager/MonitorCB.h +++ b/CIAO/DAnCE/NodeManager/MonitorCB.h @@ -14,7 +14,7 @@ #ifndef MONITOR_CBH #define MONITOR_CBH -#include "ciao/Deployment_TargetManagerC.h" +#include "DAnCE/Deployment/Deployment_TargetManagerC.h" /** * @namespace CIAO diff --git a/CIAO/DAnCE/NodeManager/MonitorController.h b/CIAO/DAnCE/NodeManager/MonitorController.h index 4da2dfb322f..85d82c2cf3b 100644 --- a/CIAO/DAnCE/NodeManager/MonitorController.h +++ b/CIAO/DAnCE/NodeManager/MonitorController.h @@ -16,9 +16,9 @@ #define MONITOR_CONTROLLER_H #include "NodeManager_svnt_export.h" -#include "Deployment_BaseC.h" +#include "DAnCE/Deployment/Deployment_BaseC.h" -#include "TargetManager/TargetManagerImplC.h" +#include "DAnCE/TargetManager/TargetManagerImplC.h" #include "ace/Task.h" #include "ace/Auto_Ptr.h" diff --git a/CIAO/DAnCE/NodeManager/NodeManager.mpc b/CIAO/DAnCE/NodeManager/NodeManager.mpc index e58cc2d27d4..bc08d94a07b 100644 --- a/CIAO/DAnCE/NodeManager/NodeManager.mpc +++ b/CIAO/DAnCE/NodeManager/NodeManager.mpc @@ -18,7 +18,7 @@ project(NodeManager_svnt): ciao_component_dnc, ciao_deployment_svnt, iortable, i } } -project(NodeManager): ciao_server_dnc, iortable, ifr_client, dance_extension_stub, ciao_nodeapplicationmanager, ciao_targetmanager_stub, ciao_nodemanager_stub { +project(NodeManager): ciao_server_dnc, iortable, ifr_client, dance_extension_stub, ciao_nodeapplicationmanager, ciao_targetmanager_stub, ciao_nodemanager_stub, ciaoexe { after += NodeManager_svnt libs += NodeManager exename = NodeManager diff --git a/CIAO/DAnCE/Plan_Generator/PCVisitorBase.h b/CIAO/DAnCE/Plan_Generator/PCVisitorBase.h index ac34dc4d261..a8bd64ad939 100644 --- a/CIAO/DAnCE/Plan_Generator/PCVisitorBase.h +++ b/CIAO/DAnCE/Plan_Generator/PCVisitorBase.h @@ -21,7 +21,7 @@ #define PC_VISITOR_BASE_H #include /**/ "ace/pre.h" -#include "ciao/DeploymentC.h" +#include "DAnCE/Deployment/DeploymentC.h" //======================================================================== /** diff --git a/CIAO/DAnCE/Plan_Generator/Plan_Generator_Impl.h b/CIAO/DAnCE/Plan_Generator/Plan_Generator_Impl.h index 3fbfef3a9c6..98392e4f549 100644 --- a/CIAO/DAnCE/Plan_Generator/Plan_Generator_Impl.h +++ b/CIAO/DAnCE/Plan_Generator/Plan_Generator_Impl.h @@ -10,7 +10,7 @@ #ifndef PLAN_GENERATOR_IMPL_H #define PLAN_GENERATOR_IMPL_H -#include "ciao/Deployment_RepositoryManagerC.h" +#include "DAnCE/Deployment/Deployment_RepositoryManagerC.h" #include "Plan_Generator_Impl_Export.h" namespace CIAO diff --git a/CIAO/DAnCE/Plan_Launcher/Plan_Launcher.mpc b/CIAO/DAnCE/Plan_Launcher/Plan_Launcher.mpc index f264738108a..4c86092d6b2 100644 --- a/CIAO/DAnCE/Plan_Launcher/Plan_Launcher.mpc +++ b/CIAO/DAnCE/Plan_Launcher/Plan_Launcher.mpc @@ -18,7 +18,7 @@ project(Plan_Launcher_Impl) : ciao_servant_dnc, ciao_config_handlers, ciao_execu } } -project(Plan_Launcher) : ciao_server_dnc, ciao_config_handlers, ciao_executionmanager_stub, ciao_plan_generator { +project(Plan_Launcher) : ciao_server_dnc, ciao_config_handlers, ciao_executionmanager_stub, ciao_plan_generator, ciaoexe { exename = plan_launcher after += Plan_Launcher_Impl diff --git a/CIAO/DAnCE/RepositoryManager/PC_Updater.cpp b/CIAO/DAnCE/RepositoryManager/PC_Updater.cpp index d2ce75e8666..1acd3d8c4b9 100644 --- a/CIAO/DAnCE/RepositoryManager/PC_Updater.cpp +++ b/CIAO/DAnCE/RepositoryManager/PC_Updater.cpp @@ -1,7 +1,7 @@ // $Id$ #include "ace/Log_Msg.h" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "PC_Updater.h" #include "PC_Updater_T.h" #include "ace/Containers_T.h" //for ACE_Double_Linked_List diff --git a/CIAO/DAnCE/RepositoryManager/PC_Updater.h b/CIAO/DAnCE/RepositoryManager/PC_Updater.h index 9c6d326f54d..5b22e249331 100644 --- a/CIAO/DAnCE/RepositoryManager/PC_Updater.h +++ b/CIAO/DAnCE/RepositoryManager/PC_Updater.h @@ -19,7 +19,7 @@ #define PC_UPDATER_H #include /**/ "ace/pre.h" -#include "ciao/DeploymentC.h" +#include "DAnCE/Deployment/DeploymentC.h" #include "ace/SString.h" //for the ACE_CString #include "ZIP_Wrapper.h" //Wrapper around zzip diff --git a/CIAO/DAnCE/RepositoryManager/RM_Helper.h b/CIAO/DAnCE/RepositoryManager/RM_Helper.h index f76764e3b11..47e46d35a6f 100644 --- a/CIAO/DAnCE/RepositoryManager/RM_Helper.h +++ b/CIAO/DAnCE/RepositoryManager/RM_Helper.h @@ -19,7 +19,7 @@ #define RM_HELPER_H_ -#include "ciao/Deployment_Packaging_DataC.h" +#include "DAnCE/Deployment/Deployment_Packaging_DataC.h" #include "tao/CDR.h" #include "ace/Message_Block.h" diff --git a/CIAO/DAnCE/RepositoryManager/RepositoryManager.mpc b/CIAO/DAnCE/RepositoryManager/RepositoryManager.mpc index b20b77e2d6c..d14d97843cd 100644 --- a/CIAO/DAnCE/RepositoryManager/RepositoryManager.mpc +++ b/CIAO/DAnCE/RepositoryManager/RepositoryManager.mpc @@ -4,7 +4,7 @@ //RepositoryManager project: implementation of a repository manager //compleint with the D&C spec -project (RepositoryManager) : ciao_server_dnc, ciao_config_handlers, zlib { +project (RepositoryManager) : ciao_server_dnc, ciao_config_handlers, zlib, ciaoexe { includes += $(CIAO_ROOT)/tools/Config_Handlers $(ACE_ROOT)/contrib/minizip //to circumvent an improper include resolution @@ -36,7 +36,7 @@ project (RepositoryManager) : ciao_server_dnc, ciao_config_handlers, zlib { // RMadmin project: a sample client for the RM. -project (RMAdmin) : ciao_servant_dnc, ciao_config_handlers { +project (RMAdmin) : ciao_servant_dnc, ciao_config_handlers, ciaoexe { exename = RMadmin after += RepositoryManager diff --git a/CIAO/DAnCE/RepositoryManager/RepositoryManagerDaemon.idl b/CIAO/DAnCE/RepositoryManager/RepositoryManagerDaemon.idl index 7f28e7d5683..9deac4abd0e 100644 --- a/CIAO/DAnCE/RepositoryManager/RepositoryManagerDaemon.idl +++ b/CIAO/DAnCE/RepositoryManager/RepositoryManagerDaemon.idl @@ -1,6 +1,6 @@ // $Id$ -#include "ciao/Deployment_RepositoryManager.idl" +#include "DAnCE/Deployment/Deployment_RepositoryManager.idl" module CIAO { diff --git a/CIAO/DAnCE/RepositoryManager/RepositoryManager_Impl.cpp b/CIAO/DAnCE/RepositoryManager/RepositoryManager_Impl.cpp index b00cf1f4dd4..048a357f4b3 100644 --- a/CIAO/DAnCE/RepositoryManager/RepositoryManager_Impl.cpp +++ b/CIAO/DAnCE/RepositoryManager/RepositoryManager_Impl.cpp @@ -31,8 +31,8 @@ #include "ace/Malloc_Allocator.h" //for ACE_New_Allocator //for the PackageConfiguration parsing -#include "ciao/Deployment_DataC.h" -#include "ciao/Deployment_Packaging_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_Packaging_DataC.h" #include "Package_Handlers/PCD_Handler.h" #include "RM_Helper.h" //to be able to externalize/internalize a PackageConfiguration diff --git a/CIAO/DAnCE/TargetManager/CmpClient.cpp b/CIAO/DAnCE/TargetManager/CmpClient.cpp index 3a2e8c44101..d221f9883d6 100644 --- a/CIAO/DAnCE/TargetManager/CmpClient.cpp +++ b/CIAO/DAnCE/TargetManager/CmpClient.cpp @@ -9,7 +9,7 @@ * TM to getAllResources and getAvailable resources */ -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "DAnCE/TargetManager/TargetManagerImplC.h" #include "ace/streams.h" #include "ace/FILE_IO.h" diff --git a/CIAO/DAnCE/TargetManager/DomainEvents.idl b/CIAO/DAnCE/TargetManager/DomainEvents.idl index 4fe089a86a6..bf973ebd0c4 100644 --- a/CIAO/DAnCE/TargetManager/DomainEvents.idl +++ b/CIAO/DAnCE/TargetManager/DomainEvents.idl @@ -10,7 +10,7 @@ #ifndef DOMAIN_CHANGE_IDL #define DOMAIN_CHANGE_IDL -#include "ciao/Deployment_TargetManager.idl" +#include "DAnCE/Deployment/Deployment_TargetManager.idl" #include "ciao/CCM_Events.idl" module CIAO diff --git a/CIAO/DAnCE/TargetManager/TargetManagerImpl.idl b/CIAO/DAnCE/TargetManager/TargetManagerImpl.idl index 53ad88d8b6e..5f01aee1948 100644 --- a/CIAO/DAnCE/TargetManager/TargetManagerImpl.idl +++ b/CIAO/DAnCE/TargetManager/TargetManagerImpl.idl @@ -11,7 +11,8 @@ #define TARGETMGR_IDL #include "ciao/Components.idl" -#include "ciao/Deployment_PlanError.idl" +#include "DAnCE/Deployment/Deployment_Target_Data.idl" +#include "TargetManagerExt.idl" #include "DomainEvents.idl" module CIAO diff --git a/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client.cpp b/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client.cpp index 74183901b80..0c4da950558 100644 --- a/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client.cpp +++ b/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client.cpp @@ -3,7 +3,7 @@ // This test tries to install a set of components in 2 different containers, which // is hosted in the same NodeApplication. -#include "Deployment_NodeApplicationC.h" +#include "DAnCE/Deployment/Deployment_NodeApplicationC.h" #include "Client_init.h" #include "NodeAppTest_RoundTripC.h" #include "ace/Get_Opt.h" diff --git a/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client_dynamic.cpp b/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client_dynamic.cpp index 366435fcd53..4feda3109de 100644 --- a/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client_dynamic.cpp +++ b/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client_dynamic.cpp @@ -1,6 +1,6 @@ // $Id$ -#include "Deployment_NodeApplicationC.h" +#include "DAnCE/Deployment/Deployment_NodeApplicationC.h" #include "Client_init.h" #include "NodeAppTest_RoundTripC.h" #include "ace/Get_Opt.h" diff --git a/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client_ex.cpp b/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client_ex.cpp index 73f0e5a9e85..28cf0fdc557 100644 --- a/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client_ex.cpp +++ b/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client_ex.cpp @@ -1,6 +1,6 @@ // $Id$ -#include "ciao/Deployment_NodeApplicationC.h" +#include "DAnCE/Deployment/Deployment_NodeApplicationC.h" #include "ciao/Client_init.h" #include "NodeAppTest_RoundTripC.h" #include "ace/Get_Opt.h" diff --git a/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client_simple.cpp b/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client_simple.cpp index e754e9e7d74..1670995ad58 100644 --- a/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client_simple.cpp +++ b/CIAO/DAnCE/tests/NodeApplicationTest/NodeApp_test_client_simple.cpp @@ -1,6 +1,6 @@ // $Id$ -#include "Deployment_NodeApplicationC.h" +#include "DAnCE/Deployment/Deployment_NodeApplicationC.h" #include "Client_init.h" #include "NodeAppTest_RoundTripC.h" #include "ace/Get_Opt.h" diff --git a/CIAO/MPC/config/ciao_client_dnc.mpb b/CIAO/MPC/config/ciao_client_dnc.mpb index 8e12607cf37..f7360e597b1 100644 --- a/CIAO/MPC/config/ciao_client_dnc.mpb +++ b/CIAO/MPC/config/ciao_client_dnc.mpb @@ -2,8 +2,8 @@ // $Id$ project : ifr_client, valuetype, pi, codecfactory { - after += CIAO_DnC_Client + after += CIAO_Client includes += $(CIAO_ROOT) $(CIAO_ROOT)/ciao idlflags += -I$(CIAO_ROOT) -I$(CIAO_ROOT)/ciao - libs += CIAO_DnC_Client + libs += CIAO_Client } diff --git a/CIAO/MPC/config/ciao_component_dnc.mpb b/CIAO/MPC/config/ciao_component_dnc.mpb index 9cabf46cf83..9749679bfcb 100644 --- a/CIAO/MPC/config/ciao_component_dnc.mpb +++ b/CIAO/MPC/config/ciao_component_dnc.mpb @@ -2,6 +2,6 @@ // $Id$ project : portableserver, ciao_server_dnc, ciao_events_dnc { - after += CIAO_DnC_Container - libs += CIAO_DnC_Container + after += CIAO_Container + libs += CIAO_Container } diff --git a/CIAO/MPC/config/ciao_container_dnc.mpb b/CIAO/MPC/config/ciao_container_dnc.mpb index 43365e736e3..1d4c2770456 100644 --- a/CIAO/MPC/config/ciao_container_dnc.mpb +++ b/CIAO/MPC/config/ciao_container_dnc.mpb @@ -2,6 +2,6 @@ // $Id$ project : portableserver, ciao_client_dnc, avoids_corba_e_compact, avoids_corba_e_micro { - after += CIAO_DnC_Container - libs += CIAO_DnC_Container + after += CIAO_Container + libs += CIAO_Container } diff --git a/CIAO/MPC/config/ciao_events_base_dnc.mpb b/CIAO/MPC/config/ciao_events_base_dnc.mpb index de2c8d5a7b9..9553e9fd826 100644 --- a/CIAO/MPC/config/ciao_events_base_dnc.mpb +++ b/CIAO/MPC/config/ciao_events_base_dnc.mpb @@ -2,6 +2,6 @@ // $Id$ project : orbsvcslib, ciao_container_dnc, ciao_client_dnc { - libs += CIAO_DnC_Events_Base - after += CIAO_DnC_Events_Base + libs += CIAO_Events_Base + after += CIAO_Events_Base } diff --git a/CIAO/MPC/config/ciao_events_dnc.mpb b/CIAO/MPC/config/ciao_events_dnc.mpb index 50ec7aad402..b54b68b2cb8 100644 --- a/CIAO/MPC/config/ciao_events_dnc.mpb +++ b/CIAO/MPC/config/ciao_events_dnc.mpb @@ -4,6 +4,6 @@ project : ifr_client, valuetype, pi, codecfactory, ciao_container_dnc, ciao_client_dnc, ciao_rtevent_dnc, naming { includes += $(CIAO_ROOT)/ciaosvcs/Events idlflags += -I$(CIAO_ROOT)/ciaosvcs/Events - libs += CIAO_DnC_Events - after += CIAO_DnC_Events + libs += CIAO_Events + after += CIAO_Events } diff --git a/CIAO/MPC/config/ciao_servant_dnc.mpb b/CIAO/MPC/config/ciao_servant_dnc.mpb index 6bc5c8d52a0..c6edf00271b 100644 --- a/CIAO/MPC/config/ciao_servant_dnc.mpb +++ b/CIAO/MPC/config/ciao_servant_dnc.mpb @@ -2,6 +2,6 @@ // $Id$ project : ciao_component_dnc, ciao_deployment_svnt, ciao_events_dnc, ciaocidldefaults, utils, naming { - after += CIAO_DnC_Server - libs += CIAO_DnC_Server + after += CIAO_Server + libs += CIAO_Server } diff --git a/CIAO/MPC/config/ciao_server_dnc.mpb b/CIAO/MPC/config/ciao_server_dnc.mpb index c35042c2c4a..7b19cab3743 100644 --- a/CIAO/MPC/config/ciao_server_dnc.mpb +++ b/CIAO/MPC/config/ciao_server_dnc.mpb @@ -2,6 +2,6 @@ // $Id$ project : ciao_client_dnc, ciao_deployment_svnt, utils, naming, ciao_events_dnc, avoids_minimum_corba, avoids_corba_e_compact, avoids_corba_e_micro { - after += CIAO_DnC_Server - libs += CIAO_DnC_Server + after += CIAO_Server + libs += CIAO_Server } diff --git a/CIAO/MPC/config/ciaoexe.mpb b/CIAO/MPC/config/ciaoexe.mpb new file mode 100644 index 00000000000..69433807610 --- /dev/null +++ b/CIAO/MPC/config/ciaoexe.mpb @@ -0,0 +1,4 @@ +// $Id$ +project { + install = $(CIAO_ROOT)/bin +} diff --git a/CIAO/MPC/config/xscdefaults.mpb b/CIAO/MPC/config/xscdefaults.mpb new file mode 100644 index 00000000000..e53f1eeedbf --- /dev/null +++ b/CIAO/MPC/config/xscdefaults.mpb @@ -0,0 +1,21 @@ +// -*- MPC -*- +// $Id$ + +project { + specific { + xsc_bin = $(XSC_ROOT)/bin/xsc-binary + xsc_dep = $(XSC_ROOT)/bin/xsc-binary + xsc_flags = --backend cxx --cxx-char-type ACE_TCHAR --cxx-generate-writer-types + } + + Define_Custom(XSC) { + automatic = 0 + dependent = $(XSC_DEP) + command = $(XSC_BIN) + commandflags = $(XSC_FLAGS) + inputext = .xsd + source_outputext = .cpp + header_outputext = .hpp + keyword xscflags = commandflags + } +} diff --git a/CIAO/ciao/CCM_Core.mpc b/CIAO/ciao/CCM_Core.mpc index 4ab2521597d..31e8ce1fdd9 100644 --- a/CIAO/ciao/CCM_Core.mpc +++ b/CIAO/ciao/CCM_Core.mpc @@ -1,7 +1,7 @@ // $Id$ -project (CIAO_DnC_Client) : taolib_with_idl, valuetype, ifr_client { - sharedname = CIAO_DnC_Client +project (CIAO_Client) : taolib_with_idl, valuetype, ifr_client { + sharedname = CIAO_Client idlflags += -Wb,stub_export_include=CIAO_Client_Export.h idlflags += -Wb,stub_export_macro=CIAO_CLIENT_Export idlflags += -Wb,skel_export_include=CIAO_Container_Export.h @@ -80,8 +80,8 @@ project (CIAO_DnC_Client) : taolib_with_idl, valuetype, ifr_client { } } -project (CIAO_DnC_Container) : orbsvcslib, portableserver, valuetype, ifr_client, codecfactory, pi, ciao_client_dnc, avoids_corba_e_compact, avoids_corba_e_micro { - sharedname = CIAO_DnC_Container +project (CIAO_Container) : orbsvcslib, portableserver, valuetype, ifr_client, codecfactory, pi, ciao_client_dnc, avoids_corba_e_compact, avoids_corba_e_micro { + sharedname = CIAO_Container idlflags += -Wb,export_include=CIAO_Container_Export.h idlflags += -Wb,export_macro=CIAO_CONTAINER_Export dynamicflags = CIAO_CONTAINER_BUILD_DLL @@ -171,121 +171,9 @@ project (CIAO_DnC_Container) : orbsvcslib, portableserver, valuetype, ifr_client } -// Valuetype library must be linked for this project. -// Please don't remove. -project(Deployment_stub) : taolib_with_idl, valuetype, ifr_client, ciao_events_base_dnc, ciao_client_dnc { - sharedname = CIAO_Deployment_stub - - // This is necessary for MPC to pull in rules.ciao.GNU - includes += $(CIAO_ROOT) - - idlflags += -Wb,stub_export_macro=Deployment_stub_Export - idlflags += -Wb,stub_export_include=Deployment_stub_export.h - idlflags += -Wb,skel_export_macro=Deployment_svnt_Export - idlflags += -Wb,skel_export_include=Deployment_svnt_export.h - - dynamicflags = DEPLOYMENT_STUB_BUILD_DLL - - IDL_Files { - idlflags += -SS -Sci - Deployment_Packaging_Data.idl - Deployment_PlanError.idl - } - - IDL_Files { - idlflags += -SS - Deployment_Base.idl - Deployment_Connection.idl - Deployment_Data.idl - Deployment_DeploymentPlan.idl - Deployment_TargetData.idl - Deployment_Events.idl - CIAO_ServerResources.idl - } - - IDL_Files { - Deployment_TargetManager.idl - CIAO_NodeApplication_CallBack.idl - Deployment_Core.idl - Deployment_NodeApplication.idl - Deployment_Application.idl - Deployment_Container.idl - Deployment.idl - Deployment_NodeManager.idl - Deployment_ApplicationManager.idl - Deployment_NodeApplicationManager.idl - Deployment_DomainApplicationManager.idl - Deployment_ExecutionManager.idl - Deployment_RepositoryManager.idl - Deployment_ResourceCommitmentManager.idl - } - - Source_Files { - Deployment_CoreC.cpp - Deployment_BaseC.cpp - Deployment_ConnectionC.cpp - Deployment_DataC.cpp - Deployment_DeploymentPlanC.cpp - Deployment_TargetDataC.cpp - Deployment_NodeApplicationC.cpp - Deployment_ApplicationC.cpp - Deployment_ContainerC.cpp - Deployment_Packaging_DataC.cpp - Deployment_PlanErrorC.cpp - DeploymentC.cpp - Deployment_TargetManagerC.cpp - Deployment_NodeManagerC.cpp - Deployment_NodeApplicationManagerC.cpp - Deployment_ApplicationManagerC.cpp - Deployment_DomainApplicationManagerC.cpp - Deployment_ExecutionManagerC.cpp - Deployment_RepositoryManagerC.cpp - CIAO_NodeApplication_CallBackC.cpp - CIAO_ServerResourcesC.cpp - Deployment_EventsC.cpp - Deployment_ResourceCommitmentManagerC.cpp - } -} - -// CIAO_DnC_Client library must be linked for this project. -// Please don't remove. -project(Deployment_svnt) : taolib_with_idl, portableserver, valuetype, ifr_client, ciao_deployment_stub, ciao_events_dnc, ciao_client_dnc, naming { - sharedname = CIAO_Deployment_svnt - dynamicflags = DEPLOYMENT_SVNT_BUILD_DLL - idlflags += -Wb,stub_export_macro=Deployment_stub_Export - idlflags += -Wb,stub_export_include=Deployment_stub_export.h - idlflags += -Wb,skel_export_macro=Deployment_svnt_Export - idlflags += -Wb,skel_export_include=Deployment_svnt_export.h - - // This is necessary for MPC to pull in rules.ciao.GNU - includes += $(CIAO_ROOT) - - IDL_Files { - } - - Source_Files { - Deployment_CoreS.cpp - Deployment_ApplicationS.cpp - Deployment_NodeApplicationS.cpp - Deployment_ContainerS.cpp - DeploymentS.cpp - Deployment_RepositoryManagerS.cpp - Deployment_NodeManagerS.cpp - Deployment_NodeApplicationManagerS.cpp - Deployment_ApplicationManagerS.cpp - Deployment_DomainApplicationManagerS.cpp - Deployment_ExecutionManagerS.cpp - NodeApp_CB_Impl.cpp - Deployment_TargetManagerS.cpp - CIAO_NodeApplication_CallBackS.cpp - Deployment_ResourceCommitmentManagerS.cpp - } - -} - -project (CIAO_DnC_Server) : orbsvcslib, portableserver, valuetype, naming, ifr_client, utils, ciao_container_dnc, ciao_client_dnc, ciao_deployment_svnt, avoids_minimum_corba, avoids_corba_e_compact, avoids_corba_e_micro { +project (CIAO_Server) : orbsvcslib, portableserver, valuetype, naming, ifr_client, utils, ciao_container_dnc, ciao_client_dnc, ciao_deployment_svnt, avoids_minimum_corba, avoids_corba_e_compact, avoids_corba_e_micro { includes += $(CIAO_ROOT) - sharedname = CIAO_DnC_Server + sharedname = CIAO_Server idlflags += -Wb,export_include=CIAO_Server_Export.h -Wb,export_macro=CIAO_SERVER_Export dynamicflags = CIAO_SERVER_BUILD_DLL diff --git a/CIAO/ciao/CCM_Events.idl b/CIAO/ciao/CCM_Events.idl index 4abc6ca4115..de0f894daf2 100644 --- a/CIAO/ciao/CCM_Events.idl +++ b/CIAO/ciao/CCM_Events.idl @@ -57,14 +57,9 @@ module Components EventConsumerBase get_consumer (in FeatureName sink_name) raises (InvalidName); - /** - * @todo Mismatch with 06-04-01, AlreadyConnected is not listed in the - * spec with this operation. - */ Cookie subscribe (in FeatureName publisher_name, in EventConsumerBase subscriber) raises (InvalidName, - AlreadyConnected, InvalidConnection, ExceededConnectionLimit); diff --git a/CIAO/ciao/CIAO_NodeApplication_CallBack.idl b/CIAO/ciao/CIAO_NodeApplication_CallBack.idl deleted file mode 100644 index 35cf8afabdd..00000000000 --- a/CIAO/ciao/CIAO_NodeApplication_CallBack.idl +++ /dev/null @@ -1,23 +0,0 @@ -// $Id$ - -/** - * This IDL file is used to combine the NodeApplication - * interface with the NodeApplicationManager interface. - * - * NodeApplicationManager will be spawn NodeApplication. - * The call back object will be used to get the objectref of - * NodeApplication. - */ - -#include "ciao/Deployment_NodeApplication.idl" -#include "ciao/Deployment_NodeApplicationManager.idl" - -module CIAO -{ - interface NodeApplication_Callback - { - Deployment::NodeApplicationManager - register_node_application (in Deployment::NodeApplication na, - out Deployment::Properties properties); - }; -}; diff --git a/CIAO/ciao/CIAO_ServerResources.idl b/CIAO/ciao/CIAO_ServerResources.idl deleted file mode 100644 index de14402f835..00000000000 --- a/CIAO/ciao/CIAO_ServerResources.idl +++ /dev/null @@ -1,237 +0,0 @@ -// $Id$ - -/** - * @file CIAO_ServerResources.idl - * - * @brief A collection of IDL data types for - * - * @author Nanbor Wang - */ - -#if !defined (CIAO_SERVERRESOURCES_IDL) -#define CIAO_SERVERRESOURCES_IDL - -#include - -module CIAO -{ - module DAnCE - { - /** - * @brief A single command line argument corresponds to a string as - * in the case of "argv". - */ - typedef string CommandlineArg; - /** - * @brief A list of command line arguments which a - * NodeApplicationManager will use to start up the NodeApplication - * this list is associated to. The command line arguments will be - * appended to the command line in order. - */ - typedef sequence CommandlineArgs; - - /** - * @brief A string containing the filename of the svc.conf file the - * NodeApplication uses. The current approach of specifying - * svc.conf filename directly some harder problems such as - * distribution of svc.conf files and the relative/absolute path to - * the svc.conf file (the ServerResrouces xml document will have to - * assume the svc.conf file will be available at specific location.) - */ - typedef string SvcconfURI; - - /** - * @brief enumeration of ORB Resource Types (ORT) supported in RT - * extension. - */ - enum ORBResourceType - { - ORT_THREADPOOL, - ORT_THREADPOOLWITHLANES, - ORT_CONNECTIONBANDS - }; - - typedef short Priority; - - /** - * @brief Define a threadpool resource that an ORB must provide - */ - struct ORS_Threadpool - { - string Id; - unsigned long stacksize; - unsigned long static_threads; - unsigned long dynamic_threads; - Priority default_priority; - boolean allow_request_buffering; - unsigned long max_buffered_requests; - unsigned long max_request_buffer_size; - }; - - typedef sequence ORS_ThreadpoolSeq; - - /** - * @brief Defines the configuration of a threadpool lane. We need - * to redefine it here to avoid dependency to RTCORBA library. - */ - struct ORS_ThreadpoolLane - { - Priority lane_priority; - unsigned long static_threads; - unsigned long dynamic_threads; - }; - - /** - * @brief Defines a set of threadpool lanes. We need - * to redefine it here to avoid dependency to RTCORBA library. - */ - typedef sequence ORS_ThreadpoolLanes; - - /** - * @brief Defines a Threadpool with Lanes resource that an ORB - * must provide. - */ - struct ORS_ThreadpoolWithLanes - { - string Id; - unsigned long stacksize; - ORS_ThreadpoolLanes threadpool_lanes; - boolean allow_borrowing; - boolean allow_request_buffering; - unsigned long max_buffered_requests; - unsigned long max_request_buffer_size; - }; - - typedef sequence ORS_ThreadpoolWithLanesSeq; - - /** - * @brief Define a priority band for BandedConnection policies. - */ - struct ORS_PriorityBand - { - Priority low; - Priority high; - }; - /** - * @brief Define a list of priority bands for BandedConnection - * policies. - */ - typedef sequence ORS_PriorityBands; - - /** - * @brief Define the information needed to create a - * BandedConnection policy. This info can be referred to via its - * name (Id). - */ - struct ORS_ConnectionBands - { - string Id; - ORS_PriorityBands bands; - }; - - typedef sequence ORS_ConnectionBandsSeq; - - /** - * @brief Collection of resources managed by the NodeApplication - * ORB. - */ - struct ORBResource - { - ORS_ThreadpoolSeq threadpool_list; - - ORS_ThreadpoolWithLanesSeq threadpool_with_lanes_list; - - ORS_ConnectionBandsSeq connection_bands_list; - }; - - typedef sequence ORBResources; - - // ================================================================= - - /** - * @brief PolicyType supported by DAnCE extension. Again, we are - * redefining these value to avoid dependencies to various ORB - * modules such as RTCORBA. - */ - const CORBA::PolicyType PRIORITY_MODEL_POLICY_TYPE = 40; - const CORBA::PolicyType THREADPOOL_POLICY_TYPE = 41; - const CORBA::PolicyType PRIORITY_BANDED_CONNECTION_POLICY_TYPE = 45; - - enum PriorityModel - { - CLIENT_PROPAGATED, - SERVER_DECLARED - }; - - /** - * @brief Defines data required for creating a PriorityModel Policy - */ - struct PriorityModelPolicyDef - { - PriorityModel priority_model; - Priority server_priority; - }; - - /** - * @brief Define data required for creating a Threadpool policy - */ - struct ThreadpoolPolicyDef - { - string Id; // Threadpool name defined in - // ORBResource - }; - - /** - * @brief Define data required for creating a PriorityBandedConnection - * policy - */ - struct PriorityBandedConnectionPolicyDef - { - string Id; // PriorityBands name defined in - // ORBResource - }; - - union PolicyDef switch (CORBA::PolicyType) - { - case 40: PriorityModelPolicyDef PriorityModelDef; - case 41: ThreadpoolPolicyDef ThreadpoolDef; - case 45: PriorityBandedConnectionPolicyDef PriorityBandedConnectionDef; - }; - - /** - * @brief Define a set of policy definitions. - */ - typedef sequence PolicyDefs; - - /** - * @brief A policy set is named. - */ - struct PolicySet - { - string Id; // Name of this policy set - PolicyDefs policies; - }; - - /** - * @brief A list of all policy sets. - */ - typedef sequence PolicySets; - - struct ORBConfigs - { - ORBResources orb_resources; - PolicySets policy_set; - }; - - struct ServerResource - { - string Id; - - CommandlineArgs args; - SvcconfURI svcconf; - ORBConfigs orb_config; - }; - }; -}; - -#endif /* CIAO_SERVERRESOURCES_IDL */ diff --git a/CIAO/ciao/Container_Base.h b/CIAO/ciao/Container_Base.h index 9594187126e..c29b4953747 100644 --- a/CIAO/ciao/Container_Base.h +++ b/CIAO/ciao/Container_Base.h @@ -20,6 +20,7 @@ #include /**/ "ace/pre.h" #include "ciao/CCM_ContainerC.h" + #include "ciao/CIAO_Server_Export.h" #include "tao/PortableServer/PortableServer.h" diff --git a/CIAO/ciao/Context_Impl_Base.h b/CIAO/ciao/Context_Impl_Base.h index 1c5bcf9ea4b..d8cdb036cd0 100644 --- a/CIAO/ciao/Context_Impl_Base.h +++ b/CIAO/ciao/Context_Impl_Base.h @@ -77,6 +77,11 @@ namespace CIAO virtual CORBA::Boolean is_caller_in_role (const char *role); virtual void set_rollback_only (); + + virtual CORBA::Object * + resolve_service_reference (const char *service_id) + ACE_THROW_SPEC ((CORBA::SystemException)); + virtual CORBA::Object_ptr resolve_service_reference(const char *service_id); diff --git a/CIAO/ciao/Deployment.idl b/CIAO/ciao/Deployment.idl deleted file mode 100644 index ada45d81f43..00000000000 --- a/CIAO/ciao/Deployment.idl +++ /dev/null @@ -1,36 +0,0 @@ -// $Id$ - -#ifndef DEPLOYMENT_IDL -#define DEPLOYMENT_IDL - -#include "ciao/Deployment_Packaging_Data.idl" -#include "ciao/Deployment_PlanError.idl" - -module Deployment { - - exception InvalidProperty { - string name; - string reason; - }; - - exception NoSuchName { - }; - - exception InvalidReference { - }; - - /// Below exception types are CIAO specific - exception PlanNotExist { - }; - - /// CIAO specific struct type used for shared component management - /// mapping the name of component to its plan_uuid - struct ComponentPlan - { - string name; - string plan_uuid; - }; - typedef sequence < ComponentPlan > ComponentPlans; -}; - -#endif /* DEPLOYMENT_IDL */ diff --git a/CIAO/ciao/Deployment_Application.idl b/CIAO/ciao/Deployment_Application.idl deleted file mode 100644 index df03887cf7d..00000000000 --- a/CIAO/ciao/Deployment_Application.idl +++ /dev/null @@ -1,34 +0,0 @@ -// $Id$ - -#if !defined (DEPLOYMENT_APPLICATION_IDL) -#define DEPLOYMENT_APPLICATION_IDL - -#include "ciao/Deployment_Connection.idl" - -module Deployment -{ - exception StartError - { - string name; - string reason; - }; - - exception InvalidConnection - { - string name; - string reason; - }; - - interface Application - { - void finishLaunch (in Connections providedReference, - in boolean start, - in boolean is_ReDAC) - raises (StartError, InvalidConnection); - void start () - raises (StartError); - }; - typedef sequence < Application > Applications; -}; - -#endif /* DEPLOYMENT_APPLICATION_IDL */ diff --git a/CIAO/ciao/Deployment_ApplicationManager.idl b/CIAO/ciao/Deployment_ApplicationManager.idl deleted file mode 100644 index 98fe247f2f9..00000000000 --- a/CIAO/ciao/Deployment_ApplicationManager.idl +++ /dev/null @@ -1,28 +0,0 @@ -// $Id$ -#ifndef DEPLOYMENT_APPLICATIONMANAGER_IDL -#define DEPLOYMENT_APPLICATIONMANAGER_IDL - -#include "ciao/Deployment_Core.idl" -#include "ciao/Deployment.idl" - -module Deployment { - exception ResourceNotAvailable { - string name; - string resourceType; - string propertyName; - string elementName; - string resourceName; - }; - - interface ApplicationManager { - /// @todo Spec mentions another few exceptions in the raises cluase - Application startLaunch (in Properties configProperty, - out Connections providedReference, - in boolean start) - raises (ResourceNotAvailable, StartError, InvalidProperty); - void destroyApplication (in Application app) - raises (StopError); - }; -}; - -#endif /* DEPLOYMENT_APPLICATIONMANAGER_IDL */ diff --git a/CIAO/ciao/Deployment_Base.idl b/CIAO/ciao/Deployment_Base.idl deleted file mode 100644 index cb98f5d05b6..00000000000 --- a/CIAO/ciao/Deployment_Base.idl +++ /dev/null @@ -1,40 +0,0 @@ -//$Id$ - -#ifndef DEPLOYMENT_BASE_IDL -#define DEPLOYMENT_BASE_IDL - -module Deployment { - - struct Property - { - string name; - any value; - }; - typedef sequence < Property > Properties; - - struct Requirement { - string resourceType; - string name; - Properties property; - }; - typedef sequence < Requirement > Requirements; - - enum SatisfierPropertyKind { - Quantity, - Capacity, - Minimum, - Maximum, - _Attribute, - Selection - }; - - struct SatisfierProperty { - string name; - SatisfierPropertyKind kind; - boolean dynamic; - any value; - }; - typedef sequence < SatisfierProperty > SatisfierProperties; -}; - -#endif /* DEPLOYMENT_BASE_IDL */ diff --git a/CIAO/ciao/Deployment_Connection.idl b/CIAO/ciao/Deployment_Connection.idl deleted file mode 100644 index 769c331a748..00000000000 --- a/CIAO/ciao/Deployment_Connection.idl +++ /dev/null @@ -1,43 +0,0 @@ -// $Id$ - -#if !defined (DEPLOYMENT_CONNECTION_IDL) -#define DEPLOYMENT_CONNECTION_IDL - -#include "ciao/Deployment_DeploymentPlan.idl" -#include - -// *************** Packaging and Deployment *************** -module Deployment -{ - typedef sequence < Object > Endpoints; - //typedef Object Endpoint; - - // CIAO's specific type defition. - // To avoid the connection info in the plan being passed to the - // local node and to make the implementation not very cumbersome - // I changed the connection struct to include some extra informations. - struct Connection - { - string instanceName; - string portName; - CCMComponentPortKind kind; - - string endpointInstanceName; // CIAO specific extension - string endpointPortName; // CIAO specific extension - - // the endpoints member is change to endpoint. - // Since we will not have more than 1 objref in there. - Object endpoint; - - // A wrapper facade interface to provision different event - // communication mechanisms, including RTEC, etc. - CIAO::CIAO_Event_Service event_service; - - // The properties of this connection, particularly useful - // to speicfy QoS properties of pub/sub service connections. - Properties config; - }; - - typedef sequence < Connection > Connections; -}; -#endif /* DEPLOYMENT_CONNECTION_IDL */ diff --git a/CIAO/ciao/Deployment_Container.idl b/CIAO/ciao/Deployment_Container.idl deleted file mode 100644 index 55ac0c7dfdd..00000000000 --- a/CIAO/ciao/Deployment_Container.idl +++ /dev/null @@ -1,93 +0,0 @@ -// $Id$ - -#if !defined (DEPLOYMENT_CONTAINER_IDL) -#define DEPLOYMENT_CONTAINER_IDL - -#include "ciao/Deployment_Application.idl" -#include "ciao/Deployment_Core.idl" - -// *************** Packaging and Deployment *************** -module Deployment -{ - interface NodeApplication; // Forward decl. - - /// CIAO specific - struct Component_Info - { - string component_instance_name; - Components::CCMObject component_ref; - }; - - /// CIAO specific - typedef sequence < Component_Info > ComponentInfos; - - /// CIAO specific - struct ComponentImplementationInfo - { - string component_instance_name; - string executor_dll; - string executor_entrypt; - string servant_dll; - string servant_entrypt; - Properties component_config; - // Properties home_config; //ignored for now. - }; - - /// CIAO specific - typedef sequence ComponentImplementationInfos; - - // ContainerImplementationInfo contains a list of components to be installed and - // policy configuration for the container which hosts these components - /// CIAO specific - struct ContainerImplementationInfo - { - ComponentImplementationInfos impl_infos; - Properties container_config; - }; - - /// CIAO specific - typedef sequence ContainerImplementationInfos; - - /// CIAO specific interface, which could deal with installing multiple - /// containers into a single NodeApplication. - interface Container - { - readonly attribute ::Deployment::Properties properties; - - /// Get the NodeApplication which created us - NodeApplication get_node_application (); - - /// Initialize the container with policies - // long init (in ::CORBA::PolicyList policies); - - // NW: The following should be component specific info because the - // container has already been created and initialized at this - // time. So there's not much container configuration to be done - // at this stage. - //@@ The container_impl_info will contain - //1 component instance name as the key. - //2 dll/so name of the exec - //3 entry point of the exec - //4 dll/so name of the svnt - //5 entry point of the svnt - //6 Poosible other configuration for container/home/component - - /// Install all homes and components - Deployment::ComponentInfos install (in ContainerImplementationInfo container_impl_info) - raises (UnknownImplId, - ImplEntryPointNotFound, - InstallationFailure, - ::Components::InvalidConfiguration); - - /// Remove all homes and components - void remove () - raises (::Components::RemoveFailure); - - /// Remove a component instance - void remove_component (in string inst_name) - raises (::Components::RemoveFailure); - }; - - typedef sequence Containers; -}; -#endif /* DEPLOYMENT_CONTAINER_IDL */ diff --git a/CIAO/ciao/Deployment_Core.idl b/CIAO/ciao/Deployment_Core.idl deleted file mode 100644 index fbaa5ea18c6..00000000000 --- a/CIAO/ciao/Deployment_Core.idl +++ /dev/null @@ -1,49 +0,0 @@ -// $Id$ - -#if !defined (DEPLOYMENT_CORE_IDL) -#define DEPLOYMENT_CORE_IDL - -#include "ciao/CCM_Component.idl" -#include "ciao/Deployment_TargetData.idl" -#include "ciao/Deployment_Data.idl" -#include "ciao/Deployment_Application.idl" - -// *************** Packaging and Deployment *************** -module Deployment -{ - // Typeprefix Components "omg.org"; - // OMG threw these things away, didn't it. - - /// CIAO specific - exception UnknownImplId - { - string name; - string reason; - }; - - /// CIAO specific - exception InstallationFailure - { - string name; - string reason; - }; - - /// CIAO specific - exception ImplEntryPointNotFound - { - string name; - string reason; - }; - - /** - * The StopError exception is raised if a problem occurred while terminating - * an application, either during the terminate operation of the - * ApplicationManager or during the destroyManager operation of the - * ExecutionManager. - */ - exception StopError { - string name; - string reason; - }; -}; -#endif /* DEPLOYMENT_CORE_IDL */ diff --git a/CIAO/ciao/Deployment_Data.idl b/CIAO/ciao/Deployment_Data.idl deleted file mode 100644 index 0c296a815ba..00000000000 --- a/CIAO/ciao/Deployment_Data.idl +++ /dev/null @@ -1,40 +0,0 @@ -// $Id$ - -#ifndef DEPLOYMENT_DATA_IDL -#define DEPLOYMENT_DATA_IDL - -#include "ciao/Deployment_DeploymentPlan.idl" - -module Deployment { - - struct ComponentPackageReference { - string requiredUUID; - string requiredName; - string requiredType; - }; - - typedef sequence < ComponentPackageReference > ComponentPackageReferences; - - typedef sequence < ResourceUsageKind > ResourceUsageKinds; - - struct ImplementationRequirement { - ResourceUsageKinds resourceUsage; - string resourcePort; - string componentPort; - string resourceType; - string name; - Properties property; - }; - - typedef sequence < ImplementationRequirement > ImplementationRequirements; - - struct Capability { - string name; - ::CORBA::StringSeq resourceType; - SatisfierProperties property; - }; - - typedef sequence < Capability > Capabilities; -}; - -#endif /* DEPLOYMENT_DATA_IDL */ diff --git a/CIAO/ciao/Deployment_DeploymentPlan.idl b/CIAO/ciao/Deployment_DeploymentPlan.idl deleted file mode 100644 index e8dbde8ae2b..00000000000 --- a/CIAO/ciao/Deployment_DeploymentPlan.idl +++ /dev/null @@ -1,192 +0,0 @@ -// $Id$ - -#ifndef DEPLOYMENT_DEPLOYMENTPLAN_IDL -#define DEPLOYMENT_DEPLOYMENTPLAN_IDL - -#include "ciao/Deployment_Base.idl" -#include "tao/StringSeq.pidl" -#include "tao/ULongSeq.pidl" -#include "tao/Typecode_types.pidl" - -module Deployment { - - enum CCMComponentPortKind - { - Facet, - SimplexReceptacle, - MultiplexReceptacle, - EventEmitter, - EventPublisher, - EventConsumer - }; - - struct ComponentPortDescription { - string name; - string specificType; - ::CORBA::StringSeq supportedType; - boolean provider; - boolean exclusiveProvider; - boolean exclusiveUser; - boolean optional; - CCMComponentPortKind kind; - }; - - typedef sequence < ComponentPortDescription > ComponentPortDescriptions; - - struct ComponentPropertyDescription { - string name; - CORBA::TypeCode type; - }; - - typedef sequence < ComponentPropertyDescription > ComponentPropertyDescriptions; - - struct ComponentInterfaceDescription { - string label; - string UUID; - string specificType; - ::CORBA::StringSeq supportedType; - ::CORBA::StringSeq idlFile; - Properties configProperty; - ComponentPortDescriptions port; - ComponentPropertyDescriptions property; - Properties infoProperty; - }; - - struct MonolithicDeploymentDescription { - string name; - ::CORBA::StringSeq source; - ::CORBA::ULongSeq artifactRef; - Properties execParameter; - Requirements deployRequirement; - }; - - typedef sequence < MonolithicDeploymentDescription > MonolithicDeploymentDescriptions; - - enum ResourceUsageKind { - None, - InstanceUsesResource, - ResourceUsesInstance, - PortUsesResource, - ResourceUsesPort - }; - - struct InstanceResourceDeploymentDescription { - ResourceUsageKind resourceUsage; - string requirementName; - string resourceName; - Properties property; - }; - - typedef sequence < InstanceResourceDeploymentDescription > InstanceResourceDeploymentDescriptions; - - struct InstanceDeploymentDescription { - string name; - string node; - ::CORBA::StringSeq source; - unsigned long implementationRef; - Properties configProperty; - InstanceResourceDeploymentDescriptions deployedResource; - InstanceResourceDeploymentDescriptions deployedSharedResource; - }; - - typedef sequence < InstanceDeploymentDescription > InstanceDeploymentDescriptions; - - struct ComponentExternalPortEndpoint { - string portName; - }; - - typedef sequence < ComponentExternalPortEndpoint > ComponentExternalPortEndpoints; - - struct PlanSubcomponentPortEndpoint { - string portName; - boolean provider; - CCMComponentPortKind kind; - unsigned long instanceRef; - }; - - typedef sequence < PlanSubcomponentPortEndpoint > PlanSubcomponentPortEndpoints; - - struct ExternalReferenceEndpoint { - string location; - }; - - typedef sequence < ExternalReferenceEndpoint > ExternalReferenceEndpoints; - - struct ConnectionResourceDeploymentDescription { - string targetName; - string requirementName; - string resourceName; - Properties property; - }; - - typedef sequence < ConnectionResourceDeploymentDescription > ConnectionResourceDeploymentDescriptions; - - struct PlanConnectionDescription { - string name; - ::CORBA::StringSeq source; - Requirements deployRequirement; - ComponentExternalPortEndpoints externalEndpoint; - PlanSubcomponentPortEndpoints internalEndpoint; - ExternalReferenceEndpoints externalReference; - ConnectionResourceDeploymentDescriptions deployedResource; - }; - - typedef sequence < PlanConnectionDescription > PlanConnectionDescriptions; - - struct PlanSubcomponentPropertyReference { - string propertyName; - unsigned long instanceRef; - }; - - typedef sequence < PlanSubcomponentPropertyReference > PlanSubcomponentPropertyReferences; - - struct PlanPropertyMapping { - string name; - ::CORBA::StringSeq source; - string externalName; - PlanSubcomponentPropertyReferences delegatesTo; - }; - - typedef sequence < PlanPropertyMapping > PlanPropertyMappings; - - struct ImplementationDependency { - string requiredType; - }; - - typedef sequence < ImplementationDependency > ImplementationDependencies; - - struct ResourceDeploymentDescription { - string requirementName; - string resourceName; - Properties property; - }; - - typedef sequence < ResourceDeploymentDescription > ResourceDeploymentDescriptions; - - struct ArtifactDeploymentDescription { - string name; - ::CORBA::StringSeq location; - string node; - ::CORBA::StringSeq source; - Properties execParameter; - Requirements deployRequirement; - ResourceDeploymentDescriptions deployedResource; - }; - - typedef sequence < ArtifactDeploymentDescription > ArtifactDeploymentDescriptions; - - struct DeploymentPlan { - string label; - string UUID; - ComponentInterfaceDescription realizes; - MonolithicDeploymentDescriptions implementation; - InstanceDeploymentDescriptions instance; - PlanConnectionDescriptions connection; - PlanPropertyMappings externalProperty; - ImplementationDependencies dependsOn; - ArtifactDeploymentDescriptions artifact; - Properties infoProperty; - }; -}; - -#endif /* DEPLOYMENT_DATA_IDL */ diff --git a/CIAO/ciao/Deployment_DomainApplicationManager.idl b/CIAO/ciao/Deployment_DomainApplicationManager.idl deleted file mode 100644 index 65b7523959e..00000000000 --- a/CIAO/ciao/Deployment_DomainApplicationManager.idl +++ /dev/null @@ -1,65 +0,0 @@ -// $Id$ -#ifndef DOMAINAPPLICATIONMANAGER_IDL -#define DOMAINAPPLICATIONMANAGER_IDL - -#include "ciao/Deployment.idl" -#include "ciao/Deployment_NodeApplication.idl" -#include "ciao/Deployment_ApplicationManager.idl" - -module Deployment { - /// CIAO 's DomainApplicationManager interface differs spec-defined interface - /// in the same that it also integrates the spec-defined interface for - /// DomainApplication into itself - /// This should be derived from ApplicationManager - interface DomainApplicationManager - { - DeploymentPlan getPlan (); - - /// This method is missing from CIAO but in the spec - /// Applications getApplications (); - - /// CIAO specific version of startLaunch implementation, this one - /// differs with spec-defined operation in the sense that it doesn't - /// return DomainApplication object reference. - void startLaunch (in Properties configProperty, in boolean start) - raises (ResourceNotAvailable, StartError, InvalidProperty); - - /// This method has CIAO specific arguments and is not spec compliant - void finishLaunch (in boolean start, - in boolean is_ReDAC) - raises (StartError, InvalidConnection); - - /// CIAO specific extension - void start () - raises (StartError); - - /// CIAO specific extention - /// Fetch NodeApplication based on the given node name - NodeApplication get_node_app (in string node_name) - raises (NoSuchName); - - /// CIAO specific extension, it differs with the spec defined one - /// for no input parameter. - void destroyApplication () - raises (StopError); - - /// CIAO specific extension to destroy NodeApplicationManager - void destroyManager () - raises (StopError); - - /// CIAO specific extension - /// Perform the actual redeployment and reconfiguration on the dommain level. - void perform_redeployment (in DeploymentPlan new_plan) - raises (PlanError, - InstallationFailure, - UnknownImplId, - ImplEntryPointNotFound, - InvalidConnection, - InvalidProperty, - ::Components::RemoveFailure); - }; - - typedef sequence < DomainApplicationManager > DomainApplicationManagers; -}; - -#endif /* DOMAINAPPLICATIONMANAGER_IDL */ diff --git a/CIAO/ciao/Deployment_Events.idl b/CIAO/ciao/Deployment_Events.idl deleted file mode 100644 index b0559dfe164..00000000000 --- a/CIAO/ciao/Deployment_Events.idl +++ /dev/null @@ -1,95 +0,0 @@ -// $Id$ - -/** - * @file Deployment_Events.idl - * - * @brief A collection of IDL data types for CIAO pub/sub services deployment. - * - * @author Gan Deng - */ - -#if !defined (CIAO_DEPLOYMENT_EVENT_SERVICES_IDL) -#define CIAO_DEPLOYMENT_EVENT_SERVICES_IDL - -#include "tao/StringSeq.pidl" - -// EventServiceType definition -#include - -module CIAO -{ - module DAnCE - { - /// Each element in the EventSourceSet denotes a event source id - typedef string EventSourceId; - - typedef sequence EventSourceSet; - - /// Event Filters - enum FilterType - { - CONJUNCTION, - DISJUNCTION, - LOGICAL_AND, - NEGATE - }; - - struct EventFilter - { - string name; - FilterType type; - EventSourceSet sources; - }; - typedef sequence EventFilters; - - struct AddrServer - { - string name; - unsigned short port; - string address; - }; - typedef sequence AddrServers; - - struct UDPSender - { - string name; - string addr_serv_id; - }; - typedef sequence UDPSenders; - - struct UPDReceiver - { - string name; - string addr_serv_id; - boolean is_multicast; - unsigned short listen_port; - }; - typedef sequence UPDReceivers; -/* - struct EventHandler - { - string name; - boolean is_multicast; - }; - typedef sequence EventHandlers; - */ - - /// CIAO specific extension to describe pub/sub services in the deployment - struct EventServiceDeploymentDescription - { - string name; - string node; - EventServiceType type; - string svc_cfg_file; - - EventFilters filters; - AddrServers addr_servs; - UDPSenders senders; - UPDReceivers receivers; - }; - typedef sequence < EventServiceDeploymentDescription > - EventServiceDeploymentDescriptions; - }; -}; - -#endif /* CIAO_DEPLOYMENT_EVENT_SERVICES_IDL */ diff --git a/CIAO/ciao/Deployment_ExecutionManager.idl b/CIAO/ciao/Deployment_ExecutionManager.idl deleted file mode 100644 index 39c2ba6053b..00000000000 --- a/CIAO/ciao/Deployment_ExecutionManager.idl +++ /dev/null @@ -1,52 +0,0 @@ -// $Id$ -#ifndef EXECUTIONMANAGER_IDL -#define EXECUTIONMANAGER_IDL - -#include "ciao/Deployment.idl" -#include "ciao/Deployment_DomainApplicationManager.idl" - -module Deployment { - interface ExecutionManager { - /// @todo ResourceCommitmentManger is missing - DomainApplicationManager preparePlan (in DeploymentPlan plan, - in boolean commitResources) - raises (ResourceNotAvailable, PlanError, StartError); - - DomainApplicationManagers getManagers (); - - void destroyManager (in DomainApplicationManager manager) - raises (StopError); - - /// CIAO Specific extension - DomainApplicationManager getManager (in string plan_uuid) - raises (PlanNotExist); - - /// CIAO specific extention - /// Destroy ApplicationManagers by plan_uuid, the unique semantics of this - /// operation lies in the fact that if some components are - /// still up and running, then the ApplicationManagers won't be destroyed. - void destroyManagerByPlan (in string plan_uuid) - raises (StopError); - - /// CIAO specific extention - /// "Get" operation, return the DeploymentPlan - DeploymentPlan getPlan (in string plan_uuid); - - /// CIAO specific operation to handle dynamic system redeployment - /// and reconfiguration - /// This operation could handle dynamic redeployment, and this - /// is the operation exposed to clients directly. Other - /// "perform_redeployment" operation defined on DAM and NA - /// are implementaion details within DAnCE. - void perform_redeployment (in DeploymentPlan new_plan) - raises (PlanError, - InstallationFailure, - UnknownImplId, - ImplEntryPointNotFound, - InvalidConnection, - InvalidProperty, - ::Components::RemoveFailure); - }; -}; - -#endif /* EXECUTIONMANAGER_IDL */ diff --git a/CIAO/ciao/Deployment_NodeApplication.idl b/CIAO/ciao/Deployment_NodeApplication.idl deleted file mode 100644 index 7c0a0db93b7..00000000000 --- a/CIAO/ciao/Deployment_NodeApplication.idl +++ /dev/null @@ -1,122 +0,0 @@ -// $Id$ - -#if !defined (DEPLOYMENT_NODEAPPLICATION_IDL) -#define DEPLOYMENT_NODEAPPLICATION_IDL - -#include "Deployment_Application.idl" -#include "Deployment_Core.idl" -#include "Deployment_Container.idl" -#include "Deployment_Events.idl" - -// *************** Packaging and Deployment *************** -module Deployment -{ - /// CIAO specific extension - /// This struct captures the installation information of a particular - /// CIAO_Event_Service, as defined in - struct ESInstallationInfo - { - string id; - CIAO::EventServiceType type; - string svcconf; - //Properties es_config; - }; - - /// CIAO specific - struct NodeImplementationInfo - { - ContainerImplementationInfos impl_infos; - Properties nodeapp_config; - }; - - /// CIAO specific - typedef sequence CIAO_Event_Services; - - /// CIAO specific extension - typedef sequence ESInstallationInfos; - - interface NodeApplication : Application - { - /// CIAO specific extensions - readonly attribute ::Deployment::Properties properties; - - /// CIAO specific operation to handle dynamic system redeployment - /// and reconfiguration - /// @@ Initialize the nodeapplication, so it will know what - /// components it will create and home many of them are - /// there. However the real create action will take place when - /// start launch is called on NodeApplicationManager. - long init (); - - /// @@ This operation will be called by NodeApplicationManager - /// client to really start to create homes and components. - /// CIAO specific extensions - ComponentInfos install (in NodeImplementationInfo node_impl_info) - raises (UnknownImplId, - ImplEntryPointNotFound, - InstallationFailure, - ::Components::InvalidConfiguration, - ::Components::RemoveFailure); - - /// CIAO specific extension - /// This operation will create one or more CIAO_Event_Service objects - /// within the NodeApplication, which will be used to mediate the - /// communication of CCM events - CIAO::CIAO_Event_Service install_es ( - in CIAO::DAnCE::EventServiceDeploymentDescription es_info) - raises (InstallationFailure); - - /// CIAO specific extensions - ///@@ We know that Deployment::NodeApplicationManager will be returned, - /// however to avoid the size of the shared object of CIAO_Server. - /// we return an Object. - Object get_node_application_manager (); - - /// CIAO specific extension - Container create_container (in ::Deployment::Properties properties) - raises (::Components::CreateFailure, - ::Components::InvalidConfiguration); - - /// CIAO specific extension - void remove_container (in Container cref) - raises (::Components::RemoveFailure); - - /// CIAO specific extension - Containers get_containers (); - - /// CIAO specific extension - /// Remove a component instance from the NodeApplication - void remove_component (in string inst_name) - raises (::Components::RemoveFailure); - - /// CIAO specific extensions - /// Activate a component instance from the NodeApplication - void activate_component (in string inst_name) - raises (::Deployment::StartError); - - /// CIAO specific extensions - /// Passivate a component instance from the NodeApplication - void passivate_component (in string inst_name) - raises (::Components::RemoveFailure); - - /// Remove all containers, components and component homes. - /// Shuts down the ORB of the NodeApplication to terminate the process. - oneway void remove (); - - /// CIAO specific extension. This will enforce the component to - /// be activated (preactivate, activate, postactivated) before the assembly - /// is established - void ciao_preactivate () - raises (StartError); - - /// CIAO specific extension - void ciao_postactivate () - raises (StartError); - - /// CIAO specific extension - void ciao_passivate () - raises (StopError); - }; - -}; -#endif /* DEPLOYMENT_CORE_IDL */ diff --git a/CIAO/ciao/Deployment_NodeApplicationManager.idl b/CIAO/ciao/Deployment_NodeApplicationManager.idl deleted file mode 100644 index 32f3f0d21f9..00000000000 --- a/CIAO/ciao/Deployment_NodeApplicationManager.idl +++ /dev/null @@ -1,58 +0,0 @@ -// $Id$ -#ifndef NODEAPPLICATIONMANAGER_IDL -#define NODEAPPLICATIONMANAGER_IDL - -#include "Deployment_Core.idl" -#include "Deployment_ApplicationManager.idl" -#include "Deployment.idl" - -module Deployment { - /** - * CIAO specific structure to carry the scheduling params - * to set the process, required by RACE - * @struct Sched_Params - * @brief Carries Scheduling Params - */ - struct Sched_Params - { - long policy_; - long priority_; - long scope_; - long msec_; - }; - - - interface NodeApplicationManager : - ApplicationManager - { - /// CIAO specific operation to handle dynamic system redeployment - /// and reconfiguration - /// This operation could handle dynamic redeployment for - /// a node-level deployment plan within a node - /// @param add_or_remove If true, we add new components only, vice vesa. - Application perform_redeployment (in Properties configProperty, - out Connections providedReference, - in boolean add_or_remove, - in boolean start) - raises (PlanError, - InstallationFailure, - UnknownImplId, - ImplEntryPointNotFound, - InvalidConnection, - InvalidProperty, - ::Components::RemoveFailure); - - /// CIAO specific operation to reset deployment plan - void reset_plan (in DeploymentPlan plan); - - /// CIAO specific operation to set the information of - /// "shared components" (through NodeManager) - void set_shared_components (in ComponentPlans components); - - /// CIAO specific function to set priority - /// of component, required by RACE - long set_priority (in string cid , in Sched_Params params); - }; -}; - -#endif /* NODEAPPLICATIONMANAGER_IDL */ diff --git a/CIAO/ciao/Deployment_NodeManager.idl b/CIAO/ciao/Deployment_NodeManager.idl deleted file mode 100644 index e6672764115..00000000000 --- a/CIAO/ciao/Deployment_NodeManager.idl +++ /dev/null @@ -1,58 +0,0 @@ -// $Id$ -#ifndef NODEMANAGER_IDL -#define NODEMANAGER_IDL - -#include "ciao/Deployment.idl" -#include "ciao/Deployment_Core.idl" -#include "ciao/Deployment_TargetManager.idl" - -module Deployment { - - interface Logger { - }; - - interface NodeApplicationManager; - - interface NodeManager { - /* - * @todo 06-02-01 mentions a 4th argument:in long updateInterval - */ - void joinDomain (in Domain ciao_domain, - in TargetManager manager, - in Logger log); - - void leaveDomain (); - - /* - * @todo According to 06-02-01 there should also be a ResourceCommitmentManager - * as second argument - */ - NodeApplicationManager preparePlan (in DeploymentPlan plan) - raises (StartError, PlanError); - - /* - * @todo According to 06-02-01 InvalidReference shouldn't be here - */ - void destroyManager (in NodeApplicationManager appManager) - raises (StopError, InvalidReference); - - /// CIAO specific extension - /// Destroy the NAM and all the associated NAs with this child_plan - /// We can guarantee that the input DeploymentPlan is valid, since it - /// is fetched from the cached DeploymentPlan of DAM, which has been - /// validated before. - void destroyPlan (in DeploymentPlan plan) - raises (StopError); - - /// CIAO specific extension - /// Get all the shared components installed in this node - ComponentPlans get_shared_components (); - - /* - * @todo According to 06-02-01 missing is: - * Resources getDynamicResources (); - */ - }; -}; - -#endif /* NODEMANAGER_IDL */ diff --git a/CIAO/ciao/Deployment_Packaging_Data.idl b/CIAO/ciao/Deployment_Packaging_Data.idl deleted file mode 100644 index ed3d0feecb2..00000000000 --- a/CIAO/ciao/Deployment_Packaging_Data.idl +++ /dev/null @@ -1,160 +0,0 @@ -// $Id$ - -#ifndef PACKAGING_DATA_IDL -#define PACKAGING_DATA_IDL - -#include "ciao/Deployment_Data.idl" - -module Deployment -{ - struct ComponentPackageImport { - ::CORBA::StringSeq location; - }; - - typedef sequence < ComponentPackageImport > ComponentPackageImports; - - struct SubcomponentPropertyReference { - string propertyName; - unsigned long instanceRef; - }; - - struct SubcomponentPortEndpoint { - string portName; - unsigned long instanceRef; - }; - - typedef sequence < SubcomponentPortEndpoint > SubcomponentPortEndpoints; - - typedef sequence < SubcomponentPropertyReference > SubcomponentPropertyReferences; - - struct AssemblyPropertyMapping { - string name; - string externalName; - SubcomponentPropertyReferences delegatesTo; - }; - - typedef sequence < AssemblyPropertyMapping > AssemblyPropertyMappings; - -#ifndef AVOID_IFR_CRASH - struct NamedImplementationArtifact; - - typedef sequence < NamedImplementationArtifact > NamedImplementationArtifacts; -#endif /* AVOID_IFR_CRASH */ - - struct ImplementationArtifactDescription { - string label; - string UUID; - ::CORBA::StringSeq location; - Properties execParameter; - Requirements deployRequirement; -#ifndef AVOID_IFR_CRASH - NamedImplementationArtifacts dependsOn; -#endif /* AVOID_IFR_CRASH */ - Properties infoProperty; - }; - - struct NamedImplementationArtifact { - string name; - ImplementationArtifactDescription referencedArtifact; - }; - - struct MonolithicImplementationDescription { - Properties nodeExecParameter; - Properties componentExecParameter; -#ifndef AVOID_IFR_CRASH - NamedImplementationArtifacts primaryArtifact; -#endif /* AVOID_IFR_CRASH */ - ImplementationRequirements deployRequirement; - }; - - typedef sequence < MonolithicImplementationDescription > MonolithicImplementationDescriptions; - -#ifndef AVOID_IFR_CRASH - struct PackageConfiguration; - - typedef sequence < PackageConfiguration > PackageConfigurations; - - struct ComponentPackageDescription; - - typedef sequence < ComponentPackageDescription > ComponentPackageDescriptions; -#endif /* AVOID_IFR_CRASH */ - - struct SubcomponentInstantiationDescription { - string name; -#ifndef AVOID_IFR_CRASH - ComponentPackageDescriptions basePackage; - PackageConfigurations specializedConfig; -#endif /* AVOID_IFR_CRASH */ - Requirements selectRequirement; - Properties configProperty; - ComponentPackageReferences referencedPackage; - ComponentPackageImports importedPackage; - }; - - typedef sequence < SubcomponentInstantiationDescription > SubcomponentInstantiationDescriptions; - - struct AssemblyConnectionDescription { - string name; - Requirements deployRequirement; - ComponentExternalPortEndpoints externalEndpoint; - SubcomponentPortEndpoints internalEndpoint; - ExternalReferenceEndpoints externalReference; - }; - - typedef sequence < AssemblyConnectionDescription > AssemblyConnectionDescriptions; - - struct ComponentAssemblyDescription { - SubcomponentInstantiationDescriptions instance; - AssemblyConnectionDescriptions connection; - AssemblyPropertyMappings externalProperty; - }; - - typedef sequence < ComponentAssemblyDescription > ComponentAssemblyDescriptions; - - struct ComponentImplementationDescription { - string label; - string UUID; - ComponentInterfaceDescription implements; - ComponentAssemblyDescriptions assemblyImpl; - MonolithicImplementationDescriptions monolithicImpl; - Properties configProperty; - Capabilities capability; - ImplementationDependencies dependsOn; - Properties infoProperty; - }; - - - struct PackagedComponentImplementation { - string name; - ComponentImplementationDescription referencedImplementation; - }; - - - typedef sequence < PackagedComponentImplementation > PackagedComponentImplementations; - - struct ComponentPackageDescription { - string label; - string UUID; - ComponentInterfaceDescription realizes; - Properties configProperty; - PackagedComponentImplementations implementation; - Properties infoProperty; - }; - - - struct PackageConfiguration { - string label; - string UUID; -#ifndef AVOID_IFR_CRASH - PackageConfigurations specializedConfig; - ComponentPackageDescriptions basePackage; -#endif /* AVOID_IFR_CRASH */ - ComponentPackageReferences reference; - Requirements selectRequirement; - Properties configProperty; - }; - - -}; - -#endif /* PACKAGING_DATA_IDL */ diff --git a/CIAO/ciao/Deployment_PlanError.idl b/CIAO/ciao/Deployment_PlanError.idl deleted file mode 100644 index 2816db930dd..00000000000 --- a/CIAO/ciao/Deployment_PlanError.idl +++ /dev/null @@ -1,14 +0,0 @@ -// $Id$ - -#ifndef DEPLOYMENT_PLANERROR_IDL -#define DEPLOYMENT_PLANERROR_IDL - -module Deployment { - - exception PlanError { - string name; - string reason; - }; -}; - -#endif /* DEPLOYMENT_PLANERROR_IDL */ diff --git a/CIAO/ciao/Deployment_RepositoryManager.idl b/CIAO/ciao/Deployment_RepositoryManager.idl deleted file mode 100644 index 539d2954416..00000000000 --- a/CIAO/ciao/Deployment_RepositoryManager.idl +++ /dev/null @@ -1,40 +0,0 @@ -// $Id$ -#ifndef REPOSITORY_MANAGER_IDL -#define REPOSITORY_MANAGER_IDL - -#include "ciao/Deployment_Packaging_Data.idl" -#include "ciao/Deployment.idl" - -module Deployment { - - exception NameExists { - }; - - exception PackageError { - string source; - string reason; - }; - - interface RepositoryManager { - void installPackage (in string installationName, - in string location, - in boolean replace) - raises (NameExists, PackageError); - void createPackage (in string installationName, - in PackageConfiguration package, - in string baseLocation, - in boolean replace) - raises (NameExists, PackageError); - PackageConfiguration findPackageByName (in string name) - raises (NoSuchName); - PackageConfiguration findPackageByUUID (in string UUID) - raises (NoSuchName); - ::CORBA::StringSeq findNamesByType (in string type); - ::CORBA::StringSeq getAllNames (); - ::CORBA::StringSeq getAllTypes (); - void deletePackage (in string installationName) - raises (NoSuchName); - }; -}; - -#endif /* REPOSITOR_MANAGER_IDL */ diff --git a/CIAO/ciao/Deployment_ResourceCommitmentManager.idl b/CIAO/ciao/Deployment_ResourceCommitmentManager.idl deleted file mode 100644 index beedf522c68..00000000000 --- a/CIAO/ciao/Deployment_ResourceCommitmentManager.idl +++ /dev/null @@ -1,41 +0,0 @@ -// $Id$ -// -#ifndef RESOURCE_COMMITMENT_MANAGER_IDL -#define RESOURCE_COMMITMENT_MANAGER_IDL - -#include "Deployment_Base.idl" -#include "tao/AnyTypeCode/AnySeq.pidl" - -module Deployment { - - exception ResourceCommitmentFailure { - string reason; - long index; - string propertyName; - ::CORBA::AnySeq propertyValue; - }; - /** - * @struct ResourceAllocation - * @brief Identifies a resource within a domain that is - * allocated from and the amount it is allocated - */ - struct ResourceAllocation - { - string elementName; - string resourceName; - Properties property; - }; - - /// The Resource Allocation Sequence - typedef sequence ResourceAllocations; - - interface ResourceCommitmentManager { - void commitResources (in ResourceAllocations resources) - raises (ResourceCommitmentFailure); - void releaseResources (in ResourceAllocations resources) - raises (ResourceCommitmentFailure); - }; -}; - - -#endif diff --git a/CIAO/ciao/Deployment_TargetData.idl b/CIAO/ciao/Deployment_TargetData.idl deleted file mode 100644 index 82cff14ca83..00000000000 --- a/CIAO/ciao/Deployment_TargetData.idl +++ /dev/null @@ -1,64 +0,0 @@ -//$Id$ - -#ifndef DEPLOYMENT_TARGETDATA_IDL -#define DEPLOYMENT_TARGETDATA_IDL - -#include "ciao/Deployment_Base.idl" -#include "tao/StringSeq.pidl" -#include "tao/ULongSeq.pidl" - -module Deployment { - - struct Resource { - string name; - ::CORBA::StringSeq resourceType; - SatisfierProperties property; - }; - typedef sequence < Resource > Resources; - - struct SharedResource { - string name; - ::CORBA::StringSeq resourceType; - ::CORBA::ULongSeq nodeRef; - SatisfierProperties property; - }; - typedef sequence < SharedResource > SharedResources; - - struct Node { - string name; - string label; - ::CORBA::ULongSeq sharedResourceRef; - ::CORBA::ULongSeq connectionRef; - Resources resource; - }; - typedef sequence < Node > Nodes; - - struct Interconnect { - string name; - string label; - ::CORBA::ULongSeq connectionRef; - ::CORBA::ULongSeq connectRef; - Resources resource; - }; - typedef sequence < Interconnect > Interconnects; - - struct Bridge { - string name; - string label; - ::CORBA::ULongSeq connectRef; - Resources resource; - }; - typedef sequence < Bridge > Bridges; - - struct Domain { - string UUID; - string label; - SharedResources sharedResource; - Nodes node; - Interconnects interconnect; - Bridges bridge; - Properties infoProperty; - }; -}; - -#endif /* DEPLOYMENT_TARGETDATA_IDL */ diff --git a/CIAO/ciao/Deployment_TargetManager.idl b/CIAO/ciao/Deployment_TargetManager.idl deleted file mode 100644 index d42de538fd1..00000000000 --- a/CIAO/ciao/Deployment_TargetManager.idl +++ /dev/null @@ -1,33 +0,0 @@ -// $Id$ - -#ifndef TARGETMANAGER_IDL -#define TARGETMANAGER_IDL - -#include "ciao/Deployment_PlanError.idl" -#include "ciao/Deployment_TargetData.idl" -#include "ciao/Deployment_DeploymentPlan.idl" -#include "ciao/Deployment_ResourceCommitmentManager.idl" - -module Deployment { - - /// @todo, UpdateAvailable is not in the spec, must be UpdateDynamic - enum DomainUpdateKind { - Add, - Delete, - UpdateAll, - UpdateDynamic - }; - - interface TargetManager { - Domain getAllResources (); - Domain getAvailableResources (); - ResourceCommitmentManager createResourceCommitment (in ResourceAllocations manager) - raises (ResourceCommitmentFailure); - void destroyResourceCommitment (in ResourceCommitmentManager resources); - void updateDomain (in ::CORBA::StringSeq elements, - in Domain domainSubset, - in DomainUpdateKind updateKind); - }; -}; - -#endif /* TARGETMANAGER_IDL */ diff --git a/CIAO/ciao/Deployment_common.h b/CIAO/ciao/Deployment_common.h deleted file mode 100644 index 725b6afd953..00000000000 --- a/CIAO/ciao/Deployment_common.h +++ /dev/null @@ -1,54 +0,0 @@ -// $Id$ - -/** - * @file Deployment_common.h - * - * This file collects common type definitions used across different - * objects of DAnCE toolchain. - * - * @author Gan Deng - */ - -#ifndef DANCE_COMMON_H -#define DANCE_COMMON_H -#include /**/ "ace/pre.h" - -#include "ace/config-all.h" - -#if !defined ACE_LACKS_PRAGMA_ONCE -#pragma once -#endif /* ! ACE_LACKS_PRAGMA_ONCE */ - -/// A struct which captures the binding information about a component - -namespace CIAO -{ - /// A struct which captures the compnent binding information, which - /// is useful for inter-assembly connection setup - typedef struct _component_binding - { - _component_binding () - { - providedReference_ = 0; - } - - ACE_CString name_; - ACE_CString plan_uuid_; - ACE_CString node_; - - Deployment::Connections_var providedReference_; - - bool operator==(const struct _component_binding & comp) - { - if (this->name_ == comp.name_ && - this->plan_uuid_ == comp.plan_uuid_ && - this->node_ == comp.node_) - return true; - else - return false; - } - } Component_Binding_Info; -} - -#include /**/ "ace/post.h" -#endif /* DANCE_COMMON_H */ diff --git a/CIAO/ciao/Deployment_stub_export.h b/CIAO/ciao/Deployment_stub_export.h deleted file mode 100644 index 12985a68b5b..00000000000 --- a/CIAO/ciao/Deployment_stub_export.h +++ /dev/null @@ -1,58 +0,0 @@ - -// -*- C++ -*- -// $Id$ -// Definition for Win32 Export directives. -// This file is generated automatically by generate_export_file.pl -s Deployment_stub -// ------------------------------ -#ifndef DEPLOYMENT_STUB_EXPORT_H -#define DEPLOYMENT_STUB_EXPORT_H - -#include "ace/config-all.h" - -#if defined (ACE_AS_STATIC_LIBS) && !defined (DEPLOYMENT_STUB_HAS_DLL) -# define DEPLOYMENT_STUB_HAS_DLL 0 -#endif /* ACE_AS_STATIC_LIBS && DEPLOYMENT_STUB_HAS_DLL */ - -#if !defined (DEPLOYMENT_STUB_HAS_DLL) -# define DEPLOYMENT_STUB_HAS_DLL 1 -#endif /* ! DEPLOYMENT_STUB_HAS_DLL */ - -#if defined (DEPLOYMENT_STUB_HAS_DLL) && (DEPLOYMENT_STUB_HAS_DLL == 1) -# if defined (DEPLOYMENT_STUB_BUILD_DLL) -# define Deployment_stub_Export ACE_Proper_Export_Flag -# define DEPLOYMENT_STUB_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) -# define DEPLOYMENT_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# else /* DEPLOYMENT_STUB_BUILD_DLL */ -# define Deployment_stub_Export ACE_Proper_Import_Flag -# define DEPLOYMENT_STUB_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) -# define DEPLOYMENT_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# endif /* DEPLOYMENT_STUB_BUILD_DLL */ -#else /* DEPLOYMENT_STUB_HAS_DLL == 1 */ -# define Deployment_stub_Export -# define DEPLOYMENT_STUB_SINGLETON_DECLARATION(T) -# define DEPLOYMENT_STUB_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -#endif /* DEPLOYMENT_STUB_HAS_DLL == 1 */ - -// Set DEPLOYMENT_STUB_NTRACE = 0 to turn on library specific tracing even if -// tracing is turned off for ACE. -#if !defined (DEPLOYMENT_STUB_NTRACE) -# if (ACE_NTRACE == 1) -# define DEPLOYMENT_STUB_NTRACE 1 -# else /* (ACE_NTRACE == 1) */ -# define DEPLOYMENT_STUB_NTRACE 0 -# endif /* (ACE_NTRACE == 1) */ -#endif /* !DEPLOYMENT_STUB_NTRACE */ - -#if (DEPLOYMENT_STUB_NTRACE == 1) -# define DEPLOYMENT_STUB_TRACE(X) -#else /* (DEPLOYMENT_STUB_NTRACE == 1) */ -# if !defined (ACE_HAS_TRACE) -# define ACE_HAS_TRACE -# endif /* ACE_HAS_TRACE */ -# define DEPLOYMENT_STUB_TRACE(X) ACE_TRACE_IMPL(X) -# include "ace/Trace.h" -#endif /* (DEPLOYMENT_STUB_NTRACE == 1) */ - -#endif /* DEPLOYMENT_STUB_EXPORT_H */ - -// End of auto generated file. diff --git a/CIAO/ciao/Deployment_svnt_export.h b/CIAO/ciao/Deployment_svnt_export.h deleted file mode 100644 index e403dbf0c41..00000000000 --- a/CIAO/ciao/Deployment_svnt_export.h +++ /dev/null @@ -1,58 +0,0 @@ - -// -*- C++ -*- -// $Id$ -// Definition for Win32 Export directives. -// This file is generated automatically by generate_export_file.pl -s Deployment_svnt -// ------------------------------ -#ifndef DEPLOYMENT_SVNT_EXPORT_H -#define DEPLOYMENT_SVNT_EXPORT_H - -#include "ace/config-all.h" - -#if defined (ACE_AS_STATIC_LIBS) && !defined (DEPLOYMENT_SVNT_HAS_DLL) -# define DEPLOYMENT_SVNT_HAS_DLL 0 -#endif /* ACE_AS_STATIC_LIBS && DEPLOYMENT_SVNT_HAS_DLL */ - -#if !defined (DEPLOYMENT_SVNT_HAS_DLL) -# define DEPLOYMENT_SVNT_HAS_DLL 1 -#endif /* ! DEPLOYMENT_SVNT_HAS_DLL */ - -#if defined (DEPLOYMENT_SVNT_HAS_DLL) && (DEPLOYMENT_SVNT_HAS_DLL == 1) -# if defined (DEPLOYMENT_SVNT_BUILD_DLL) -# define Deployment_svnt_Export ACE_Proper_Export_Flag -# define DEPLOYMENT_SVNT_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T) -# define DEPLOYMENT_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# else /* DEPLOYMENT_SVNT_BUILD_DLL */ -# define Deployment_svnt_Export ACE_Proper_Import_Flag -# define DEPLOYMENT_SVNT_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T) -# define DEPLOYMENT_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -# endif /* DEPLOYMENT_SVNT_BUILD_DLL */ -#else /* DEPLOYMENT_SVNT_HAS_DLL == 1 */ -# define Deployment_svnt_Export -# define DEPLOYMENT_SVNT_SINGLETON_DECLARATION(T) -# define DEPLOYMENT_SVNT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) -#endif /* DEPLOYMENT_SVNT_HAS_DLL == 1 */ - -// Set DEPLOYMENT_SVNT_NTRACE = 0 to turn on library specific tracing even if -// tracing is turned off for ACE. -#if !defined (DEPLOYMENT_SVNT_NTRACE) -# if (ACE_NTRACE == 1) -# define DEPLOYMENT_SVNT_NTRACE 1 -# else /* (ACE_NTRACE == 1) */ -# define DEPLOYMENT_SVNT_NTRACE 0 -# endif /* (ACE_NTRACE == 1) */ -#endif /* !DEPLOYMENT_SVNT_NTRACE */ - -#if (DEPLOYMENT_SVNT_NTRACE == 1) -# define DEPLOYMENT_SVNT_TRACE(X) -#else /* (DEPLOYMENT_SVNT_NTRACE == 1) */ -# if !defined (ACE_HAS_TRACE) -# define ACE_HAS_TRACE -# endif /* ACE_HAS_TRACE */ -# define DEPLOYMENT_SVNT_TRACE(X) ACE_TRACE_IMPL(X) -# include "ace/Trace.h" -#endif /* (DEPLOYMENT_SVNT_NTRACE == 1) */ - -#endif /* DEPLOYMENT_SVNT_EXPORT_H */ - -// End of auto generated file. diff --git a/CIAO/ciao/NodeApp_CB_Impl.cpp b/CIAO/ciao/NodeApp_CB_Impl.cpp deleted file mode 100644 index d3817d4b4c4..00000000000 --- a/CIAO/ciao/NodeApp_CB_Impl.cpp +++ /dev/null @@ -1,62 +0,0 @@ -// $Id$ -#include "NodeApp_CB_Impl.h" - -CIAO::NodeApplication_Callback_Impl:: -NodeApplication_Callback_Impl (CORBA::ORB_ptr o, - PortableServer::POA_ptr p, - Deployment::NodeApplicationManager_ptr s, - const Deployment::Properties &properties) - : orb_ (CORBA::ORB::_duplicate (o)), - poa_ (PortableServer::POA::_duplicate (p)), - nam_ (Deployment::NodeApplicationManager::_duplicate (s)) -{ - try - { - //@@ Note: this properties is useless unless - // we have some specific properties for the callback obj. - Deployment::Properties * tmp = 0; - ACE_NEW_THROW_EX (tmp, - Deployment::Properties (properties), - CORBA::NO_MEMORY ()); - this->properties_ = tmp; - } - catch (const CORBA::Exception& ex) - { - ex._tao_print_exception ("NodeApp_CB_Impl::Constructor\t\n"); - throw; - } -} - -CIAO::NodeApplication_Callback_Impl::~NodeApplication_Callback_Impl () -{ -} - -PortableServer::POA_ptr -CIAO::NodeApplication_Callback_Impl::_default_POA (void) -{ - return PortableServer::POA::_duplicate (this->poa_.in ()); -} - -Deployment::NodeApplicationManager_ptr -CIAO::NodeApplication_Callback_Impl::register_node_application ( - Deployment::NodeApplication_ptr na, - Deployment::Properties_out properties) -{ - properties = this->properties_._retn (); - - this->nodeapp_ = Deployment::NodeApplication::_duplicate (na); - return Deployment::NodeApplicationManager::_duplicate (this->nam_.in ()); -} - -Deployment::NodeApplication_ptr -CIAO::NodeApplication_Callback_Impl::get_nodeapp_ref (void) -{ - // @@ (OO) How are you relinquishing ownership here? Since you're - // duplicating the reference you actually maintain - // ownership. Is the below comment wrong, or is the code - // wrong? - - // Relinquish the ownership of the nodeapplication reference. - //This method should only be called from the NodeApplicationManager. - return Deployment::NodeApplication::_duplicate (this->nodeapp_.in ()); -} diff --git a/CIAO/ciao/NodeApp_CB_Impl.h b/CIAO/ciao/NodeApp_CB_Impl.h deleted file mode 100644 index 6b4bd0e2a30..00000000000 --- a/CIAO/ciao/NodeApp_CB_Impl.h +++ /dev/null @@ -1,76 +0,0 @@ -// -*- C++ -*- -// $Id$ -//============================================================================= -/** - * @file NodeApp_CB_Impl.h - * - * @author Nanbor Wang - * Tao Lu - * - //===========================================================================*/ - - -#ifndef NODEAPPLICATION_CALLBACK_IMPL_H -#define NODEAPPLICATION_CALLBACK_IMPL_H -#include /**/ "ace/pre.h" - -#include "ace/config-all.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "CIAO_NodeApplication_CallBackS.h" - -namespace CIAO -{ - /** - * @class NodeApplication_Callback_Impl - * - * @brief A call back interface for NodeApplication - * @Note Here is no need to be thread safe since for every nodeapplication - * we will have an unique callback object. --Tao - */ - class Deployment_svnt_Export NodeApplication_Callback_Impl - : public virtual POA_CIAO::NodeApplication_Callback - { - public: - friend class NodeApplicationManager_Impl; - - /// Constructor. - NodeApplication_Callback_Impl (CORBA::ORB_ptr o, - PortableServer::POA_ptr p, - Deployment::NodeApplicationManager_ptr s, - const Deployment::Properties &properties); - - /// Get the containing POA. This operation does *not* increase - /// the reference count of the POA. - virtual PortableServer::POA_ptr _default_POA (void); - - /// Record the NodeApplication reference returned by the newly - /// spawned NodeApplication and give it back a reference to - /// NodeApplicationManager - Deployment::NodeApplicationManager_ptr - register_node_application (Deployment::NodeApplication_ptr na, - Deployment::Properties_out properties); - - Deployment::NodeApplication_ptr get_nodeapp_ref (void); - - protected: - /// Destructor. - ~NodeApplication_Callback_Impl (); - - CORBA::ORB_var orb_; - - PortableServer::POA_var poa_; - - Deployment::NodeApplicationManager_var nam_; - - Deployment::NodeApplication_var nodeapp_; - - Deployment::Properties_var properties_; - }; -} - -#include /**/ "ace/post.h" -#endif /* NODEAPPLICATION_CALLBACK_IMPL_H */ diff --git a/CIAO/ciao/Session_Container.cpp b/CIAO/ciao/Session_Container.cpp index ff5050b2ae9..a75a0913635 100644 --- a/CIAO/ciao/Session_Container.cpp +++ b/CIAO/ciao/Session_Container.cpp @@ -6,7 +6,7 @@ #include "tao/Utils/PolicyList_Destroyer.h" #include "ace/OS_NS_stdio.h" #include "Servant_Activator.h" -#include "ciao/Deployment_CoreC.h" +#include "DAnCE/Deployment/Deployment_CoreC.h" #if !defined (__ACE_INLINE__) # include "Session_Container.inl" diff --git a/CIAO/ciaosvcs/Events/CIAO_Events.mpc b/CIAO/ciaosvcs/Events/CIAO_Events.mpc index a5a1417673e..7a9d37a309a 100644 --- a/CIAO/ciaosvcs/Events/CIAO_Events.mpc +++ b/CIAO/ciaosvcs/Events/CIAO_Events.mpc @@ -1,9 +1,9 @@ // -*- MPC -*- // $Id$ -project (CIAO_DnC_Events) : orbsvcslib, ciao_rtevent_dnc { +project (CIAO_Events) : orbsvcslib, ciao_rtevent_dnc { - sharedname = CIAO_DnC_Events + sharedname = CIAO_Events idlflags += -Wb,export_include=CIAO_Events_Export.h -Wb,export_macro=CIAO_EVENTS_Export dynamicflags = CIAO_EVENTS_BUILD_DLL diff --git a/CIAO/ciaosvcs/Events/CIAO_Events_Base/CIAO_Events_Base.mpc b/CIAO/ciaosvcs/Events/CIAO_Events_Base/CIAO_Events_Base.mpc index ef9688d0d5b..e7602e2e0ac 100644 --- a/CIAO/ciaosvcs/Events/CIAO_Events_Base/CIAO_Events_Base.mpc +++ b/CIAO/ciaosvcs/Events/CIAO_Events_Base/CIAO_Events_Base.mpc @@ -2,9 +2,9 @@ // $Id$ -project (CIAO_DnC_Events_Base) : orbsvcslib, ciao_client_dnc, ciao_container_dnc { +project (CIAO_Events_Base) : orbsvcslib, ciao_client_dnc, ciao_container_dnc { - sharedname = CIAO_DnC_Events_Base + sharedname = CIAO_Events_Base idlflags += -Wb,export_include=CIAO_Events_Export.h -Wb,export_macro=CIAO_EVENTS_Export dynamicflags = CIAO_EVENTS_BUILD_DLL diff --git a/CIAO/docs/schema/Basic_Deployment_Data.xsd b/CIAO/docs/schema/Basic_Deployment_Data.xsd index 1d386841ea5..efc41c16075 100644 --- a/CIAO/docs/schema/Basic_Deployment_Data.xsd +++ b/CIAO/docs/schema/Basic_Deployment_Data.xsd @@ -49,7 +49,13 @@ - + + + + + + + + @@ -90,7 +94,7 @@ - + @@ -102,6 +106,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/CIAO/docs/schema/cid.xsd b/CIAO/docs/schema/cid.xsd index 7e5233d770f..d01247061d3 100644 --- a/CIAO/docs/schema/cid.xsd +++ b/CIAO/docs/schema/cid.xsd @@ -5,9 +5,10 @@ targetNamespace="http://www.omg.org/Deployment"> - + + diff --git a/CIAO/docs/schema/cpd.xsd b/CIAO/docs/schema/cpd.xsd index 6f049fa839b..ab976dceb72 100644 --- a/CIAO/docs/schema/cpd.xsd +++ b/CIAO/docs/schema/cpd.xsd @@ -4,8 +4,8 @@ xmlns:Deployment="http://www.omg.org/Deployment" targetNamespace="http://www.omg.org/Deployment"> - + diff --git a/CIAO/docs/schema/xsc-banner.h b/CIAO/docs/schema/xsc-banner.h index 9f433e2a68a..30370e90f40 100644 --- a/CIAO/docs/schema/xsc-banner.h +++ b/CIAO/docs/schema/xsc-banner.h @@ -15,4 +15,3 @@ # include #endif -#include "XSC_XML_Handlers_Export.h" diff --git a/CIAO/tools/Config_Handlers/ADD_Handler.cpp b/CIAO/tools/Config_Handlers/ADD_Handler.cpp index d844226c9ef..cc1fe6fc020 100644 --- a/CIAO/tools/Config_Handlers/ADD_Handler.cpp +++ b/CIAO/tools/Config_Handlers/ADD_Handler.cpp @@ -1,7 +1,7 @@ // $Id$ #include "ADD_Handler.h" #include "cdp.hpp" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "Property_Handler.h" #include "ace/UUID.h" diff --git a/CIAO/tools/Config_Handlers/BasicSP.cdp b/CIAO/tools/Config_Handlers/BasicSP.cdp deleted file mode 100644 index dee3dc87fcf..00000000000 --- a/CIAO/tools/Config_Handlers/BasicSP.cdp +++ /dev/null @@ -1,489 +0,0 @@ - - - - - - - -c0965470-7b83-11d9-9669-0800200c9a66 - -IDL:BasicSP/BMClosedED:1.0 -IDL:BasicSP/BMDevice:1.0 -IDL:BasicSP/BMDisplay:1.0 -IDL:BasicSP/EC:1.0 - - - -in_avail -IDL:BasicSP/DataAvailable:1.0 -IDL:BasicSP/DataAvailable:1.0 -false -false -false -false -EventConsumer - - - -out_avail -IDL:BasicSP/DataAvailable:1.0 -IDL:BasicSP/DataAvailable:1.0 -true -false -false -false -EventPublisher - - - -dataout -IDL:BasicSP/ReadData:1.0 -IDL:BasicSP/ReadData:1.0 -true -false -false -false -Facet - - - -datain -IDL:BasicSP/ReadData:1.0 -IDL:BasicSP/ReadData:1.0 -true -false -false -false -SimplexReceptacle - - - -data_read -IDL:BasicSP/ReadData:1.0 -IDL:BasicSP/ReadData:1.0 -false> -false -false -false -EventPublisher - - - -timeout -IDL:BasicSP/TimeOut:1.0 -IDL:BasicSP/TimeOut:1.0 -false> -false -false -false -EventConsumer - - - -comp_data -IDL:BasicSP/ReadData:1.0 -IDL:BasicSP/ReadData:1.0 -false -false -false -false -SimplexReceptacle - - - - - - -BasicSP-BMClosedED-mdd - -BasicSP-BMClosedED_DnC_svnt -BasicSP-BMClosedED_DnC_stub -BasicSP-BMClosedED_DnC_exec - - - - -BasicSP-BMDevice-mdd - - -BasicSP-BMDevice_DnC_exec -BasicSP-BMDevice_DnC_stub -BasicSP-BMDevice_DnC_svnt - - - - -BasicSP-BMDisplay-mdd - -BasicSP-BMDisplay_DnC_exec -BasicSP-BMDisplay_DnC_svnt -BasicSP-BMDisplay_DnC_stub - - - - - -BasicSP-EC-mdd - - -BasicSP-EC_DnC_stub -BasicSP-EC_DnC_svnt -BasicSP-EC_DnC_exec - - - - - -BasicSP-BMClosedED-idd -BMDisplay - -BasicSP-BMClosedED-mdd - -ComponentIOR - - -tk_string - - -BMClosedED.ior - - - - - - -BasicSP-BMDevice-idd -BMDisplay - -BasicSP-BMDevice-mdd - -ComponentIOR - - -tk_string - - -BMDevice.ior - - - - - - -BasicSP-BMDisplay-idd -BMDisplay - -BasicSP-BMDisplay-mdd - -ComponentIOR - - -tk_string - - -BMDisplay.ior - - - - - - -BasicSP-EC-idd -EC - -BasicSP-EC-mdd - -ComponentIOR - - -tk_string - - -EC.ior - - - - - - -datain_data_read - -data_read -Facet -BasicSP-BMDevice-idd - - -datain -SimplexReceptacle -BasicSP-BMClosedED-idd - - - - -comp_data_dataout - -dataout -Facet -BasicSP-BMClosedED-idd - - -comp_data -SimplexReceptacle -BasicSP-BMDisplay-idd - - - - -timeout_timeout - -timeout -EventPublisher -BasicSP-EC-idd - - -timeout -EventConsumer -BasicSP-BMDevice-idd - - - - -in_avail_data_available - -data_available -EventPublisher -BasicSP-BMDevice-idd - - -in_avail -EventConsumer -BasicSP-BMClosedED-idd - - - - -data_ready_out_avail - -out_avail -EventPublisher -BasicSP-BMClosedED-idd - - -data_ready -EventConsumer -BasicSP-BMDisplay-idd - - - - -BMClosedED_DnC_exec - - -BMClosedED_DnC_exec - -entryPoint - - -tk_string - - -createBMClosedEDHome_Impl - - - - - - - - -BMClosedED_DnC_svnt - - -BMClosedED_DnC_svnt - -entryPoint - - -tk_string - - -createBMClosedEDHome_Servant - - - - - - - -BMClosedED_DnC_stub - - -BMClosedED_DnC_stub - - - - - -BMDevice_DnC_exec - - -BMDevice_DnC_exec - -entryPoint - - -tk_string - - -createBMDeviceHome_Impl - - - - - - - -BMDevice_DnC_stub - - -BMDevice_DnC_stub - - - - -BMDevice_DnC_svnt - - -BMDevice_DnC_svnt - -entryPoint - - -tk_string - - -createBMDeviceHome_Servant - - - - - - - -BMDisplay_DnC_exec - - -BMDisplay_DnC_exec - -entryPoint - - -tk_string - - -createBMDisplayHome_Impl - - - - - - - -BMDisplay_DnC_svnt - - -BMDisplay_DnC_svnt - -entryPoint - - -tk_string - - -createBMDisplayHome_Servant - - - - - - - -BMDisplay_DnC_stub - - -BMDisplay_DnC_stub - - - - - -EC_DnC_stub - - -EC_DnC_stub - - - - - -EC_DnC_svnt - - -EC_DnC_svnt - -entryPoint - - -tk_string - - -createECHome_Servant - - - - - - - -EC_DnC_exec - - -EC_DnC_exec - -entryPoint - - -tk_string - - -createECHome_Impl - - - - - - - diff --git a/CIAO/tools/Config_Handlers/Basic_Deployment_Data.cpp b/CIAO/tools/Config_Handlers/Basic_Deployment_Data.cpp index 25191d1daaf..a70e3ad6b38 100644 --- a/CIAO/tools/Config_Handlers/Basic_Deployment_Data.cpp +++ b/CIAO/tools/Config_Handlers/Basic_Deployment_Data.cpp @@ -3,12 +3,12 @@ * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte */ - + #include "Basic_Deployment_Data.hpp" namespace CIAO @@ -16,7 +16,7 @@ namespace CIAO namespace Config_Handlers { // TCKind - // + // TCKind::Value TCKind:: integral () const @@ -38,33 +38,41 @@ namespace CIAO TCKind:: TCKind (TCKind::Value v) - : v_ (v) + : v_ (v) { } // DataType - // + // DataType:: DataType (::CIAO::Config_Handlers::TCKind const& kind__) - : - ::XSCRT::Type (), - kind_ (new ::CIAO::Config_Handlers::TCKind (kind__)), - regulator__ () + : + ::XSCRT::Type (), + kind_ (new ::CIAO::Config_Handlers::TCKind (kind__)), + regulator__ () { kind_->container (this); } DataType:: DataType (::CIAO::Config_Handlers::DataType const& s) - : - ::XSCRT::Type (), - kind_ (new ::CIAO::Config_Handlers::TCKind (*s.kind_)), - enum__ (s.enum__.get () ? new ::CIAO::Config_Handlers::EnumType (*s.enum__) : 0), - regulator__ () + : + ::XSCRT::Type (), + kind_ (new ::CIAO::Config_Handlers::TCKind (*s.kind_)), + enum__ (s.enum__.get () ? new ::CIAO::Config_Handlers::EnumType (*s.enum__) : 0), + struct__ (s.struct__.get () ? new ::CIAO::Config_Handlers::StructType (*s.struct__) : 0), + value_ (s.value_.get () ? new ::CIAO::Config_Handlers::ValueType (*s.value_) : 0), + sequence_ (s.sequence_.get () ? new ::CIAO::Config_Handlers::SequenceType (*s.sequence_) : 0), + id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0), + regulator__ () { kind_->container (this); if (enum__.get ()) enum__->container (this); + if (struct__.get ()) struct__->container (this); + if (value_.get ()) value_->container (this); + if (sequence_.get ()) sequence_->container (this); + if (id_.get ()) id_->container (this); } ::CIAO::Config_Handlers::DataType& DataType:: @@ -75,12 +83,24 @@ namespace CIAO if (s.enum__.get ()) enum_ (*(s.enum__)); else enum__ = ::std::auto_ptr< ::CIAO::Config_Handlers::EnumType > (0); + if (s.struct__.get ()) struct_ (*(s.struct__)); + else struct__ = ::std::auto_ptr< ::CIAO::Config_Handlers::StructType > (0); + + if (s.value_.get ()) value (*(s.value_)); + else value_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ValueType > (0); + + if (s.sequence_.get ()) sequence (*(s.sequence_)); + else sequence_ = ::std::auto_ptr< ::CIAO::Config_Handlers::SequenceType > (0); + + if (s.id_.get ()) id (*(s.id_)); + else id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (0); + return *this; } // DataType - // + // ::CIAO::Config_Handlers::TCKind const& DataType:: kind () const { @@ -94,7 +114,7 @@ namespace CIAO } // DataType - // + // bool DataType:: enum_p () const { @@ -111,34 +131,156 @@ namespace CIAO enum_ (::CIAO::Config_Handlers::EnumType const& e) { if (enum__.get ()) - { - *enum__ = e; - } + { + *enum__ = e; + } else - { - enum__ = ::std::auto_ptr< ::CIAO::Config_Handlers::EnumType > (new ::CIAO::Config_Handlers::EnumType (e)); - enum__->container (this); - } + { + enum__ = ::std::auto_ptr< ::CIAO::Config_Handlers::EnumType > (new ::CIAO::Config_Handlers::EnumType (e)); + enum__->container (this); + } + } + + // DataType + // + bool DataType:: + struct_p () const + { + return struct__.get () != 0; + } + + ::CIAO::Config_Handlers::StructType const& DataType:: + struct_ () const + { + return *struct__; + } + + void DataType:: + struct_ (::CIAO::Config_Handlers::StructType const& e) + { + if (struct__.get ()) + { + *struct__ = e; + } + + else + { + struct__ = ::std::auto_ptr< ::CIAO::Config_Handlers::StructType > (new ::CIAO::Config_Handlers::StructType (e)); + struct__->container (this); + } + } + + // DataType + // + bool DataType:: + value_p () const + { + return value_.get () != 0; + } + + ::CIAO::Config_Handlers::ValueType const& DataType:: + value () const + { + return *value_; + } + + void DataType:: + value (::CIAO::Config_Handlers::ValueType const& e) + { + if (value_.get ()) + { + *value_ = e; + } + + else + { + value_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ValueType > (new ::CIAO::Config_Handlers::ValueType (e)); + value_->container (this); + } + } + + // DataType + // + bool DataType:: + sequence_p () const + { + return sequence_.get () != 0; + } + + ::CIAO::Config_Handlers::SequenceType const& DataType:: + sequence () const + { + return *sequence_; + } + + void DataType:: + sequence (::CIAO::Config_Handlers::SequenceType const& e) + { + if (sequence_.get ()) + { + *sequence_ = e; + } + + else + { + sequence_ = ::std::auto_ptr< ::CIAO::Config_Handlers::SequenceType > (new ::CIAO::Config_Handlers::SequenceType (e)); + sequence_->container (this); + } + } + + // DataType + // + bool DataType:: + id_p () const + { + return id_.get () != 0; + } + + ::XMLSchema::ID< ACE_TCHAR > const& DataType:: + id () const + { + return *id_; + } + + ::XMLSchema::ID< ACE_TCHAR >& DataType:: + id () + { + return *id_; + } + + void DataType:: + id (::XMLSchema::ID< ACE_TCHAR > const& e) + { + if (id_.get ()) + { + *id_ = e; + } + + else + { + id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e)); + id_->container (this); + } } // DataValue - // + // DataValue:: DataValue () - : - ::XSCRT::Type (), - regulator__ () + : + ::XSCRT::Type (), + regulator__ () { } DataValue:: DataValue (::CIAO::Config_Handlers::DataValue const& s) - : - ::XSCRT::Type (), - regulator__ () + : + ::XSCRT::Type (), + regulator__ () { { for (short_const_iterator i (s.short_.begin ());i != s.short_.end ();++i) add_short (*i); @@ -191,6 +333,10 @@ namespace CIAO { for (longdouble_const_iterator i (s.longdouble_.begin ());i != s.longdouble_.end ();++i) add_longdouble (*i); } + + { + for (member_const_iterator i (s.member_.begin ());i != s.member_.end ();++i) add_member (*i); + } } ::CIAO::Config_Handlers::DataValue& DataValue:: @@ -261,12 +407,17 @@ namespace CIAO for (longdouble_const_iterator i (s.longdouble_.begin ());i != s.longdouble_.end ();++i) add_longdouble (*i); } + member_.clear (); + { + for (member_const_iterator i (s.member_.begin ());i != s.member_.end ();++i) add_member (*i); + } + return *this; } // DataValue - // + // DataValue::short_iterator DataValue:: begin_short () { @@ -304,7 +455,7 @@ namespace CIAO } // DataValue - // + // DataValue::long_iterator DataValue:: begin_long () { @@ -342,7 +493,7 @@ namespace CIAO } // DataValue - // + // DataValue::ushort_iterator DataValue:: begin_ushort () { @@ -380,7 +531,7 @@ namespace CIAO } // DataValue - // + // DataValue::ulong_iterator DataValue:: begin_ulong () { @@ -418,7 +569,7 @@ namespace CIAO } // DataValue - // + // DataValue::float_iterator DataValue:: begin_float () { @@ -456,7 +607,7 @@ namespace CIAO } // DataValue - // + // DataValue::double_iterator DataValue:: begin_double () { @@ -494,7 +645,7 @@ namespace CIAO } // DataValue - // + // DataValue::boolean_iterator DataValue:: begin_boolean () { @@ -532,7 +683,7 @@ namespace CIAO } // DataValue - // + // DataValue::octet_iterator DataValue:: begin_octet () { @@ -570,7 +721,7 @@ namespace CIAO } // DataValue - // + // DataValue::enum_iterator DataValue:: begin_enum () { @@ -608,7 +759,7 @@ namespace CIAO } // DataValue - // + // DataValue::string_iterator DataValue:: begin_string () { @@ -646,7 +797,7 @@ namespace CIAO } // DataValue - // + // DataValue::longlong_iterator DataValue:: begin_longlong () { @@ -684,7 +835,7 @@ namespace CIAO } // DataValue - // + // DataValue::ulonglong_iterator DataValue:: begin_ulonglong () { @@ -722,7 +873,7 @@ namespace CIAO } // DataValue - // + // DataValue::longdouble_iterator DataValue:: begin_longdouble () { @@ -759,13328 +910,15441 @@ namespace CIAO return longdouble_.size (); } + // DataValue + // + DataValue::member_iterator DataValue:: + begin_member () + { + return member_.begin (); + } + + DataValue::member_iterator DataValue:: + end_member () + { + return member_.end (); + } + + DataValue::member_const_iterator DataValue:: + begin_member () const + { + return member_.begin (); + } + + DataValue::member_const_iterator DataValue:: + end_member () const + { + return member_.end (); + } + + void DataValue:: + add_member (::CIAO::Config_Handlers::NamedValue const& e) + { + member_.push_back (e); + } + + size_t DataValue:: + count_member(void) const + { + return member_.size (); + } + // EnumType - // + // EnumType:: EnumType (::XMLSchema::string< ACE_TCHAR > const& name__, ::XMLSchema::string< ACE_TCHAR > const& typeId__) - : - ::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), -typeId_ (new ::XMLSchema::string< ACE_TCHAR > (typeId__)), -regulator__ () -{ -name_->container (this); -typeId_->container (this); -} - -EnumType:: -EnumType (::CIAO::Config_Handlers::EnumType const& s) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), -typeId_ (new ::XMLSchema::string< ACE_TCHAR > (*s.typeId_)), -regulator__ () -{ -name_->container (this); -typeId_->container (this); -{ -for (member_const_iterator i (s.member_.begin ());i != s.member_.end ();++i) add_member (*i); -} -} + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + typeId_ (new ::XMLSchema::string< ACE_TCHAR > (typeId__)), + regulator__ () + { + name_->container (this); + typeId_->container (this); + } -::CIAO::Config_Handlers::EnumType& EnumType:: -operator= (::CIAO::Config_Handlers::EnumType const& s) -{ -name (s.name ()); + EnumType:: + EnumType (::CIAO::Config_Handlers::EnumType const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + typeId_ (new ::XMLSchema::string< ACE_TCHAR > (*s.typeId_)), + regulator__ () + { + name_->container (this); + typeId_->container (this); + { + for (member_const_iterator i (s.member_.begin ());i != s.member_.end ();++i) add_member (*i); + } + } -typeId (s.typeId ()); + ::CIAO::Config_Handlers::EnumType& EnumType:: + operator= (::CIAO::Config_Handlers::EnumType const& s) + { + name (s.name ()); -member_.clear (); -{ -for (member_const_iterator i (s.member_.begin ());i != s.member_.end ();++i) add_member (*i); -} + typeId (s.typeId ()); -return *this; -} + member_.clear (); + { + for (member_const_iterator i (s.member_.begin ());i != s.member_.end ();++i) add_member (*i); + } + return *this; + } -// EnumType -// -::XMLSchema::string< ACE_TCHAR > const& EnumType:: -name () const -{ -return *name_; -} -void EnumType:: -name (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*name_ = e; -} + // EnumType + // + ::XMLSchema::string< ACE_TCHAR > const& EnumType:: + name () const + { + return *name_; + } -// EnumType -// -::XMLSchema::string< ACE_TCHAR > const& EnumType:: -typeId () const -{ -return *typeId_; -} + void EnumType:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -void EnumType:: -typeId (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*typeId_ = e; -} + // EnumType + // + ::XMLSchema::string< ACE_TCHAR > const& EnumType:: + typeId () const + { + return *typeId_; + } -// EnumType -// -EnumType::member_iterator EnumType:: -begin_member () -{ -return member_.begin (); -} + void EnumType:: + typeId (::XMLSchema::string< ACE_TCHAR > const& e) + { + *typeId_ = e; + } -EnumType::member_iterator EnumType:: -end_member () -{ -return member_.end (); -} + // EnumType + // + EnumType::member_iterator EnumType:: + begin_member () + { + return member_.begin (); + } -EnumType::member_const_iterator EnumType:: -begin_member () const -{ -return member_.begin (); -} + EnumType::member_iterator EnumType:: + end_member () + { + return member_.end (); + } -EnumType::member_const_iterator EnumType:: -end_member () const -{ -return member_.end (); -} + EnumType::member_const_iterator EnumType:: + begin_member () const + { + return member_.begin (); + } -void EnumType:: -add_member (::XMLSchema::string< ACE_TCHAR > const& e) -{ -member_.push_back (e); -} + EnumType::member_const_iterator EnumType:: + end_member () const + { + return member_.end (); + } -size_t EnumType:: -count_member(void) const -{ -return member_.size (); -} + void EnumType:: + add_member (::XMLSchema::string< ACE_TCHAR > const& e) + { + member_.push_back (e); + } + size_t EnumType:: + count_member(void) const + { + return member_.size (); + } -// Any -// -Any:: -Any (::CIAO::Config_Handlers::DataType const& type__, -::CIAO::Config_Handlers::DataValue const& value__) -: -::XSCRT::Type (), -type_ (new ::CIAO::Config_Handlers::DataType (type__)), -value_ (new ::CIAO::Config_Handlers::DataValue (value__)), -regulator__ () -{ -type_->container (this); -value_->container (this); -} + // StructType + // -Any:: -Any (::CIAO::Config_Handlers::Any const& s) -: -::XSCRT::Type (), -type_ (new ::CIAO::Config_Handlers::DataType (*s.type_)), -value_ (new ::CIAO::Config_Handlers::DataValue (*s.value_)), -regulator__ () -{ -type_->container (this); -value_->container (this); -} + StructType:: + StructType (::XMLSchema::string< ACE_TCHAR > const& name__, + ::XMLSchema::string< ACE_TCHAR > const& typeId__) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + typeId_ (new ::XMLSchema::string< ACE_TCHAR > (typeId__)), + regulator__ () + { + name_->container (this); + typeId_->container (this); + } -::CIAO::Config_Handlers::Any& Any:: -operator= (::CIAO::Config_Handlers::Any const& s) -{ -type (s.type ()); + StructType:: + StructType (::CIAO::Config_Handlers::StructType const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + typeId_ (new ::XMLSchema::string< ACE_TCHAR > (*s.typeId_)), + regulator__ () + { + name_->container (this); + typeId_->container (this); + { + for (member_const_iterator i (s.member_.begin ());i != s.member_.end ();++i) add_member (*i); + } + } -value (s.value ()); + ::CIAO::Config_Handlers::StructType& StructType:: + operator= (::CIAO::Config_Handlers::StructType const& s) + { + name (s.name ()); -return *this; -} + typeId (s.typeId ()); + member_.clear (); + { + for (member_const_iterator i (s.member_.begin ());i != s.member_.end ();++i) add_member (*i); + } -// Any -// -::CIAO::Config_Handlers::DataType const& Any:: -type () const -{ -return *type_; -} + return *this; + } -void Any:: -type (::CIAO::Config_Handlers::DataType const& e) -{ -*type_ = e; -} -// Any -// -::CIAO::Config_Handlers::DataValue const& Any:: -value () const -{ -return *value_; -} + // StructType + // + ::XMLSchema::string< ACE_TCHAR > const& StructType:: + name () const + { + return *name_; + } -void Any:: -value (::CIAO::Config_Handlers::DataValue const& e) -{ -*value_ = e; -} + void StructType:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } + // StructType + // + ::XMLSchema::string< ACE_TCHAR > const& StructType:: + typeId () const + { + return *typeId_; + } -// Property -// + void StructType:: + typeId (::XMLSchema::string< ACE_TCHAR > const& e) + { + *typeId_ = e; + } -Property:: -Property (::XMLSchema::string< ACE_TCHAR > const& name__, -::CIAO::Config_Handlers::Any const& value__) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), -value_ (new ::CIAO::Config_Handlers::Any (value__)), -regulator__ () -{ -name_->container (this); -value_->container (this); -} + // StructType + // + StructType::member_iterator StructType:: + begin_member () + { + return member_.begin (); + } -Property:: -Property (::CIAO::Config_Handlers::Property const& s) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), -value_ (new ::CIAO::Config_Handlers::Any (*s.value_)), -regulator__ () -{ -name_->container (this); -value_->container (this); -} + StructType::member_iterator StructType:: + end_member () + { + return member_.end (); + } -::CIAO::Config_Handlers::Property& Property:: -operator= (::CIAO::Config_Handlers::Property const& s) -{ -name (s.name ()); + StructType::member_const_iterator StructType:: + begin_member () const + { + return member_.begin (); + } -value (s.value ()); + StructType::member_const_iterator StructType:: + end_member () const + { + return member_.end (); + } -return *this; -} + void StructType:: + add_member (::CIAO::Config_Handlers::StructMemberType const& e) + { + member_.push_back (e); + } + size_t StructType:: + count_member(void) const + { + return member_.size (); + } -// Property -// -::XMLSchema::string< ACE_TCHAR > const& Property:: -name () const -{ -return *name_; -} -void Property:: -name (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*name_ = e; -} + // StructMemberType + // -// Property -// -::CIAO::Config_Handlers::Any const& Property:: -value () const -{ -return *value_; -} + StructMemberType:: + StructMemberType (::XMLSchema::string< ACE_TCHAR > const& name__, + ::CIAO::Config_Handlers::DataType const& type__) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + type_ (new ::CIAO::Config_Handlers::DataType (type__)), + regulator__ () + { + name_->container (this); + type_->container (this); + } -void Property:: -value (::CIAO::Config_Handlers::Any const& e) -{ -*value_ = e; -} + StructMemberType:: + StructMemberType (::CIAO::Config_Handlers::StructMemberType const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + type_ (new ::CIAO::Config_Handlers::DataType (*s.type_)), + regulator__ () + { + name_->container (this); + type_->container (this); + } + ::CIAO::Config_Handlers::StructMemberType& StructMemberType:: + operator= (::CIAO::Config_Handlers::StructMemberType const& s) + { + name (s.name ()); -// SatisfierPropertyKind -// + type (s.type ()); -SatisfierPropertyKind::Value SatisfierPropertyKind:: -integral () const -{ -return v_; -} + return *this; + } -bool -operator== (::CIAO::Config_Handlers::SatisfierPropertyKind const& a, ::CIAO::Config_Handlers::SatisfierPropertyKind const& b) -{ -return a.v_ == b.v_; -} -bool -operator!= (::CIAO::Config_Handlers::SatisfierPropertyKind const& a, ::CIAO::Config_Handlers::SatisfierPropertyKind const& b) -{ -return a.v_ != b.v_; -} + // StructMemberType + // + ::XMLSchema::string< ACE_TCHAR > const& StructMemberType:: + name () const + { + return *name_; + } -SatisfierPropertyKind:: -SatisfierPropertyKind (SatisfierPropertyKind::Value v) -: v_ (v) -{ -} + void StructMemberType:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -// SatisfierProperty -// - -SatisfierProperty:: -SatisfierProperty (::XMLSchema::string< ACE_TCHAR > const& name__, -::CIAO::Config_Handlers::SatisfierPropertyKind const& kind__, -::XMLSchema::boolean const& dynamic__, -::CIAO::Config_Handlers::Any const& value__) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), -kind_ (new ::CIAO::Config_Handlers::SatisfierPropertyKind (kind__)), -dynamic_ (new ::XMLSchema::boolean (dynamic__)), -value_ (new ::CIAO::Config_Handlers::Any (value__)), -regulator__ () -{ -name_->container (this); -kind_->container (this); -dynamic_->container (this); -value_->container (this); -} + // StructMemberType + // + ::CIAO::Config_Handlers::DataType const& StructMemberType:: + type () const + { + return *type_; + } -SatisfierProperty:: -SatisfierProperty (::CIAO::Config_Handlers::SatisfierProperty const& s) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), -kind_ (new ::CIAO::Config_Handlers::SatisfierPropertyKind (*s.kind_)), -dynamic_ (new ::XMLSchema::boolean (*s.dynamic_)), -value_ (new ::CIAO::Config_Handlers::Any (*s.value_)), -regulator__ () -{ -name_->container (this); -kind_->container (this); -dynamic_->container (this); -value_->container (this); -} + void StructMemberType:: + type (::CIAO::Config_Handlers::DataType const& e) + { + *type_ = e; + } -::CIAO::Config_Handlers::SatisfierProperty& SatisfierProperty:: -operator= (::CIAO::Config_Handlers::SatisfierProperty const& s) -{ -name (s.name ()); -kind (s.kind ()); + // ValueType + // + + ValueType:: + ValueType (::XMLSchema::string< ACE_TCHAR > const& name__, + ::XMLSchema::string< ACE_TCHAR > const& typeId__, + ::XMLSchema::string< ACE_TCHAR > const& modifier__, + ::CIAO::Config_Handlers::DataType const& baseType__) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + typeId_ (new ::XMLSchema::string< ACE_TCHAR > (typeId__)), + modifier_ (new ::XMLSchema::string< ACE_TCHAR > (modifier__)), + baseType_ (new ::CIAO::Config_Handlers::DataType (baseType__)), + regulator__ () + { + name_->container (this); + typeId_->container (this); + modifier_->container (this); + baseType_->container (this); + } -dynamic (s.dynamic ()); + ValueType:: + ValueType (::CIAO::Config_Handlers::ValueType const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + typeId_ (new ::XMLSchema::string< ACE_TCHAR > (*s.typeId_)), + modifier_ (new ::XMLSchema::string< ACE_TCHAR > (*s.modifier_)), + baseType_ (new ::CIAO::Config_Handlers::DataType (*s.baseType_)), + regulator__ () + { + name_->container (this); + typeId_->container (this); + modifier_->container (this); + baseType_->container (this); + { + for (member_const_iterator i (s.member_.begin ());i != s.member_.end ();++i) add_member (*i); + } + } -value (s.value ()); + ::CIAO::Config_Handlers::ValueType& ValueType:: + operator= (::CIAO::Config_Handlers::ValueType const& s) + { + name (s.name ()); -return *this; -} + typeId (s.typeId ()); + modifier (s.modifier ()); -// SatisfierProperty -// -::XMLSchema::string< ACE_TCHAR > const& SatisfierProperty:: -name () const -{ -return *name_; -} + baseType (s.baseType ()); -void SatisfierProperty:: -name (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*name_ = e; -} + member_.clear (); + { + for (member_const_iterator i (s.member_.begin ());i != s.member_.end ();++i) add_member (*i); + } -// SatisfierProperty -// -::CIAO::Config_Handlers::SatisfierPropertyKind const& SatisfierProperty:: -kind () const -{ -return *kind_; -} + return *this; + } -void SatisfierProperty:: -kind (::CIAO::Config_Handlers::SatisfierPropertyKind const& e) -{ -*kind_ = e; -} -// SatisfierProperty -// -::XMLSchema::boolean const& SatisfierProperty:: -dynamic () const -{ -return *dynamic_; -} + // ValueType + // + ::XMLSchema::string< ACE_TCHAR > const& ValueType:: + name () const + { + return *name_; + } -void SatisfierProperty:: -dynamic (::XMLSchema::boolean const& e) -{ -*dynamic_ = e; -} + void ValueType:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -// SatisfierProperty -// -::CIAO::Config_Handlers::Any const& SatisfierProperty:: -value () const -{ -return *value_; -} + // ValueType + // + ::XMLSchema::string< ACE_TCHAR > const& ValueType:: + typeId () const + { + return *typeId_; + } -void SatisfierProperty:: -value (::CIAO::Config_Handlers::Any const& e) -{ -*value_ = e; -} + void ValueType:: + typeId (::XMLSchema::string< ACE_TCHAR > const& e) + { + *typeId_ = e; + } + // ValueType + // + ::XMLSchema::string< ACE_TCHAR > const& ValueType:: + modifier () const + { + return *modifier_; + } -// Resource -// + void ValueType:: + modifier (::XMLSchema::string< ACE_TCHAR > const& e) + { + *modifier_ = e; + } -Resource:: -Resource (::XMLSchema::string< ACE_TCHAR > const& name__) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), -regulator__ () -{ -name_->container (this); -} + // ValueType + // + ::CIAO::Config_Handlers::DataType const& ValueType:: + baseType () const + { + return *baseType_; + } -Resource:: -Resource (::CIAO::Config_Handlers::Resource const& s) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), -regulator__ () -{ -name_->container (this); -{ -for (resourceType_const_iterator i (s.resourceType_.begin ());i != s.resourceType_.end ();++i) add_resourceType (*i); -} + void ValueType:: + baseType (::CIAO::Config_Handlers::DataType const& e) + { + *baseType_ = e; + } -{ -for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); -} -} + // ValueType + // + ValueType::member_iterator ValueType:: + begin_member () + { + return member_.begin (); + } -::CIAO::Config_Handlers::Resource& Resource:: -operator= (::CIAO::Config_Handlers::Resource const& s) -{ -name (s.name ()); + ValueType::member_iterator ValueType:: + end_member () + { + return member_.end (); + } -resourceType_.clear (); -{ -for (resourceType_const_iterator i (s.resourceType_.begin ());i != s.resourceType_.end ();++i) add_resourceType (*i); -} + ValueType::member_const_iterator ValueType:: + begin_member () const + { + return member_.begin (); + } -property_.clear (); -{ -for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); -} + ValueType::member_const_iterator ValueType:: + end_member () const + { + return member_.end (); + } -return *this; -} + void ValueType:: + add_member (::CIAO::Config_Handlers::ValueMemberType const& e) + { + member_.push_back (e); + } + size_t ValueType:: + count_member(void) const + { + return member_.size (); + } -// Resource -// -::XMLSchema::string< ACE_TCHAR > const& Resource:: -name () const -{ -return *name_; -} -void Resource:: -name (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*name_ = e; -} + // ValueMemberType + // -// Resource -// -Resource::resourceType_iterator Resource:: -begin_resourceType () -{ -return resourceType_.begin (); -} + ValueMemberType:: + ValueMemberType (::XMLSchema::string< ACE_TCHAR > const& name__, + ::XMLSchema::string< ACE_TCHAR > const& visibility__, + ::CIAO::Config_Handlers::DataType const& type__) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + visibility_ (new ::XMLSchema::string< ACE_TCHAR > (visibility__)), + type_ (new ::CIAO::Config_Handlers::DataType (type__)), + regulator__ () + { + name_->container (this); + visibility_->container (this); + type_->container (this); + } -Resource::resourceType_iterator Resource:: -end_resourceType () -{ -return resourceType_.end (); -} + ValueMemberType:: + ValueMemberType (::CIAO::Config_Handlers::ValueMemberType const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + visibility_ (new ::XMLSchema::string< ACE_TCHAR > (*s.visibility_)), + type_ (new ::CIAO::Config_Handlers::DataType (*s.type_)), + regulator__ () + { + name_->container (this); + visibility_->container (this); + type_->container (this); + } -Resource::resourceType_const_iterator Resource:: -begin_resourceType () const -{ -return resourceType_.begin (); -} + ::CIAO::Config_Handlers::ValueMemberType& ValueMemberType:: + operator= (::CIAO::Config_Handlers::ValueMemberType const& s) + { + name (s.name ()); -Resource::resourceType_const_iterator Resource:: -end_resourceType () const -{ -return resourceType_.end (); -} + visibility (s.visibility ()); -void Resource:: -add_resourceType (::XMLSchema::string< ACE_TCHAR > const& e) -{ -resourceType_.push_back (e); -} + type (s.type ()); -size_t Resource:: -count_resourceType(void) const -{ -return resourceType_.size (); -} + return *this; + } -// Resource -// -Resource::property_iterator Resource:: -begin_property () -{ -return property_.begin (); -} -Resource::property_iterator Resource:: -end_property () -{ -return property_.end (); -} + // ValueMemberType + // + ::XMLSchema::string< ACE_TCHAR > const& ValueMemberType:: + name () const + { + return *name_; + } -Resource::property_const_iterator Resource:: -begin_property () const -{ -return property_.begin (); -} + void ValueMemberType:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -Resource::property_const_iterator Resource:: -end_property () const -{ -return property_.end (); -} + // ValueMemberType + // + ::XMLSchema::string< ACE_TCHAR > const& ValueMemberType:: + visibility () const + { + return *visibility_; + } -void Resource:: -add_property (::CIAO::Config_Handlers::SatisfierProperty const& e) -{ -property_.push_back (e); -} + void ValueMemberType:: + visibility (::XMLSchema::string< ACE_TCHAR > const& e) + { + *visibility_ = e; + } -size_t Resource:: -count_property(void) const -{ -return property_.size (); -} + // ValueMemberType + // + ::CIAO::Config_Handlers::DataType const& ValueMemberType:: + type () const + { + return *type_; + } + void ValueMemberType:: + type (::CIAO::Config_Handlers::DataType const& e) + { + *type_ = e; + } -// Requirement -// -Requirement:: -Requirement (::XMLSchema::string< ACE_TCHAR > const& resourceType__, -::XMLSchema::string< ACE_TCHAR > const& name__) -: -::XSCRT::Type (), -resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (resourceType__)), -name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), -regulator__ () -{ -resourceType_->container (this); -name_->container (this); -} + // NamedValue + // -Requirement:: -Requirement (::CIAO::Config_Handlers::Requirement const& s) -: -::XSCRT::Type (), -resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceType_)), -name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), -regulator__ () -{ -resourceType_->container (this); -name_->container (this); -{ -for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); -} -} + NamedValue:: + NamedValue (::XMLSchema::string< ACE_TCHAR > const& name__, + ::CIAO::Config_Handlers::DataValue const& value__) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + value_ (new ::CIAO::Config_Handlers::DataValue (value__)), + regulator__ () + { + name_->container (this); + value_->container (this); + } -::CIAO::Config_Handlers::Requirement& Requirement:: -operator= (::CIAO::Config_Handlers::Requirement const& s) -{ -resourceType (s.resourceType ()); + NamedValue:: + NamedValue (::CIAO::Config_Handlers::NamedValue const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + value_ (new ::CIAO::Config_Handlers::DataValue (*s.value_)), + regulator__ () + { + name_->container (this); + value_->container (this); + } -name (s.name ()); + ::CIAO::Config_Handlers::NamedValue& NamedValue:: + operator= (::CIAO::Config_Handlers::NamedValue const& s) + { + name (s.name ()); -property_.clear (); -{ -for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); -} + value (s.value ()); -return *this; -} + return *this; + } -// Requirement -// -::XMLSchema::string< ACE_TCHAR > const& Requirement:: -resourceType () const -{ -return *resourceType_; -} + // NamedValue + // + ::XMLSchema::string< ACE_TCHAR > const& NamedValue:: + name () const + { + return *name_; + } -void Requirement:: -resourceType (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*resourceType_ = e; -} + void NamedValue:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -// Requirement -// -::XMLSchema::string< ACE_TCHAR > const& Requirement:: -name () const -{ -return *name_; -} + // NamedValue + // + ::CIAO::Config_Handlers::DataValue const& NamedValue:: + value () const + { + return *value_; + } -void Requirement:: -name (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*name_ = e; -} + void NamedValue:: + value (::CIAO::Config_Handlers::DataValue const& e) + { + *value_ = e; + } -// Requirement -// -Requirement::property_iterator Requirement:: -begin_property () -{ -return property_.begin (); -} -Requirement::property_iterator Requirement:: -end_property () -{ -return property_.end (); -} + // SequenceType + // -Requirement::property_const_iterator Requirement:: -begin_property () const -{ -return property_.begin (); -} + SequenceType:: + SequenceType (::CIAO::Config_Handlers::DataType const& elementType__) + : + ::XSCRT::Type (), + elementType_ (new ::CIAO::Config_Handlers::DataType (elementType__)), + regulator__ () + { + elementType_->container (this); + } -Requirement::property_const_iterator Requirement:: -end_property () const -{ -return property_.end (); -} + SequenceType:: + SequenceType (::CIAO::Config_Handlers::SequenceType const& s) + : + ::XSCRT::Type (), + bound_ (s.bound_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.bound_) : 0), + elementType_ (new ::CIAO::Config_Handlers::DataType (*s.elementType_)), + regulator__ () + { + if (bound_.get ()) bound_->container (this); + elementType_->container (this); + } -void Requirement:: -add_property (::CIAO::Config_Handlers::Property const& e) -{ -property_.push_back (e); -} + ::CIAO::Config_Handlers::SequenceType& SequenceType:: + operator= (::CIAO::Config_Handlers::SequenceType const& s) + { + if (s.bound_.get ()) bound (*(s.bound_)); + else bound_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -size_t Requirement:: -count_property(void) const -{ -return property_.size (); -} + elementType (s.elementType ()); + return *this; + } -// ResourceDeploymentDescription -// -ResourceDeploymentDescription:: -ResourceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& requirementName__, -::XMLSchema::string< ACE_TCHAR > const& resourceName__) -: -::XSCRT::Type (), -requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (requirementName__)), -resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (resourceName__)), -regulator__ () -{ -requirementName_->container (this); -resourceName_->container (this); -} + // SequenceType + // + bool SequenceType:: + bound_p () const + { + return bound_.get () != 0; + } -ResourceDeploymentDescription:: -ResourceDeploymentDescription (::CIAO::Config_Handlers::ResourceDeploymentDescription const& s) -: -::XSCRT::Type (), -requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requirementName_)), -resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceName_)), -regulator__ () -{ -requirementName_->container (this); -resourceName_->container (this); -{ -for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); -} -} + ::XMLSchema::string< ACE_TCHAR > const& SequenceType:: + bound () const + { + return *bound_; + } -::CIAO::Config_Handlers::ResourceDeploymentDescription& ResourceDeploymentDescription:: -operator= (::CIAO::Config_Handlers::ResourceDeploymentDescription const& s) -{ -requirementName (s.requirementName ()); + void SequenceType:: + bound (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (bound_.get ()) + { + *bound_ = e; + } -resourceName (s.resourceName ()); + else + { + bound_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + bound_->container (this); + } + } -property_.clear (); -{ -for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); -} + // SequenceType + // + ::CIAO::Config_Handlers::DataType const& SequenceType:: + elementType () const + { + return *elementType_; + } -return *this; -} + void SequenceType:: + elementType (::CIAO::Config_Handlers::DataType const& e) + { + *elementType_ = e; + } -// ResourceDeploymentDescription -// -::XMLSchema::string< ACE_TCHAR > const& ResourceDeploymentDescription:: -requirementName () const -{ -return *requirementName_; -} + // Any + // -void ResourceDeploymentDescription:: -requirementName (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*requirementName_ = e; -} + Any:: + Any (::CIAO::Config_Handlers::DataType const& type__, + ::CIAO::Config_Handlers::DataValue const& value__) + : + ::XSCRT::Type (), + type_ (new ::CIAO::Config_Handlers::DataType (type__)), + value_ (new ::CIAO::Config_Handlers::DataValue (value__)), + regulator__ () + { + type_->container (this); + value_->container (this); + } -// ResourceDeploymentDescription -// -::XMLSchema::string< ACE_TCHAR > const& ResourceDeploymentDescription:: -resourceName () const -{ -return *resourceName_; -} + Any:: + Any (::CIAO::Config_Handlers::Any const& s) + : + ::XSCRT::Type (), + type_ (new ::CIAO::Config_Handlers::DataType (*s.type_)), + value_ (new ::CIAO::Config_Handlers::DataValue (*s.value_)), + regulator__ () + { + type_->container (this); + value_->container (this); + } -void ResourceDeploymentDescription:: -resourceName (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*resourceName_ = e; -} + ::CIAO::Config_Handlers::Any& Any:: + operator= (::CIAO::Config_Handlers::Any const& s) + { + type (s.type ()); -// ResourceDeploymentDescription -// -ResourceDeploymentDescription::property_iterator ResourceDeploymentDescription:: -begin_property () -{ -return property_.begin (); -} + value (s.value ()); -ResourceDeploymentDescription::property_iterator ResourceDeploymentDescription:: -end_property () -{ -return property_.end (); -} + return *this; + } -ResourceDeploymentDescription::property_const_iterator ResourceDeploymentDescription:: -begin_property () const -{ -return property_.begin (); -} -ResourceDeploymentDescription::property_const_iterator ResourceDeploymentDescription:: -end_property () const -{ -return property_.end (); -} + // Any + // + ::CIAO::Config_Handlers::DataType const& Any:: + type () const + { + return *type_; + } -void ResourceDeploymentDescription:: -add_property (::CIAO::Config_Handlers::Property const& e) -{ -property_.push_back (e); -} - -size_t ResourceDeploymentDescription:: -count_property(void) const -{ -return property_.size (); -} + void Any:: + type (::CIAO::Config_Handlers::DataType const& e) + { + *type_ = e; + } + // Any + // + ::CIAO::Config_Handlers::DataValue const& Any:: + value () const + { + return *value_; + } -// ArtifactDeploymentDescription -// + void Any:: + value (::CIAO::Config_Handlers::DataValue const& e) + { + *value_ = e; + } -ArtifactDeploymentDescription:: -ArtifactDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__, -::XMLSchema::string< ACE_TCHAR > const& node__) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), -node_ (new ::XMLSchema::string< ACE_TCHAR > (node__)), -regulator__ () -{ -name_->container (this); -node_->container (this); -} -ArtifactDeploymentDescription:: -ArtifactDeploymentDescription (::CIAO::Config_Handlers::ArtifactDeploymentDescription const& s) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), -node_ (new ::XMLSchema::string< ACE_TCHAR > (*s.node_)), -id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0), -regulator__ () -{ -name_->container (this); -{ -for (source_const_iterator i (s.source_.begin ());i != s.source_.end ();++i) add_source (*i); -} + // Property + // -node_->container (this); -{ -for (location_const_iterator i (s.location_.begin ());i != s.location_.end ();++i) add_location (*i); -} + Property:: + Property (::XMLSchema::string< ACE_TCHAR > const& name__, + ::CIAO::Config_Handlers::Any const& value__) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + value_ (new ::CIAO::Config_Handlers::Any (value__)), + regulator__ () + { + name_->container (this); + value_->container (this); + } -{ -for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); -} + Property:: + Property (::CIAO::Config_Handlers::Property const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + value_ (new ::CIAO::Config_Handlers::Any (*s.value_)), + regulator__ () + { + name_->container (this); + value_->container (this); + } -{ -for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); -} + ::CIAO::Config_Handlers::Property& Property:: + operator= (::CIAO::Config_Handlers::Property const& s) + { + name (s.name ()); -{ -for (deployedResource_const_iterator i (s.deployedResource_.begin ());i != s.deployedResource_.end ();++i) add_deployedResource (*i); -} + value (s.value ()); -if (id_.get ()) id_->container (this); -} + return *this; + } -::CIAO::Config_Handlers::ArtifactDeploymentDescription& ArtifactDeploymentDescription:: -operator= (::CIAO::Config_Handlers::ArtifactDeploymentDescription const& s) -{ -name (s.name ()); -source_.clear (); -{ -for (source_const_iterator i (s.source_.begin ());i != s.source_.end ();++i) add_source (*i); -} + // Property + // + ::XMLSchema::string< ACE_TCHAR > const& Property:: + name () const + { + return *name_; + } -node (s.node ()); + void Property:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -location_.clear (); -{ -for (location_const_iterator i (s.location_.begin ());i != s.location_.end ();++i) add_location (*i); -} + // Property + // + ::CIAO::Config_Handlers::Any const& Property:: + value () const + { + return *value_; + } -execParameter_.clear (); -{ -for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); -} + void Property:: + value (::CIAO::Config_Handlers::Any const& e) + { + *value_ = e; + } -deployRequirement_.clear (); -{ -for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); -} -deployedResource_.clear (); -{ -for (deployedResource_const_iterator i (s.deployedResource_.begin ());i != s.deployedResource_.end ();++i) add_deployedResource (*i); -} + // SatisfierPropertyKind + // -if (s.id_.get ()) id (*(s.id_)); -else id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (0); + SatisfierPropertyKind::Value SatisfierPropertyKind:: + integral () const + { + return v_; + } -return *this; -} + bool + operator== (::CIAO::Config_Handlers::SatisfierPropertyKind const& a, ::CIAO::Config_Handlers::SatisfierPropertyKind const& b) + { + return a.v_ == b.v_; + } + bool + operator!= (::CIAO::Config_Handlers::SatisfierPropertyKind const& a, ::CIAO::Config_Handlers::SatisfierPropertyKind const& b) + { + return a.v_ != b.v_; + } -// ArtifactDeploymentDescription -// -::XMLSchema::string< ACE_TCHAR > const& ArtifactDeploymentDescription:: -name () const -{ -return *name_; -} + SatisfierPropertyKind:: + SatisfierPropertyKind (SatisfierPropertyKind::Value v) + : v_ (v) + { + } -void ArtifactDeploymentDescription:: -name (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*name_ = e; -} + // SatisfierProperty + // + + SatisfierProperty:: + SatisfierProperty (::XMLSchema::string< ACE_TCHAR > const& name__, + ::CIAO::Config_Handlers::SatisfierPropertyKind const& kind__, + ::XMLSchema::boolean const& dynamic__, + ::CIAO::Config_Handlers::Any const& value__) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + kind_ (new ::CIAO::Config_Handlers::SatisfierPropertyKind (kind__)), + dynamic_ (new ::XMLSchema::boolean (dynamic__)), + value_ (new ::CIAO::Config_Handlers::Any (value__)), + regulator__ () + { + name_->container (this); + kind_->container (this); + dynamic_->container (this); + value_->container (this); + } -// ArtifactDeploymentDescription -// -ArtifactDeploymentDescription::source_iterator ArtifactDeploymentDescription:: -begin_source () -{ -return source_.begin (); -} + SatisfierProperty:: + SatisfierProperty (::CIAO::Config_Handlers::SatisfierProperty const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + kind_ (new ::CIAO::Config_Handlers::SatisfierPropertyKind (*s.kind_)), + dynamic_ (new ::XMLSchema::boolean (*s.dynamic_)), + value_ (new ::CIAO::Config_Handlers::Any (*s.value_)), + regulator__ () + { + name_->container (this); + kind_->container (this); + dynamic_->container (this); + value_->container (this); + } -ArtifactDeploymentDescription::source_iterator ArtifactDeploymentDescription:: -end_source () -{ -return source_.end (); -} + ::CIAO::Config_Handlers::SatisfierProperty& SatisfierProperty:: + operator= (::CIAO::Config_Handlers::SatisfierProperty const& s) + { + name (s.name ()); -ArtifactDeploymentDescription::source_const_iterator ArtifactDeploymentDescription:: -begin_source () const -{ -return source_.begin (); -} + kind (s.kind ()); -ArtifactDeploymentDescription::source_const_iterator ArtifactDeploymentDescription:: -end_source () const -{ -return source_.end (); -} + dynamic (s.dynamic ()); -void ArtifactDeploymentDescription:: -add_source (::XMLSchema::string< ACE_TCHAR > const& e) -{ -source_.push_back (e); -} + value (s.value ()); -size_t ArtifactDeploymentDescription:: -count_source(void) const -{ -return source_.size (); -} + return *this; + } -// ArtifactDeploymentDescription -// -::XMLSchema::string< ACE_TCHAR > const& ArtifactDeploymentDescription:: -node () const -{ -return *node_; -} -void ArtifactDeploymentDescription:: -node (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*node_ = e; -} + // SatisfierProperty + // + ::XMLSchema::string< ACE_TCHAR > const& SatisfierProperty:: + name () const + { + return *name_; + } -// ArtifactDeploymentDescription -// -ArtifactDeploymentDescription::location_iterator ArtifactDeploymentDescription:: -begin_location () -{ -return location_.begin (); -} + void SatisfierProperty:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -ArtifactDeploymentDescription::location_iterator ArtifactDeploymentDescription:: -end_location () -{ -return location_.end (); -} + // SatisfierProperty + // + ::CIAO::Config_Handlers::SatisfierPropertyKind const& SatisfierProperty:: + kind () const + { + return *kind_; + } -ArtifactDeploymentDescription::location_const_iterator ArtifactDeploymentDescription:: -begin_location () const -{ -return location_.begin (); -} + void SatisfierProperty:: + kind (::CIAO::Config_Handlers::SatisfierPropertyKind const& e) + { + *kind_ = e; + } -ArtifactDeploymentDescription::location_const_iterator ArtifactDeploymentDescription:: -end_location () const -{ -return location_.end (); -} + // SatisfierProperty + // + ::XMLSchema::boolean const& SatisfierProperty:: + dynamic () const + { + return *dynamic_; + } -void ArtifactDeploymentDescription:: -add_location (::XMLSchema::string< ACE_TCHAR > const& e) -{ -location_.push_back (e); -} + void SatisfierProperty:: + dynamic (::XMLSchema::boolean const& e) + { + *dynamic_ = e; + } -size_t ArtifactDeploymentDescription:: -count_location(void) const -{ -return location_.size (); -} + // SatisfierProperty + // + ::CIAO::Config_Handlers::Any const& SatisfierProperty:: + value () const + { + return *value_; + } -// ArtifactDeploymentDescription -// -ArtifactDeploymentDescription::execParameter_iterator ArtifactDeploymentDescription:: -begin_execParameter () -{ -return execParameter_.begin (); -} + void SatisfierProperty:: + value (::CIAO::Config_Handlers::Any const& e) + { + *value_ = e; + } -ArtifactDeploymentDescription::execParameter_iterator ArtifactDeploymentDescription:: -end_execParameter () -{ -return execParameter_.end (); -} -ArtifactDeploymentDescription::execParameter_const_iterator ArtifactDeploymentDescription:: -begin_execParameter () const -{ -return execParameter_.begin (); -} + // Resource + // -ArtifactDeploymentDescription::execParameter_const_iterator ArtifactDeploymentDescription:: -end_execParameter () const -{ -return execParameter_.end (); -} + Resource:: + Resource (::XMLSchema::string< ACE_TCHAR > const& name__) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + regulator__ () + { + name_->container (this); + } -void ArtifactDeploymentDescription:: -add_execParameter (::CIAO::Config_Handlers::Property const& e) -{ -execParameter_.push_back (e); -} + Resource:: + Resource (::CIAO::Config_Handlers::Resource const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + regulator__ () + { + name_->container (this); + { + for (resourceType_const_iterator i (s.resourceType_.begin ());i != s.resourceType_.end ();++i) add_resourceType (*i); + } -size_t ArtifactDeploymentDescription:: -count_execParameter(void) const -{ -return execParameter_.size (); -} + { + for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); + } + } -// ArtifactDeploymentDescription -// -ArtifactDeploymentDescription::deployRequirement_iterator ArtifactDeploymentDescription:: -begin_deployRequirement () -{ -return deployRequirement_.begin (); -} + ::CIAO::Config_Handlers::Resource& Resource:: + operator= (::CIAO::Config_Handlers::Resource const& s) + { + name (s.name ()); -ArtifactDeploymentDescription::deployRequirement_iterator ArtifactDeploymentDescription:: -end_deployRequirement () -{ -return deployRequirement_.end (); -} + resourceType_.clear (); + { + for (resourceType_const_iterator i (s.resourceType_.begin ());i != s.resourceType_.end ();++i) add_resourceType (*i); + } -ArtifactDeploymentDescription::deployRequirement_const_iterator ArtifactDeploymentDescription:: -begin_deployRequirement () const -{ -return deployRequirement_.begin (); -} + property_.clear (); + { + for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); + } -ArtifactDeploymentDescription::deployRequirement_const_iterator ArtifactDeploymentDescription:: -end_deployRequirement () const -{ -return deployRequirement_.end (); -} + return *this; + } -void ArtifactDeploymentDescription:: -add_deployRequirement (::CIAO::Config_Handlers::Requirement const& e) -{ -deployRequirement_.push_back (e); -} -size_t ArtifactDeploymentDescription:: -count_deployRequirement(void) const -{ -return deployRequirement_.size (); -} + // Resource + // + ::XMLSchema::string< ACE_TCHAR > const& Resource:: + name () const + { + return *name_; + } -// ArtifactDeploymentDescription -// -ArtifactDeploymentDescription::deployedResource_iterator ArtifactDeploymentDescription:: -begin_deployedResource () -{ -return deployedResource_.begin (); -} + void Resource:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -ArtifactDeploymentDescription::deployedResource_iterator ArtifactDeploymentDescription:: -end_deployedResource () -{ -return deployedResource_.end (); -} + // Resource + // + Resource::resourceType_iterator Resource:: + begin_resourceType () + { + return resourceType_.begin (); + } -ArtifactDeploymentDescription::deployedResource_const_iterator ArtifactDeploymentDescription:: -begin_deployedResource () const -{ -return deployedResource_.begin (); -} + Resource::resourceType_iterator Resource:: + end_resourceType () + { + return resourceType_.end (); + } -ArtifactDeploymentDescription::deployedResource_const_iterator ArtifactDeploymentDescription:: -end_deployedResource () const -{ -return deployedResource_.end (); -} + Resource::resourceType_const_iterator Resource:: + begin_resourceType () const + { + return resourceType_.begin (); + } -void ArtifactDeploymentDescription:: -add_deployedResource (::CIAO::Config_Handlers::ResourceDeploymentDescription const& e) -{ -deployedResource_.push_back (e); -} + Resource::resourceType_const_iterator Resource:: + end_resourceType () const + { + return resourceType_.end (); + } -size_t ArtifactDeploymentDescription:: -count_deployedResource(void) const -{ -return deployedResource_.size (); -} + void Resource:: + add_resourceType (::XMLSchema::string< ACE_TCHAR > const& e) + { + resourceType_.push_back (e); + } -// ArtifactDeploymentDescription -// -bool ArtifactDeploymentDescription:: -id_p () const -{ -return id_.get () != 0; -} + size_t Resource:: + count_resourceType(void) const + { + return resourceType_.size (); + } -::XMLSchema::ID< ACE_TCHAR > const& ArtifactDeploymentDescription:: -id () const -{ -return *id_; -} + // Resource + // + Resource::property_iterator Resource:: + begin_property () + { + return property_.begin (); + } -::XMLSchema::ID< ACE_TCHAR >& ArtifactDeploymentDescription:: -id () -{ -return *id_; -} + Resource::property_iterator Resource:: + end_property () + { + return property_.end (); + } -void ArtifactDeploymentDescription:: -id (::XMLSchema::ID< ACE_TCHAR > const& e) -{ -if (id_.get ()) -{ -*id_ = e; -} + Resource::property_const_iterator Resource:: + begin_property () const + { + return property_.begin (); + } -else -{ -id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e)); -id_->container (this); -} -} + Resource::property_const_iterator Resource:: + end_property () const + { + return property_.end (); + } + void Resource:: + add_property (::CIAO::Config_Handlers::SatisfierProperty const& e) + { + property_.push_back (e); + } -// MonolithicDeploymentDescription -// + size_t Resource:: + count_property(void) const + { + return property_.size (); + } -MonolithicDeploymentDescription:: -MonolithicDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), -regulator__ () -{ -name_->container (this); -} -MonolithicDeploymentDescription:: -MonolithicDeploymentDescription (::CIAO::Config_Handlers::MonolithicDeploymentDescription const& s) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), -id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0), -regulator__ () -{ -name_->container (this); -{ -for (source_const_iterator i (s.source_.begin ());i != s.source_.end ();++i) add_source (*i); -} + // Requirement + // -{ -for (artifact_const_iterator i (s.artifact_.begin ());i != s.artifact_.end ();++i) add_artifact (*i); -} + Requirement:: + Requirement (::XMLSchema::string< ACE_TCHAR > const& resourceType__, + ::XMLSchema::string< ACE_TCHAR > const& name__) + : + ::XSCRT::Type (), + resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (resourceType__)), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + regulator__ () + { + resourceType_->container (this); + name_->container (this); + } -{ -for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); -} + Requirement:: + Requirement (::CIAO::Config_Handlers::Requirement const& s) + : + ::XSCRT::Type (), + resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceType_)), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + regulator__ () + { + resourceType_->container (this); + name_->container (this); + { + for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); + } + } -{ -for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); -} + ::CIAO::Config_Handlers::Requirement& Requirement:: + operator= (::CIAO::Config_Handlers::Requirement const& s) + { + resourceType (s.resourceType ()); -if (id_.get ()) id_->container (this); -} + name (s.name ()); -::CIAO::Config_Handlers::MonolithicDeploymentDescription& MonolithicDeploymentDescription:: -operator= (::CIAO::Config_Handlers::MonolithicDeploymentDescription const& s) -{ -name (s.name ()); + property_.clear (); + { + for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); + } -source_.clear (); -{ -for (source_const_iterator i (s.source_.begin ());i != s.source_.end ();++i) add_source (*i); -} + return *this; + } -artifact_.clear (); -{ -for (artifact_const_iterator i (s.artifact_.begin ());i != s.artifact_.end ();++i) add_artifact (*i); -} -execParameter_.clear (); -{ -for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); -} + // Requirement + // + ::XMLSchema::string< ACE_TCHAR > const& Requirement:: + resourceType () const + { + return *resourceType_; + } -deployRequirement_.clear (); -{ -for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); -} + void Requirement:: + resourceType (::XMLSchema::string< ACE_TCHAR > const& e) + { + *resourceType_ = e; + } -if (s.id_.get ()) id (*(s.id_)); -else id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (0); + // Requirement + // + ::XMLSchema::string< ACE_TCHAR > const& Requirement:: + name () const + { + return *name_; + } -return *this; -} + void Requirement:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } + // Requirement + // + Requirement::property_iterator Requirement:: + begin_property () + { + return property_.begin (); + } -// MonolithicDeploymentDescription -// -::XMLSchema::string< ACE_TCHAR > const& MonolithicDeploymentDescription:: -name () const -{ -return *name_; -} + Requirement::property_iterator Requirement:: + end_property () + { + return property_.end (); + } -void MonolithicDeploymentDescription:: -name (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*name_ = e; -} + Requirement::property_const_iterator Requirement:: + begin_property () const + { + return property_.begin (); + } -// MonolithicDeploymentDescription -// -MonolithicDeploymentDescription::source_iterator MonolithicDeploymentDescription:: -begin_source () -{ -return source_.begin (); -} + Requirement::property_const_iterator Requirement:: + end_property () const + { + return property_.end (); + } -MonolithicDeploymentDescription::source_iterator MonolithicDeploymentDescription:: -end_source () -{ -return source_.end (); -} + void Requirement:: + add_property (::CIAO::Config_Handlers::Property const& e) + { + property_.push_back (e); + } -MonolithicDeploymentDescription::source_const_iterator MonolithicDeploymentDescription:: -begin_source () const -{ -return source_.begin (); -} + size_t Requirement:: + count_property(void) const + { + return property_.size (); + } -MonolithicDeploymentDescription::source_const_iterator MonolithicDeploymentDescription:: -end_source () const -{ -return source_.end (); -} -void MonolithicDeploymentDescription:: -add_source (::XMLSchema::string< ACE_TCHAR > const& e) -{ -source_.push_back (e); -} + // ResourceDeploymentDescription + // -size_t MonolithicDeploymentDescription:: -count_source(void) const -{ -return source_.size (); -} + ResourceDeploymentDescription:: + ResourceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& requirementName__, + ::XMLSchema::string< ACE_TCHAR > const& resourceName__) + : + ::XSCRT::Type (), + requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (requirementName__)), + resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (resourceName__)), + regulator__ () + { + requirementName_->container (this); + resourceName_->container (this); + } -// MonolithicDeploymentDescription -// -MonolithicDeploymentDescription::artifact_iterator MonolithicDeploymentDescription:: -begin_artifact () -{ -return artifact_.begin (); -} + ResourceDeploymentDescription:: + ResourceDeploymentDescription (::CIAO::Config_Handlers::ResourceDeploymentDescription const& s) + : + ::XSCRT::Type (), + requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requirementName_)), + resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceName_)), + regulator__ () + { + requirementName_->container (this); + resourceName_->container (this); + { + for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); + } + } -MonolithicDeploymentDescription::artifact_iterator MonolithicDeploymentDescription:: -end_artifact () -{ -return artifact_.end (); -} + ::CIAO::Config_Handlers::ResourceDeploymentDescription& ResourceDeploymentDescription:: + operator= (::CIAO::Config_Handlers::ResourceDeploymentDescription const& s) + { + requirementName (s.requirementName ()); -MonolithicDeploymentDescription::artifact_const_iterator MonolithicDeploymentDescription:: -begin_artifact () const -{ -return artifact_.begin (); -} + resourceName (s.resourceName ()); -MonolithicDeploymentDescription::artifact_const_iterator MonolithicDeploymentDescription:: -end_artifact () const -{ -return artifact_.end (); -} + property_.clear (); + { + for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); + } -void MonolithicDeploymentDescription:: -add_artifact (::XMLSchema::IDREF< ACE_TCHAR > const& e) -{ -artifact_.push_back (e); -} + return *this; + } -size_t MonolithicDeploymentDescription:: -count_artifact(void) const -{ -return artifact_.size (); -} -// MonolithicDeploymentDescription -// -MonolithicDeploymentDescription::execParameter_iterator MonolithicDeploymentDescription:: -begin_execParameter () -{ -return execParameter_.begin (); -} + // ResourceDeploymentDescription + // + ::XMLSchema::string< ACE_TCHAR > const& ResourceDeploymentDescription:: + requirementName () const + { + return *requirementName_; + } -MonolithicDeploymentDescription::execParameter_iterator MonolithicDeploymentDescription:: -end_execParameter () -{ -return execParameter_.end (); -} + void ResourceDeploymentDescription:: + requirementName (::XMLSchema::string< ACE_TCHAR > const& e) + { + *requirementName_ = e; + } -MonolithicDeploymentDescription::execParameter_const_iterator MonolithicDeploymentDescription:: -begin_execParameter () const -{ -return execParameter_.begin (); -} + // ResourceDeploymentDescription + // + ::XMLSchema::string< ACE_TCHAR > const& ResourceDeploymentDescription:: + resourceName () const + { + return *resourceName_; + } -MonolithicDeploymentDescription::execParameter_const_iterator MonolithicDeploymentDescription:: -end_execParameter () const -{ -return execParameter_.end (); -} + void ResourceDeploymentDescription:: + resourceName (::XMLSchema::string< ACE_TCHAR > const& e) + { + *resourceName_ = e; + } -void MonolithicDeploymentDescription:: -add_execParameter (::CIAO::Config_Handlers::Property const& e) -{ -execParameter_.push_back (e); -} + // ResourceDeploymentDescription + // + ResourceDeploymentDescription::property_iterator ResourceDeploymentDescription:: + begin_property () + { + return property_.begin (); + } -size_t MonolithicDeploymentDescription:: -count_execParameter(void) const -{ -return execParameter_.size (); -} + ResourceDeploymentDescription::property_iterator ResourceDeploymentDescription:: + end_property () + { + return property_.end (); + } -// MonolithicDeploymentDescription -// -MonolithicDeploymentDescription::deployRequirement_iterator MonolithicDeploymentDescription:: -begin_deployRequirement () -{ -return deployRequirement_.begin (); -} + ResourceDeploymentDescription::property_const_iterator ResourceDeploymentDescription:: + begin_property () const + { + return property_.begin (); + } -MonolithicDeploymentDescription::deployRequirement_iterator MonolithicDeploymentDescription:: -end_deployRequirement () -{ -return deployRequirement_.end (); -} + ResourceDeploymentDescription::property_const_iterator ResourceDeploymentDescription:: + end_property () const + { + return property_.end (); + } -MonolithicDeploymentDescription::deployRequirement_const_iterator MonolithicDeploymentDescription:: -begin_deployRequirement () const -{ -return deployRequirement_.begin (); -} + void ResourceDeploymentDescription:: + add_property (::CIAO::Config_Handlers::Property const& e) + { + property_.push_back (e); + } -MonolithicDeploymentDescription::deployRequirement_const_iterator MonolithicDeploymentDescription:: -end_deployRequirement () const -{ -return deployRequirement_.end (); -} + size_t ResourceDeploymentDescription:: + count_property(void) const + { + return property_.size (); + } -void MonolithicDeploymentDescription:: -add_deployRequirement (::CIAO::Config_Handlers::Requirement const& e) -{ -deployRequirement_.push_back (e); -} -size_t MonolithicDeploymentDescription:: -count_deployRequirement(void) const -{ -return deployRequirement_.size (); -} + // ArtifactDeploymentDescription + // -// MonolithicDeploymentDescription -// -bool MonolithicDeploymentDescription:: -id_p () const -{ -return id_.get () != 0; -} + ArtifactDeploymentDescription:: + ArtifactDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__, + ::XMLSchema::string< ACE_TCHAR > const& node__) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + node_ (new ::XMLSchema::string< ACE_TCHAR > (node__)), + regulator__ () + { + name_->container (this); + node_->container (this); + } -::XMLSchema::ID< ACE_TCHAR > const& MonolithicDeploymentDescription:: -id () const -{ -return *id_; -} + ArtifactDeploymentDescription:: + ArtifactDeploymentDescription (::CIAO::Config_Handlers::ArtifactDeploymentDescription const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + node_ (new ::XMLSchema::string< ACE_TCHAR > (*s.node_)), + id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0), + regulator__ () + { + name_->container (this); + { + for (source_const_iterator i (s.source_.begin ());i != s.source_.end ();++i) add_source (*i); + } -::XMLSchema::ID< ACE_TCHAR >& MonolithicDeploymentDescription:: -id () -{ -return *id_; -} + node_->container (this); + { + for (location_const_iterator i (s.location_.begin ());i != s.location_.end ();++i) add_location (*i); + } -void MonolithicDeploymentDescription:: -id (::XMLSchema::ID< ACE_TCHAR > const& e) -{ -if (id_.get ()) -{ -*id_ = e; -} + { + for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); + } -else -{ -id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e)); -id_->container (this); -} -} + { + for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); + } + { + for (deployedResource_const_iterator i (s.deployedResource_.begin ());i != s.deployedResource_.end ();++i) add_deployedResource (*i); + } -// ResourceUsageKind -// + if (id_.get ()) id_->container (this); + } -ResourceUsageKind::Value ResourceUsageKind:: -integral () const -{ -return v_; -} + ::CIAO::Config_Handlers::ArtifactDeploymentDescription& ArtifactDeploymentDescription:: + operator= (::CIAO::Config_Handlers::ArtifactDeploymentDescription const& s) + { + name (s.name ()); -bool -operator== (::CIAO::Config_Handlers::ResourceUsageKind const& a, ::CIAO::Config_Handlers::ResourceUsageKind const& b) -{ -return a.v_ == b.v_; -} + source_.clear (); + { + for (source_const_iterator i (s.source_.begin ());i != s.source_.end ();++i) add_source (*i); + } -bool -operator!= (::CIAO::Config_Handlers::ResourceUsageKind const& a, ::CIAO::Config_Handlers::ResourceUsageKind const& b) -{ -return a.v_ != b.v_; -} + node (s.node ()); -ResourceUsageKind:: -ResourceUsageKind (ResourceUsageKind::Value v) -: v_ (v) -{ -} + location_.clear (); + { + for (location_const_iterator i (s.location_.begin ());i != s.location_.end ();++i) add_location (*i); + } -// InstanceResourceDeploymentDescription -// - -InstanceResourceDeploymentDescription:: -InstanceResourceDeploymentDescription (::CIAO::Config_Handlers::ResourceUsageKind const& resourceUsage__, -::XMLSchema::string< ACE_TCHAR > const& requirementName__, -::XMLSchema::string< ACE_TCHAR > const& resourceName__) -: -::XSCRT::Type (), -resourceUsage_ (new ::CIAO::Config_Handlers::ResourceUsageKind (resourceUsage__)), -requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (requirementName__)), -resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (resourceName__)), -regulator__ () -{ -resourceUsage_->container (this); -requirementName_->container (this); -resourceName_->container (this); -} + execParameter_.clear (); + { + for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); + } -InstanceResourceDeploymentDescription:: -InstanceResourceDeploymentDescription (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& s) -: -::XSCRT::Type (), -resourceUsage_ (new ::CIAO::Config_Handlers::ResourceUsageKind (*s.resourceUsage_)), -requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requirementName_)), -resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceName_)), -regulator__ () -{ -resourceUsage_->container (this); -requirementName_->container (this); -resourceName_->container (this); -{ -for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); -} -} + deployRequirement_.clear (); + { + for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); + } -::CIAO::Config_Handlers::InstanceResourceDeploymentDescription& InstanceResourceDeploymentDescription:: -operator= (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& s) -{ -resourceUsage (s.resourceUsage ()); + deployedResource_.clear (); + { + for (deployedResource_const_iterator i (s.deployedResource_.begin ());i != s.deployedResource_.end ();++i) add_deployedResource (*i); + } -requirementName (s.requirementName ()); + if (s.id_.get ()) id (*(s.id_)); + else id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (0); -resourceName (s.resourceName ()); + return *this; + } -property_.clear (); -{ -for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); -} -return *this; -} + // ArtifactDeploymentDescription + // + ::XMLSchema::string< ACE_TCHAR > const& ArtifactDeploymentDescription:: + name () const + { + return *name_; + } + void ArtifactDeploymentDescription:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -// InstanceResourceDeploymentDescription -// -::CIAO::Config_Handlers::ResourceUsageKind const& InstanceResourceDeploymentDescription:: -resourceUsage () const -{ -return *resourceUsage_; -} + // ArtifactDeploymentDescription + // + ArtifactDeploymentDescription::source_iterator ArtifactDeploymentDescription:: + begin_source () + { + return source_.begin (); + } -void InstanceResourceDeploymentDescription:: -resourceUsage (::CIAO::Config_Handlers::ResourceUsageKind const& e) -{ -*resourceUsage_ = e; -} + ArtifactDeploymentDescription::source_iterator ArtifactDeploymentDescription:: + end_source () + { + return source_.end (); + } -// InstanceResourceDeploymentDescription -// -::XMLSchema::string< ACE_TCHAR > const& InstanceResourceDeploymentDescription:: -requirementName () const -{ -return *requirementName_; -} + ArtifactDeploymentDescription::source_const_iterator ArtifactDeploymentDescription:: + begin_source () const + { + return source_.begin (); + } -void InstanceResourceDeploymentDescription:: -requirementName (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*requirementName_ = e; -} + ArtifactDeploymentDescription::source_const_iterator ArtifactDeploymentDescription:: + end_source () const + { + return source_.end (); + } -// InstanceResourceDeploymentDescription -// -::XMLSchema::string< ACE_TCHAR > const& InstanceResourceDeploymentDescription:: -resourceName () const -{ -return *resourceName_; -} + void ArtifactDeploymentDescription:: + add_source (::XMLSchema::string< ACE_TCHAR > const& e) + { + source_.push_back (e); + } -void InstanceResourceDeploymentDescription:: -resourceName (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*resourceName_ = e; -} + size_t ArtifactDeploymentDescription:: + count_source(void) const + { + return source_.size (); + } -// InstanceResourceDeploymentDescription -// -InstanceResourceDeploymentDescription::property_iterator InstanceResourceDeploymentDescription:: -begin_property () -{ -return property_.begin (); -} + // ArtifactDeploymentDescription + // + ::XMLSchema::string< ACE_TCHAR > const& ArtifactDeploymentDescription:: + node () const + { + return *node_; + } -InstanceResourceDeploymentDescription::property_iterator InstanceResourceDeploymentDescription:: -end_property () -{ -return property_.end (); -} + void ArtifactDeploymentDescription:: + node (::XMLSchema::string< ACE_TCHAR > const& e) + { + *node_ = e; + } -InstanceResourceDeploymentDescription::property_const_iterator InstanceResourceDeploymentDescription:: -begin_property () const -{ -return property_.begin (); -} + // ArtifactDeploymentDescription + // + ArtifactDeploymentDescription::location_iterator ArtifactDeploymentDescription:: + begin_location () + { + return location_.begin (); + } -InstanceResourceDeploymentDescription::property_const_iterator InstanceResourceDeploymentDescription:: -end_property () const -{ -return property_.end (); -} + ArtifactDeploymentDescription::location_iterator ArtifactDeploymentDescription:: + end_location () + { + return location_.end (); + } -void InstanceResourceDeploymentDescription:: -add_property (::CIAO::Config_Handlers::Property const& e) -{ -property_.push_back (e); -} + ArtifactDeploymentDescription::location_const_iterator ArtifactDeploymentDescription:: + begin_location () const + { + return location_.begin (); + } -size_t InstanceResourceDeploymentDescription:: -count_property(void) const -{ -return property_.size (); -} + ArtifactDeploymentDescription::location_const_iterator ArtifactDeploymentDescription:: + end_location () const + { + return location_.end (); + } + void ArtifactDeploymentDescription:: + add_location (::XMLSchema::string< ACE_TCHAR > const& e) + { + location_.push_back (e); + } -// InstanceDeploymentDescription -// - -InstanceDeploymentDescription:: -InstanceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__, -::XMLSchema::string< ACE_TCHAR > const& node__, -::XMLSchema::string< ACE_TCHAR > const& source__, -::XMLSchema::IDREF< ACE_TCHAR > const& implementation__) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), -node_ (new ::XMLSchema::string< ACE_TCHAR > (node__)), -source_ (new ::XMLSchema::string< ACE_TCHAR > (source__)), -implementation_ (new ::XMLSchema::IDREF< ACE_TCHAR > (implementation__)), -regulator__ () -{ -name_->container (this); -node_->container (this); -source_->container (this); -implementation_->container (this); -} + size_t ArtifactDeploymentDescription:: + count_location(void) const + { + return location_.size (); + } -InstanceDeploymentDescription:: -InstanceDeploymentDescription (::CIAO::Config_Handlers::InstanceDeploymentDescription const& s) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), -node_ (new ::XMLSchema::string< ACE_TCHAR > (*s.node_)), -source_ (new ::XMLSchema::string< ACE_TCHAR > (*s.source_)), -implementation_ (new ::XMLSchema::IDREF< ACE_TCHAR > (*s.implementation_)), -deployedResource_ (s.deployedResource_.get () ? new ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription (*s.deployedResource_) : 0), -deployedSharedResource_ (s.deployedSharedResource_.get () ? new ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription (*s.deployedSharedResource_) : 0), -id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0), -regulator__ () -{ -name_->container (this); -node_->container (this); -source_->container (this); -implementation_->container (this); -{ -for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); -} + // ArtifactDeploymentDescription + // + ArtifactDeploymentDescription::execParameter_iterator ArtifactDeploymentDescription:: + begin_execParameter () + { + return execParameter_.begin (); + } -if (deployedResource_.get ()) deployedResource_->container (this); -if (deployedSharedResource_.get ()) deployedSharedResource_->container (this); -if (id_.get ()) id_->container (this); -} + ArtifactDeploymentDescription::execParameter_iterator ArtifactDeploymentDescription:: + end_execParameter () + { + return execParameter_.end (); + } -::CIAO::Config_Handlers::InstanceDeploymentDescription& InstanceDeploymentDescription:: -operator= (::CIAO::Config_Handlers::InstanceDeploymentDescription const& s) -{ -name (s.name ()); + ArtifactDeploymentDescription::execParameter_const_iterator ArtifactDeploymentDescription:: + begin_execParameter () const + { + return execParameter_.begin (); + } -node (s.node ()); + ArtifactDeploymentDescription::execParameter_const_iterator ArtifactDeploymentDescription:: + end_execParameter () const + { + return execParameter_.end (); + } -source (s.source ()); + void ArtifactDeploymentDescription:: + add_execParameter (::CIAO::Config_Handlers::Property const& e) + { + execParameter_.push_back (e); + } -implementation (s.implementation ()); + size_t ArtifactDeploymentDescription:: + count_execParameter(void) const + { + return execParameter_.size (); + } -configProperty_.clear (); -{ -for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); -} + // ArtifactDeploymentDescription + // + ArtifactDeploymentDescription::deployRequirement_iterator ArtifactDeploymentDescription:: + begin_deployRequirement () + { + return deployRequirement_.begin (); + } -if (s.deployedResource_.get ()) deployedResource (*(s.deployedResource_)); -else deployedResource_ = ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > (0); + ArtifactDeploymentDescription::deployRequirement_iterator ArtifactDeploymentDescription:: + end_deployRequirement () + { + return deployRequirement_.end (); + } -if (s.deployedSharedResource_.get ()) deployedSharedResource (*(s.deployedSharedResource_)); -else deployedSharedResource_ = ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > (0); + ArtifactDeploymentDescription::deployRequirement_const_iterator ArtifactDeploymentDescription:: + begin_deployRequirement () const + { + return deployRequirement_.begin (); + } -if (s.id_.get ()) id (*(s.id_)); -else id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (0); + ArtifactDeploymentDescription::deployRequirement_const_iterator ArtifactDeploymentDescription:: + end_deployRequirement () const + { + return deployRequirement_.end (); + } -return *this; -} + void ArtifactDeploymentDescription:: + add_deployRequirement (::CIAO::Config_Handlers::Requirement const& e) + { + deployRequirement_.push_back (e); + } + size_t ArtifactDeploymentDescription:: + count_deployRequirement(void) const + { + return deployRequirement_.size (); + } -// InstanceDeploymentDescription -// -::XMLSchema::string< ACE_TCHAR > const& InstanceDeploymentDescription:: -name () const -{ -return *name_; -} + // ArtifactDeploymentDescription + // + ArtifactDeploymentDescription::deployedResource_iterator ArtifactDeploymentDescription:: + begin_deployedResource () + { + return deployedResource_.begin (); + } -void InstanceDeploymentDescription:: -name (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*name_ = e; -} + ArtifactDeploymentDescription::deployedResource_iterator ArtifactDeploymentDescription:: + end_deployedResource () + { + return deployedResource_.end (); + } -// InstanceDeploymentDescription -// -::XMLSchema::string< ACE_TCHAR > const& InstanceDeploymentDescription:: -node () const -{ -return *node_; -} + ArtifactDeploymentDescription::deployedResource_const_iterator ArtifactDeploymentDescription:: + begin_deployedResource () const + { + return deployedResource_.begin (); + } -void InstanceDeploymentDescription:: -node (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*node_ = e; -} + ArtifactDeploymentDescription::deployedResource_const_iterator ArtifactDeploymentDescription:: + end_deployedResource () const + { + return deployedResource_.end (); + } -// InstanceDeploymentDescription -// -::XMLSchema::string< ACE_TCHAR > const& InstanceDeploymentDescription:: -source () const -{ -return *source_; -} + void ArtifactDeploymentDescription:: + add_deployedResource (::CIAO::Config_Handlers::ResourceDeploymentDescription const& e) + { + deployedResource_.push_back (e); + } -void InstanceDeploymentDescription:: -source (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*source_ = e; -} + size_t ArtifactDeploymentDescription:: + count_deployedResource(void) const + { + return deployedResource_.size (); + } -// InstanceDeploymentDescription -// -::XMLSchema::IDREF< ACE_TCHAR > const& InstanceDeploymentDescription:: -implementation () const -{ -return *implementation_; -} + // ArtifactDeploymentDescription + // + bool ArtifactDeploymentDescription:: + id_p () const + { + return id_.get () != 0; + } -void InstanceDeploymentDescription:: -implementation (::XMLSchema::IDREF< ACE_TCHAR > const& e) -{ -*implementation_ = e; -} + ::XMLSchema::ID< ACE_TCHAR > const& ArtifactDeploymentDescription:: + id () const + { + return *id_; + } -// InstanceDeploymentDescription -// -InstanceDeploymentDescription::configProperty_iterator InstanceDeploymentDescription:: -begin_configProperty () -{ -return configProperty_.begin (); -} + ::XMLSchema::ID< ACE_TCHAR >& ArtifactDeploymentDescription:: + id () + { + return *id_; + } -InstanceDeploymentDescription::configProperty_iterator InstanceDeploymentDescription:: -end_configProperty () -{ -return configProperty_.end (); -} + void ArtifactDeploymentDescription:: + id (::XMLSchema::ID< ACE_TCHAR > const& e) + { + if (id_.get ()) + { + *id_ = e; + } -InstanceDeploymentDescription::configProperty_const_iterator InstanceDeploymentDescription:: -begin_configProperty () const -{ -return configProperty_.begin (); -} + else + { + id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e)); + id_->container (this); + } + } -InstanceDeploymentDescription::configProperty_const_iterator InstanceDeploymentDescription:: -end_configProperty () const -{ -return configProperty_.end (); -} -void InstanceDeploymentDescription:: -add_configProperty (::CIAO::Config_Handlers::Property const& e) -{ -configProperty_.push_back (e); -} + // MonolithicDeploymentDescription + // -size_t InstanceDeploymentDescription:: -count_configProperty(void) const -{ -return configProperty_.size (); -} + MonolithicDeploymentDescription:: + MonolithicDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + regulator__ () + { + name_->container (this); + } -// InstanceDeploymentDescription -// -bool InstanceDeploymentDescription:: -deployedResource_p () const -{ -return deployedResource_.get () != 0; -} + MonolithicDeploymentDescription:: + MonolithicDeploymentDescription (::CIAO::Config_Handlers::MonolithicDeploymentDescription const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0), + regulator__ () + { + name_->container (this); + { + for (source_const_iterator i (s.source_.begin ());i != s.source_.end ();++i) add_source (*i); + } -::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& InstanceDeploymentDescription:: -deployedResource () const -{ -return *deployedResource_; -} + { + for (artifact_const_iterator i (s.artifact_.begin ());i != s.artifact_.end ();++i) add_artifact (*i); + } -void InstanceDeploymentDescription:: -deployedResource (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& e) -{ -if (deployedResource_.get ()) -{ -*deployedResource_ = e; -} + { + for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); + } -else -{ -deployedResource_ = ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > (new ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription (e)); -deployedResource_->container (this); -} -} + { + for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); + } -// InstanceDeploymentDescription -// -bool InstanceDeploymentDescription:: -deployedSharedResource_p () const -{ -return deployedSharedResource_.get () != 0; -} + if (id_.get ()) id_->container (this); + } -::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& InstanceDeploymentDescription:: -deployedSharedResource () const -{ -return *deployedSharedResource_; -} + ::CIAO::Config_Handlers::MonolithicDeploymentDescription& MonolithicDeploymentDescription:: + operator= (::CIAO::Config_Handlers::MonolithicDeploymentDescription const& s) + { + name (s.name ()); -void InstanceDeploymentDescription:: -deployedSharedResource (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& e) -{ -if (deployedSharedResource_.get ()) -{ -*deployedSharedResource_ = e; -} + source_.clear (); + { + for (source_const_iterator i (s.source_.begin ());i != s.source_.end ();++i) add_source (*i); + } -else -{ -deployedSharedResource_ = ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > (new ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription (e)); -deployedSharedResource_->container (this); -} -} + artifact_.clear (); + { + for (artifact_const_iterator i (s.artifact_.begin ());i != s.artifact_.end ();++i) add_artifact (*i); + } -// InstanceDeploymentDescription -// -bool InstanceDeploymentDescription:: -id_p () const -{ -return id_.get () != 0; -} + execParameter_.clear (); + { + for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); + } -::XMLSchema::ID< ACE_TCHAR > const& InstanceDeploymentDescription:: -id () const -{ -return *id_; -} + deployRequirement_.clear (); + { + for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); + } -::XMLSchema::ID< ACE_TCHAR >& InstanceDeploymentDescription:: -id () -{ -return *id_; -} + if (s.id_.get ()) id (*(s.id_)); + else id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (0); -void InstanceDeploymentDescription:: -id (::XMLSchema::ID< ACE_TCHAR > const& e) -{ -if (id_.get ()) -{ -*id_ = e; -} + return *this; + } -else -{ -id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e)); -id_->container (this); -} -} + // MonolithicDeploymentDescription + // + ::XMLSchema::string< ACE_TCHAR > const& MonolithicDeploymentDescription:: + name () const + { + return *name_; + } -// CCMComponentPortKind -// + void MonolithicDeploymentDescription:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -CCMComponentPortKind::Value CCMComponentPortKind:: -integral () const -{ -return v_; -} + // MonolithicDeploymentDescription + // + MonolithicDeploymentDescription::source_iterator MonolithicDeploymentDescription:: + begin_source () + { + return source_.begin (); + } -bool -operator== (::CIAO::Config_Handlers::CCMComponentPortKind const& a, ::CIAO::Config_Handlers::CCMComponentPortKind const& b) -{ -return a.v_ == b.v_; -} + MonolithicDeploymentDescription::source_iterator MonolithicDeploymentDescription:: + end_source () + { + return source_.end (); + } -bool -operator!= (::CIAO::Config_Handlers::CCMComponentPortKind const& a, ::CIAO::Config_Handlers::CCMComponentPortKind const& b) -{ -return a.v_ != b.v_; -} + MonolithicDeploymentDescription::source_const_iterator MonolithicDeploymentDescription:: + begin_source () const + { + return source_.begin (); + } -CCMComponentPortKind:: -CCMComponentPortKind (CCMComponentPortKind::Value v) -: v_ (v) -{ -} + MonolithicDeploymentDescription::source_const_iterator MonolithicDeploymentDescription:: + end_source () const + { + return source_.end (); + } -// ComponentPortDescription -// - -ComponentPortDescription:: -ComponentPortDescription (::XMLSchema::string< ACE_TCHAR > const& name__, -::XMLSchema::boolean const& provider__, -::XMLSchema::boolean const& exclusiveProvider__, -::XMLSchema::boolean const& exclusiveUser__, -::XMLSchema::boolean const& optional__, -::CIAO::Config_Handlers::CCMComponentPortKind const& kind__) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), -provider_ (new ::XMLSchema::boolean (provider__)), -exclusiveProvider_ (new ::XMLSchema::boolean (exclusiveProvider__)), -exclusiveUser_ (new ::XMLSchema::boolean (exclusiveUser__)), -optional_ (new ::XMLSchema::boolean (optional__)), -kind_ (new ::CIAO::Config_Handlers::CCMComponentPortKind (kind__)), -regulator__ () -{ -name_->container (this); -provider_->container (this); -exclusiveProvider_->container (this); -exclusiveUser_->container (this); -optional_->container (this); -kind_->container (this); -} + void MonolithicDeploymentDescription:: + add_source (::XMLSchema::string< ACE_TCHAR > const& e) + { + source_.push_back (e); + } -ComponentPortDescription:: -ComponentPortDescription (::CIAO::Config_Handlers::ComponentPortDescription const& s) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), -specificType_ (s.specificType_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.specificType_) : 0), -provider_ (new ::XMLSchema::boolean (*s.provider_)), -exclusiveProvider_ (new ::XMLSchema::boolean (*s.exclusiveProvider_)), -exclusiveUser_ (new ::XMLSchema::boolean (*s.exclusiveUser_)), -optional_ (new ::XMLSchema::boolean (*s.optional_)), -kind_ (new ::CIAO::Config_Handlers::CCMComponentPortKind (*s.kind_)), -regulator__ () -{ -name_->container (this); -if (specificType_.get ()) specificType_->container (this); -{ -for (supportedType_const_iterator i (s.supportedType_.begin ());i != s.supportedType_.end ();++i) add_supportedType (*i); -} + size_t MonolithicDeploymentDescription:: + count_source(void) const + { + return source_.size (); + } -provider_->container (this); -exclusiveProvider_->container (this); -exclusiveUser_->container (this); -optional_->container (this); -kind_->container (this); -} + // MonolithicDeploymentDescription + // + MonolithicDeploymentDescription::artifact_iterator MonolithicDeploymentDescription:: + begin_artifact () + { + return artifact_.begin (); + } -::CIAO::Config_Handlers::ComponentPortDescription& ComponentPortDescription:: -operator= (::CIAO::Config_Handlers::ComponentPortDescription const& s) -{ -name (s.name ()); + MonolithicDeploymentDescription::artifact_iterator MonolithicDeploymentDescription:: + end_artifact () + { + return artifact_.end (); + } -if (s.specificType_.get ()) specificType (*(s.specificType_)); -else specificType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + MonolithicDeploymentDescription::artifact_const_iterator MonolithicDeploymentDescription:: + begin_artifact () const + { + return artifact_.begin (); + } -supportedType_.clear (); -{ -for (supportedType_const_iterator i (s.supportedType_.begin ());i != s.supportedType_.end ();++i) add_supportedType (*i); -} + MonolithicDeploymentDescription::artifact_const_iterator MonolithicDeploymentDescription:: + end_artifact () const + { + return artifact_.end (); + } -provider (s.provider ()); + void MonolithicDeploymentDescription:: + add_artifact (::XMLSchema::IDREF< ACE_TCHAR > const& e) + { + artifact_.push_back (e); + } -exclusiveProvider (s.exclusiveProvider ()); + size_t MonolithicDeploymentDescription:: + count_artifact(void) const + { + return artifact_.size (); + } -exclusiveUser (s.exclusiveUser ()); + // MonolithicDeploymentDescription + // + MonolithicDeploymentDescription::execParameter_iterator MonolithicDeploymentDescription:: + begin_execParameter () + { + return execParameter_.begin (); + } -optional (s.optional ()); + MonolithicDeploymentDescription::execParameter_iterator MonolithicDeploymentDescription:: + end_execParameter () + { + return execParameter_.end (); + } -kind (s.kind ()); + MonolithicDeploymentDescription::execParameter_const_iterator MonolithicDeploymentDescription:: + begin_execParameter () const + { + return execParameter_.begin (); + } -return *this; -} + MonolithicDeploymentDescription::execParameter_const_iterator MonolithicDeploymentDescription:: + end_execParameter () const + { + return execParameter_.end (); + } + void MonolithicDeploymentDescription:: + add_execParameter (::CIAO::Config_Handlers::Property const& e) + { + execParameter_.push_back (e); + } -// ComponentPortDescription -// -::XMLSchema::string< ACE_TCHAR > const& ComponentPortDescription:: -name () const -{ -return *name_; -} + size_t MonolithicDeploymentDescription:: + count_execParameter(void) const + { + return execParameter_.size (); + } -void ComponentPortDescription:: -name (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*name_ = e; -} + // MonolithicDeploymentDescription + // + MonolithicDeploymentDescription::deployRequirement_iterator MonolithicDeploymentDescription:: + begin_deployRequirement () + { + return deployRequirement_.begin (); + } -// ComponentPortDescription -// -bool ComponentPortDescription:: -specificType_p () const -{ -return specificType_.get () != 0; -} + MonolithicDeploymentDescription::deployRequirement_iterator MonolithicDeploymentDescription:: + end_deployRequirement () + { + return deployRequirement_.end (); + } -::XMLSchema::string< ACE_TCHAR > const& ComponentPortDescription:: -specificType () const -{ -return *specificType_; -} + MonolithicDeploymentDescription::deployRequirement_const_iterator MonolithicDeploymentDescription:: + begin_deployRequirement () const + { + return deployRequirement_.begin (); + } -void ComponentPortDescription:: -specificType (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (specificType_.get ()) -{ -*specificType_ = e; -} + MonolithicDeploymentDescription::deployRequirement_const_iterator MonolithicDeploymentDescription:: + end_deployRequirement () const + { + return deployRequirement_.end (); + } -else -{ -specificType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -specificType_->container (this); -} -} + void MonolithicDeploymentDescription:: + add_deployRequirement (::CIAO::Config_Handlers::Requirement const& e) + { + deployRequirement_.push_back (e); + } -// ComponentPortDescription -// -ComponentPortDescription::supportedType_iterator ComponentPortDescription:: -begin_supportedType () -{ -return supportedType_.begin (); -} + size_t MonolithicDeploymentDescription:: + count_deployRequirement(void) const + { + return deployRequirement_.size (); + } -ComponentPortDescription::supportedType_iterator ComponentPortDescription:: -end_supportedType () -{ -return supportedType_.end (); -} + // MonolithicDeploymentDescription + // + bool MonolithicDeploymentDescription:: + id_p () const + { + return id_.get () != 0; + } -ComponentPortDescription::supportedType_const_iterator ComponentPortDescription:: -begin_supportedType () const -{ -return supportedType_.begin (); -} + ::XMLSchema::ID< ACE_TCHAR > const& MonolithicDeploymentDescription:: + id () const + { + return *id_; + } -ComponentPortDescription::supportedType_const_iterator ComponentPortDescription:: -end_supportedType () const -{ -return supportedType_.end (); -} + ::XMLSchema::ID< ACE_TCHAR >& MonolithicDeploymentDescription:: + id () + { + return *id_; + } -void ComponentPortDescription:: -add_supportedType (::XMLSchema::string< ACE_TCHAR > const& e) -{ -supportedType_.push_back (e); -} + void MonolithicDeploymentDescription:: + id (::XMLSchema::ID< ACE_TCHAR > const& e) + { + if (id_.get ()) + { + *id_ = e; + } -size_t ComponentPortDescription:: -count_supportedType(void) const -{ -return supportedType_.size (); -} + else + { + id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e)); + id_->container (this); + } + } -// ComponentPortDescription -// -::XMLSchema::boolean const& ComponentPortDescription:: -provider () const -{ -return *provider_; -} -void ComponentPortDescription:: -provider (::XMLSchema::boolean const& e) -{ -*provider_ = e; -} + // ResourceUsageKind + // -// ComponentPortDescription -// -::XMLSchema::boolean const& ComponentPortDescription:: -exclusiveProvider () const -{ -return *exclusiveProvider_; -} + ResourceUsageKind::Value ResourceUsageKind:: + integral () const + { + return v_; + } -void ComponentPortDescription:: -exclusiveProvider (::XMLSchema::boolean const& e) -{ -*exclusiveProvider_ = e; -} + bool + operator== (::CIAO::Config_Handlers::ResourceUsageKind const& a, ::CIAO::Config_Handlers::ResourceUsageKind const& b) + { + return a.v_ == b.v_; + } -// ComponentPortDescription -// -::XMLSchema::boolean const& ComponentPortDescription:: -exclusiveUser () const -{ -return *exclusiveUser_; -} + bool + operator!= (::CIAO::Config_Handlers::ResourceUsageKind const& a, ::CIAO::Config_Handlers::ResourceUsageKind const& b) + { + return a.v_ != b.v_; + } -void ComponentPortDescription:: -exclusiveUser (::XMLSchema::boolean const& e) -{ -*exclusiveUser_ = e; -} + ResourceUsageKind:: + ResourceUsageKind (ResourceUsageKind::Value v) + : v_ (v) + { + } -// ComponentPortDescription -// -::XMLSchema::boolean const& ComponentPortDescription:: -optional () const -{ -return *optional_; -} + // InstanceResourceDeploymentDescription + // + + InstanceResourceDeploymentDescription:: + InstanceResourceDeploymentDescription (::CIAO::Config_Handlers::ResourceUsageKind const& resourceUsage__, + ::XMLSchema::string< ACE_TCHAR > const& requirementName__, + ::XMLSchema::string< ACE_TCHAR > const& resourceName__) + : + ::XSCRT::Type (), + resourceUsage_ (new ::CIAO::Config_Handlers::ResourceUsageKind (resourceUsage__)), + requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (requirementName__)), + resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (resourceName__)), + regulator__ () + { + resourceUsage_->container (this); + requirementName_->container (this); + resourceName_->container (this); + } -void ComponentPortDescription:: -optional (::XMLSchema::boolean const& e) -{ -*optional_ = e; -} + InstanceResourceDeploymentDescription:: + InstanceResourceDeploymentDescription (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& s) + : + ::XSCRT::Type (), + resourceUsage_ (new ::CIAO::Config_Handlers::ResourceUsageKind (*s.resourceUsage_)), + requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requirementName_)), + resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceName_)), + regulator__ () + { + resourceUsage_->container (this); + requirementName_->container (this); + resourceName_->container (this); + { + for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); + } + } -// ComponentPortDescription -// -::CIAO::Config_Handlers::CCMComponentPortKind const& ComponentPortDescription:: -kind () const -{ -return *kind_; -} + ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription& InstanceResourceDeploymentDescription:: + operator= (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& s) + { + resourceUsage (s.resourceUsage ()); -void ComponentPortDescription:: -kind (::CIAO::Config_Handlers::CCMComponentPortKind const& e) -{ -*kind_ = e; -} + requirementName (s.requirementName ()); + resourceName (s.resourceName ()); -// ComponentPropertyDescription -// + property_.clear (); + { + for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); + } -ComponentPropertyDescription:: -ComponentPropertyDescription (::XMLSchema::string< ACE_TCHAR > const& name__, -::CIAO::Config_Handlers::DataType const& type__) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), -type_ (new ::CIAO::Config_Handlers::DataType (type__)), -regulator__ () -{ -name_->container (this); -type_->container (this); -} + return *this; + } -ComponentPropertyDescription:: -ComponentPropertyDescription (::CIAO::Config_Handlers::ComponentPropertyDescription const& s) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), -type_ (new ::CIAO::Config_Handlers::DataType (*s.type_)), -regulator__ () -{ -name_->container (this); -type_->container (this); -} -::CIAO::Config_Handlers::ComponentPropertyDescription& ComponentPropertyDescription:: -operator= (::CIAO::Config_Handlers::ComponentPropertyDescription const& s) -{ -name (s.name ()); + // InstanceResourceDeploymentDescription + // + ::CIAO::Config_Handlers::ResourceUsageKind const& InstanceResourceDeploymentDescription:: + resourceUsage () const + { + return *resourceUsage_; + } -type (s.type ()); + void InstanceResourceDeploymentDescription:: + resourceUsage (::CIAO::Config_Handlers::ResourceUsageKind const& e) + { + *resourceUsage_ = e; + } -return *this; -} + // InstanceResourceDeploymentDescription + // + ::XMLSchema::string< ACE_TCHAR > const& InstanceResourceDeploymentDescription:: + requirementName () const + { + return *requirementName_; + } + void InstanceResourceDeploymentDescription:: + requirementName (::XMLSchema::string< ACE_TCHAR > const& e) + { + *requirementName_ = e; + } -// ComponentPropertyDescription -// -::XMLSchema::string< ACE_TCHAR > const& ComponentPropertyDescription:: -name () const -{ -return *name_; -} + // InstanceResourceDeploymentDescription + // + ::XMLSchema::string< ACE_TCHAR > const& InstanceResourceDeploymentDescription:: + resourceName () const + { + return *resourceName_; + } -void ComponentPropertyDescription:: -name (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*name_ = e; -} + void InstanceResourceDeploymentDescription:: + resourceName (::XMLSchema::string< ACE_TCHAR > const& e) + { + *resourceName_ = e; + } -// ComponentPropertyDescription -// -::CIAO::Config_Handlers::DataType const& ComponentPropertyDescription:: -type () const -{ -return *type_; -} + // InstanceResourceDeploymentDescription + // + InstanceResourceDeploymentDescription::property_iterator InstanceResourceDeploymentDescription:: + begin_property () + { + return property_.begin (); + } -void ComponentPropertyDescription:: -type (::CIAO::Config_Handlers::DataType const& e) -{ -*type_ = e; -} + InstanceResourceDeploymentDescription::property_iterator InstanceResourceDeploymentDescription:: + end_property () + { + return property_.end (); + } + InstanceResourceDeploymentDescription::property_const_iterator InstanceResourceDeploymentDescription:: + begin_property () const + { + return property_.begin (); + } -// ComponentExternalPortEndpoint -// + InstanceResourceDeploymentDescription::property_const_iterator InstanceResourceDeploymentDescription:: + end_property () const + { + return property_.end (); + } -ComponentExternalPortEndpoint:: -ComponentExternalPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__) -: -::XSCRT::Type (), -portName_ (new ::XMLSchema::string< ACE_TCHAR > (portName__)), -regulator__ () -{ -portName_->container (this); -} + void InstanceResourceDeploymentDescription:: + add_property (::CIAO::Config_Handlers::Property const& e) + { + property_.push_back (e); + } -ComponentExternalPortEndpoint:: -ComponentExternalPortEndpoint (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& s) -: -::XSCRT::Type (), -portName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.portName_)), -regulator__ () -{ -portName_->container (this); -} + size_t InstanceResourceDeploymentDescription:: + count_property(void) const + { + return property_.size (); + } -::CIAO::Config_Handlers::ComponentExternalPortEndpoint& ComponentExternalPortEndpoint:: -operator= (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& s) -{ -portName (s.portName ()); -return *this; -} + // InstanceDeploymentDescription + // + + InstanceDeploymentDescription:: + InstanceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__, + ::XMLSchema::string< ACE_TCHAR > const& node__, + ::XMLSchema::string< ACE_TCHAR > const& source__, + ::XMLSchema::IDREF< ACE_TCHAR > const& implementation__) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + node_ (new ::XMLSchema::string< ACE_TCHAR > (node__)), + source_ (new ::XMLSchema::string< ACE_TCHAR > (source__)), + implementation_ (new ::XMLSchema::IDREF< ACE_TCHAR > (implementation__)), + regulator__ () + { + name_->container (this); + node_->container (this); + source_->container (this); + implementation_->container (this); + } + InstanceDeploymentDescription:: + InstanceDeploymentDescription (::CIAO::Config_Handlers::InstanceDeploymentDescription const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + node_ (new ::XMLSchema::string< ACE_TCHAR > (*s.node_)), + source_ (new ::XMLSchema::string< ACE_TCHAR > (*s.source_)), + implementation_ (new ::XMLSchema::IDREF< ACE_TCHAR > (*s.implementation_)), + deployedResource_ (s.deployedResource_.get () ? new ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription (*s.deployedResource_) : 0), + deployedSharedResource_ (s.deployedSharedResource_.get () ? new ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription (*s.deployedSharedResource_) : 0), + id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0), + regulator__ () + { + name_->container (this); + node_->container (this); + source_->container (this); + implementation_->container (this); + { + for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); + } -// ComponentExternalPortEndpoint -// -::XMLSchema::string< ACE_TCHAR > const& ComponentExternalPortEndpoint:: -portName () const -{ -return *portName_; -} + if (deployedResource_.get ()) deployedResource_->container (this); + if (deployedSharedResource_.get ()) deployedSharedResource_->container (this); + if (id_.get ()) id_->container (this); + } -void ComponentExternalPortEndpoint:: -portName (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*portName_ = e; -} + ::CIAO::Config_Handlers::InstanceDeploymentDescription& InstanceDeploymentDescription:: + operator= (::CIAO::Config_Handlers::InstanceDeploymentDescription const& s) + { + name (s.name ()); + node (s.node ()); -// PlanSubcomponentPortEndpoint -// + source (s.source ()); -PlanSubcomponentPortEndpoint:: -PlanSubcomponentPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__, -::CIAO::Config_Handlers::CCMComponentPortKind const& kind__, -::XMLSchema::IDREF< ACE_TCHAR > const& instance__) -: -::XSCRT::Type (), -portName_ (new ::XMLSchema::string< ACE_TCHAR > (portName__)), -kind_ (new ::CIAO::Config_Handlers::CCMComponentPortKind (kind__)), -instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (instance__)), -regulator__ () -{ -portName_->container (this); -kind_->container (this); -instance_->container (this); -} + implementation (s.implementation ()); -PlanSubcomponentPortEndpoint:: -PlanSubcomponentPortEndpoint (::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint const& s) -: -::XSCRT::Type (), -portName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.portName_)), -provider_ (s.provider_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.provider_) : 0), -kind_ (new ::CIAO::Config_Handlers::CCMComponentPortKind (*s.kind_)), -instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (*s.instance_)), -regulator__ () -{ -portName_->container (this); -if (provider_.get ()) provider_->container (this); -kind_->container (this); -instance_->container (this); -} + configProperty_.clear (); + { + for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); + } -::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint& PlanSubcomponentPortEndpoint:: -operator= (::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint const& s) -{ -portName (s.portName ()); + if (s.deployedResource_.get ()) deployedResource (*(s.deployedResource_)); + else deployedResource_ = ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > (0); -if (s.provider_.get ()) provider (*(s.provider_)); -else provider_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + if (s.deployedSharedResource_.get ()) deployedSharedResource (*(s.deployedSharedResource_)); + else deployedSharedResource_ = ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > (0); -kind (s.kind ()); + if (s.id_.get ()) id (*(s.id_)); + else id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (0); -instance (s.instance ()); + return *this; + } -return *this; -} + // InstanceDeploymentDescription + // + ::XMLSchema::string< ACE_TCHAR > const& InstanceDeploymentDescription:: + name () const + { + return *name_; + } -// PlanSubcomponentPortEndpoint -// -::XMLSchema::string< ACE_TCHAR > const& PlanSubcomponentPortEndpoint:: -portName () const -{ -return *portName_; -} + void InstanceDeploymentDescription:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -void PlanSubcomponentPortEndpoint:: -portName (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*portName_ = e; -} + // InstanceDeploymentDescription + // + ::XMLSchema::string< ACE_TCHAR > const& InstanceDeploymentDescription:: + node () const + { + return *node_; + } -// PlanSubcomponentPortEndpoint -// -bool PlanSubcomponentPortEndpoint:: -provider_p () const -{ -return provider_.get () != 0; -} + void InstanceDeploymentDescription:: + node (::XMLSchema::string< ACE_TCHAR > const& e) + { + *node_ = e; + } -::XMLSchema::string< ACE_TCHAR > const& PlanSubcomponentPortEndpoint:: -provider () const -{ -return *provider_; -} + // InstanceDeploymentDescription + // + ::XMLSchema::string< ACE_TCHAR > const& InstanceDeploymentDescription:: + source () const + { + return *source_; + } -void PlanSubcomponentPortEndpoint:: -provider (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (provider_.get ()) -{ -*provider_ = e; -} + void InstanceDeploymentDescription:: + source (::XMLSchema::string< ACE_TCHAR > const& e) + { + *source_ = e; + } -else -{ -provider_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -provider_->container (this); -} -} + // InstanceDeploymentDescription + // + ::XMLSchema::IDREF< ACE_TCHAR > const& InstanceDeploymentDescription:: + implementation () const + { + return *implementation_; + } -// PlanSubcomponentPortEndpoint -// -::CIAO::Config_Handlers::CCMComponentPortKind const& PlanSubcomponentPortEndpoint:: -kind () const -{ -return *kind_; -} + void InstanceDeploymentDescription:: + implementation (::XMLSchema::IDREF< ACE_TCHAR > const& e) + { + *implementation_ = e; + } -void PlanSubcomponentPortEndpoint:: -kind (::CIAO::Config_Handlers::CCMComponentPortKind const& e) -{ -*kind_ = e; -} + // InstanceDeploymentDescription + // + InstanceDeploymentDescription::configProperty_iterator InstanceDeploymentDescription:: + begin_configProperty () + { + return configProperty_.begin (); + } -// PlanSubcomponentPortEndpoint -// -::XMLSchema::IDREF< ACE_TCHAR > const& PlanSubcomponentPortEndpoint:: -instance () const -{ -return *instance_; -} + InstanceDeploymentDescription::configProperty_iterator InstanceDeploymentDescription:: + end_configProperty () + { + return configProperty_.end (); + } -void PlanSubcomponentPortEndpoint:: -instance (::XMLSchema::IDREF< ACE_TCHAR > const& e) -{ -*instance_ = e; -} + InstanceDeploymentDescription::configProperty_const_iterator InstanceDeploymentDescription:: + begin_configProperty () const + { + return configProperty_.begin (); + } + InstanceDeploymentDescription::configProperty_const_iterator InstanceDeploymentDescription:: + end_configProperty () const + { + return configProperty_.end (); + } -// ExternalReferenceEndpoint -// + void InstanceDeploymentDescription:: + add_configProperty (::CIAO::Config_Handlers::Property const& e) + { + configProperty_.push_back (e); + } -ExternalReferenceEndpoint:: -ExternalReferenceEndpoint (::XMLSchema::string< ACE_TCHAR > const& location__) -: -::XSCRT::Type (), -location_ (new ::XMLSchema::string< ACE_TCHAR > (location__)), -regulator__ () -{ -location_->container (this); -} + size_t InstanceDeploymentDescription:: + count_configProperty(void) const + { + return configProperty_.size (); + } -ExternalReferenceEndpoint:: -ExternalReferenceEndpoint (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& s) -: -::XSCRT::Type (), -location_ (new ::XMLSchema::string< ACE_TCHAR > (*s.location_)), -regulator__ () -{ -location_->container (this); -} + // InstanceDeploymentDescription + // + bool InstanceDeploymentDescription:: + deployedResource_p () const + { + return deployedResource_.get () != 0; + } -::CIAO::Config_Handlers::ExternalReferenceEndpoint& ExternalReferenceEndpoint:: -operator= (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& s) -{ -location (s.location ()); + ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& InstanceDeploymentDescription:: + deployedResource () const + { + return *deployedResource_; + } -return *this; -} + void InstanceDeploymentDescription:: + deployedResource (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& e) + { + if (deployedResource_.get ()) + { + *deployedResource_ = e; + } + else + { + deployedResource_ = ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > (new ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription (e)); + deployedResource_->container (this); + } + } -// ExternalReferenceEndpoint -// -::XMLSchema::string< ACE_TCHAR > const& ExternalReferenceEndpoint:: -location () const -{ -return *location_; -} + // InstanceDeploymentDescription + // + bool InstanceDeploymentDescription:: + deployedSharedResource_p () const + { + return deployedSharedResource_.get () != 0; + } -void ExternalReferenceEndpoint:: -location (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*location_ = e; -} + ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& InstanceDeploymentDescription:: + deployedSharedResource () const + { + return *deployedSharedResource_; + } + void InstanceDeploymentDescription:: + deployedSharedResource (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& e) + { + if (deployedSharedResource_.get ()) + { + *deployedSharedResource_ = e; + } -// ConnectionResourceDeploymentDescription -// + else + { + deployedSharedResource_ = ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > (new ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription (e)); + deployedSharedResource_->container (this); + } + } -ConnectionResourceDeploymentDescription:: -ConnectionResourceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& targetName__, -::XMLSchema::string< ACE_TCHAR > const& requirementName__, -::XMLSchema::string< ACE_TCHAR > const& resourceName__) -: -::XSCRT::Type (), -targetName_ (new ::XMLSchema::string< ACE_TCHAR > (targetName__)), -requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (requirementName__)), -resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (resourceName__)), -regulator__ () -{ -targetName_->container (this); -requirementName_->container (this); -resourceName_->container (this); -} + // InstanceDeploymentDescription + // + bool InstanceDeploymentDescription:: + id_p () const + { + return id_.get () != 0; + } -ConnectionResourceDeploymentDescription:: -ConnectionResourceDeploymentDescription (::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription const& s) -: -::XSCRT::Type (), -targetName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.targetName_)), -requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requirementName_)), -resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceName_)), -regulator__ () -{ -targetName_->container (this); -requirementName_->container (this); -resourceName_->container (this); -{ -for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); -} -} + ::XMLSchema::ID< ACE_TCHAR > const& InstanceDeploymentDescription:: + id () const + { + return *id_; + } -::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription& ConnectionResourceDeploymentDescription:: -operator= (::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription const& s) -{ -targetName (s.targetName ()); + ::XMLSchema::ID< ACE_TCHAR >& InstanceDeploymentDescription:: + id () + { + return *id_; + } -requirementName (s.requirementName ()); + void InstanceDeploymentDescription:: + id (::XMLSchema::ID< ACE_TCHAR > const& e) + { + if (id_.get ()) + { + *id_ = e; + } -resourceName (s.resourceName ()); + else + { + id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e)); + id_->container (this); + } + } -property_.clear (); -{ -for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); -} -return *this; -} + // CCMComponentPortKind + // + CCMComponentPortKind::Value CCMComponentPortKind:: + integral () const + { + return v_; + } -// ConnectionResourceDeploymentDescription -// -::XMLSchema::string< ACE_TCHAR > const& ConnectionResourceDeploymentDescription:: -targetName () const -{ -return *targetName_; -} + bool + operator== (::CIAO::Config_Handlers::CCMComponentPortKind const& a, ::CIAO::Config_Handlers::CCMComponentPortKind const& b) + { + return a.v_ == b.v_; + } -void ConnectionResourceDeploymentDescription:: -targetName (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*targetName_ = e; -} + bool + operator!= (::CIAO::Config_Handlers::CCMComponentPortKind const& a, ::CIAO::Config_Handlers::CCMComponentPortKind const& b) + { + return a.v_ != b.v_; + } -// ConnectionResourceDeploymentDescription -// -::XMLSchema::string< ACE_TCHAR > const& ConnectionResourceDeploymentDescription:: -requirementName () const -{ -return *requirementName_; -} + CCMComponentPortKind:: + CCMComponentPortKind (CCMComponentPortKind::Value v) + : v_ (v) + { + } -void ConnectionResourceDeploymentDescription:: -requirementName (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*requirementName_ = e; -} + // ComponentPortDescription + // + + ComponentPortDescription:: + ComponentPortDescription (::XMLSchema::string< ACE_TCHAR > const& name__, + ::XMLSchema::boolean const& provider__, + ::XMLSchema::boolean const& exclusiveProvider__, + ::XMLSchema::boolean const& exclusiveUser__, + ::XMLSchema::boolean const& optional__, + ::CIAO::Config_Handlers::CCMComponentPortKind const& kind__) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + provider_ (new ::XMLSchema::boolean (provider__)), + exclusiveProvider_ (new ::XMLSchema::boolean (exclusiveProvider__)), + exclusiveUser_ (new ::XMLSchema::boolean (exclusiveUser__)), + optional_ (new ::XMLSchema::boolean (optional__)), + kind_ (new ::CIAO::Config_Handlers::CCMComponentPortKind (kind__)), + regulator__ () + { + name_->container (this); + provider_->container (this); + exclusiveProvider_->container (this); + exclusiveUser_->container (this); + optional_->container (this); + kind_->container (this); + } -// ConnectionResourceDeploymentDescription -// -::XMLSchema::string< ACE_TCHAR > const& ConnectionResourceDeploymentDescription:: -resourceName () const -{ -return *resourceName_; -} + ComponentPortDescription:: + ComponentPortDescription (::CIAO::Config_Handlers::ComponentPortDescription const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + specificType_ (s.specificType_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.specificType_) : 0), + provider_ (new ::XMLSchema::boolean (*s.provider_)), + exclusiveProvider_ (new ::XMLSchema::boolean (*s.exclusiveProvider_)), + exclusiveUser_ (new ::XMLSchema::boolean (*s.exclusiveUser_)), + optional_ (new ::XMLSchema::boolean (*s.optional_)), + kind_ (new ::CIAO::Config_Handlers::CCMComponentPortKind (*s.kind_)), + regulator__ () + { + name_->container (this); + if (specificType_.get ()) specificType_->container (this); + { + for (supportedType_const_iterator i (s.supportedType_.begin ());i != s.supportedType_.end ();++i) add_supportedType (*i); + } -void ConnectionResourceDeploymentDescription:: -resourceName (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*resourceName_ = e; -} + provider_->container (this); + exclusiveProvider_->container (this); + exclusiveUser_->container (this); + optional_->container (this); + kind_->container (this); + } -// ConnectionResourceDeploymentDescription -// -ConnectionResourceDeploymentDescription::property_iterator ConnectionResourceDeploymentDescription:: -begin_property () -{ -return property_.begin (); -} + ::CIAO::Config_Handlers::ComponentPortDescription& ComponentPortDescription:: + operator= (::CIAO::Config_Handlers::ComponentPortDescription const& s) + { + name (s.name ()); -ConnectionResourceDeploymentDescription::property_iterator ConnectionResourceDeploymentDescription:: -end_property () -{ -return property_.end (); -} + if (s.specificType_.get ()) specificType (*(s.specificType_)); + else specificType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -ConnectionResourceDeploymentDescription::property_const_iterator ConnectionResourceDeploymentDescription:: -begin_property () const -{ -return property_.begin (); -} + supportedType_.clear (); + { + for (supportedType_const_iterator i (s.supportedType_.begin ());i != s.supportedType_.end ();++i) add_supportedType (*i); + } -ConnectionResourceDeploymentDescription::property_const_iterator ConnectionResourceDeploymentDescription:: -end_property () const -{ -return property_.end (); -} + provider (s.provider ()); -void ConnectionResourceDeploymentDescription:: -add_property (::CIAO::Config_Handlers::Property const& e) -{ -property_.push_back (e); -} + exclusiveProvider (s.exclusiveProvider ()); -size_t ConnectionResourceDeploymentDescription:: -count_property(void) const -{ -return property_.size (); -} + exclusiveUser (s.exclusiveUser ()); + optional (s.optional ()); -// PlanConnectionDescription -// + kind (s.kind ()); -PlanConnectionDescription:: -PlanConnectionDescription (::XMLSchema::string< ACE_TCHAR > const& name__) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), -regulator__ () -{ -name_->container (this); -} + return *this; + } -PlanConnectionDescription:: -PlanConnectionDescription (::CIAO::Config_Handlers::PlanConnectionDescription const& s) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), -source_ (s.source_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.source_) : 0), -regulator__ () -{ -name_->container (this); -if (source_.get ()) source_->container (this); -{ -for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); -} -{ -for (externalEndpoint_const_iterator i (s.externalEndpoint_.begin ());i != s.externalEndpoint_.end ();++i) add_externalEndpoint (*i); -} + // ComponentPortDescription + // + ::XMLSchema::string< ACE_TCHAR > const& ComponentPortDescription:: + name () const + { + return *name_; + } -{ -for (internalEndpoint_const_iterator i (s.internalEndpoint_.begin ());i != s.internalEndpoint_.end ();++i) add_internalEndpoint (*i); -} + void ComponentPortDescription:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -{ -for (externalReference_const_iterator i (s.externalReference_.begin ());i != s.externalReference_.end ();++i) add_externalReference (*i); -} + // ComponentPortDescription + // + bool ComponentPortDescription:: + specificType_p () const + { + return specificType_.get () != 0; + } -{ -for (deployedResource_const_iterator i (s.deployedResource_.begin ());i != s.deployedResource_.end ();++i) add_deployedResource (*i); -} -} + ::XMLSchema::string< ACE_TCHAR > const& ComponentPortDescription:: + specificType () const + { + return *specificType_; + } -::CIAO::Config_Handlers::PlanConnectionDescription& PlanConnectionDescription:: -operator= (::CIAO::Config_Handlers::PlanConnectionDescription const& s) -{ -name (s.name ()); + void ComponentPortDescription:: + specificType (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (specificType_.get ()) + { + *specificType_ = e; + } -if (s.source_.get ()) source (*(s.source_)); -else source_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + else + { + specificType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + specificType_->container (this); + } + } -deployRequirement_.clear (); -{ -for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); -} + // ComponentPortDescription + // + ComponentPortDescription::supportedType_iterator ComponentPortDescription:: + begin_supportedType () + { + return supportedType_.begin (); + } -externalEndpoint_.clear (); -{ -for (externalEndpoint_const_iterator i (s.externalEndpoint_.begin ());i != s.externalEndpoint_.end ();++i) add_externalEndpoint (*i); -} + ComponentPortDescription::supportedType_iterator ComponentPortDescription:: + end_supportedType () + { + return supportedType_.end (); + } -internalEndpoint_.clear (); -{ -for (internalEndpoint_const_iterator i (s.internalEndpoint_.begin ());i != s.internalEndpoint_.end ();++i) add_internalEndpoint (*i); -} + ComponentPortDescription::supportedType_const_iterator ComponentPortDescription:: + begin_supportedType () const + { + return supportedType_.begin (); + } -externalReference_.clear (); -{ -for (externalReference_const_iterator i (s.externalReference_.begin ());i != s.externalReference_.end ();++i) add_externalReference (*i); -} + ComponentPortDescription::supportedType_const_iterator ComponentPortDescription:: + end_supportedType () const + { + return supportedType_.end (); + } -deployedResource_.clear (); -{ -for (deployedResource_const_iterator i (s.deployedResource_.begin ());i != s.deployedResource_.end ();++i) add_deployedResource (*i); -} + void ComponentPortDescription:: + add_supportedType (::XMLSchema::string< ACE_TCHAR > const& e) + { + supportedType_.push_back (e); + } -return *this; -} + size_t ComponentPortDescription:: + count_supportedType(void) const + { + return supportedType_.size (); + } + // ComponentPortDescription + // + ::XMLSchema::boolean const& ComponentPortDescription:: + provider () const + { + return *provider_; + } -// PlanConnectionDescription -// -::XMLSchema::string< ACE_TCHAR > const& PlanConnectionDescription:: -name () const -{ -return *name_; -} + void ComponentPortDescription:: + provider (::XMLSchema::boolean const& e) + { + *provider_ = e; + } -void PlanConnectionDescription:: -name (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*name_ = e; -} + // ComponentPortDescription + // + ::XMLSchema::boolean const& ComponentPortDescription:: + exclusiveProvider () const + { + return *exclusiveProvider_; + } -// PlanConnectionDescription -// -bool PlanConnectionDescription:: -source_p () const -{ -return source_.get () != 0; -} + void ComponentPortDescription:: + exclusiveProvider (::XMLSchema::boolean const& e) + { + *exclusiveProvider_ = e; + } -::XMLSchema::string< ACE_TCHAR > const& PlanConnectionDescription:: -source () const -{ -return *source_; -} + // ComponentPortDescription + // + ::XMLSchema::boolean const& ComponentPortDescription:: + exclusiveUser () const + { + return *exclusiveUser_; + } -void PlanConnectionDescription:: -source (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (source_.get ()) -{ -*source_ = e; -} + void ComponentPortDescription:: + exclusiveUser (::XMLSchema::boolean const& e) + { + *exclusiveUser_ = e; + } -else -{ -source_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -source_->container (this); -} -} + // ComponentPortDescription + // + ::XMLSchema::boolean const& ComponentPortDescription:: + optional () const + { + return *optional_; + } -// PlanConnectionDescription -// -PlanConnectionDescription::deployRequirement_iterator PlanConnectionDescription:: -begin_deployRequirement () -{ -return deployRequirement_.begin (); -} + void ComponentPortDescription:: + optional (::XMLSchema::boolean const& e) + { + *optional_ = e; + } -PlanConnectionDescription::deployRequirement_iterator PlanConnectionDescription:: -end_deployRequirement () -{ -return deployRequirement_.end (); -} + // ComponentPortDescription + // + ::CIAO::Config_Handlers::CCMComponentPortKind const& ComponentPortDescription:: + kind () const + { + return *kind_; + } -PlanConnectionDescription::deployRequirement_const_iterator PlanConnectionDescription:: -begin_deployRequirement () const -{ -return deployRequirement_.begin (); -} + void ComponentPortDescription:: + kind (::CIAO::Config_Handlers::CCMComponentPortKind const& e) + { + *kind_ = e; + } -PlanConnectionDescription::deployRequirement_const_iterator PlanConnectionDescription:: -end_deployRequirement () const -{ -return deployRequirement_.end (); -} -void PlanConnectionDescription:: -add_deployRequirement (::CIAO::Config_Handlers::Requirement const& e) -{ -deployRequirement_.push_back (e); -} + // ComponentPropertyDescription + // -size_t PlanConnectionDescription:: -count_deployRequirement(void) const -{ -return deployRequirement_.size (); -} + ComponentPropertyDescription:: + ComponentPropertyDescription (::XMLSchema::string< ACE_TCHAR > const& name__, + ::CIAO::Config_Handlers::DataType const& type__) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + type_ (new ::CIAO::Config_Handlers::DataType (type__)), + regulator__ () + { + name_->container (this); + type_->container (this); + } -// PlanConnectionDescription -// -PlanConnectionDescription::externalEndpoint_iterator PlanConnectionDescription:: -begin_externalEndpoint () -{ -return externalEndpoint_.begin (); -} + ComponentPropertyDescription:: + ComponentPropertyDescription (::CIAO::Config_Handlers::ComponentPropertyDescription const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + type_ (new ::CIAO::Config_Handlers::DataType (*s.type_)), + regulator__ () + { + name_->container (this); + type_->container (this); + } -PlanConnectionDescription::externalEndpoint_iterator PlanConnectionDescription:: -end_externalEndpoint () -{ -return externalEndpoint_.end (); -} + ::CIAO::Config_Handlers::ComponentPropertyDescription& ComponentPropertyDescription:: + operator= (::CIAO::Config_Handlers::ComponentPropertyDescription const& s) + { + name (s.name ()); -PlanConnectionDescription::externalEndpoint_const_iterator PlanConnectionDescription:: -begin_externalEndpoint () const -{ -return externalEndpoint_.begin (); -} + type (s.type ()); -PlanConnectionDescription::externalEndpoint_const_iterator PlanConnectionDescription:: -end_externalEndpoint () const -{ -return externalEndpoint_.end (); -} + return *this; + } -void PlanConnectionDescription:: -add_externalEndpoint (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& e) -{ -externalEndpoint_.push_back (e); -} -size_t PlanConnectionDescription:: -count_externalEndpoint(void) const -{ -return externalEndpoint_.size (); -} + // ComponentPropertyDescription + // + ::XMLSchema::string< ACE_TCHAR > const& ComponentPropertyDescription:: + name () const + { + return *name_; + } -// PlanConnectionDescription -// -PlanConnectionDescription::internalEndpoint_iterator PlanConnectionDescription:: -begin_internalEndpoint () -{ -return internalEndpoint_.begin (); -} + void ComponentPropertyDescription:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -PlanConnectionDescription::internalEndpoint_iterator PlanConnectionDescription:: -end_internalEndpoint () -{ -return internalEndpoint_.end (); -} + // ComponentPropertyDescription + // + ::CIAO::Config_Handlers::DataType const& ComponentPropertyDescription:: + type () const + { + return *type_; + } -PlanConnectionDescription::internalEndpoint_const_iterator PlanConnectionDescription:: -begin_internalEndpoint () const -{ -return internalEndpoint_.begin (); -} + void ComponentPropertyDescription:: + type (::CIAO::Config_Handlers::DataType const& e) + { + *type_ = e; + } -PlanConnectionDescription::internalEndpoint_const_iterator PlanConnectionDescription:: -end_internalEndpoint () const -{ -return internalEndpoint_.end (); -} -void PlanConnectionDescription:: -add_internalEndpoint (::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint const& e) -{ -internalEndpoint_.push_back (e); -} + // ComponentExternalPortEndpoint + // -size_t PlanConnectionDescription:: -count_internalEndpoint(void) const -{ -return internalEndpoint_.size (); -} + ComponentExternalPortEndpoint:: + ComponentExternalPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__) + : + ::XSCRT::Type (), + portName_ (new ::XMLSchema::string< ACE_TCHAR > (portName__)), + regulator__ () + { + portName_->container (this); + } -// PlanConnectionDescription -// -PlanConnectionDescription::externalReference_iterator PlanConnectionDescription:: -begin_externalReference () -{ -return externalReference_.begin (); -} + ComponentExternalPortEndpoint:: + ComponentExternalPortEndpoint (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& s) + : + ::XSCRT::Type (), + portName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.portName_)), + regulator__ () + { + portName_->container (this); + } -PlanConnectionDescription::externalReference_iterator PlanConnectionDescription:: -end_externalReference () -{ -return externalReference_.end (); -} + ::CIAO::Config_Handlers::ComponentExternalPortEndpoint& ComponentExternalPortEndpoint:: + operator= (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& s) + { + portName (s.portName ()); -PlanConnectionDescription::externalReference_const_iterator PlanConnectionDescription:: -begin_externalReference () const -{ -return externalReference_.begin (); -} + return *this; + } -PlanConnectionDescription::externalReference_const_iterator PlanConnectionDescription:: -end_externalReference () const -{ -return externalReference_.end (); -} -void PlanConnectionDescription:: -add_externalReference (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& e) -{ -externalReference_.push_back (e); -} + // ComponentExternalPortEndpoint + // + ::XMLSchema::string< ACE_TCHAR > const& ComponentExternalPortEndpoint:: + portName () const + { + return *portName_; + } -size_t PlanConnectionDescription:: -count_externalReference(void) const -{ -return externalReference_.size (); -} + void ComponentExternalPortEndpoint:: + portName (::XMLSchema::string< ACE_TCHAR > const& e) + { + *portName_ = e; + } -// PlanConnectionDescription -// -PlanConnectionDescription::deployedResource_iterator PlanConnectionDescription:: -begin_deployedResource () -{ -return deployedResource_.begin (); -} -PlanConnectionDescription::deployedResource_iterator PlanConnectionDescription:: -end_deployedResource () -{ -return deployedResource_.end (); -} + // PlanSubcomponentPortEndpoint + // -PlanConnectionDescription::deployedResource_const_iterator PlanConnectionDescription:: -begin_deployedResource () const -{ -return deployedResource_.begin (); -} + PlanSubcomponentPortEndpoint:: + PlanSubcomponentPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__, + ::CIAO::Config_Handlers::CCMComponentPortKind const& kind__, + ::XMLSchema::IDREF< ACE_TCHAR > const& instance__) + : + ::XSCRT::Type (), + portName_ (new ::XMLSchema::string< ACE_TCHAR > (portName__)), + kind_ (new ::CIAO::Config_Handlers::CCMComponentPortKind (kind__)), + instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (instance__)), + regulator__ () + { + portName_->container (this); + kind_->container (this); + instance_->container (this); + } -PlanConnectionDescription::deployedResource_const_iterator PlanConnectionDescription:: -end_deployedResource () const -{ -return deployedResource_.end (); -} + PlanSubcomponentPortEndpoint:: + PlanSubcomponentPortEndpoint (::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint const& s) + : + ::XSCRT::Type (), + portName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.portName_)), + provider_ (s.provider_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.provider_) : 0), + kind_ (new ::CIAO::Config_Handlers::CCMComponentPortKind (*s.kind_)), + instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (*s.instance_)), + regulator__ () + { + portName_->container (this); + if (provider_.get ()) provider_->container (this); + kind_->container (this); + instance_->container (this); + } -void PlanConnectionDescription:: -add_deployedResource (::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription const& e) -{ -deployedResource_.push_back (e); -} + ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint& PlanSubcomponentPortEndpoint:: + operator= (::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint const& s) + { + portName (s.portName ()); -size_t PlanConnectionDescription:: -count_deployedResource(void) const -{ -return deployedResource_.size (); -} + if (s.provider_.get ()) provider (*(s.provider_)); + else provider_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + kind (s.kind ()); -// ImplementationDependency -// + instance (s.instance ()); -ImplementationDependency:: -ImplementationDependency (::XMLSchema::string< ACE_TCHAR > const& requiredType__) -: -::XSCRT::Type (), -requiredType_ (new ::XMLSchema::string< ACE_TCHAR > (requiredType__)), -regulator__ () -{ -requiredType_->container (this); -} + return *this; + } -ImplementationDependency:: -ImplementationDependency (::CIAO::Config_Handlers::ImplementationDependency const& s) -: -::XSCRT::Type (), -requiredType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requiredType_)), -regulator__ () -{ -requiredType_->container (this); -} -::CIAO::Config_Handlers::ImplementationDependency& ImplementationDependency:: -operator= (::CIAO::Config_Handlers::ImplementationDependency const& s) -{ -requiredType (s.requiredType ()); + // PlanSubcomponentPortEndpoint + // + ::XMLSchema::string< ACE_TCHAR > const& PlanSubcomponentPortEndpoint:: + portName () const + { + return *portName_; + } -return *this; -} + void PlanSubcomponentPortEndpoint:: + portName (::XMLSchema::string< ACE_TCHAR > const& e) + { + *portName_ = e; + } + // PlanSubcomponentPortEndpoint + // + bool PlanSubcomponentPortEndpoint:: + provider_p () const + { + return provider_.get () != 0; + } -// ImplementationDependency -// -::XMLSchema::string< ACE_TCHAR > const& ImplementationDependency:: -requiredType () const -{ -return *requiredType_; -} + ::XMLSchema::string< ACE_TCHAR > const& PlanSubcomponentPortEndpoint:: + provider () const + { + return *provider_; + } -void ImplementationDependency:: -requiredType (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*requiredType_ = e; -} + void PlanSubcomponentPortEndpoint:: + provider (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (provider_.get ()) + { + *provider_ = e; + } + else + { + provider_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + provider_->container (this); + } + } -// Capability -// + // PlanSubcomponentPortEndpoint + // + ::CIAO::Config_Handlers::CCMComponentPortKind const& PlanSubcomponentPortEndpoint:: + kind () const + { + return *kind_; + } -Capability:: -Capability (::XMLSchema::string< ACE_TCHAR > const& name__) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), -regulator__ () -{ -name_->container (this); -} + void PlanSubcomponentPortEndpoint:: + kind (::CIAO::Config_Handlers::CCMComponentPortKind const& e) + { + *kind_ = e; + } -Capability:: -Capability (::CIAO::Config_Handlers::Capability const& s) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), -regulator__ () -{ -name_->container (this); -{ -for (resourceType_const_iterator i (s.resourceType_.begin ());i != s.resourceType_.end ();++i) add_resourceType (*i); -} + // PlanSubcomponentPortEndpoint + // + ::XMLSchema::IDREF< ACE_TCHAR > const& PlanSubcomponentPortEndpoint:: + instance () const + { + return *instance_; + } -{ -for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); -} -} + void PlanSubcomponentPortEndpoint:: + instance (::XMLSchema::IDREF< ACE_TCHAR > const& e) + { + *instance_ = e; + } -::CIAO::Config_Handlers::Capability& Capability:: -operator= (::CIAO::Config_Handlers::Capability const& s) -{ -name (s.name ()); -resourceType_.clear (); -{ -for (resourceType_const_iterator i (s.resourceType_.begin ());i != s.resourceType_.end ();++i) add_resourceType (*i); -} + // ExternalReferenceEndpoint + // -property_.clear (); -{ -for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); -} + ExternalReferenceEndpoint:: + ExternalReferenceEndpoint (::XMLSchema::string< ACE_TCHAR > const& location__) + : + ::XSCRT::Type (), + location_ (new ::XMLSchema::string< ACE_TCHAR > (location__)), + regulator__ () + { + location_->container (this); + } -return *this; -} + ExternalReferenceEndpoint:: + ExternalReferenceEndpoint (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& s) + : + ::XSCRT::Type (), + location_ (new ::XMLSchema::string< ACE_TCHAR > (*s.location_)), + regulator__ () + { + location_->container (this); + } + ::CIAO::Config_Handlers::ExternalReferenceEndpoint& ExternalReferenceEndpoint:: + operator= (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& s) + { + location (s.location ()); -// Capability -// -::XMLSchema::string< ACE_TCHAR > const& Capability:: -name () const -{ -return *name_; -} + return *this; + } -void Capability:: -name (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*name_ = e; -} -// Capability -// -Capability::resourceType_iterator Capability:: -begin_resourceType () -{ -return resourceType_.begin (); -} + // ExternalReferenceEndpoint + // + ::XMLSchema::string< ACE_TCHAR > const& ExternalReferenceEndpoint:: + location () const + { + return *location_; + } -Capability::resourceType_iterator Capability:: -end_resourceType () -{ -return resourceType_.end (); -} + void ExternalReferenceEndpoint:: + location (::XMLSchema::string< ACE_TCHAR > const& e) + { + *location_ = e; + } -Capability::resourceType_const_iterator Capability:: -begin_resourceType () const -{ -return resourceType_.begin (); -} -Capability::resourceType_const_iterator Capability:: -end_resourceType () const -{ -return resourceType_.end (); -} + // ConnectionResourceDeploymentDescription + // -void Capability:: -add_resourceType (::XMLSchema::string< ACE_TCHAR > const& e) -{ -resourceType_.push_back (e); -} + ConnectionResourceDeploymentDescription:: + ConnectionResourceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& targetName__, + ::XMLSchema::string< ACE_TCHAR > const& requirementName__, + ::XMLSchema::string< ACE_TCHAR > const& resourceName__) + : + ::XSCRT::Type (), + targetName_ (new ::XMLSchema::string< ACE_TCHAR > (targetName__)), + requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (requirementName__)), + resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (resourceName__)), + regulator__ () + { + targetName_->container (this); + requirementName_->container (this); + resourceName_->container (this); + } -size_t Capability:: -count_resourceType(void) const -{ -return resourceType_.size (); -} + ConnectionResourceDeploymentDescription:: + ConnectionResourceDeploymentDescription (::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription const& s) + : + ::XSCRT::Type (), + targetName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.targetName_)), + requirementName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requirementName_)), + resourceName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceName_)), + regulator__ () + { + targetName_->container (this); + requirementName_->container (this); + resourceName_->container (this); + { + for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); + } + } -// Capability -// -Capability::property_iterator Capability:: -begin_property () -{ -return property_.begin (); -} + ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription& ConnectionResourceDeploymentDescription:: + operator= (::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription const& s) + { + targetName (s.targetName ()); -Capability::property_iterator Capability:: -end_property () -{ -return property_.end (); -} + requirementName (s.requirementName ()); -Capability::property_const_iterator Capability:: -begin_property () const -{ -return property_.begin (); -} + resourceName (s.resourceName ()); -Capability::property_const_iterator Capability:: -end_property () const -{ -return property_.end (); -} + property_.clear (); + { + for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); + } -void Capability:: -add_property (::CIAO::Config_Handlers::SatisfierProperty const& e) -{ -property_.push_back (e); -} + return *this; + } -size_t Capability:: -count_property(void) const -{ -return property_.size (); -} + // ConnectionResourceDeploymentDescription + // + ::XMLSchema::string< ACE_TCHAR > const& ConnectionResourceDeploymentDescription:: + targetName () const + { + return *targetName_; + } -// ImplementationRequirement -// + void ConnectionResourceDeploymentDescription:: + targetName (::XMLSchema::string< ACE_TCHAR > const& e) + { + *targetName_ = e; + } -ImplementationRequirement:: -ImplementationRequirement (::XMLSchema::string< ACE_TCHAR > const& resourceType__, -::XMLSchema::string< ACE_TCHAR > const& name__) -: -::XSCRT::Type (), -resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (resourceType__)), -name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), -regulator__ () -{ -resourceType_->container (this); -name_->container (this); -} + // ConnectionResourceDeploymentDescription + // + ::XMLSchema::string< ACE_TCHAR > const& ConnectionResourceDeploymentDescription:: + requirementName () const + { + return *requirementName_; + } -ImplementationRequirement:: -ImplementationRequirement (::CIAO::Config_Handlers::ImplementationRequirement const& s) -: -::XSCRT::Type (), -resourceUsage_ (s.resourceUsage_.get () ? new ::CIAO::Config_Handlers::ResourceUsageKind (*s.resourceUsage_) : 0), -resourcePort_ (s.resourcePort_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.resourcePort_) : 0), -componentPort_ (s.componentPort_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.componentPort_) : 0), -resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceType_)), -name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), -regulator__ () -{ -if (resourceUsage_.get ()) resourceUsage_->container (this); -if (resourcePort_.get ()) resourcePort_->container (this); -if (componentPort_.get ()) componentPort_->container (this); -resourceType_->container (this); -name_->container (this); -{ -for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); -} -} + void ConnectionResourceDeploymentDescription:: + requirementName (::XMLSchema::string< ACE_TCHAR > const& e) + { + *requirementName_ = e; + } -::CIAO::Config_Handlers::ImplementationRequirement& ImplementationRequirement:: -operator= (::CIAO::Config_Handlers::ImplementationRequirement const& s) -{ -if (s.resourceUsage_.get ()) resourceUsage (*(s.resourceUsage_)); -else resourceUsage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ResourceUsageKind > (0); - -if (s.resourcePort_.get ()) resourcePort (*(s.resourcePort_)); -else resourcePort_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + // ConnectionResourceDeploymentDescription + // + ::XMLSchema::string< ACE_TCHAR > const& ConnectionResourceDeploymentDescription:: + resourceName () const + { + return *resourceName_; + } -if (s.componentPort_.get ()) componentPort (*(s.componentPort_)); -else componentPort_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + void ConnectionResourceDeploymentDescription:: + resourceName (::XMLSchema::string< ACE_TCHAR > const& e) + { + *resourceName_ = e; + } -resourceType (s.resourceType ()); + // ConnectionResourceDeploymentDescription + // + ConnectionResourceDeploymentDescription::property_iterator ConnectionResourceDeploymentDescription:: + begin_property () + { + return property_.begin (); + } -name (s.name ()); + ConnectionResourceDeploymentDescription::property_iterator ConnectionResourceDeploymentDescription:: + end_property () + { + return property_.end (); + } -property_.clear (); -{ -for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); -} + ConnectionResourceDeploymentDescription::property_const_iterator ConnectionResourceDeploymentDescription:: + begin_property () const + { + return property_.begin (); + } -return *this; -} + ConnectionResourceDeploymentDescription::property_const_iterator ConnectionResourceDeploymentDescription:: + end_property () const + { + return property_.end (); + } + void ConnectionResourceDeploymentDescription:: + add_property (::CIAO::Config_Handlers::Property const& e) + { + property_.push_back (e); + } -// ImplementationRequirement -// -bool ImplementationRequirement:: -resourceUsage_p () const -{ -return resourceUsage_.get () != 0; -} + size_t ConnectionResourceDeploymentDescription:: + count_property(void) const + { + return property_.size (); + } -::CIAO::Config_Handlers::ResourceUsageKind const& ImplementationRequirement:: -resourceUsage () const -{ -return *resourceUsage_; -} -void ImplementationRequirement:: -resourceUsage (::CIAO::Config_Handlers::ResourceUsageKind const& e) -{ -if (resourceUsage_.get ()) -{ -*resourceUsage_ = e; -} + // PlanConnectionDescription + // -else -{ -resourceUsage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ResourceUsageKind > (new ::CIAO::Config_Handlers::ResourceUsageKind (e)); -resourceUsage_->container (this); -} -} + PlanConnectionDescription:: + PlanConnectionDescription (::XMLSchema::string< ACE_TCHAR > const& name__) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + regulator__ () + { + name_->container (this); + } -// ImplementationRequirement -// -bool ImplementationRequirement:: -resourcePort_p () const -{ -return resourcePort_.get () != 0; -} + PlanConnectionDescription:: + PlanConnectionDescription (::CIAO::Config_Handlers::PlanConnectionDescription const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + source_ (s.source_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.source_) : 0), + regulator__ () + { + name_->container (this); + if (source_.get ()) source_->container (this); + { + for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); + } -::XMLSchema::string< ACE_TCHAR > const& ImplementationRequirement:: -resourcePort () const -{ -return *resourcePort_; -} + { + for (externalEndpoint_const_iterator i (s.externalEndpoint_.begin ());i != s.externalEndpoint_.end ();++i) add_externalEndpoint (*i); + } -void ImplementationRequirement:: -resourcePort (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (resourcePort_.get ()) -{ -*resourcePort_ = e; -} + { + for (internalEndpoint_const_iterator i (s.internalEndpoint_.begin ());i != s.internalEndpoint_.end ();++i) add_internalEndpoint (*i); + } -else -{ -resourcePort_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -resourcePort_->container (this); -} -} + { + for (externalReference_const_iterator i (s.externalReference_.begin ());i != s.externalReference_.end ();++i) add_externalReference (*i); + } -// ImplementationRequirement -// -bool ImplementationRequirement:: -componentPort_p () const -{ -return componentPort_.get () != 0; -} + { + for (deployedResource_const_iterator i (s.deployedResource_.begin ());i != s.deployedResource_.end ();++i) add_deployedResource (*i); + } + } -::XMLSchema::string< ACE_TCHAR > const& ImplementationRequirement:: -componentPort () const -{ -return *componentPort_; -} + ::CIAO::Config_Handlers::PlanConnectionDescription& PlanConnectionDescription:: + operator= (::CIAO::Config_Handlers::PlanConnectionDescription const& s) + { + name (s.name ()); -void ImplementationRequirement:: -componentPort (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (componentPort_.get ()) -{ -*componentPort_ = e; -} + if (s.source_.get ()) source (*(s.source_)); + else source_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -else -{ -componentPort_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -componentPort_->container (this); -} -} + deployRequirement_.clear (); + { + for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); + } -// ImplementationRequirement -// -::XMLSchema::string< ACE_TCHAR > const& ImplementationRequirement:: -resourceType () const -{ -return *resourceType_; -} + externalEndpoint_.clear (); + { + for (externalEndpoint_const_iterator i (s.externalEndpoint_.begin ());i != s.externalEndpoint_.end ();++i) add_externalEndpoint (*i); + } -void ImplementationRequirement:: -resourceType (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*resourceType_ = e; -} + internalEndpoint_.clear (); + { + for (internalEndpoint_const_iterator i (s.internalEndpoint_.begin ());i != s.internalEndpoint_.end ();++i) add_internalEndpoint (*i); + } -// ImplementationRequirement -// -::XMLSchema::string< ACE_TCHAR > const& ImplementationRequirement:: -name () const -{ -return *name_; -} + externalReference_.clear (); + { + for (externalReference_const_iterator i (s.externalReference_.begin ());i != s.externalReference_.end ();++i) add_externalReference (*i); + } -void ImplementationRequirement:: -name (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*name_ = e; -} + deployedResource_.clear (); + { + for (deployedResource_const_iterator i (s.deployedResource_.begin ());i != s.deployedResource_.end ();++i) add_deployedResource (*i); + } -// ImplementationRequirement -// -ImplementationRequirement::property_iterator ImplementationRequirement:: -begin_property () -{ -return property_.begin (); -} + return *this; + } -ImplementationRequirement::property_iterator ImplementationRequirement:: -end_property () -{ -return property_.end (); -} -ImplementationRequirement::property_const_iterator ImplementationRequirement:: -begin_property () const -{ -return property_.begin (); -} + // PlanConnectionDescription + // + ::XMLSchema::string< ACE_TCHAR > const& PlanConnectionDescription:: + name () const + { + return *name_; + } -ImplementationRequirement::property_const_iterator ImplementationRequirement:: -end_property () const -{ -return property_.end (); -} + void PlanConnectionDescription:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -void ImplementationRequirement:: -add_property (::CIAO::Config_Handlers::Property const& e) -{ -property_.push_back (e); -} + // PlanConnectionDescription + // + bool PlanConnectionDescription:: + source_p () const + { + return source_.get () != 0; + } -size_t ImplementationRequirement:: -count_property(void) const -{ -return property_.size (); -} + ::XMLSchema::string< ACE_TCHAR > const& PlanConnectionDescription:: + source () const + { + return *source_; + } + void PlanConnectionDescription:: + source (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (source_.get ()) + { + *source_ = e; + } -// ComponentPackageReference -// + else + { + source_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + source_->container (this); + } + } -ComponentPackageReference:: -ComponentPackageReference (::XMLSchema::string< ACE_TCHAR > const& requiredType__) -: -::XSCRT::Type (), -requiredType_ (new ::XMLSchema::string< ACE_TCHAR > (requiredType__)), -regulator__ () -{ -requiredType_->container (this); -} + // PlanConnectionDescription + // + PlanConnectionDescription::deployRequirement_iterator PlanConnectionDescription:: + begin_deployRequirement () + { + return deployRequirement_.begin (); + } -ComponentPackageReference:: -ComponentPackageReference (::CIAO::Config_Handlers::ComponentPackageReference const& s) -: -::XSCRT::Type (), -requiredUUID_ (s.requiredUUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.requiredUUID_) : 0), -requiredName_ (s.requiredName_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.requiredName_) : 0), -requiredType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requiredType_)), -regulator__ () -{ -if (requiredUUID_.get ()) requiredUUID_->container (this); -if (requiredName_.get ()) requiredName_->container (this); -requiredType_->container (this); -} + PlanConnectionDescription::deployRequirement_iterator PlanConnectionDescription:: + end_deployRequirement () + { + return deployRequirement_.end (); + } -::CIAO::Config_Handlers::ComponentPackageReference& ComponentPackageReference:: -operator= (::CIAO::Config_Handlers::ComponentPackageReference const& s) -{ -if (s.requiredUUID_.get ()) requiredUUID (*(s.requiredUUID_)); -else requiredUUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + PlanConnectionDescription::deployRequirement_const_iterator PlanConnectionDescription:: + begin_deployRequirement () const + { + return deployRequirement_.begin (); + } -if (s.requiredName_.get ()) requiredName (*(s.requiredName_)); -else requiredName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + PlanConnectionDescription::deployRequirement_const_iterator PlanConnectionDescription:: + end_deployRequirement () const + { + return deployRequirement_.end (); + } -requiredType (s.requiredType ()); + void PlanConnectionDescription:: + add_deployRequirement (::CIAO::Config_Handlers::Requirement const& e) + { + deployRequirement_.push_back (e); + } -return *this; -} + size_t PlanConnectionDescription:: + count_deployRequirement(void) const + { + return deployRequirement_.size (); + } + // PlanConnectionDescription + // + PlanConnectionDescription::externalEndpoint_iterator PlanConnectionDescription:: + begin_externalEndpoint () + { + return externalEndpoint_.begin (); + } -// ComponentPackageReference -// -bool ComponentPackageReference:: -requiredUUID_p () const -{ -return requiredUUID_.get () != 0; -} + PlanConnectionDescription::externalEndpoint_iterator PlanConnectionDescription:: + end_externalEndpoint () + { + return externalEndpoint_.end (); + } -::XMLSchema::string< ACE_TCHAR > const& ComponentPackageReference:: -requiredUUID () const -{ -return *requiredUUID_; -} + PlanConnectionDescription::externalEndpoint_const_iterator PlanConnectionDescription:: + begin_externalEndpoint () const + { + return externalEndpoint_.begin (); + } -void ComponentPackageReference:: -requiredUUID (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (requiredUUID_.get ()) -{ -*requiredUUID_ = e; -} + PlanConnectionDescription::externalEndpoint_const_iterator PlanConnectionDescription:: + end_externalEndpoint () const + { + return externalEndpoint_.end (); + } -else -{ -requiredUUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -requiredUUID_->container (this); -} -} + void PlanConnectionDescription:: + add_externalEndpoint (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& e) + { + externalEndpoint_.push_back (e); + } -// ComponentPackageReference -// -bool ComponentPackageReference:: -requiredName_p () const -{ -return requiredName_.get () != 0; -} + size_t PlanConnectionDescription:: + count_externalEndpoint(void) const + { + return externalEndpoint_.size (); + } -::XMLSchema::string< ACE_TCHAR > const& ComponentPackageReference:: -requiredName () const -{ -return *requiredName_; -} + // PlanConnectionDescription + // + PlanConnectionDescription::internalEndpoint_iterator PlanConnectionDescription:: + begin_internalEndpoint () + { + return internalEndpoint_.begin (); + } -void ComponentPackageReference:: -requiredName (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (requiredName_.get ()) -{ -*requiredName_ = e; -} + PlanConnectionDescription::internalEndpoint_iterator PlanConnectionDescription:: + end_internalEndpoint () + { + return internalEndpoint_.end (); + } -else -{ -requiredName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -requiredName_->container (this); -} -} + PlanConnectionDescription::internalEndpoint_const_iterator PlanConnectionDescription:: + begin_internalEndpoint () const + { + return internalEndpoint_.begin (); + } -// ComponentPackageReference -// -::XMLSchema::string< ACE_TCHAR > const& ComponentPackageReference:: -requiredType () const -{ -return *requiredType_; -} + PlanConnectionDescription::internalEndpoint_const_iterator PlanConnectionDescription:: + end_internalEndpoint () const + { + return internalEndpoint_.end (); + } -void ComponentPackageReference:: -requiredType (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*requiredType_ = e; -} + void PlanConnectionDescription:: + add_internalEndpoint (::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint const& e) + { + internalEndpoint_.push_back (e); + } + size_t PlanConnectionDescription:: + count_internalEndpoint(void) const + { + return internalEndpoint_.size (); + } -// SubcomponentPortEndpoint -// + // PlanConnectionDescription + // + PlanConnectionDescription::externalReference_iterator PlanConnectionDescription:: + begin_externalReference () + { + return externalReference_.begin (); + } -SubcomponentPortEndpoint:: -SubcomponentPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__, -::XMLSchema::IDREF< ACE_TCHAR > const& instance__) -: -::XSCRT::Type (), -portName_ (new ::XMLSchema::string< ACE_TCHAR > (portName__)), -instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (instance__)), -regulator__ () -{ -portName_->container (this); -instance_->container (this); -} + PlanConnectionDescription::externalReference_iterator PlanConnectionDescription:: + end_externalReference () + { + return externalReference_.end (); + } -SubcomponentPortEndpoint:: -SubcomponentPortEndpoint (::CIAO::Config_Handlers::SubcomponentPortEndpoint const& s) -: -::XSCRT::Type (), -portName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.portName_)), -instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (*s.instance_)), -regulator__ () -{ -portName_->container (this); -instance_->container (this); -} + PlanConnectionDescription::externalReference_const_iterator PlanConnectionDescription:: + begin_externalReference () const + { + return externalReference_.begin (); + } -::CIAO::Config_Handlers::SubcomponentPortEndpoint& SubcomponentPortEndpoint:: -operator= (::CIAO::Config_Handlers::SubcomponentPortEndpoint const& s) -{ -portName (s.portName ()); + PlanConnectionDescription::externalReference_const_iterator PlanConnectionDescription:: + end_externalReference () const + { + return externalReference_.end (); + } -instance (s.instance ()); + void PlanConnectionDescription:: + add_externalReference (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& e) + { + externalReference_.push_back (e); + } -return *this; -} + size_t PlanConnectionDescription:: + count_externalReference(void) const + { + return externalReference_.size (); + } + // PlanConnectionDescription + // + PlanConnectionDescription::deployedResource_iterator PlanConnectionDescription:: + begin_deployedResource () + { + return deployedResource_.begin (); + } -// SubcomponentPortEndpoint -// -::XMLSchema::string< ACE_TCHAR > const& SubcomponentPortEndpoint:: -portName () const -{ -return *portName_; -} + PlanConnectionDescription::deployedResource_iterator PlanConnectionDescription:: + end_deployedResource () + { + return deployedResource_.end (); + } -void SubcomponentPortEndpoint:: -portName (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*portName_ = e; -} + PlanConnectionDescription::deployedResource_const_iterator PlanConnectionDescription:: + begin_deployedResource () const + { + return deployedResource_.begin (); + } -// SubcomponentPortEndpoint -// -::XMLSchema::IDREF< ACE_TCHAR > const& SubcomponentPortEndpoint:: -instance () const -{ -return *instance_; -} + PlanConnectionDescription::deployedResource_const_iterator PlanConnectionDescription:: + end_deployedResource () const + { + return deployedResource_.end (); + } -void SubcomponentPortEndpoint:: -instance (::XMLSchema::IDREF< ACE_TCHAR > const& e) -{ -*instance_ = e; -} + void PlanConnectionDescription:: + add_deployedResource (::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription const& e) + { + deployedResource_.push_back (e); + } + size_t PlanConnectionDescription:: + count_deployedResource(void) const + { + return deployedResource_.size (); + } -// AssemblyConnectionDescription -// -AssemblyConnectionDescription:: -AssemblyConnectionDescription (::XMLSchema::string< ACE_TCHAR > const& name__) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), -regulator__ () -{ -name_->container (this); -} + // ImplementationDependency + // -AssemblyConnectionDescription:: -AssemblyConnectionDescription (::CIAO::Config_Handlers::AssemblyConnectionDescription const& s) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), -regulator__ () -{ -name_->container (this); -{ -for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); -} + ImplementationDependency:: + ImplementationDependency (::XMLSchema::string< ACE_TCHAR > const& requiredType__) + : + ::XSCRT::Type (), + requiredType_ (new ::XMLSchema::string< ACE_TCHAR > (requiredType__)), + regulator__ () + { + requiredType_->container (this); + } -{ -for (internalEndpoint_const_iterator i (s.internalEndpoint_.begin ());i != s.internalEndpoint_.end ();++i) add_internalEndpoint (*i); -} + ImplementationDependency:: + ImplementationDependency (::CIAO::Config_Handlers::ImplementationDependency const& s) + : + ::XSCRT::Type (), + requiredType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requiredType_)), + regulator__ () + { + requiredType_->container (this); + } -{ -for (externalEndpoint_const_iterator i (s.externalEndpoint_.begin ());i != s.externalEndpoint_.end ();++i) add_externalEndpoint (*i); -} + ::CIAO::Config_Handlers::ImplementationDependency& ImplementationDependency:: + operator= (::CIAO::Config_Handlers::ImplementationDependency const& s) + { + requiredType (s.requiredType ()); -{ -for (externalReference_const_iterator i (s.externalReference_.begin ());i != s.externalReference_.end ();++i) add_externalReference (*i); -} -} + return *this; + } -::CIAO::Config_Handlers::AssemblyConnectionDescription& AssemblyConnectionDescription:: -operator= (::CIAO::Config_Handlers::AssemblyConnectionDescription const& s) -{ -name (s.name ()); -deployRequirement_.clear (); -{ -for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); -} + // ImplementationDependency + // + ::XMLSchema::string< ACE_TCHAR > const& ImplementationDependency:: + requiredType () const + { + return *requiredType_; + } -internalEndpoint_.clear (); -{ -for (internalEndpoint_const_iterator i (s.internalEndpoint_.begin ());i != s.internalEndpoint_.end ();++i) add_internalEndpoint (*i); -} + void ImplementationDependency:: + requiredType (::XMLSchema::string< ACE_TCHAR > const& e) + { + *requiredType_ = e; + } -externalEndpoint_.clear (); -{ -for (externalEndpoint_const_iterator i (s.externalEndpoint_.begin ());i != s.externalEndpoint_.end ();++i) add_externalEndpoint (*i); -} -externalReference_.clear (); -{ -for (externalReference_const_iterator i (s.externalReference_.begin ());i != s.externalReference_.end ();++i) add_externalReference (*i); -} + // Capability + // -return *this; -} + Capability:: + Capability (::XMLSchema::string< ACE_TCHAR > const& name__) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + regulator__ () + { + name_->container (this); + } + Capability:: + Capability (::CIAO::Config_Handlers::Capability const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + regulator__ () + { + name_->container (this); + { + for (resourceType_const_iterator i (s.resourceType_.begin ());i != s.resourceType_.end ();++i) add_resourceType (*i); + } -// AssemblyConnectionDescription -// -::XMLSchema::string< ACE_TCHAR > const& AssemblyConnectionDescription:: -name () const -{ -return *name_; -} + { + for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); + } + } -void AssemblyConnectionDescription:: -name (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*name_ = e; -} + ::CIAO::Config_Handlers::Capability& Capability:: + operator= (::CIAO::Config_Handlers::Capability const& s) + { + name (s.name ()); -// AssemblyConnectionDescription -// -AssemblyConnectionDescription::deployRequirement_iterator AssemblyConnectionDescription:: -begin_deployRequirement () -{ -return deployRequirement_.begin (); -} + resourceType_.clear (); + { + for (resourceType_const_iterator i (s.resourceType_.begin ());i != s.resourceType_.end ();++i) add_resourceType (*i); + } -AssemblyConnectionDescription::deployRequirement_iterator AssemblyConnectionDescription:: -end_deployRequirement () -{ -return deployRequirement_.end (); -} + property_.clear (); + { + for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); + } -AssemblyConnectionDescription::deployRequirement_const_iterator AssemblyConnectionDescription:: -begin_deployRequirement () const -{ -return deployRequirement_.begin (); -} + return *this; + } -AssemblyConnectionDescription::deployRequirement_const_iterator AssemblyConnectionDescription:: -end_deployRequirement () const -{ -return deployRequirement_.end (); -} -void AssemblyConnectionDescription:: -add_deployRequirement (::CIAO::Config_Handlers::Requirement const& e) -{ -deployRequirement_.push_back (e); -} + // Capability + // + ::XMLSchema::string< ACE_TCHAR > const& Capability:: + name () const + { + return *name_; + } -size_t AssemblyConnectionDescription:: -count_deployRequirement(void) const -{ -return deployRequirement_.size (); -} + void Capability:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -// AssemblyConnectionDescription -// -AssemblyConnectionDescription::internalEndpoint_iterator AssemblyConnectionDescription:: -begin_internalEndpoint () -{ -return internalEndpoint_.begin (); -} + // Capability + // + Capability::resourceType_iterator Capability:: + begin_resourceType () + { + return resourceType_.begin (); + } -AssemblyConnectionDescription::internalEndpoint_iterator AssemblyConnectionDescription:: -end_internalEndpoint () -{ -return internalEndpoint_.end (); -} + Capability::resourceType_iterator Capability:: + end_resourceType () + { + return resourceType_.end (); + } -AssemblyConnectionDescription::internalEndpoint_const_iterator AssemblyConnectionDescription:: -begin_internalEndpoint () const -{ -return internalEndpoint_.begin (); -} + Capability::resourceType_const_iterator Capability:: + begin_resourceType () const + { + return resourceType_.begin (); + } -AssemblyConnectionDescription::internalEndpoint_const_iterator AssemblyConnectionDescription:: -end_internalEndpoint () const -{ -return internalEndpoint_.end (); -} + Capability::resourceType_const_iterator Capability:: + end_resourceType () const + { + return resourceType_.end (); + } -void AssemblyConnectionDescription:: -add_internalEndpoint (::CIAO::Config_Handlers::SubcomponentPortEndpoint const& e) -{ -internalEndpoint_.push_back (e); -} + void Capability:: + add_resourceType (::XMLSchema::string< ACE_TCHAR > const& e) + { + resourceType_.push_back (e); + } -size_t AssemblyConnectionDescription:: -count_internalEndpoint(void) const -{ -return internalEndpoint_.size (); -} + size_t Capability:: + count_resourceType(void) const + { + return resourceType_.size (); + } -// AssemblyConnectionDescription -// -AssemblyConnectionDescription::externalEndpoint_iterator AssemblyConnectionDescription:: -begin_externalEndpoint () -{ -return externalEndpoint_.begin (); -} + // Capability + // + Capability::property_iterator Capability:: + begin_property () + { + return property_.begin (); + } -AssemblyConnectionDescription::externalEndpoint_iterator AssemblyConnectionDescription:: -end_externalEndpoint () -{ -return externalEndpoint_.end (); -} + Capability::property_iterator Capability:: + end_property () + { + return property_.end (); + } -AssemblyConnectionDescription::externalEndpoint_const_iterator AssemblyConnectionDescription:: -begin_externalEndpoint () const -{ -return externalEndpoint_.begin (); -} + Capability::property_const_iterator Capability:: + begin_property () const + { + return property_.begin (); + } -AssemblyConnectionDescription::externalEndpoint_const_iterator AssemblyConnectionDescription:: -end_externalEndpoint () const -{ -return externalEndpoint_.end (); -} + Capability::property_const_iterator Capability:: + end_property () const + { + return property_.end (); + } -void AssemblyConnectionDescription:: -add_externalEndpoint (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& e) -{ -externalEndpoint_.push_back (e); -} + void Capability:: + add_property (::CIAO::Config_Handlers::SatisfierProperty const& e) + { + property_.push_back (e); + } -size_t AssemblyConnectionDescription:: -count_externalEndpoint(void) const -{ -return externalEndpoint_.size (); -} + size_t Capability:: + count_property(void) const + { + return property_.size (); + } -// AssemblyConnectionDescription -// -AssemblyConnectionDescription::externalReference_iterator AssemblyConnectionDescription:: -begin_externalReference () -{ -return externalReference_.begin (); -} -AssemblyConnectionDescription::externalReference_iterator AssemblyConnectionDescription:: -end_externalReference () -{ -return externalReference_.end (); -} + // ImplementationRequirement + // -AssemblyConnectionDescription::externalReference_const_iterator AssemblyConnectionDescription:: -begin_externalReference () const -{ -return externalReference_.begin (); -} + ImplementationRequirement:: + ImplementationRequirement (::XMLSchema::string< ACE_TCHAR > const& resourceType__, + ::XMLSchema::string< ACE_TCHAR > const& name__) + : + ::XSCRT::Type (), + resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (resourceType__)), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + regulator__ () + { + resourceType_->container (this); + name_->container (this); + } -AssemblyConnectionDescription::externalReference_const_iterator AssemblyConnectionDescription:: -end_externalReference () const -{ -return externalReference_.end (); -} + ImplementationRequirement:: + ImplementationRequirement (::CIAO::Config_Handlers::ImplementationRequirement const& s) + : + ::XSCRT::Type (), + resourceUsage_ (s.resourceUsage_.get () ? new ::CIAO::Config_Handlers::ResourceUsageKind (*s.resourceUsage_) : 0), + resourcePort_ (s.resourcePort_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.resourcePort_) : 0), + componentPort_ (s.componentPort_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.componentPort_) : 0), + resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceType_)), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + regulator__ () + { + if (resourceUsage_.get ()) resourceUsage_->container (this); + if (resourcePort_.get ()) resourcePort_->container (this); + if (componentPort_.get ()) componentPort_->container (this); + resourceType_->container (this); + name_->container (this); + { + for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); + } + } -void AssemblyConnectionDescription:: -add_externalReference (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& e) -{ -externalReference_.push_back (e); -} + ::CIAO::Config_Handlers::ImplementationRequirement& ImplementationRequirement:: + operator= (::CIAO::Config_Handlers::ImplementationRequirement const& s) + { + if (s.resourceUsage_.get ()) resourceUsage (*(s.resourceUsage_)); + else resourceUsage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ResourceUsageKind > (0); -size_t AssemblyConnectionDescription:: -count_externalReference(void) const -{ -return externalReference_.size (); -} -} -} + if (s.resourcePort_.get ()) resourcePort (*(s.resourcePort_)); + else resourcePort_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -namespace CIAO -{ -namespace Config_Handlers -{ -// TCKind -// + if (s.componentPort_.get ()) componentPort (*(s.componentPort_)); + else componentPort_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -TCKind:: -TCKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) -: ::XSCRT::Type (e) -{ -::std::basic_string< ACE_TCHAR > v (e.value ()); - -if (v == "tk_null") v_ = tk_null_l; -else if (v == "tk_void") v_ = tk_void_l; -else if (v == "tk_short") v_ = tk_short_l; -else if (v == "tk_long") v_ = tk_long_l; -else if (v == "tk_ushort") v_ = tk_ushort_l; -else if (v == "tk_ulong") v_ = tk_ulong_l; -else if (v == "tk_float") v_ = tk_float_l; -else if (v == "tk_double") v_ = tk_double_l; -else if (v == "tk_boolean") v_ = tk_boolean_l; -else if (v == "tk_char") v_ = tk_char_l; -else if (v == "tk_octet") v_ = tk_octet_l; -else if (v == "tk_any") v_ = tk_any_l; -else if (v == "tk_TypeCode") v_ = tk_TypeCode_l; -else if (v == "tk_Principal") v_ = tk_Principal_l; -else if (v == "tk_objref") v_ = tk_objref_l; -else if (v == "tk_struct") v_ = tk_struct_l; -else if (v == "tk_union") v_ = tk_union_l; -else if (v == "tk_enum") v_ = tk_enum_l; -else if (v == "tk_string") v_ = tk_string_l; -else if (v == "tk_sequence") v_ = tk_sequence_l; -else if (v == "tk_array") v_ = tk_array_l; -else if (v == "tk_alias") v_ = tk_alias_l; -else if (v == "tk_except") v_ = tk_except_l; -else if (v == "tk_longlong") v_ = tk_longlong_l; -else if (v == "tk_ulonglong") v_ = tk_ulonglong_l; -else if (v == "tk_longdouble") v_ = tk_longdouble_l; -else if (v == "tk_wchar") v_ = tk_wchar_l; -else if (v == "tk_wstring") v_ = tk_wstring_l; -else if (v == "tk_wfixed") v_ = tk_wfixed_l; -else if (v == "tk_value") v_ = tk_value_l; -else if (v == "tk_value_box") v_ = tk_value_box_l; -else if (v == "tk_native") v_ = tk_native_l; -else if (v == "tk_abstract_interface") v_ = tk_abstract_interface_l; -else if (v == "tk_local_interface") v_ = tk_local_interface_l; -else if (v == "tk_component") v_ = tk_component_l; -else if (v == "tk_home") v_ = tk_home_l; -else if (v == "tk_event") v_ = tk_event_l; -else -{ -} -} + resourceType (s.resourceType ()); -TCKind:: -TCKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) -: ::XSCRT::Type (a) -{ -::std::basic_string< ACE_TCHAR > v (a.value ()); - -if (v == "tk_null") v_ = tk_null_l; -else if (v == "tk_void") v_ = tk_void_l; -else if (v == "tk_short") v_ = tk_short_l; -else if (v == "tk_long") v_ = tk_long_l; -else if (v == "tk_ushort") v_ = tk_ushort_l; -else if (v == "tk_ulong") v_ = tk_ulong_l; -else if (v == "tk_float") v_ = tk_float_l; -else if (v == "tk_double") v_ = tk_double_l; -else if (v == "tk_boolean") v_ = tk_boolean_l; -else if (v == "tk_char") v_ = tk_char_l; -else if (v == "tk_octet") v_ = tk_octet_l; -else if (v == "tk_any") v_ = tk_any_l; -else if (v == "tk_TypeCode") v_ = tk_TypeCode_l; -else if (v == "tk_Principal") v_ = tk_Principal_l; -else if (v == "tk_objref") v_ = tk_objref_l; -else if (v == "tk_struct") v_ = tk_struct_l; -else if (v == "tk_union") v_ = tk_union_l; -else if (v == "tk_enum") v_ = tk_enum_l; -else if (v == "tk_string") v_ = tk_string_l; -else if (v == "tk_sequence") v_ = tk_sequence_l; -else if (v == "tk_array") v_ = tk_array_l; -else if (v == "tk_alias") v_ = tk_alias_l; -else if (v == "tk_except") v_ = tk_except_l; -else if (v == "tk_longlong") v_ = tk_longlong_l; -else if (v == "tk_ulonglong") v_ = tk_ulonglong_l; -else if (v == "tk_longdouble") v_ = tk_longdouble_l; -else if (v == "tk_wchar") v_ = tk_wchar_l; -else if (v == "tk_wstring") v_ = tk_wstring_l; -else if (v == "tk_wfixed") v_ = tk_wfixed_l; -else if (v == "tk_value") v_ = tk_value_l; -else if (v == "tk_value_box") v_ = tk_value_box_l; -else if (v == "tk_native") v_ = tk_native_l; -else if (v == "tk_abstract_interface") v_ = tk_abstract_interface_l; -else if (v == "tk_local_interface") v_ = tk_local_interface_l; -else if (v == "tk_component") v_ = tk_component_l; -else if (v == "tk_home") v_ = tk_home_l; -else if (v == "tk_event") v_ = tk_event_l; -else -{ -} -} + name (s.name ()); -TCKind const TCKind::tk_null (TCKind::tk_null_l); -TCKind const TCKind::tk_void (TCKind::tk_void_l); -TCKind const TCKind::tk_short (TCKind::tk_short_l); -TCKind const TCKind::tk_long (TCKind::tk_long_l); -TCKind const TCKind::tk_ushort (TCKind::tk_ushort_l); -TCKind const TCKind::tk_ulong (TCKind::tk_ulong_l); -TCKind const TCKind::tk_float (TCKind::tk_float_l); -TCKind const TCKind::tk_double (TCKind::tk_double_l); -TCKind const TCKind::tk_boolean (TCKind::tk_boolean_l); -TCKind const TCKind::tk_char (TCKind::tk_char_l); -TCKind const TCKind::tk_octet (TCKind::tk_octet_l); -TCKind const TCKind::tk_any (TCKind::tk_any_l); -TCKind const TCKind::tk_TypeCode (TCKind::tk_TypeCode_l); -TCKind const TCKind::tk_Principal (TCKind::tk_Principal_l); -TCKind const TCKind::tk_objref (TCKind::tk_objref_l); -TCKind const TCKind::tk_struct (TCKind::tk_struct_l); -TCKind const TCKind::tk_union (TCKind::tk_union_l); -TCKind const TCKind::tk_enum (TCKind::tk_enum_l); -TCKind const TCKind::tk_string (TCKind::tk_string_l); -TCKind const TCKind::tk_sequence (TCKind::tk_sequence_l); -TCKind const TCKind::tk_array (TCKind::tk_array_l); -TCKind const TCKind::tk_alias (TCKind::tk_alias_l); -TCKind const TCKind::tk_except (TCKind::tk_except_l); -TCKind const TCKind::tk_longlong (TCKind::tk_longlong_l); -TCKind const TCKind::tk_ulonglong (TCKind::tk_ulonglong_l); -TCKind const TCKind::tk_longdouble (TCKind::tk_longdouble_l); -TCKind const TCKind::tk_wchar (TCKind::tk_wchar_l); -TCKind const TCKind::tk_wstring (TCKind::tk_wstring_l); -TCKind const TCKind::tk_wfixed (TCKind::tk_wfixed_l); -TCKind const TCKind::tk_value (TCKind::tk_value_l); -TCKind const TCKind::tk_value_box (TCKind::tk_value_box_l); -TCKind const TCKind::tk_native (TCKind::tk_native_l); -TCKind const TCKind::tk_abstract_interface (TCKind::tk_abstract_interface_l); -TCKind const TCKind::tk_local_interface (TCKind::tk_local_interface_l); -TCKind const TCKind::tk_component (TCKind::tk_component_l); -TCKind const TCKind::tk_home (TCKind::tk_home_l); -TCKind const TCKind::tk_event (TCKind::tk_event_l); - -// DataType -// - -DataType:: -DataType (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + property_.clear (); + { + for (property_const_iterator i (s.property_.begin ());i != s.property_.end ();++i) add_property (*i); + } -::XSCRT::Parser< ACE_TCHAR > p (e); + return *this; + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -if (n == "kind") -{ -kind_ = ::std::auto_ptr< ::CIAO::Config_Handlers::TCKind > (new ::CIAO::Config_Handlers::TCKind (e)); -kind_->container (this); -} + // ImplementationRequirement + // + bool ImplementationRequirement:: + resourceUsage_p () const + { + return resourceUsage_.get () != 0; + } -else if (n == "enum") -{ -::CIAO::Config_Handlers::EnumType t (e); -enum_ (t); -} + ::CIAO::Config_Handlers::ResourceUsageKind const& ImplementationRequirement:: + resourceUsage () const + { + return *resourceUsage_; + } -else -{ -} -} -} + void ImplementationRequirement:: + resourceUsage (::CIAO::Config_Handlers::ResourceUsageKind const& e) + { + if (resourceUsage_.get ()) + { + *resourceUsage_ = e; + } -// DataValue -// + else + { + resourceUsage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ResourceUsageKind > (new ::CIAO::Config_Handlers::ResourceUsageKind (e)); + resourceUsage_->container (this); + } + } -DataValue:: -DataValue (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + // ImplementationRequirement + // + bool ImplementationRequirement:: + resourcePort_p () const + { + return resourcePort_.get () != 0; + } -::XSCRT::Parser< ACE_TCHAR > p (e); + ::XMLSchema::string< ACE_TCHAR > const& ImplementationRequirement:: + resourcePort () const + { + return *resourcePort_; + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + void ImplementationRequirement:: + resourcePort (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (resourcePort_.get ()) + { + *resourcePort_ = e; + } -if (n == "short") -{ -::XMLSchema::short_ t (e); -add_short (t); -} + else + { + resourcePort_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + resourcePort_->container (this); + } + } -else if (n == "long") -{ -::XMLSchema::int_ t (e); -add_long (t); -} + // ImplementationRequirement + // + bool ImplementationRequirement:: + componentPort_p () const + { + return componentPort_.get () != 0; + } -else if (n == "ushort") -{ -::XMLSchema::unsignedShort t (e); -add_ushort (t); -} + ::XMLSchema::string< ACE_TCHAR > const& ImplementationRequirement:: + componentPort () const + { + return *componentPort_; + } -else if (n == "ulong") -{ -::XMLSchema::unsignedInt t (e); -add_ulong (t); -} + void ImplementationRequirement:: + componentPort (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (componentPort_.get ()) + { + *componentPort_ = e; + } -else if (n == "float") -{ -::XMLSchema::float_ t (e); -add_float (t); -} + else + { + componentPort_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + componentPort_->container (this); + } + } -else if (n == "double") -{ -::XMLSchema::double_ t (e); -add_double (t); -} + // ImplementationRequirement + // + ::XMLSchema::string< ACE_TCHAR > const& ImplementationRequirement:: + resourceType () const + { + return *resourceType_; + } -else if (n == "boolean") -{ -::XMLSchema::boolean t (e); -add_boolean (t); -} + void ImplementationRequirement:: + resourceType (::XMLSchema::string< ACE_TCHAR > const& e) + { + *resourceType_ = e; + } -else if (n == "octet") -{ -::XMLSchema::unsignedByte t (e); -add_octet (t); -} + // ImplementationRequirement + // + ::XMLSchema::string< ACE_TCHAR > const& ImplementationRequirement:: + name () const + { + return *name_; + } -else if (n == "enum") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -add_enum (t); -} + void ImplementationRequirement:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -else if (n == "string") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -add_string (t); -} + // ImplementationRequirement + // + ImplementationRequirement::property_iterator ImplementationRequirement:: + begin_property () + { + return property_.begin (); + } -else if (n == "longlong") -{ -::XMLSchema::long_ t (e); -add_longlong (t); -} + ImplementationRequirement::property_iterator ImplementationRequirement:: + end_property () + { + return property_.end (); + } -else if (n == "ulonglong") -{ -::XMLSchema::unsignedLong t (e); -add_ulonglong (t); -} + ImplementationRequirement::property_const_iterator ImplementationRequirement:: + begin_property () const + { + return property_.begin (); + } -else if (n == "longdouble") -{ -::XMLSchema::double_ t (e); -add_longdouble (t); -} + ImplementationRequirement::property_const_iterator ImplementationRequirement:: + end_property () const + { + return property_.end (); + } -else -{ -} -} -} + void ImplementationRequirement:: + add_property (::CIAO::Config_Handlers::Property const& e) + { + property_.push_back (e); + } -// EnumType -// + size_t ImplementationRequirement:: + count_property(void) const + { + return property_.size (); + } -EnumType:: -EnumType (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ -::XSCRT::Parser< ACE_TCHAR > p (e); + // ComponentPackageReference + // -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + ComponentPackageReference:: + ComponentPackageReference (::XMLSchema::string< ACE_TCHAR > const& requiredType__) + : + ::XSCRT::Type (), + requiredType_ (new ::XMLSchema::string< ACE_TCHAR > (requiredType__)), + regulator__ () + { + requiredType_->container (this); + } -if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); -} + ComponentPackageReference:: + ComponentPackageReference (::CIAO::Config_Handlers::ComponentPackageReference const& s) + : + ::XSCRT::Type (), + requiredUUID_ (s.requiredUUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.requiredUUID_) : 0), + requiredName_ (s.requiredName_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.requiredName_) : 0), + requiredType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.requiredType_)), + regulator__ () + { + if (requiredUUID_.get ()) requiredUUID_->container (this); + if (requiredName_.get ()) requiredName_->container (this); + requiredType_->container (this); + } -else if (n == "typeId") -{ -typeId_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -typeId_->container (this); -} + ::CIAO::Config_Handlers::ComponentPackageReference& ComponentPackageReference:: + operator= (::CIAO::Config_Handlers::ComponentPackageReference const& s) + { + if (s.requiredUUID_.get ()) requiredUUID (*(s.requiredUUID_)); + else requiredUUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -else if (n == "member") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -add_member (t); -} + if (s.requiredName_.get ()) requiredName (*(s.requiredName_)); + else requiredName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -else -{ -} -} -} + requiredType (s.requiredType ()); -// Any -// + return *this; + } -Any:: -Any (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ -::XSCRT::Parser< ACE_TCHAR > p (e); + // ComponentPackageReference + // + bool ComponentPackageReference:: + requiredUUID_p () const + { + return requiredUUID_.get () != 0; + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + ::XMLSchema::string< ACE_TCHAR > const& ComponentPackageReference:: + requiredUUID () const + { + return *requiredUUID_; + } -if (n == "type") -{ -type_ = ::std::auto_ptr< ::CIAO::Config_Handlers::DataType > (new ::CIAO::Config_Handlers::DataType (e)); -type_->container (this); -} + void ComponentPackageReference:: + requiredUUID (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (requiredUUID_.get ()) + { + *requiredUUID_ = e; + } -else if (n == "value") -{ -value_ = ::std::auto_ptr< ::CIAO::Config_Handlers::DataValue > (new ::CIAO::Config_Handlers::DataValue (e)); -value_->container (this); -} + else + { + requiredUUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + requiredUUID_->container (this); + } + } -else -{ -} -} -} + // ComponentPackageReference + // + bool ComponentPackageReference:: + requiredName_p () const + { + return requiredName_.get () != 0; + } -// Property -// + ::XMLSchema::string< ACE_TCHAR > const& ComponentPackageReference:: + requiredName () const + { + return *requiredName_; + } -Property:: -Property (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + void ComponentPackageReference:: + requiredName (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (requiredName_.get ()) + { + *requiredName_ = e; + } -::XSCRT::Parser< ACE_TCHAR > p (e); + else + { + requiredName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + requiredName_->container (this); + } + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + // ComponentPackageReference + // + ::XMLSchema::string< ACE_TCHAR > const& ComponentPackageReference:: + requiredType () const + { + return *requiredType_; + } -if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); -} + void ComponentPackageReference:: + requiredType (::XMLSchema::string< ACE_TCHAR > const& e) + { + *requiredType_ = e; + } -else if (n == "value") -{ -value_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Any > (new ::CIAO::Config_Handlers::Any (e)); -value_->container (this); -} -else -{ -} -} -} + // SubcomponentPortEndpoint + // -// SatisfierPropertyKind -// + SubcomponentPortEndpoint:: + SubcomponentPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__, + ::XMLSchema::IDREF< ACE_TCHAR > const& instance__) + : + ::XSCRT::Type (), + portName_ (new ::XMLSchema::string< ACE_TCHAR > (portName__)), + instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (instance__)), + regulator__ () + { + portName_->container (this); + instance_->container (this); + } -SatisfierPropertyKind:: -SatisfierPropertyKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) -: ::XSCRT::Type (e) -{ -::std::basic_string< ACE_TCHAR > v (e.value ()); - -if (v == "Quantity") v_ = Quantity_l; -else if (v == "Capacity") v_ = Capacity_l; -else if (v == "Minimum") v_ = Minimum_l; -else if (v == "Maximum") v_ = Maximum_l; -else if (v == "Attribute") v_ = Attribute_l; -else if (v == "Selection") v_ = Selection_l; -else -{ -} -} + SubcomponentPortEndpoint:: + SubcomponentPortEndpoint (::CIAO::Config_Handlers::SubcomponentPortEndpoint const& s) + : + ::XSCRT::Type (), + portName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.portName_)), + instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (*s.instance_)), + regulator__ () + { + portName_->container (this); + instance_->container (this); + } -SatisfierPropertyKind:: -SatisfierPropertyKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) -: ::XSCRT::Type (a) -{ -::std::basic_string< ACE_TCHAR > v (a.value ()); - -if (v == "Quantity") v_ = Quantity_l; -else if (v == "Capacity") v_ = Capacity_l; -else if (v == "Minimum") v_ = Minimum_l; -else if (v == "Maximum") v_ = Maximum_l; -else if (v == "Attribute") v_ = Attribute_l; -else if (v == "Selection") v_ = Selection_l; -else -{ -} -} + ::CIAO::Config_Handlers::SubcomponentPortEndpoint& SubcomponentPortEndpoint:: + operator= (::CIAO::Config_Handlers::SubcomponentPortEndpoint const& s) + { + portName (s.portName ()); -SatisfierPropertyKind const SatisfierPropertyKind::Quantity (SatisfierPropertyKind::Quantity_l); -SatisfierPropertyKind const SatisfierPropertyKind::Capacity (SatisfierPropertyKind::Capacity_l); -SatisfierPropertyKind const SatisfierPropertyKind::Minimum (SatisfierPropertyKind::Minimum_l); -SatisfierPropertyKind const SatisfierPropertyKind::Maximum (SatisfierPropertyKind::Maximum_l); -SatisfierPropertyKind const SatisfierPropertyKind::Attribute (SatisfierPropertyKind::Attribute_l); -SatisfierPropertyKind const SatisfierPropertyKind::Selection (SatisfierPropertyKind::Selection_l); + instance (s.instance ()); -// SatisfierProperty -// + return *this; + } -SatisfierProperty:: -SatisfierProperty (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ -::XSCRT::Parser< ACE_TCHAR > p (e); + // SubcomponentPortEndpoint + // + ::XMLSchema::string< ACE_TCHAR > const& SubcomponentPortEndpoint:: + portName () const + { + return *portName_; + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + void SubcomponentPortEndpoint:: + portName (::XMLSchema::string< ACE_TCHAR > const& e) + { + *portName_ = e; + } -if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); -} + // SubcomponentPortEndpoint + // + ::XMLSchema::IDREF< ACE_TCHAR > const& SubcomponentPortEndpoint:: + instance () const + { + return *instance_; + } -else if (n == "kind") -{ -kind_ = ::std::auto_ptr< ::CIAO::Config_Handlers::SatisfierPropertyKind > (new ::CIAO::Config_Handlers::SatisfierPropertyKind (e)); -kind_->container (this); -} + void SubcomponentPortEndpoint:: + instance (::XMLSchema::IDREF< ACE_TCHAR > const& e) + { + *instance_ = e; + } -else if (n == "dynamic") -{ -dynamic_ = ::std::auto_ptr< ::XMLSchema::boolean > (new ::XMLSchema::boolean (e)); -dynamic_->container (this); -} -else if (n == "value") -{ -value_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Any > (new ::CIAO::Config_Handlers::Any (e)); -value_->container (this); -} + // AssemblyConnectionDescription + // -else -{ -} -} -} + AssemblyConnectionDescription:: + AssemblyConnectionDescription (::XMLSchema::string< ACE_TCHAR > const& name__) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + regulator__ () + { + name_->container (this); + } -// Resource -// + AssemblyConnectionDescription:: + AssemblyConnectionDescription (::CIAO::Config_Handlers::AssemblyConnectionDescription const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + regulator__ () + { + name_->container (this); + { + for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); + } -Resource:: -Resource (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + { + for (internalEndpoint_const_iterator i (s.internalEndpoint_.begin ());i != s.internalEndpoint_.end ();++i) add_internalEndpoint (*i); + } -::XSCRT::Parser< ACE_TCHAR > p (e); + { + for (externalEndpoint_const_iterator i (s.externalEndpoint_.begin ());i != s.externalEndpoint_.end ();++i) add_externalEndpoint (*i); + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + { + for (externalReference_const_iterator i (s.externalReference_.begin ());i != s.externalReference_.end ();++i) add_externalReference (*i); + } + } -if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); -} + ::CIAO::Config_Handlers::AssemblyConnectionDescription& AssemblyConnectionDescription:: + operator= (::CIAO::Config_Handlers::AssemblyConnectionDescription const& s) + { + name (s.name ()); -else if (n == "resourceType") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -add_resourceType (t); -} + deployRequirement_.clear (); + { + for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); + } -else if (n == "property") -{ -::CIAO::Config_Handlers::SatisfierProperty t (e); -add_property (t); -} + internalEndpoint_.clear (); + { + for (internalEndpoint_const_iterator i (s.internalEndpoint_.begin ());i != s.internalEndpoint_.end ();++i) add_internalEndpoint (*i); + } -else -{ -} -} -} + externalEndpoint_.clear (); + { + for (externalEndpoint_const_iterator i (s.externalEndpoint_.begin ());i != s.externalEndpoint_.end ();++i) add_externalEndpoint (*i); + } -// Requirement -// + externalReference_.clear (); + { + for (externalReference_const_iterator i (s.externalReference_.begin ());i != s.externalReference_.end ();++i) add_externalReference (*i); + } -Requirement:: -Requirement (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + return *this; + } -::XSCRT::Parser< ACE_TCHAR > p (e); -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + // AssemblyConnectionDescription + // + ::XMLSchema::string< ACE_TCHAR > const& AssemblyConnectionDescription:: + name () const + { + return *name_; + } -if (n == "resourceType") -{ -resourceType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -resourceType_->container (this); -} + void AssemblyConnectionDescription:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -else if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); -} + // AssemblyConnectionDescription + // + AssemblyConnectionDescription::deployRequirement_iterator AssemblyConnectionDescription:: + begin_deployRequirement () + { + return deployRequirement_.begin (); + } -else if (n == "property") -{ -::CIAO::Config_Handlers::Property t (e); -add_property (t); -} + AssemblyConnectionDescription::deployRequirement_iterator AssemblyConnectionDescription:: + end_deployRequirement () + { + return deployRequirement_.end (); + } -else -{ -} -} -} + AssemblyConnectionDescription::deployRequirement_const_iterator AssemblyConnectionDescription:: + begin_deployRequirement () const + { + return deployRequirement_.begin (); + } -// ResourceDeploymentDescription -// + AssemblyConnectionDescription::deployRequirement_const_iterator AssemblyConnectionDescription:: + end_deployRequirement () const + { + return deployRequirement_.end (); + } -ResourceDeploymentDescription:: -ResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + void AssemblyConnectionDescription:: + add_deployRequirement (::CIAO::Config_Handlers::Requirement const& e) + { + deployRequirement_.push_back (e); + } -::XSCRT::Parser< ACE_TCHAR > p (e); + size_t AssemblyConnectionDescription:: + count_deployRequirement(void) const + { + return deployRequirement_.size (); + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + // AssemblyConnectionDescription + // + AssemblyConnectionDescription::internalEndpoint_iterator AssemblyConnectionDescription:: + begin_internalEndpoint () + { + return internalEndpoint_.begin (); + } -if (n == "requirementName") -{ -requirementName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -requirementName_->container (this); -} + AssemblyConnectionDescription::internalEndpoint_iterator AssemblyConnectionDescription:: + end_internalEndpoint () + { + return internalEndpoint_.end (); + } -else if (n == "resourceName") -{ -resourceName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -resourceName_->container (this); -} + AssemblyConnectionDescription::internalEndpoint_const_iterator AssemblyConnectionDescription:: + begin_internalEndpoint () const + { + return internalEndpoint_.begin (); + } -else if (n == "property") -{ -::CIAO::Config_Handlers::Property t (e); -add_property (t); -} + AssemblyConnectionDescription::internalEndpoint_const_iterator AssemblyConnectionDescription:: + end_internalEndpoint () const + { + return internalEndpoint_.end (); + } -else -{ -} -} -} + void AssemblyConnectionDescription:: + add_internalEndpoint (::CIAO::Config_Handlers::SubcomponentPortEndpoint const& e) + { + internalEndpoint_.push_back (e); + } -// ArtifactDeploymentDescription -// + size_t AssemblyConnectionDescription:: + count_internalEndpoint(void) const + { + return internalEndpoint_.size (); + } -ArtifactDeploymentDescription:: -ArtifactDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + // AssemblyConnectionDescription + // + AssemblyConnectionDescription::externalEndpoint_iterator AssemblyConnectionDescription:: + begin_externalEndpoint () + { + return externalEndpoint_.begin (); + } -::XSCRT::Parser< ACE_TCHAR > p (e); + AssemblyConnectionDescription::externalEndpoint_iterator AssemblyConnectionDescription:: + end_externalEndpoint () + { + return externalEndpoint_.end (); + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + AssemblyConnectionDescription::externalEndpoint_const_iterator AssemblyConnectionDescription:: + begin_externalEndpoint () const + { + return externalEndpoint_.begin (); + } -if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); -} + AssemblyConnectionDescription::externalEndpoint_const_iterator AssemblyConnectionDescription:: + end_externalEndpoint () const + { + return externalEndpoint_.end (); + } -else if (n == "source") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -add_source (t); -} + void AssemblyConnectionDescription:: + add_externalEndpoint (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& e) + { + externalEndpoint_.push_back (e); + } -else if (n == "node") -{ -node_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -node_->container (this); -} + size_t AssemblyConnectionDescription:: + count_externalEndpoint(void) const + { + return externalEndpoint_.size (); + } -else if (n == "location") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -add_location (t); -} + // AssemblyConnectionDescription + // + AssemblyConnectionDescription::externalReference_iterator AssemblyConnectionDescription:: + begin_externalReference () + { + return externalReference_.begin (); + } -else if (n == "execParameter") -{ -::CIAO::Config_Handlers::Property t (e); -add_execParameter (t); -} + AssemblyConnectionDescription::externalReference_iterator AssemblyConnectionDescription:: + end_externalReference () + { + return externalReference_.end (); + } -else if (n == "deployRequirement") -{ -::CIAO::Config_Handlers::Requirement t (e); -add_deployRequirement (t); -} + AssemblyConnectionDescription::externalReference_const_iterator AssemblyConnectionDescription:: + begin_externalReference () const + { + return externalReference_.begin (); + } -else if (n == "deployedResource") -{ -::CIAO::Config_Handlers::ResourceDeploymentDescription t (e); -add_deployedResource (t); -} + AssemblyConnectionDescription::externalReference_const_iterator AssemblyConnectionDescription:: + end_externalReference () const + { + return externalReference_.end (); + } -else -{ -} -} + void AssemblyConnectionDescription:: + add_externalReference (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& e) + { + externalReference_.push_back (e); + } -while (p.more_attributes ()) -{ -::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); -if (n == "id") -{ -::XMLSchema::ID< ACE_TCHAR > t (a); -id (t); + size_t AssemblyConnectionDescription:: + count_externalReference(void) const + { + return externalReference_.size (); + } + } } -else +namespace CIAO { -} -} -} - -// MonolithicDeploymentDescription -// + namespace Config_Handlers + { + // TCKind + // -MonolithicDeploymentDescription:: -MonolithicDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + TCKind:: + TCKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) + : ::XSCRT::Type (e) + { + ::std::basic_string< ACE_TCHAR > v (e.value ()); + + if (v == "tk_null") v_ = tk_null_l; + else if (v == "tk_void") v_ = tk_void_l; + else if (v == "tk_short") v_ = tk_short_l; + else if (v == "tk_long") v_ = tk_long_l; + else if (v == "tk_ushort") v_ = tk_ushort_l; + else if (v == "tk_ulong") v_ = tk_ulong_l; + else if (v == "tk_float") v_ = tk_float_l; + else if (v == "tk_double") v_ = tk_double_l; + else if (v == "tk_boolean") v_ = tk_boolean_l; + else if (v == "tk_char") v_ = tk_char_l; + else if (v == "tk_octet") v_ = tk_octet_l; + else if (v == "tk_any") v_ = tk_any_l; + else if (v == "tk_TypeCode") v_ = tk_TypeCode_l; + else if (v == "tk_Principal") v_ = tk_Principal_l; + else if (v == "tk_objref") v_ = tk_objref_l; + else if (v == "tk_struct") v_ = tk_struct_l; + else if (v == "tk_union") v_ = tk_union_l; + else if (v == "tk_enum") v_ = tk_enum_l; + else if (v == "tk_string") v_ = tk_string_l; + else if (v == "tk_sequence") v_ = tk_sequence_l; + else if (v == "tk_array") v_ = tk_array_l; + else if (v == "tk_alias") v_ = tk_alias_l; + else if (v == "tk_except") v_ = tk_except_l; + else if (v == "tk_longlong") v_ = tk_longlong_l; + else if (v == "tk_ulonglong") v_ = tk_ulonglong_l; + else if (v == "tk_longdouble") v_ = tk_longdouble_l; + else if (v == "tk_wchar") v_ = tk_wchar_l; + else if (v == "tk_wstring") v_ = tk_wstring_l; + else if (v == "tk_wfixed") v_ = tk_wfixed_l; + else if (v == "tk_value") v_ = tk_value_l; + else if (v == "tk_value_box") v_ = tk_value_box_l; + else if (v == "tk_native") v_ = tk_native_l; + else if (v == "tk_abstract_interface") v_ = tk_abstract_interface_l; + else if (v == "tk_local_interface") v_ = tk_local_interface_l; + else if (v == "tk_component") v_ = tk_component_l; + else if (v == "tk_home") v_ = tk_home_l; + else if (v == "tk_event") v_ = tk_event_l; + else + { + } + } -::XSCRT::Parser< ACE_TCHAR > p (e); + TCKind:: + TCKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) + : ::XSCRT::Type (a) + { + ::std::basic_string< ACE_TCHAR > v (a.value ()); + + if (v == "tk_null") v_ = tk_null_l; + else if (v == "tk_void") v_ = tk_void_l; + else if (v == "tk_short") v_ = tk_short_l; + else if (v == "tk_long") v_ = tk_long_l; + else if (v == "tk_ushort") v_ = tk_ushort_l; + else if (v == "tk_ulong") v_ = tk_ulong_l; + else if (v == "tk_float") v_ = tk_float_l; + else if (v == "tk_double") v_ = tk_double_l; + else if (v == "tk_boolean") v_ = tk_boolean_l; + else if (v == "tk_char") v_ = tk_char_l; + else if (v == "tk_octet") v_ = tk_octet_l; + else if (v == "tk_any") v_ = tk_any_l; + else if (v == "tk_TypeCode") v_ = tk_TypeCode_l; + else if (v == "tk_Principal") v_ = tk_Principal_l; + else if (v == "tk_objref") v_ = tk_objref_l; + else if (v == "tk_struct") v_ = tk_struct_l; + else if (v == "tk_union") v_ = tk_union_l; + else if (v == "tk_enum") v_ = tk_enum_l; + else if (v == "tk_string") v_ = tk_string_l; + else if (v == "tk_sequence") v_ = tk_sequence_l; + else if (v == "tk_array") v_ = tk_array_l; + else if (v == "tk_alias") v_ = tk_alias_l; + else if (v == "tk_except") v_ = tk_except_l; + else if (v == "tk_longlong") v_ = tk_longlong_l; + else if (v == "tk_ulonglong") v_ = tk_ulonglong_l; + else if (v == "tk_longdouble") v_ = tk_longdouble_l; + else if (v == "tk_wchar") v_ = tk_wchar_l; + else if (v == "tk_wstring") v_ = tk_wstring_l; + else if (v == "tk_wfixed") v_ = tk_wfixed_l; + else if (v == "tk_value") v_ = tk_value_l; + else if (v == "tk_value_box") v_ = tk_value_box_l; + else if (v == "tk_native") v_ = tk_native_l; + else if (v == "tk_abstract_interface") v_ = tk_abstract_interface_l; + else if (v == "tk_local_interface") v_ = tk_local_interface_l; + else if (v == "tk_component") v_ = tk_component_l; + else if (v == "tk_home") v_ = tk_home_l; + else if (v == "tk_event") v_ = tk_event_l; + else + { + } + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + TCKind const TCKind::tk_null (TCKind::tk_null_l); + TCKind const TCKind::tk_void (TCKind::tk_void_l); + TCKind const TCKind::tk_short (TCKind::tk_short_l); + TCKind const TCKind::tk_long (TCKind::tk_long_l); + TCKind const TCKind::tk_ushort (TCKind::tk_ushort_l); + TCKind const TCKind::tk_ulong (TCKind::tk_ulong_l); + TCKind const TCKind::tk_float (TCKind::tk_float_l); + TCKind const TCKind::tk_double (TCKind::tk_double_l); + TCKind const TCKind::tk_boolean (TCKind::tk_boolean_l); + TCKind const TCKind::tk_char (TCKind::tk_char_l); + TCKind const TCKind::tk_octet (TCKind::tk_octet_l); + TCKind const TCKind::tk_any (TCKind::tk_any_l); + TCKind const TCKind::tk_TypeCode (TCKind::tk_TypeCode_l); + TCKind const TCKind::tk_Principal (TCKind::tk_Principal_l); + TCKind const TCKind::tk_objref (TCKind::tk_objref_l); + TCKind const TCKind::tk_struct (TCKind::tk_struct_l); + TCKind const TCKind::tk_union (TCKind::tk_union_l); + TCKind const TCKind::tk_enum (TCKind::tk_enum_l); + TCKind const TCKind::tk_string (TCKind::tk_string_l); + TCKind const TCKind::tk_sequence (TCKind::tk_sequence_l); + TCKind const TCKind::tk_array (TCKind::tk_array_l); + TCKind const TCKind::tk_alias (TCKind::tk_alias_l); + TCKind const TCKind::tk_except (TCKind::tk_except_l); + TCKind const TCKind::tk_longlong (TCKind::tk_longlong_l); + TCKind const TCKind::tk_ulonglong (TCKind::tk_ulonglong_l); + TCKind const TCKind::tk_longdouble (TCKind::tk_longdouble_l); + TCKind const TCKind::tk_wchar (TCKind::tk_wchar_l); + TCKind const TCKind::tk_wstring (TCKind::tk_wstring_l); + TCKind const TCKind::tk_wfixed (TCKind::tk_wfixed_l); + TCKind const TCKind::tk_value (TCKind::tk_value_l); + TCKind const TCKind::tk_value_box (TCKind::tk_value_box_l); + TCKind const TCKind::tk_native (TCKind::tk_native_l); + TCKind const TCKind::tk_abstract_interface (TCKind::tk_abstract_interface_l); + TCKind const TCKind::tk_local_interface (TCKind::tk_local_interface_l); + TCKind const TCKind::tk_component (TCKind::tk_component_l); + TCKind const TCKind::tk_home (TCKind::tk_home_l); + TCKind const TCKind::tk_event (TCKind::tk_event_l); -if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); -} + // DataType + // -else if (n == "source") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -add_source (t); -} + DataType:: + DataType (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -else if (n == "artifact") -{ -::XMLSchema::IDREF< ACE_TCHAR > t (e); -add_artifact (t); -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -else if (n == "execParameter") -{ -::CIAO::Config_Handlers::Property t (e); -add_execParameter (t); -} + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -else if (n == "deployRequirement") -{ -::CIAO::Config_Handlers::Requirement t (e); -add_deployRequirement (t); -} + if (n == "kind") + { + kind_ = ::std::auto_ptr< ::CIAO::Config_Handlers::TCKind > (new ::CIAO::Config_Handlers::TCKind (e)); + kind_->container (this); + } -else -{ -} -} + else if (n == "enum") + { + ::CIAO::Config_Handlers::EnumType t (e); + enum_ (t); + } -while (p.more_attributes ()) -{ -::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); -if (n == "id") -{ -::XMLSchema::ID< ACE_TCHAR > t (a); -id (t); -} + else if (n == "struct") + { + ::CIAO::Config_Handlers::StructType t (e); + struct_ (t); + } -else -{ -} -} -} + else if (n == "value") + { + ::CIAO::Config_Handlers::ValueType t (e); + value (t); + } -// ResourceUsageKind -// + else if (n == "sequence") + { + ::CIAO::Config_Handlers::SequenceType t (e); + sequence (t); + } -ResourceUsageKind:: -ResourceUsageKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) -: ::XSCRT::Type (e) -{ -::std::basic_string< ACE_TCHAR > v (e.value ()); - -if (v == "None") v_ = None_l; -else if (v == "InstanceUsesResource") v_ = InstanceUsesResource_l; -else if (v == "ResourceUsesInstance") v_ = ResourceUsesInstance_l; -else if (v == "PortUsesResource") v_ = PortUsesResource_l; -else if (v == "ResourceUsesPort") v_ = ResourceUsesPort_l; -else -{ -} -} + else + { + } + } -ResourceUsageKind:: -ResourceUsageKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) -: ::XSCRT::Type (a) -{ -::std::basic_string< ACE_TCHAR > v (a.value ()); - -if (v == "None") v_ = None_l; -else if (v == "InstanceUsesResource") v_ = InstanceUsesResource_l; -else if (v == "ResourceUsesInstance") v_ = ResourceUsesInstance_l; -else if (v == "PortUsesResource") v_ = PortUsesResource_l; -else if (v == "ResourceUsesPort") v_ = ResourceUsesPort_l; -else -{ -} -} + while (p.more_attributes ()) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); + if (n == "id") + { + ::XMLSchema::ID< ACE_TCHAR > t (a); + id (t); + } -ResourceUsageKind const ResourceUsageKind::None (ResourceUsageKind::None_l); -ResourceUsageKind const ResourceUsageKind::InstanceUsesResource (ResourceUsageKind::InstanceUsesResource_l); -ResourceUsageKind const ResourceUsageKind::ResourceUsesInstance (ResourceUsageKind::ResourceUsesInstance_l); -ResourceUsageKind const ResourceUsageKind::PortUsesResource (ResourceUsageKind::PortUsesResource_l); -ResourceUsageKind const ResourceUsageKind::ResourceUsesPort (ResourceUsageKind::ResourceUsesPort_l); + else + { + } + } + } -// InstanceResourceDeploymentDescription -// + // DataValue + // -InstanceResourceDeploymentDescription:: -InstanceResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + DataValue:: + DataValue (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -::XSCRT::Parser< ACE_TCHAR > p (e); + ::XSCRT::Parser< ACE_TCHAR > p (e); -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -if (n == "resourceUsage") -{ -resourceUsage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ResourceUsageKind > (new ::CIAO::Config_Handlers::ResourceUsageKind (e)); -resourceUsage_->container (this); -} + if (n == "short") + { + ::XMLSchema::short_ t (e); + add_short (t); + } -else if (n == "requirementName") -{ -requirementName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -requirementName_->container (this); -} + else if (n == "long") + { + ::XMLSchema::int_ t (e); + add_long (t); + } -else if (n == "resourceName") -{ -resourceName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -resourceName_->container (this); -} + else if (n == "ushort") + { + ::XMLSchema::unsignedShort t (e); + add_ushort (t); + } -else if (n == "property") -{ -::CIAO::Config_Handlers::Property t (e); -add_property (t); -} + else if (n == "ulong") + { + ::XMLSchema::unsignedInt t (e); + add_ulong (t); + } -else -{ -} -} -} + else if (n == "float") + { + ::XMLSchema::float_ t (e); + add_float (t); + } -// InstanceDeploymentDescription -// + else if (n == "double") + { + ::XMLSchema::double_ t (e); + add_double (t); + } -InstanceDeploymentDescription:: -InstanceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + else if (n == "boolean") + { + ::XMLSchema::boolean t (e); + add_boolean (t); + } -::XSCRT::Parser< ACE_TCHAR > p (e); + else if (n == "octet") + { + ::XMLSchema::unsignedByte t (e); + add_octet (t); + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + else if (n == "enum") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + add_enum (t); + } -if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); -} + else if (n == "string") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + add_string (t); + } -else if (n == "node") -{ -node_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -node_->container (this); -} + else if (n == "longlong") + { + ::XMLSchema::long_ t (e); + add_longlong (t); + } -else if (n == "source") -{ -source_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -source_->container (this); -} + else if (n == "ulonglong") + { + ::XMLSchema::unsignedLong t (e); + add_ulonglong (t); + } -else if (n == "implementation") -{ -implementation_ = ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > (new ::XMLSchema::IDREF< ACE_TCHAR > (e)); -implementation_->container (this); -} + else if (n == "longdouble") + { + ::XMLSchema::double_ t (e); + add_longdouble (t); + } -else if (n == "configProperty") -{ -::CIAO::Config_Handlers::Property t (e); -add_configProperty (t); -} + else if (n == "member") + { + ::CIAO::Config_Handlers::NamedValue t (e); + add_member (t); + } -else if (n == "deployedResource") -{ -::CIAO::Config_Handlers::InstanceResourceDeploymentDescription t (e); -deployedResource (t); -} + else + { + } + } + } -else if (n == "deployedSharedResource") -{ -::CIAO::Config_Handlers::InstanceResourceDeploymentDescription t (e); -deployedSharedResource (t); -} + // EnumType + // -else -{ -} -} + EnumType:: + EnumType (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -while (p.more_attributes ()) -{ -::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); -if (n == "id") -{ -::XMLSchema::ID< ACE_TCHAR > t (a); -id (t); -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -else -{ -} -} -} + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -// CCMComponentPortKind -// + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -CCMComponentPortKind:: -CCMComponentPortKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) -: ::XSCRT::Type (e) -{ -::std::basic_string< ACE_TCHAR > v (e.value ()); - -if (v == "Facet") v_ = Facet_l; -else if (v == "SimplexReceptacle") v_ = SimplexReceptacle_l; -else if (v == "MultiplexReceptacle") v_ = MultiplexReceptacle_l; -else if (v == "EventEmitter") v_ = EventEmitter_l; -else if (v == "EventPublisher") v_ = EventPublisher_l; -else if (v == "EventConsumer") v_ = EventConsumer_l; -else -{ -} -} + else if (n == "typeId") + { + typeId_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + typeId_->container (this); + } -CCMComponentPortKind:: -CCMComponentPortKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) -: ::XSCRT::Type (a) -{ -::std::basic_string< ACE_TCHAR > v (a.value ()); - -if (v == "Facet") v_ = Facet_l; -else if (v == "SimplexReceptacle") v_ = SimplexReceptacle_l; -else if (v == "MultiplexReceptacle") v_ = MultiplexReceptacle_l; -else if (v == "EventEmitter") v_ = EventEmitter_l; -else if (v == "EventPublisher") v_ = EventPublisher_l; -else if (v == "EventConsumer") v_ = EventConsumer_l; -else -{ -} -} + else if (n == "member") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + add_member (t); + } -CCMComponentPortKind const CCMComponentPortKind::Facet (CCMComponentPortKind::Facet_l); -CCMComponentPortKind const CCMComponentPortKind::SimplexReceptacle (CCMComponentPortKind::SimplexReceptacle_l); -CCMComponentPortKind const CCMComponentPortKind::MultiplexReceptacle (CCMComponentPortKind::MultiplexReceptacle_l); -CCMComponentPortKind const CCMComponentPortKind::EventEmitter (CCMComponentPortKind::EventEmitter_l); -CCMComponentPortKind const CCMComponentPortKind::EventPublisher (CCMComponentPortKind::EventPublisher_l); -CCMComponentPortKind const CCMComponentPortKind::EventConsumer (CCMComponentPortKind::EventConsumer_l); + else + { + } + } + } -// ComponentPortDescription -// + // StructType + // -ComponentPortDescription:: -ComponentPortDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + StructType:: + StructType (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -::XSCRT::Parser< ACE_TCHAR > p (e); + ::XSCRT::Parser< ACE_TCHAR > p (e); -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); -} + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -else if (n == "specificType") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -specificType (t); -} + else if (n == "typeId") + { + typeId_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + typeId_->container (this); + } -else if (n == "supportedType") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -add_supportedType (t); -} + else if (n == "member") + { + ::CIAO::Config_Handlers::StructMemberType t (e); + add_member (t); + } -else if (n == "provider") -{ -provider_ = ::std::auto_ptr< ::XMLSchema::boolean > (new ::XMLSchema::boolean (e)); -provider_->container (this); -} + else + { + } + } + } -else if (n == "exclusiveProvider") -{ -exclusiveProvider_ = ::std::auto_ptr< ::XMLSchema::boolean > (new ::XMLSchema::boolean (e)); -exclusiveProvider_->container (this); -} + // StructMemberType + // -else if (n == "exclusiveUser") -{ -exclusiveUser_ = ::std::auto_ptr< ::XMLSchema::boolean > (new ::XMLSchema::boolean (e)); -exclusiveUser_->container (this); -} + StructMemberType:: + StructMemberType (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -else if (n == "optional") -{ -optional_ = ::std::auto_ptr< ::XMLSchema::boolean > (new ::XMLSchema::boolean (e)); -optional_->container (this); -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -else if (n == "kind") -{ -kind_ = ::std::auto_ptr< ::CIAO::Config_Handlers::CCMComponentPortKind > (new ::CIAO::Config_Handlers::CCMComponentPortKind (e)); -kind_->container (this); -} + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -else -{ -} -} -} + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -// ComponentPropertyDescription -// + else if (n == "type") + { + type_ = ::std::auto_ptr< ::CIAO::Config_Handlers::DataType > (new ::CIAO::Config_Handlers::DataType (e)); + type_->container (this); + } -ComponentPropertyDescription:: -ComponentPropertyDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + else + { + } + } + } -::XSCRT::Parser< ACE_TCHAR > p (e); + // ValueType + // -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + ValueType:: + ValueType (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -else if (n == "type") -{ -type_ = ::std::auto_ptr< ::CIAO::Config_Handlers::DataType > (new ::CIAO::Config_Handlers::DataType (e)); -type_->container (this); -} + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -else -{ -} -} -} + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -// ComponentExternalPortEndpoint -// + else if (n == "typeId") + { + typeId_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + typeId_->container (this); + } -ComponentExternalPortEndpoint:: -ComponentExternalPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + else if (n == "modifier") + { + modifier_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + modifier_->container (this); + } -::XSCRT::Parser< ACE_TCHAR > p (e); + else if (n == "baseType") + { + baseType_ = ::std::auto_ptr< ::CIAO::Config_Handlers::DataType > (new ::CIAO::Config_Handlers::DataType (e)); + baseType_->container (this); + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + else if (n == "member") + { + ::CIAO::Config_Handlers::ValueMemberType t (e); + add_member (t); + } -if (n == "portName") -{ -portName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -portName_->container (this); -} + else + { + } + } + } -else -{ -} -} -} + // ValueMemberType + // -// PlanSubcomponentPortEndpoint -// + ValueMemberType:: + ValueMemberType (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -PlanSubcomponentPortEndpoint:: -PlanSubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + ::XSCRT::Parser< ACE_TCHAR > p (e); -::XSCRT::Parser< ACE_TCHAR > p (e); + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -if (n == "portName") -{ -portName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -portName_->container (this); -} + else if (n == "visibility") + { + visibility_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + visibility_->container (this); + } -else if (n == "provider") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -provider (t); -} + else if (n == "type") + { + type_ = ::std::auto_ptr< ::CIAO::Config_Handlers::DataType > (new ::CIAO::Config_Handlers::DataType (e)); + type_->container (this); + } -else if (n == "kind") -{ -kind_ = ::std::auto_ptr< ::CIAO::Config_Handlers::CCMComponentPortKind > (new ::CIAO::Config_Handlers::CCMComponentPortKind (e)); -kind_->container (this); -} + else + { + } + } + } -else if (n == "instance") -{ -instance_ = ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > (new ::XMLSchema::IDREF< ACE_TCHAR > (e)); -instance_->container (this); -} + // NamedValue + // -else -{ -} -} -} + NamedValue:: + NamedValue (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -// ExternalReferenceEndpoint -// + ::XSCRT::Parser< ACE_TCHAR > p (e); -ExternalReferenceEndpoint:: -ExternalReferenceEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -::XSCRT::Parser< ACE_TCHAR > p (e); + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + else if (n == "value") + { + value_ = ::std::auto_ptr< ::CIAO::Config_Handlers::DataValue > (new ::CIAO::Config_Handlers::DataValue (e)); + value_->container (this); + } -if (n == "location") -{ -location_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -location_->container (this); -} + else + { + } + } + } -else -{ -} -} -} + // SequenceType + // -// ConnectionResourceDeploymentDescription -// + SequenceType:: + SequenceType (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -ConnectionResourceDeploymentDescription:: -ConnectionResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + ::XSCRT::Parser< ACE_TCHAR > p (e); -::XSCRT::Parser< ACE_TCHAR > p (e); + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + if (n == "bound") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + bound (t); + } -if (n == "targetName") -{ -targetName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -targetName_->container (this); -} + else if (n == "elementType") + { + elementType_ = ::std::auto_ptr< ::CIAO::Config_Handlers::DataType > (new ::CIAO::Config_Handlers::DataType (e)); + elementType_->container (this); + } -else if (n == "requirementName") -{ -requirementName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -requirementName_->container (this); -} + else + { + } + } + } -else if (n == "resourceName") -{ -resourceName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -resourceName_->container (this); -} + // Any + // -else if (n == "property") -{ -::CIAO::Config_Handlers::Property t (e); -add_property (t); -} + Any:: + Any (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -else -{ -} -} -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -// PlanConnectionDescription -// - -PlanConnectionDescription:: -PlanConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -::XSCRT::Parser< ACE_TCHAR > p (e); + if (n == "type") + { + type_ = ::std::auto_ptr< ::CIAO::Config_Handlers::DataType > (new ::CIAO::Config_Handlers::DataType (e)); + type_->container (this); + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + else if (n == "value") + { + value_ = ::std::auto_ptr< ::CIAO::Config_Handlers::DataValue > (new ::CIAO::Config_Handlers::DataValue (e)); + value_->container (this); + } -if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); -} + else + { + } + } + } -else if (n == "source") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -source (t); -} + // Property + // -else if (n == "deployRequirement") -{ -::CIAO::Config_Handlers::Requirement t (e); -add_deployRequirement (t); -} + Property:: + Property (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -else if (n == "externalEndpoint") -{ -::CIAO::Config_Handlers::ComponentExternalPortEndpoint t (e); -add_externalEndpoint (t); -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -else if (n == "internalEndpoint") -{ -::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint t (e); -add_internalEndpoint (t); -} + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -else if (n == "externalReference") -{ -::CIAO::Config_Handlers::ExternalReferenceEndpoint t (e); -add_externalReference (t); -} + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -else if (n == "deployedResource") -{ -::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription t (e); -add_deployedResource (t); -} + else if (n == "value") + { + value_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Any > (new ::CIAO::Config_Handlers::Any (e)); + value_->container (this); + } -else -{ -} -} -} + else + { + } + } + } -// ImplementationDependency -// + // SatisfierPropertyKind + // -ImplementationDependency:: -ImplementationDependency (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + SatisfierPropertyKind:: + SatisfierPropertyKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) + : ::XSCRT::Type (e) + { + ::std::basic_string< ACE_TCHAR > v (e.value ()); + + if (v == "Quantity") v_ = Quantity_l; + else if (v == "Capacity") v_ = Capacity_l; + else if (v == "Minimum") v_ = Minimum_l; + else if (v == "Maximum") v_ = Maximum_l; + else if (v == "Attribute") v_ = Attribute_l; + else if (v == "Selection") v_ = Selection_l; + else + { + } + } -::XSCRT::Parser< ACE_TCHAR > p (e); + SatisfierPropertyKind:: + SatisfierPropertyKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) + : ::XSCRT::Type (a) + { + ::std::basic_string< ACE_TCHAR > v (a.value ()); + + if (v == "Quantity") v_ = Quantity_l; + else if (v == "Capacity") v_ = Capacity_l; + else if (v == "Minimum") v_ = Minimum_l; + else if (v == "Maximum") v_ = Maximum_l; + else if (v == "Attribute") v_ = Attribute_l; + else if (v == "Selection") v_ = Selection_l; + else + { + } + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + SatisfierPropertyKind const SatisfierPropertyKind::Quantity (SatisfierPropertyKind::Quantity_l); + SatisfierPropertyKind const SatisfierPropertyKind::Capacity (SatisfierPropertyKind::Capacity_l); + SatisfierPropertyKind const SatisfierPropertyKind::Minimum (SatisfierPropertyKind::Minimum_l); + SatisfierPropertyKind const SatisfierPropertyKind::Maximum (SatisfierPropertyKind::Maximum_l); + SatisfierPropertyKind const SatisfierPropertyKind::Attribute (SatisfierPropertyKind::Attribute_l); + SatisfierPropertyKind const SatisfierPropertyKind::Selection (SatisfierPropertyKind::Selection_l); -if (n == "requiredType") -{ -requiredType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -requiredType_->container (this); -} + // SatisfierProperty + // -else -{ -} -} -} + SatisfierProperty:: + SatisfierProperty (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -// Capability -// + ::XSCRT::Parser< ACE_TCHAR > p (e); -Capability:: -Capability (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -::XSCRT::Parser< ACE_TCHAR > p (e); + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + else if (n == "kind") + { + kind_ = ::std::auto_ptr< ::CIAO::Config_Handlers::SatisfierPropertyKind > (new ::CIAO::Config_Handlers::SatisfierPropertyKind (e)); + kind_->container (this); + } -if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); -} + else if (n == "dynamic") + { + dynamic_ = ::std::auto_ptr< ::XMLSchema::boolean > (new ::XMLSchema::boolean (e)); + dynamic_->container (this); + } -else if (n == "resourceType") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -add_resourceType (t); -} + else if (n == "value") + { + value_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Any > (new ::CIAO::Config_Handlers::Any (e)); + value_->container (this); + } -else if (n == "property") -{ -::CIAO::Config_Handlers::SatisfierProperty t (e); -add_property (t); -} + else + { + } + } + } -else -{ -} -} -} + // Resource + // -// ImplementationRequirement -// + Resource:: + Resource (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -ImplementationRequirement:: -ImplementationRequirement (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + ::XSCRT::Parser< ACE_TCHAR > p (e); -::XSCRT::Parser< ACE_TCHAR > p (e); + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -if (n == "resourceUsage") -{ -::CIAO::Config_Handlers::ResourceUsageKind t (e); -resourceUsage (t); -} + else if (n == "resourceType") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + add_resourceType (t); + } -else if (n == "resourcePort") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -resourcePort (t); -} + else if (n == "property") + { + ::CIAO::Config_Handlers::SatisfierProperty t (e); + add_property (t); + } -else if (n == "componentPort") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -componentPort (t); -} + else + { + } + } + } -else if (n == "resourceType") -{ -resourceType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -resourceType_->container (this); -} + // Requirement + // -else if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); -} + Requirement:: + Requirement (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -else if (n == "property") -{ -::CIAO::Config_Handlers::Property t (e); -add_property (t); -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -else -{ -} -} -} + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -// ComponentPackageReference -// + if (n == "resourceType") + { + resourceType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + resourceType_->container (this); + } -ComponentPackageReference:: -ComponentPackageReference (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + else if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -::XSCRT::Parser< ACE_TCHAR > p (e); + else if (n == "property") + { + ::CIAO::Config_Handlers::Property t (e); + add_property (t); + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + else + { + } + } + } -if (n == "requiredUUID") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -requiredUUID (t); -} + // ResourceDeploymentDescription + // -else if (n == "requiredName") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -requiredName (t); -} + ResourceDeploymentDescription:: + ResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -else if (n == "requiredType") -{ -requiredType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -requiredType_->container (this); -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -else -{ -} -} -} + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -// SubcomponentPortEndpoint -// + if (n == "requirementName") + { + requirementName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + requirementName_->container (this); + } -SubcomponentPortEndpoint:: -SubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + else if (n == "resourceName") + { + resourceName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + resourceName_->container (this); + } -::XSCRT::Parser< ACE_TCHAR > p (e); + else if (n == "property") + { + ::CIAO::Config_Handlers::Property t (e); + add_property (t); + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + else + { + } + } + } -if (n == "portName") -{ -portName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -portName_->container (this); -} + // ArtifactDeploymentDescription + // -else if (n == "instance") -{ -instance_ = ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > (new ::XMLSchema::IDREF< ACE_TCHAR > (e)); -instance_->container (this); -} + ArtifactDeploymentDescription:: + ArtifactDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -else -{ -} -} -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -// AssemblyConnectionDescription -// + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -AssemblyConnectionDescription:: -AssemblyConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -::XSCRT::Parser< ACE_TCHAR > p (e); + else if (n == "source") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + add_source (t); + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + else if (n == "node") + { + node_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + node_->container (this); + } -if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); -} + else if (n == "location") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + add_location (t); + } -else if (n == "deployRequirement") -{ -::CIAO::Config_Handlers::Requirement t (e); -add_deployRequirement (t); -} + else if (n == "execParameter") + { + ::CIAO::Config_Handlers::Property t (e); + add_execParameter (t); + } -else if (n == "internalEndpoint") -{ -::CIAO::Config_Handlers::SubcomponentPortEndpoint t (e); -add_internalEndpoint (t); -} + else if (n == "deployRequirement") + { + ::CIAO::Config_Handlers::Requirement t (e); + add_deployRequirement (t); + } -else if (n == "externalEndpoint") -{ -::CIAO::Config_Handlers::ComponentExternalPortEndpoint t (e); -add_externalEndpoint (t); -} + else if (n == "deployedResource") + { + ::CIAO::Config_Handlers::ResourceDeploymentDescription t (e); + add_deployedResource (t); + } -else if (n == "externalReference") -{ -::CIAO::Config_Handlers::ExternalReferenceEndpoint t (e); -add_externalReference (t); -} + else + { + } + } -else -{ -} -} -} -} -} + while (p.more_attributes ()) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); + if (n == "id") + { + ::XMLSchema::ID< ACE_TCHAR > t (a); + id (t); + } -namespace CIAO -{ -namespace Config_Handlers -{ -} -} + else + { + } + } + } -#include "XMLSchema/TypeInfo.hpp" + // MonolithicDeploymentDescription + // -namespace CIAO -{ -namespace Config_Handlers -{ -namespace -{ -::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); + MonolithicDeploymentDescription:: + MonolithicDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -struct TCKindTypeInfoInitializer -{ -TCKindTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (TCKind)); -::XSCRT::ExtendedTypeInfo nf (id); + ::XSCRT::Parser< ACE_TCHAR > p (e); -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -TCKindTypeInfoInitializer TCKindTypeInfoInitializer_; + else if (n == "source") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + add_source (t); + } -struct DataTypeTypeInfoInitializer -{ -DataTypeTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (DataType)); -::XSCRT::ExtendedTypeInfo nf (id); + else if (n == "artifact") + { + ::XMLSchema::IDREF< ACE_TCHAR > t (e); + add_artifact (t); + } -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + else if (n == "execParameter") + { + ::CIAO::Config_Handlers::Property t (e); + add_execParameter (t); + } -DataTypeTypeInfoInitializer DataTypeTypeInfoInitializer_; + else if (n == "deployRequirement") + { + ::CIAO::Config_Handlers::Requirement t (e); + add_deployRequirement (t); + } -struct DataValueTypeInfoInitializer -{ -DataValueTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (DataValue)); -::XSCRT::ExtendedTypeInfo nf (id); + else + { + } + } -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + while (p.more_attributes ()) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); + if (n == "id") + { + ::XMLSchema::ID< ACE_TCHAR > t (a); + id (t); + } -DataValueTypeInfoInitializer DataValueTypeInfoInitializer_; + else + { + } + } + } -struct EnumTypeTypeInfoInitializer -{ -EnumTypeTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (EnumType)); -::XSCRT::ExtendedTypeInfo nf (id); + // ResourceUsageKind + // -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + ResourceUsageKind:: + ResourceUsageKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) + : ::XSCRT::Type (e) + { + ::std::basic_string< ACE_TCHAR > v (e.value ()); + + if (v == "None") v_ = None_l; + else if (v == "InstanceUsesResource") v_ = InstanceUsesResource_l; + else if (v == "ResourceUsesInstance") v_ = ResourceUsesInstance_l; + else if (v == "PortUsesResource") v_ = PortUsesResource_l; + else if (v == "ResourceUsesPort") v_ = ResourceUsesPort_l; + else + { + } + } -EnumTypeTypeInfoInitializer EnumTypeTypeInfoInitializer_; + ResourceUsageKind:: + ResourceUsageKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) + : ::XSCRT::Type (a) + { + ::std::basic_string< ACE_TCHAR > v (a.value ()); + + if (v == "None") v_ = None_l; + else if (v == "InstanceUsesResource") v_ = InstanceUsesResource_l; + else if (v == "ResourceUsesInstance") v_ = ResourceUsesInstance_l; + else if (v == "PortUsesResource") v_ = PortUsesResource_l; + else if (v == "ResourceUsesPort") v_ = ResourceUsesPort_l; + else + { + } + } -struct AnyTypeInfoInitializer -{ -AnyTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (Any)); -::XSCRT::ExtendedTypeInfo nf (id); + ResourceUsageKind const ResourceUsageKind::None (ResourceUsageKind::None_l); + ResourceUsageKind const ResourceUsageKind::InstanceUsesResource (ResourceUsageKind::InstanceUsesResource_l); + ResourceUsageKind const ResourceUsageKind::ResourceUsesInstance (ResourceUsageKind::ResourceUsesInstance_l); + ResourceUsageKind const ResourceUsageKind::PortUsesResource (ResourceUsageKind::PortUsesResource_l); + ResourceUsageKind const ResourceUsageKind::ResourceUsesPort (ResourceUsageKind::ResourceUsesPort_l); -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + // InstanceResourceDeploymentDescription + // -AnyTypeInfoInitializer AnyTypeInfoInitializer_; + InstanceResourceDeploymentDescription:: + InstanceResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -struct PropertyTypeInfoInitializer -{ -PropertyTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (Property)); -::XSCRT::ExtendedTypeInfo nf (id); + ::XSCRT::Parser< ACE_TCHAR > p (e); -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -PropertyTypeInfoInitializer PropertyTypeInfoInitializer_; + if (n == "resourceUsage") + { + resourceUsage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ResourceUsageKind > (new ::CIAO::Config_Handlers::ResourceUsageKind (e)); + resourceUsage_->container (this); + } -struct SatisfierPropertyKindTypeInfoInitializer -{ -SatisfierPropertyKindTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (SatisfierPropertyKind)); -::XSCRT::ExtendedTypeInfo nf (id); + else if (n == "requirementName") + { + requirementName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + requirementName_->container (this); + } -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + else if (n == "resourceName") + { + resourceName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + resourceName_->container (this); + } -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + else if (n == "property") + { + ::CIAO::Config_Handlers::Property t (e); + add_property (t); + } -SatisfierPropertyKindTypeInfoInitializer SatisfierPropertyKindTypeInfoInitializer_; + else + { + } + } + } -struct SatisfierPropertyTypeInfoInitializer -{ -SatisfierPropertyTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (SatisfierProperty)); -::XSCRT::ExtendedTypeInfo nf (id); + // InstanceDeploymentDescription + // -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + InstanceDeploymentDescription:: + InstanceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -SatisfierPropertyTypeInfoInitializer SatisfierPropertyTypeInfoInitializer_; + ::XSCRT::Parser< ACE_TCHAR > p (e); -struct ResourceTypeInfoInitializer -{ -ResourceTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (Resource)); -::XSCRT::ExtendedTypeInfo nf (id); + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -ResourceTypeInfoInitializer ResourceTypeInfoInitializer_; + else if (n == "node") + { + node_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + node_->container (this); + } -struct RequirementTypeInfoInitializer -{ -RequirementTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (Requirement)); -::XSCRT::ExtendedTypeInfo nf (id); + else if (n == "source") + { + source_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + source_->container (this); + } -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + else if (n == "implementation") + { + implementation_ = ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > (new ::XMLSchema::IDREF< ACE_TCHAR > (e)); + implementation_->container (this); + } -RequirementTypeInfoInitializer RequirementTypeInfoInitializer_; + else if (n == "configProperty") + { + ::CIAO::Config_Handlers::Property t (e); + add_configProperty (t); + } -struct ResourceDeploymentDescriptionTypeInfoInitializer -{ -ResourceDeploymentDescriptionTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (ResourceDeploymentDescription)); -::XSCRT::ExtendedTypeInfo nf (id); + else if (n == "deployedResource") + { + ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription t (e); + deployedResource (t); + } -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + else if (n == "deployedSharedResource") + { + ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription t (e); + deployedSharedResource (t); + } -ResourceDeploymentDescriptionTypeInfoInitializer ResourceDeploymentDescriptionTypeInfoInitializer_; + else + { + } + } -struct ArtifactDeploymentDescriptionTypeInfoInitializer -{ -ArtifactDeploymentDescriptionTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (ArtifactDeploymentDescription)); -::XSCRT::ExtendedTypeInfo nf (id); + while (p.more_attributes ()) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); + if (n == "id") + { + ::XMLSchema::ID< ACE_TCHAR > t (a); + id (t); + } -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + else + { + } + } + } -ArtifactDeploymentDescriptionTypeInfoInitializer ArtifactDeploymentDescriptionTypeInfoInitializer_; + // CCMComponentPortKind + // -struct MonolithicDeploymentDescriptionTypeInfoInitializer -{ -MonolithicDeploymentDescriptionTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (MonolithicDeploymentDescription)); -::XSCRT::ExtendedTypeInfo nf (id); + CCMComponentPortKind:: + CCMComponentPortKind (::XSCRT::XML::Element< ACE_TCHAR > const& e) + : ::XSCRT::Type (e) + { + ::std::basic_string< ACE_TCHAR > v (e.value ()); + + if (v == "Facet") v_ = Facet_l; + else if (v == "SimplexReceptacle") v_ = SimplexReceptacle_l; + else if (v == "MultiplexReceptacle") v_ = MultiplexReceptacle_l; + else if (v == "EventEmitter") v_ = EventEmitter_l; + else if (v == "EventPublisher") v_ = EventPublisher_l; + else if (v == "EventConsumer") v_ = EventConsumer_l; + else + { + } + } -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + CCMComponentPortKind:: + CCMComponentPortKind (::XSCRT::XML::Attribute< ACE_TCHAR > const& a) + : ::XSCRT::Type (a) + { + ::std::basic_string< ACE_TCHAR > v (a.value ()); + + if (v == "Facet") v_ = Facet_l; + else if (v == "SimplexReceptacle") v_ = SimplexReceptacle_l; + else if (v == "MultiplexReceptacle") v_ = MultiplexReceptacle_l; + else if (v == "EventEmitter") v_ = EventEmitter_l; + else if (v == "EventPublisher") v_ = EventPublisher_l; + else if (v == "EventConsumer") v_ = EventConsumer_l; + else + { + } + } -MonolithicDeploymentDescriptionTypeInfoInitializer MonolithicDeploymentDescriptionTypeInfoInitializer_; + CCMComponentPortKind const CCMComponentPortKind::Facet (CCMComponentPortKind::Facet_l); + CCMComponentPortKind const CCMComponentPortKind::SimplexReceptacle (CCMComponentPortKind::SimplexReceptacle_l); + CCMComponentPortKind const CCMComponentPortKind::MultiplexReceptacle (CCMComponentPortKind::MultiplexReceptacle_l); + CCMComponentPortKind const CCMComponentPortKind::EventEmitter (CCMComponentPortKind::EventEmitter_l); + CCMComponentPortKind const CCMComponentPortKind::EventPublisher (CCMComponentPortKind::EventPublisher_l); + CCMComponentPortKind const CCMComponentPortKind::EventConsumer (CCMComponentPortKind::EventConsumer_l); -struct ResourceUsageKindTypeInfoInitializer -{ -ResourceUsageKindTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (ResourceUsageKind)); -::XSCRT::ExtendedTypeInfo nf (id); + // ComponentPortDescription + // -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ComponentPortDescription:: + ComponentPortDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + ::XSCRT::Parser< ACE_TCHAR > p (e); -ResourceUsageKindTypeInfoInitializer ResourceUsageKindTypeInfoInitializer_; + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -struct InstanceResourceDeploymentDescriptionTypeInfoInitializer -{ -InstanceResourceDeploymentDescriptionTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (InstanceResourceDeploymentDescription)); -::XSCRT::ExtendedTypeInfo nf (id); + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + else if (n == "specificType") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + specificType (t); + } -InstanceResourceDeploymentDescriptionTypeInfoInitializer InstanceResourceDeploymentDescriptionTypeInfoInitializer_; + else if (n == "supportedType") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + add_supportedType (t); + } -struct InstanceDeploymentDescriptionTypeInfoInitializer -{ -InstanceDeploymentDescriptionTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (InstanceDeploymentDescription)); -::XSCRT::ExtendedTypeInfo nf (id); + else if (n == "provider") + { + provider_ = ::std::auto_ptr< ::XMLSchema::boolean > (new ::XMLSchema::boolean (e)); + provider_->container (this); + } -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + else if (n == "exclusiveProvider") + { + exclusiveProvider_ = ::std::auto_ptr< ::XMLSchema::boolean > (new ::XMLSchema::boolean (e)); + exclusiveProvider_->container (this); + } -InstanceDeploymentDescriptionTypeInfoInitializer InstanceDeploymentDescriptionTypeInfoInitializer_; + else if (n == "exclusiveUser") + { + exclusiveUser_ = ::std::auto_ptr< ::XMLSchema::boolean > (new ::XMLSchema::boolean (e)); + exclusiveUser_->container (this); + } -struct CCMComponentPortKindTypeInfoInitializer -{ -CCMComponentPortKindTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (CCMComponentPortKind)); -::XSCRT::ExtendedTypeInfo nf (id); + else if (n == "optional") + { + optional_ = ::std::auto_ptr< ::XMLSchema::boolean > (new ::XMLSchema::boolean (e)); + optional_->container (this); + } -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + else if (n == "kind") + { + kind_ = ::std::auto_ptr< ::CIAO::Config_Handlers::CCMComponentPortKind > (new ::CIAO::Config_Handlers::CCMComponentPortKind (e)); + kind_->container (this); + } -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + else + { + } + } + } -CCMComponentPortKindTypeInfoInitializer CCMComponentPortKindTypeInfoInitializer_; + // ComponentPropertyDescription + // -struct ComponentPortDescriptionTypeInfoInitializer -{ -ComponentPortDescriptionTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (ComponentPortDescription)); -::XSCRT::ExtendedTypeInfo nf (id); + ComponentPropertyDescription:: + ComponentPropertyDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + ::XSCRT::Parser< ACE_TCHAR > p (e); -ComponentPortDescriptionTypeInfoInitializer ComponentPortDescriptionTypeInfoInitializer_; + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -struct ComponentPropertyDescriptionTypeInfoInitializer -{ -ComponentPropertyDescriptionTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (ComponentPropertyDescription)); -::XSCRT::ExtendedTypeInfo nf (id); + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + else if (n == "type") + { + type_ = ::std::auto_ptr< ::CIAO::Config_Handlers::DataType > (new ::CIAO::Config_Handlers::DataType (e)); + type_->container (this); + } -ComponentPropertyDescriptionTypeInfoInitializer ComponentPropertyDescriptionTypeInfoInitializer_; + else + { + } + } + } -struct ComponentExternalPortEndpointTypeInfoInitializer -{ -ComponentExternalPortEndpointTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (ComponentExternalPortEndpoint)); -::XSCRT::ExtendedTypeInfo nf (id); + // ComponentExternalPortEndpoint + // -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + ComponentExternalPortEndpoint:: + ComponentExternalPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -ComponentExternalPortEndpointTypeInfoInitializer ComponentExternalPortEndpointTypeInfoInitializer_; + ::XSCRT::Parser< ACE_TCHAR > p (e); -struct PlanSubcomponentPortEndpointTypeInfoInitializer -{ -PlanSubcomponentPortEndpointTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (PlanSubcomponentPortEndpoint)); -::XSCRT::ExtendedTypeInfo nf (id); + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + if (n == "portName") + { + portName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + portName_->container (this); + } -PlanSubcomponentPortEndpointTypeInfoInitializer PlanSubcomponentPortEndpointTypeInfoInitializer_; + else + { + } + } + } -struct ExternalReferenceEndpointTypeInfoInitializer -{ -ExternalReferenceEndpointTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (ExternalReferenceEndpoint)); -::XSCRT::ExtendedTypeInfo nf (id); + // PlanSubcomponentPortEndpoint + // -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + PlanSubcomponentPortEndpoint:: + PlanSubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -ExternalReferenceEndpointTypeInfoInitializer ExternalReferenceEndpointTypeInfoInitializer_; + ::XSCRT::Parser< ACE_TCHAR > p (e); -struct ConnectionResourceDeploymentDescriptionTypeInfoInitializer -{ -ConnectionResourceDeploymentDescriptionTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (ConnectionResourceDeploymentDescription)); -::XSCRT::ExtendedTypeInfo nf (id); + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + if (n == "portName") + { + portName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + portName_->container (this); + } -ConnectionResourceDeploymentDescriptionTypeInfoInitializer ConnectionResourceDeploymentDescriptionTypeInfoInitializer_; + else if (n == "provider") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + provider (t); + } -struct PlanConnectionDescriptionTypeInfoInitializer -{ -PlanConnectionDescriptionTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (PlanConnectionDescription)); -::XSCRT::ExtendedTypeInfo nf (id); + else if (n == "kind") + { + kind_ = ::std::auto_ptr< ::CIAO::Config_Handlers::CCMComponentPortKind > (new ::CIAO::Config_Handlers::CCMComponentPortKind (e)); + kind_->container (this); + } -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + else if (n == "instance") + { + instance_ = ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > (new ::XMLSchema::IDREF< ACE_TCHAR > (e)); + instance_->container (this); + } -PlanConnectionDescriptionTypeInfoInitializer PlanConnectionDescriptionTypeInfoInitializer_; + else + { + } + } + } -struct ImplementationDependencyTypeInfoInitializer -{ -ImplementationDependencyTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (ImplementationDependency)); -::XSCRT::ExtendedTypeInfo nf (id); + // ExternalReferenceEndpoint + // -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + ExternalReferenceEndpoint:: + ExternalReferenceEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -ImplementationDependencyTypeInfoInitializer ImplementationDependencyTypeInfoInitializer_; + ::XSCRT::Parser< ACE_TCHAR > p (e); -struct CapabilityTypeInfoInitializer -{ -CapabilityTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (Capability)); -::XSCRT::ExtendedTypeInfo nf (id); + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + if (n == "location") + { + location_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + location_->container (this); + } -CapabilityTypeInfoInitializer CapabilityTypeInfoInitializer_; + else + { + } + } + } -struct ImplementationRequirementTypeInfoInitializer -{ -ImplementationRequirementTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (ImplementationRequirement)); -::XSCRT::ExtendedTypeInfo nf (id); + // ConnectionResourceDeploymentDescription + // -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + ConnectionResourceDeploymentDescription:: + ConnectionResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -ImplementationRequirementTypeInfoInitializer ImplementationRequirementTypeInfoInitializer_; + ::XSCRT::Parser< ACE_TCHAR > p (e); -struct ComponentPackageReferenceTypeInfoInitializer -{ -ComponentPackageReferenceTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (ComponentPackageReference)); -::XSCRT::ExtendedTypeInfo nf (id); + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + if (n == "targetName") + { + targetName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + targetName_->container (this); + } -ComponentPackageReferenceTypeInfoInitializer ComponentPackageReferenceTypeInfoInitializer_; + else if (n == "requirementName") + { + requirementName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + requirementName_->container (this); + } -struct SubcomponentPortEndpointTypeInfoInitializer -{ -SubcomponentPortEndpointTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (SubcomponentPortEndpoint)); -::XSCRT::ExtendedTypeInfo nf (id); + else if (n == "resourceName") + { + resourceName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + resourceName_->container (this); + } -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + else if (n == "property") + { + ::CIAO::Config_Handlers::Property t (e); + add_property (t); + } -SubcomponentPortEndpointTypeInfoInitializer SubcomponentPortEndpointTypeInfoInitializer_; + else + { + } + } + } -struct AssemblyConnectionDescriptionTypeInfoInitializer -{ -AssemblyConnectionDescriptionTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (AssemblyConnectionDescription)); -::XSCRT::ExtendedTypeInfo nf (id); + // PlanConnectionDescription + // -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + PlanConnectionDescription:: + PlanConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -AssemblyConnectionDescriptionTypeInfoInitializer AssemblyConnectionDescriptionTypeInfoInitializer_; -} -} -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -namespace CIAO -{ -namespace Config_Handlers -{ -namespace Traversal -{ -// DataType -// -// + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -void DataType:: -traverse (Type& o) -{ -pre (o); -kind (o); -if (o.enum_p ()) enum_ (o); -else enum_none (o); -post (o); -} + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -void DataType:: -traverse (Type const& o) -{ -pre (o); -kind (o); -if (o.enum_p ()) enum_ (o); -else enum_none (o); -post (o); -} + else if (n == "source") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + source (t); + } -void DataType:: -pre (Type&) -{ -} + else if (n == "deployRequirement") + { + ::CIAO::Config_Handlers::Requirement t (e); + add_deployRequirement (t); + } -void DataType:: -pre (Type const&) -{ -} + else if (n == "externalEndpoint") + { + ::CIAO::Config_Handlers::ComponentExternalPortEndpoint t (e); + add_externalEndpoint (t); + } -void DataType:: -kind (Type& o) -{ -dispatch (o.kind ()); -} + else if (n == "internalEndpoint") + { + ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint t (e); + add_internalEndpoint (t); + } -void DataType:: -kind (Type const& o) -{ -dispatch (o.kind ()); -} + else if (n == "externalReference") + { + ::CIAO::Config_Handlers::ExternalReferenceEndpoint t (e); + add_externalReference (t); + } -void DataType:: -enum_ (Type& o) -{ -dispatch (o.enum_ ()); -} + else if (n == "deployedResource") + { + ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription t (e); + add_deployedResource (t); + } -void DataType:: -enum_ (Type const& o) -{ -dispatch (o.enum_ ()); -} + else + { + } + } + } -void DataType:: -enum_none (Type&) -{ -} + // ImplementationDependency + // -void DataType:: -enum_none (Type const&) -{ -} + ImplementationDependency:: + ImplementationDependency (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -void DataType:: -post (Type&) -{ -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -void DataType:: -post (Type const&) -{ -} + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -// DataValue -// -// + if (n == "requiredType") + { + requiredType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + requiredType_->container (this); + } -void DataValue:: -traverse (Type& o) -{ -pre (o); -short_ (o); -long_ (o); -ushort (o); -ulong (o); -float_ (o); -double_ (o); -boolean (o); -octet (o); -enum_ (o); -string (o); -longlong (o); -ulonglong (o); -longdouble (o); -post (o); -} + else + { + } + } + } -void DataValue:: -traverse (Type const& o) -{ -pre (o); -short_ (o); -long_ (o); -ushort (o); -ulong (o); -float_ (o); -double_ (o); -boolean (o); -octet (o); -enum_ (o); -string (o); -longlong (o); -ulonglong (o); -longdouble (o); -post (o); -} + // Capability + // -void DataValue:: -pre (Type&) -{ -} + Capability:: + Capability (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -void DataValue:: -pre (Type const&) -{ -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -void DataValue:: -short_ (Type& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::short_iterator b (o.begin_short()), e (o.end_short()); + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -if (b != e) -{ -short_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) short_next (o); -} + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -short_post (o); -} + else if (n == "resourceType") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + add_resourceType (t); + } -else short_none (o); -} + else if (n == "property") + { + ::CIAO::Config_Handlers::SatisfierProperty t (e); + add_property (t); + } -void DataValue:: -short_ (Type const& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::short_const_iterator b (o.begin_short()), e (o.end_short()); + else + { + } + } + } -if (b != e) -{ -short_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) short_next (o); -} + // ImplementationRequirement + // -short_post (o); -} + ImplementationRequirement:: + ImplementationRequirement (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -else short_none (o); -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -void DataValue:: -short_pre (Type&) -{ -} + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -void DataValue:: -short_pre (Type const&) -{ -} + if (n == "resourceUsage") + { + ::CIAO::Config_Handlers::ResourceUsageKind t (e); + resourceUsage (t); + } -void DataValue:: -short_next (Type&) -{ -} + else if (n == "resourcePort") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + resourcePort (t); + } -void DataValue:: -short_next (Type const&) -{ -} + else if (n == "componentPort") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + componentPort (t); + } -void DataValue:: -short_post (Type&) -{ -} + else if (n == "resourceType") + { + resourceType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + resourceType_->container (this); + } -void DataValue:: -short_post (Type const&) -{ -} + else if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -void DataValue:: -short_none (Type&) -{ -} + else if (n == "property") + { + ::CIAO::Config_Handlers::Property t (e); + add_property (t); + } -void DataValue:: -short_none (Type const&) -{ -} + else + { + } + } + } -void DataValue:: -long_ (Type& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::long_iterator b (o.begin_long()), e (o.end_long()); + // ComponentPackageReference + // -if (b != e) -{ -long_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) long_next (o); -} + ComponentPackageReference:: + ComponentPackageReference (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -long_post (o); -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -else long_none (o); -} + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -void DataValue:: -long_ (Type const& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::long_const_iterator b (o.begin_long()), e (o.end_long()); + if (n == "requiredUUID") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + requiredUUID (t); + } -if (b != e) -{ -long_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) long_next (o); -} + else if (n == "requiredName") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + requiredName (t); + } -long_post (o); -} + else if (n == "requiredType") + { + requiredType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + requiredType_->container (this); + } -else long_none (o); -} + else + { + } + } + } -void DataValue:: -long_pre (Type&) -{ -} + // SubcomponentPortEndpoint + // -void DataValue:: -long_pre (Type const&) -{ -} + SubcomponentPortEndpoint:: + SubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -void DataValue:: -long_next (Type&) -{ -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -void DataValue:: -long_next (Type const&) -{ -} + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -void DataValue:: -long_post (Type&) -{ -} + if (n == "portName") + { + portName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + portName_->container (this); + } -void DataValue:: -long_post (Type const&) -{ -} + else if (n == "instance") + { + instance_ = ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > (new ::XMLSchema::IDREF< ACE_TCHAR > (e)); + instance_->container (this); + } -void DataValue:: -long_none (Type&) -{ -} + else + { + } + } + } -void DataValue:: -long_none (Type const&) -{ -} + // AssemblyConnectionDescription + // -void DataValue:: -ushort (Type& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::ushort_iterator b (o.begin_ushort()), e (o.end_ushort()); + AssemblyConnectionDescription:: + AssemblyConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -if (b != e) -{ -ushort_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) ushort_next (o); -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -ushort_post (o); -} + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -else ushort_none (o); -} + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -void DataValue:: -ushort (Type const& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::ushort_const_iterator b (o.begin_ushort()), e (o.end_ushort()); + else if (n == "deployRequirement") + { + ::CIAO::Config_Handlers::Requirement t (e); + add_deployRequirement (t); + } -if (b != e) -{ -ushort_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) ushort_next (o); -} + else if (n == "internalEndpoint") + { + ::CIAO::Config_Handlers::SubcomponentPortEndpoint t (e); + add_internalEndpoint (t); + } -ushort_post (o); -} + else if (n == "externalEndpoint") + { + ::CIAO::Config_Handlers::ComponentExternalPortEndpoint t (e); + add_externalEndpoint (t); + } -else ushort_none (o); -} + else if (n == "externalReference") + { + ::CIAO::Config_Handlers::ExternalReferenceEndpoint t (e); + add_externalReference (t); + } -void DataValue:: -ushort_pre (Type&) -{ + else + { + } + } + } + } } -void DataValue:: -ushort_pre (Type const&) +namespace CIAO { + namespace Config_Handlers + { + } } -void DataValue:: -ushort_next (Type&) -{ -} +#include "XMLSchema/TypeInfo.hpp" -void DataValue:: -ushort_next (Type const&) +namespace CIAO { -} + namespace Config_Handlers + { + namespace + { + ::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); -void DataValue:: -ushort_post (Type&) -{ -} + struct TCKindTypeInfoInitializer + { + TCKindTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (TCKind)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -ushort_post (Type const&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -void DataValue:: -ushort_none (Type&) -{ -} + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -ushort_none (Type const&) -{ -} + TCKindTypeInfoInitializer TCKindTypeInfoInitializer_; -void DataValue:: -ulong (Type& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::ulong_iterator b (o.begin_ulong()), e (o.end_ulong()); + struct DataTypeTypeInfoInitializer + { + DataTypeTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (DataType)); + ::XSCRT::ExtendedTypeInfo nf (id); -if (b != e) -{ -ulong_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) ulong_next (o); -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -ulong_post (o); -} + DataTypeTypeInfoInitializer DataTypeTypeInfoInitializer_; -else ulong_none (o); -} + struct DataValueTypeInfoInitializer + { + DataValueTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (DataValue)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -ulong (Type const& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::ulong_const_iterator b (o.begin_ulong()), e (o.end_ulong()); + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -if (b != e) -{ -ulong_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) ulong_next (o); -} + DataValueTypeInfoInitializer DataValueTypeInfoInitializer_; -ulong_post (o); -} + struct EnumTypeTypeInfoInitializer + { + EnumTypeTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (EnumType)); + ::XSCRT::ExtendedTypeInfo nf (id); -else ulong_none (o); -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -ulong_pre (Type&) -{ -} + EnumTypeTypeInfoInitializer EnumTypeTypeInfoInitializer_; -void DataValue:: -ulong_pre (Type const&) -{ -} + struct StructTypeTypeInfoInitializer + { + StructTypeTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (StructType)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -ulong_next (Type&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -ulong_next (Type const&) -{ -} + StructTypeTypeInfoInitializer StructTypeTypeInfoInitializer_; -void DataValue:: -ulong_post (Type&) -{ -} + struct StructMemberTypeTypeInfoInitializer + { + StructMemberTypeTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (StructMemberType)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -ulong_post (Type const&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -ulong_none (Type&) -{ -} + StructMemberTypeTypeInfoInitializer StructMemberTypeTypeInfoInitializer_; -void DataValue:: -ulong_none (Type const&) -{ -} + struct ValueTypeTypeInfoInitializer + { + ValueTypeTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ValueType)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -float_ (Type& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::float_iterator b (o.begin_float()), e (o.end_float()); + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -if (b != e) -{ -float_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) float_next (o); -} + ValueTypeTypeInfoInitializer ValueTypeTypeInfoInitializer_; -float_post (o); -} + struct ValueMemberTypeTypeInfoInitializer + { + ValueMemberTypeTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ValueMemberType)); + ::XSCRT::ExtendedTypeInfo nf (id); -else float_none (o); -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -float_ (Type const& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::float_const_iterator b (o.begin_float()), e (o.end_float()); + ValueMemberTypeTypeInfoInitializer ValueMemberTypeTypeInfoInitializer_; -if (b != e) -{ -float_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) float_next (o); -} + struct NamedValueTypeInfoInitializer + { + NamedValueTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (NamedValue)); + ::XSCRT::ExtendedTypeInfo nf (id); -float_post (o); -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -else float_none (o); -} + NamedValueTypeInfoInitializer NamedValueTypeInfoInitializer_; -void DataValue:: -float_pre (Type&) -{ -} + struct SequenceTypeTypeInfoInitializer + { + SequenceTypeTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (SequenceType)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -float_pre (Type const&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -float_next (Type&) -{ -} + SequenceTypeTypeInfoInitializer SequenceTypeTypeInfoInitializer_; -void DataValue:: -float_next (Type const&) -{ -} + struct AnyTypeInfoInitializer + { + AnyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (Any)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -float_post (Type&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -float_post (Type const&) -{ -} + AnyTypeInfoInitializer AnyTypeInfoInitializer_; -void DataValue:: -float_none (Type&) -{ -} + struct PropertyTypeInfoInitializer + { + PropertyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (Property)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -float_none (Type const&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -double_ (Type& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::double_iterator b (o.begin_double()), e (o.end_double()); + PropertyTypeInfoInitializer PropertyTypeInfoInitializer_; -if (b != e) -{ -double_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) double_next (o); -} + struct SatisfierPropertyKindTypeInfoInitializer + { + SatisfierPropertyKindTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (SatisfierPropertyKind)); + ::XSCRT::ExtendedTypeInfo nf (id); -double_post (o); -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -else double_none (o); -} + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -double_ (Type const& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::double_const_iterator b (o.begin_double()), e (o.end_double()); + SatisfierPropertyKindTypeInfoInitializer SatisfierPropertyKindTypeInfoInitializer_; -if (b != e) -{ -double_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) double_next (o); -} + struct SatisfierPropertyTypeInfoInitializer + { + SatisfierPropertyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (SatisfierProperty)); + ::XSCRT::ExtendedTypeInfo nf (id); -double_post (o); -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -else double_none (o); -} + SatisfierPropertyTypeInfoInitializer SatisfierPropertyTypeInfoInitializer_; -void DataValue:: -double_pre (Type&) -{ -} + struct ResourceTypeInfoInitializer + { + ResourceTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (Resource)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -double_pre (Type const&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -double_next (Type&) -{ -} + ResourceTypeInfoInitializer ResourceTypeInfoInitializer_; -void DataValue:: -double_next (Type const&) -{ -} + struct RequirementTypeInfoInitializer + { + RequirementTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (Requirement)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -double_post (Type&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -double_post (Type const&) -{ -} + RequirementTypeInfoInitializer RequirementTypeInfoInitializer_; -void DataValue:: -double_none (Type&) -{ -} + struct ResourceDeploymentDescriptionTypeInfoInitializer + { + ResourceDeploymentDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ResourceDeploymentDescription)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -double_none (Type const&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -boolean (Type& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::boolean_iterator b (o.begin_boolean()), e (o.end_boolean()); + ResourceDeploymentDescriptionTypeInfoInitializer ResourceDeploymentDescriptionTypeInfoInitializer_; -if (b != e) -{ -boolean_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) boolean_next (o); -} + struct ArtifactDeploymentDescriptionTypeInfoInitializer + { + ArtifactDeploymentDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ArtifactDeploymentDescription)); + ::XSCRT::ExtendedTypeInfo nf (id); -boolean_post (o); -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -else boolean_none (o); -} + ArtifactDeploymentDescriptionTypeInfoInitializer ArtifactDeploymentDescriptionTypeInfoInitializer_; -void DataValue:: -boolean (Type const& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::boolean_const_iterator b (o.begin_boolean()), e (o.end_boolean()); + struct MonolithicDeploymentDescriptionTypeInfoInitializer + { + MonolithicDeploymentDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (MonolithicDeploymentDescription)); + ::XSCRT::ExtendedTypeInfo nf (id); -if (b != e) -{ -boolean_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) boolean_next (o); -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -boolean_post (o); -} + MonolithicDeploymentDescriptionTypeInfoInitializer MonolithicDeploymentDescriptionTypeInfoInitializer_; -else boolean_none (o); -} + struct ResourceUsageKindTypeInfoInitializer + { + ResourceUsageKindTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ResourceUsageKind)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -boolean_pre (Type&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -void DataValue:: -boolean_pre (Type const&) -{ -} + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -boolean_next (Type&) -{ -} + ResourceUsageKindTypeInfoInitializer ResourceUsageKindTypeInfoInitializer_; -void DataValue:: -boolean_next (Type const&) -{ -} + struct InstanceResourceDeploymentDescriptionTypeInfoInitializer + { + InstanceResourceDeploymentDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (InstanceResourceDeploymentDescription)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -boolean_post (Type&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -boolean_post (Type const&) -{ -} + InstanceResourceDeploymentDescriptionTypeInfoInitializer InstanceResourceDeploymentDescriptionTypeInfoInitializer_; -void DataValue:: -boolean_none (Type&) -{ -} + struct InstanceDeploymentDescriptionTypeInfoInitializer + { + InstanceDeploymentDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (InstanceDeploymentDescription)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -boolean_none (Type const&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -octet (Type& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::octet_iterator b (o.begin_octet()), e (o.end_octet()); + InstanceDeploymentDescriptionTypeInfoInitializer InstanceDeploymentDescriptionTypeInfoInitializer_; -if (b != e) -{ -octet_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) octet_next (o); -} + struct CCMComponentPortKindTypeInfoInitializer + { + CCMComponentPortKindTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (CCMComponentPortKind)); + ::XSCRT::ExtendedTypeInfo nf (id); -octet_post (o); -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -else octet_none (o); -} + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -octet (Type const& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::octet_const_iterator b (o.begin_octet()), e (o.end_octet()); + CCMComponentPortKindTypeInfoInitializer CCMComponentPortKindTypeInfoInitializer_; -if (b != e) -{ -octet_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) octet_next (o); -} + struct ComponentPortDescriptionTypeInfoInitializer + { + ComponentPortDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ComponentPortDescription)); + ::XSCRT::ExtendedTypeInfo nf (id); -octet_post (o); -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -else octet_none (o); -} + ComponentPortDescriptionTypeInfoInitializer ComponentPortDescriptionTypeInfoInitializer_; -void DataValue:: -octet_pre (Type&) -{ -} + struct ComponentPropertyDescriptionTypeInfoInitializer + { + ComponentPropertyDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ComponentPropertyDescription)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -octet_pre (Type const&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -octet_next (Type&) -{ -} + ComponentPropertyDescriptionTypeInfoInitializer ComponentPropertyDescriptionTypeInfoInitializer_; -void DataValue:: -octet_next (Type const&) -{ -} + struct ComponentExternalPortEndpointTypeInfoInitializer + { + ComponentExternalPortEndpointTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ComponentExternalPortEndpoint)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -octet_post (Type&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -octet_post (Type const&) -{ -} + ComponentExternalPortEndpointTypeInfoInitializer ComponentExternalPortEndpointTypeInfoInitializer_; -void DataValue:: -octet_none (Type&) -{ -} + struct PlanSubcomponentPortEndpointTypeInfoInitializer + { + PlanSubcomponentPortEndpointTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (PlanSubcomponentPortEndpoint)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -octet_none (Type const&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -enum_ (Type& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::enum_iterator b (o.begin_enum()), e (o.end_enum()); + PlanSubcomponentPortEndpointTypeInfoInitializer PlanSubcomponentPortEndpointTypeInfoInitializer_; -if (b != e) -{ -enum_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) enum_next (o); -} + struct ExternalReferenceEndpointTypeInfoInitializer + { + ExternalReferenceEndpointTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ExternalReferenceEndpoint)); + ::XSCRT::ExtendedTypeInfo nf (id); -enum_post (o); -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -else enum_none (o); -} + ExternalReferenceEndpointTypeInfoInitializer ExternalReferenceEndpointTypeInfoInitializer_; -void DataValue:: -enum_ (Type const& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::enum_const_iterator b (o.begin_enum()), e (o.end_enum()); + struct ConnectionResourceDeploymentDescriptionTypeInfoInitializer + { + ConnectionResourceDeploymentDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ConnectionResourceDeploymentDescription)); + ::XSCRT::ExtendedTypeInfo nf (id); -if (b != e) -{ -enum_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) enum_next (o); -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -enum_post (o); -} + ConnectionResourceDeploymentDescriptionTypeInfoInitializer ConnectionResourceDeploymentDescriptionTypeInfoInitializer_; -else enum_none (o); -} + struct PlanConnectionDescriptionTypeInfoInitializer + { + PlanConnectionDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (PlanConnectionDescription)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -enum_pre (Type&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -enum_pre (Type const&) -{ -} + PlanConnectionDescriptionTypeInfoInitializer PlanConnectionDescriptionTypeInfoInitializer_; -void DataValue:: -enum_next (Type&) -{ -} + struct ImplementationDependencyTypeInfoInitializer + { + ImplementationDependencyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ImplementationDependency)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -enum_next (Type const&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -enum_post (Type&) -{ -} + ImplementationDependencyTypeInfoInitializer ImplementationDependencyTypeInfoInitializer_; -void DataValue:: -enum_post (Type const&) -{ -} + struct CapabilityTypeInfoInitializer + { + CapabilityTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (Capability)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -enum_none (Type&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -enum_none (Type const&) -{ -} + CapabilityTypeInfoInitializer CapabilityTypeInfoInitializer_; -void DataValue:: -string (Type& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::string_iterator b (o.begin_string()), e (o.end_string()); + struct ImplementationRequirementTypeInfoInitializer + { + ImplementationRequirementTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ImplementationRequirement)); + ::XSCRT::ExtendedTypeInfo nf (id); -if (b != e) -{ -string_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) string_next (o); -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -string_post (o); -} + ImplementationRequirementTypeInfoInitializer ImplementationRequirementTypeInfoInitializer_; -else string_none (o); -} + struct ComponentPackageReferenceTypeInfoInitializer + { + ComponentPackageReferenceTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ComponentPackageReference)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -string (Type const& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::string_const_iterator b (o.begin_string()), e (o.end_string()); + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -if (b != e) -{ -string_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) string_next (o); -} + ComponentPackageReferenceTypeInfoInitializer ComponentPackageReferenceTypeInfoInitializer_; -string_post (o); -} + struct SubcomponentPortEndpointTypeInfoInitializer + { + SubcomponentPortEndpointTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (SubcomponentPortEndpoint)); + ::XSCRT::ExtendedTypeInfo nf (id); -else string_none (o); -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -string_pre (Type&) -{ -} + SubcomponentPortEndpointTypeInfoInitializer SubcomponentPortEndpointTypeInfoInitializer_; -void DataValue:: -string_pre (Type const&) -{ -} + struct AssemblyConnectionDescriptionTypeInfoInitializer + { + AssemblyConnectionDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (AssemblyConnectionDescription)); + ::XSCRT::ExtendedTypeInfo nf (id); -void DataValue:: -string_next (Type&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void DataValue:: -string_next (Type const&) -{ + AssemblyConnectionDescriptionTypeInfoInitializer AssemblyConnectionDescriptionTypeInfoInitializer_; + } + } } -void DataValue:: -string_post (Type&) +namespace CIAO { -} + namespace Config_Handlers + { + namespace Traversal + { + // DataType + // + // -void DataValue:: -string_post (Type const&) -{ -} + void DataType:: + traverse (Type& o) + { + pre (o); + kind (o); + if (o.enum_p ()) enum_ (o); + else enum_none (o); + if (o.struct_p ()) struct_ (o); + else struct_none (o); + if (o.value_p ()) value (o); + else value_none (o); + if (o.sequence_p ()) sequence (o); + else sequence_none (o); + if (o.id_p ()) id (o); + else id_none (o); + post (o); + } -void DataValue:: -string_none (Type&) -{ -} + void DataType:: + traverse (Type const& o) + { + pre (o); + kind (o); + if (o.enum_p ()) enum_ (o); + else enum_none (o); + if (o.struct_p ()) struct_ (o); + else struct_none (o); + if (o.value_p ()) value (o); + else value_none (o); + if (o.sequence_p ()) sequence (o); + else sequence_none (o); + if (o.id_p ()) id (o); + else id_none (o); + post (o); + } -void DataValue:: -string_none (Type const&) -{ -} + void DataType:: + pre (Type&) + { + } -void DataValue:: -longlong (Type& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::longlong_iterator b (o.begin_longlong()), e (o.end_longlong()); + void DataType:: + pre (Type const&) + { + } -if (b != e) -{ -longlong_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) longlong_next (o); -} + void DataType:: + kind (Type& o) + { + dispatch (o.kind ()); + } -longlong_post (o); -} + void DataType:: + kind (Type const& o) + { + dispatch (o.kind ()); + } -else longlong_none (o); -} + void DataType:: + enum_ (Type& o) + { + dispatch (o.enum_ ()); + } -void DataValue:: -longlong (Type const& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::longlong_const_iterator b (o.begin_longlong()), e (o.end_longlong()); + void DataType:: + enum_ (Type const& o) + { + dispatch (o.enum_ ()); + } -if (b != e) -{ -longlong_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) longlong_next (o); -} + void DataType:: + enum_none (Type&) + { + } -longlong_post (o); -} + void DataType:: + enum_none (Type const&) + { + } -else longlong_none (o); -} + void DataType:: + struct_ (Type& o) + { + dispatch (o.struct_ ()); + } -void DataValue:: -longlong_pre (Type&) -{ -} + void DataType:: + struct_ (Type const& o) + { + dispatch (o.struct_ ()); + } -void DataValue:: -longlong_pre (Type const&) -{ -} + void DataType:: + struct_none (Type&) + { + } -void DataValue:: -longlong_next (Type&) -{ -} + void DataType:: + struct_none (Type const&) + { + } -void DataValue:: -longlong_next (Type const&) -{ -} + void DataType:: + value (Type& o) + { + dispatch (o.value ()); + } -void DataValue:: -longlong_post (Type&) -{ -} + void DataType:: + value (Type const& o) + { + dispatch (o.value ()); + } -void DataValue:: -longlong_post (Type const&) -{ -} + void DataType:: + value_none (Type&) + { + } -void DataValue:: -longlong_none (Type&) -{ -} + void DataType:: + value_none (Type const&) + { + } -void DataValue:: -longlong_none (Type const&) -{ -} + void DataType:: + sequence (Type& o) + { + dispatch (o.sequence ()); + } -void DataValue:: -ulonglong (Type& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::ulonglong_iterator b (o.begin_ulonglong()), e (o.end_ulonglong()); + void DataType:: + sequence (Type const& o) + { + dispatch (o.sequence ()); + } -if (b != e) -{ -ulonglong_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) ulonglong_next (o); -} + void DataType:: + sequence_none (Type&) + { + } -ulonglong_post (o); -} + void DataType:: + sequence_none (Type const&) + { + } -else ulonglong_none (o); -} + void DataType:: + id (Type& o) + { + dispatch (o.id ()); + } -void DataValue:: -ulonglong (Type const& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::ulonglong_const_iterator b (o.begin_ulonglong()), e (o.end_ulonglong()); + void DataType:: + id (Type const& o) + { + dispatch (o.id ()); + } -if (b != e) -{ -ulonglong_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) ulonglong_next (o); -} + void DataType:: + id_none (Type&) + { + } -ulonglong_post (o); -} + void DataType:: + id_none (Type const&) + { + } -else ulonglong_none (o); -} + void DataType:: + post (Type&) + { + } -void DataValue:: -ulonglong_pre (Type&) -{ -} + void DataType:: + post (Type const&) + { + } -void DataValue:: -ulonglong_pre (Type const&) -{ -} + // DataValue + // + // -void DataValue:: -ulonglong_next (Type&) -{ -} + void DataValue:: + traverse (Type& o) + { + pre (o); + short_ (o); + long_ (o); + ushort (o); + ulong (o); + float_ (o); + double_ (o); + boolean (o); + octet (o); + enum_ (o); + string (o); + longlong (o); + ulonglong (o); + longdouble (o); + member (o); + post (o); + } -void DataValue:: -ulonglong_next (Type const&) -{ -} + void DataValue:: + traverse (Type const& o) + { + pre (o); + short_ (o); + long_ (o); + ushort (o); + ulong (o); + float_ (o); + double_ (o); + boolean (o); + octet (o); + enum_ (o); + string (o); + longlong (o); + ulonglong (o); + longdouble (o); + member (o); + post (o); + } -void DataValue:: -ulonglong_post (Type&) -{ -} + void DataValue:: + pre (Type&) + { + } -void DataValue:: -ulonglong_post (Type const&) -{ -} + void DataValue:: + pre (Type const&) + { + } -void DataValue:: -ulonglong_none (Type&) -{ -} + void DataValue:: + short_ (Type& o) + { + // VC6 anathema strikes again + // + DataValue::Type::short_iterator b (o.begin_short()), e (o.end_short()); -void DataValue:: -ulonglong_none (Type const&) -{ -} + if (b != e) + { + short_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) short_next (o); + } + + short_post (o); + } -void DataValue:: -longdouble (Type& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::longdouble_iterator b (o.begin_longdouble()), e (o.end_longdouble()); + else short_none (o); + } -if (b != e) -{ -longdouble_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) longdouble_next (o); -} + void DataValue:: + short_ (Type const& o) + { + // VC6 anathema strikes again + // + DataValue::Type::short_const_iterator b (o.begin_short()), e (o.end_short()); -longdouble_post (o); -} + if (b != e) + { + short_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) short_next (o); + } + + short_post (o); + } -else longdouble_none (o); -} + else short_none (o); + } -void DataValue:: -longdouble (Type const& o) -{ -// VC6 anathema strikes again -// -DataValue::Type::longdouble_const_iterator b (o.begin_longdouble()), e (o.end_longdouble()); + void DataValue:: + short_pre (Type&) + { + } -if (b != e) -{ -longdouble_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) longdouble_next (o); -} + void DataValue:: + short_pre (Type const&) + { + } -longdouble_post (o); -} + void DataValue:: + short_next (Type&) + { + } -else longdouble_none (o); -} + void DataValue:: + short_next (Type const&) + { + } -void DataValue:: -longdouble_pre (Type&) -{ -} + void DataValue:: + short_post (Type&) + { + } -void DataValue:: -longdouble_pre (Type const&) -{ -} + void DataValue:: + short_post (Type const&) + { + } -void DataValue:: -longdouble_next (Type&) -{ -} + void DataValue:: + short_none (Type&) + { + } -void DataValue:: -longdouble_next (Type const&) -{ -} + void DataValue:: + short_none (Type const&) + { + } -void DataValue:: -longdouble_post (Type&) -{ -} + void DataValue:: + long_ (Type& o) + { + // VC6 anathema strikes again + // + DataValue::Type::long_iterator b (o.begin_long()), e (o.end_long()); -void DataValue:: -longdouble_post (Type const&) -{ -} + if (b != e) + { + long_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) long_next (o); + } + + long_post (o); + } -void DataValue:: -longdouble_none (Type&) -{ -} + else long_none (o); + } -void DataValue:: -longdouble_none (Type const&) -{ -} + void DataValue:: + long_ (Type const& o) + { + // VC6 anathema strikes again + // + DataValue::Type::long_const_iterator b (o.begin_long()), e (o.end_long()); -void DataValue:: -post (Type&) -{ -} + if (b != e) + { + long_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) long_next (o); + } + + long_post (o); + } -void DataValue:: -post (Type const&) -{ -} + else long_none (o); + } -// EnumType -// -// + void DataValue:: + long_pre (Type&) + { + } -void EnumType:: -traverse (Type& o) -{ -pre (o); -name (o); -typeId (o); -member (o); -post (o); -} + void DataValue:: + long_pre (Type const&) + { + } -void EnumType:: -traverse (Type const& o) -{ -pre (o); -name (o); -typeId (o); -member (o); -post (o); -} + void DataValue:: + long_next (Type&) + { + } -void EnumType:: -pre (Type&) -{ -} + void DataValue:: + long_next (Type const&) + { + } -void EnumType:: -pre (Type const&) -{ -} + void DataValue:: + long_post (Type&) + { + } -void EnumType:: -name (Type& o) -{ -dispatch (o.name ()); -} + void DataValue:: + long_post (Type const&) + { + } -void EnumType:: -name (Type const& o) -{ -dispatch (o.name ()); -} + void DataValue:: + long_none (Type&) + { + } -void EnumType:: -typeId (Type& o) -{ -dispatch (o.typeId ()); -} + void DataValue:: + long_none (Type const&) + { + } -void EnumType:: -typeId (Type const& o) -{ -dispatch (o.typeId ()); -} + void DataValue:: + ushort (Type& o) + { + // VC6 anathema strikes again + // + DataValue::Type::ushort_iterator b (o.begin_ushort()), e (o.end_ushort()); -void EnumType:: -member (Type& o) -{ -// VC6 anathema strikes again -// -EnumType::Type::member_iterator b (o.begin_member()), e (o.end_member()); + if (b != e) + { + ushort_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) ushort_next (o); + } + + ushort_post (o); + } -if (b != e) -{ -member_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) member_next (o); -} + else ushort_none (o); + } -member_post (o); -} -} + void DataValue:: + ushort (Type const& o) + { + // VC6 anathema strikes again + // + DataValue::Type::ushort_const_iterator b (o.begin_ushort()), e (o.end_ushort()); -void EnumType:: -member (Type const& o) -{ -// VC6 anathema strikes again -// -EnumType::Type::member_const_iterator b (o.begin_member()), e (o.end_member()); + if (b != e) + { + ushort_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) ushort_next (o); + } + + ushort_post (o); + } -if (b != e) -{ -member_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) member_next (o); -} + else ushort_none (o); + } -member_post (o); -} -} + void DataValue:: + ushort_pre (Type&) + { + } -void EnumType:: -member_pre (Type&) -{ -} + void DataValue:: + ushort_pre (Type const&) + { + } -void EnumType:: -member_pre (Type const&) -{ -} + void DataValue:: + ushort_next (Type&) + { + } -void EnumType:: -member_next (Type&) -{ -} + void DataValue:: + ushort_next (Type const&) + { + } -void EnumType:: -member_next (Type const&) -{ -} + void DataValue:: + ushort_post (Type&) + { + } -void EnumType:: -member_post (Type&) -{ -} + void DataValue:: + ushort_post (Type const&) + { + } -void EnumType:: -member_post (Type const&) -{ -} + void DataValue:: + ushort_none (Type&) + { + } -void EnumType:: -post (Type&) -{ -} + void DataValue:: + ushort_none (Type const&) + { + } -void EnumType:: -post (Type const&) -{ -} + void DataValue:: + ulong (Type& o) + { + // VC6 anathema strikes again + // + DataValue::Type::ulong_iterator b (o.begin_ulong()), e (o.end_ulong()); -// Any -// -// + if (b != e) + { + ulong_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) ulong_next (o); + } + + ulong_post (o); + } -void Any:: -traverse (Type& o) -{ -pre (o); -type (o); -value (o); -post (o); -} + else ulong_none (o); + } -void Any:: -traverse (Type const& o) -{ -pre (o); -type (o); -value (o); -post (o); -} + void DataValue:: + ulong (Type const& o) + { + // VC6 anathema strikes again + // + DataValue::Type::ulong_const_iterator b (o.begin_ulong()), e (o.end_ulong()); -void Any:: -pre (Type&) -{ -} + if (b != e) + { + ulong_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) ulong_next (o); + } + + ulong_post (o); + } -void Any:: -pre (Type const&) -{ -} + else ulong_none (o); + } -void Any:: -type (Type& o) -{ -dispatch (o.type ()); -} + void DataValue:: + ulong_pre (Type&) + { + } -void Any:: -type (Type const& o) -{ -dispatch (o.type ()); -} + void DataValue:: + ulong_pre (Type const&) + { + } -void Any:: -value (Type& o) -{ -dispatch (o.value ()); -} + void DataValue:: + ulong_next (Type&) + { + } -void Any:: -value (Type const& o) -{ -dispatch (o.value ()); -} + void DataValue:: + ulong_next (Type const&) + { + } -void Any:: -post (Type&) -{ -} + void DataValue:: + ulong_post (Type&) + { + } -void Any:: -post (Type const&) -{ -} + void DataValue:: + ulong_post (Type const&) + { + } -// Property -// -// + void DataValue:: + ulong_none (Type&) + { + } -void Property:: -traverse (Type& o) -{ -pre (o); -name (o); -value (o); -post (o); -} + void DataValue:: + ulong_none (Type const&) + { + } -void Property:: -traverse (Type const& o) -{ -pre (o); -name (o); -value (o); -post (o); -} + void DataValue:: + float_ (Type& o) + { + // VC6 anathema strikes again + // + DataValue::Type::float_iterator b (o.begin_float()), e (o.end_float()); -void Property:: -pre (Type&) -{ -} + if (b != e) + { + float_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) float_next (o); + } + + float_post (o); + } -void Property:: -pre (Type const&) -{ -} + else float_none (o); + } -void Property:: -name (Type& o) -{ -dispatch (o.name ()); -} + void DataValue:: + float_ (Type const& o) + { + // VC6 anathema strikes again + // + DataValue::Type::float_const_iterator b (o.begin_float()), e (o.end_float()); -void Property:: -name (Type const& o) -{ -dispatch (o.name ()); -} + if (b != e) + { + float_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) float_next (o); + } + + float_post (o); + } -void Property:: -value (Type& o) -{ -dispatch (o.value ()); -} + else float_none (o); + } -void Property:: -value (Type const& o) -{ -dispatch (o.value ()); -} + void DataValue:: + float_pre (Type&) + { + } -void Property:: -post (Type&) -{ -} + void DataValue:: + float_pre (Type const&) + { + } -void Property:: -post (Type const&) -{ -} + void DataValue:: + float_next (Type&) + { + } -// SatisfierProperty -// -// + void DataValue:: + float_next (Type const&) + { + } -void SatisfierProperty:: -traverse (Type& o) -{ -pre (o); -name (o); -kind (o); -dynamic (o); -value (o); -post (o); -} + void DataValue:: + float_post (Type&) + { + } -void SatisfierProperty:: -traverse (Type const& o) -{ -pre (o); -name (o); -kind (o); -dynamic (o); -value (o); -post (o); -} + void DataValue:: + float_post (Type const&) + { + } -void SatisfierProperty:: -pre (Type&) -{ -} + void DataValue:: + float_none (Type&) + { + } -void SatisfierProperty:: -pre (Type const&) -{ -} + void DataValue:: + float_none (Type const&) + { + } -void SatisfierProperty:: -name (Type& o) -{ -dispatch (o.name ()); -} + void DataValue:: + double_ (Type& o) + { + // VC6 anathema strikes again + // + DataValue::Type::double_iterator b (o.begin_double()), e (o.end_double()); -void SatisfierProperty:: -name (Type const& o) -{ -dispatch (o.name ()); -} + if (b != e) + { + double_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) double_next (o); + } + + double_post (o); + } -void SatisfierProperty:: -kind (Type& o) -{ -dispatch (o.kind ()); -} + else double_none (o); + } -void SatisfierProperty:: -kind (Type const& o) -{ -dispatch (o.kind ()); -} + void DataValue:: + double_ (Type const& o) + { + // VC6 anathema strikes again + // + DataValue::Type::double_const_iterator b (o.begin_double()), e (o.end_double()); -void SatisfierProperty:: -dynamic (Type& o) -{ -dispatch (o.dynamic ()); -} + if (b != e) + { + double_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) double_next (o); + } + + double_post (o); + } -void SatisfierProperty:: -dynamic (Type const& o) -{ -dispatch (o.dynamic ()); -} + else double_none (o); + } -void SatisfierProperty:: -value (Type& o) -{ -dispatch (o.value ()); -} + void DataValue:: + double_pre (Type&) + { + } -void SatisfierProperty:: -value (Type const& o) -{ -dispatch (o.value ()); -} + void DataValue:: + double_pre (Type const&) + { + } -void SatisfierProperty:: -post (Type&) -{ -} + void DataValue:: + double_next (Type&) + { + } -void SatisfierProperty:: -post (Type const&) -{ -} + void DataValue:: + double_next (Type const&) + { + } -// Resource -// -// + void DataValue:: + double_post (Type&) + { + } -void Resource:: -traverse (Type& o) -{ -pre (o); -name (o); -resourceType (o); -property (o); -post (o); -} + void DataValue:: + double_post (Type const&) + { + } -void Resource:: -traverse (Type const& o) -{ -pre (o); -name (o); -resourceType (o); -property (o); -post (o); -} + void DataValue:: + double_none (Type&) + { + } -void Resource:: -pre (Type&) -{ -} + void DataValue:: + double_none (Type const&) + { + } -void Resource:: -pre (Type const&) -{ -} + void DataValue:: + boolean (Type& o) + { + // VC6 anathema strikes again + // + DataValue::Type::boolean_iterator b (o.begin_boolean()), e (o.end_boolean()); -void Resource:: -name (Type& o) -{ -dispatch (o.name ()); -} + if (b != e) + { + boolean_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) boolean_next (o); + } + + boolean_post (o); + } -void Resource:: -name (Type const& o) -{ -dispatch (o.name ()); -} + else boolean_none (o); + } -void Resource:: -resourceType (Type& o) -{ -// VC6 anathema strikes again -// -Resource::Type::resourceType_iterator b (o.begin_resourceType()), e (o.end_resourceType()); + void DataValue:: + boolean (Type const& o) + { + // VC6 anathema strikes again + // + DataValue::Type::boolean_const_iterator b (o.begin_boolean()), e (o.end_boolean()); -if (b != e) -{ -resourceType_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) resourceType_next (o); -} + if (b != e) + { + boolean_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) boolean_next (o); + } + + boolean_post (o); + } -resourceType_post (o); -} -} + else boolean_none (o); + } -void Resource:: -resourceType (Type const& o) -{ -// VC6 anathema strikes again -// -Resource::Type::resourceType_const_iterator b (o.begin_resourceType()), e (o.end_resourceType()); + void DataValue:: + boolean_pre (Type&) + { + } -if (b != e) -{ -resourceType_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) resourceType_next (o); -} + void DataValue:: + boolean_pre (Type const&) + { + } -resourceType_post (o); -} -} + void DataValue:: + boolean_next (Type&) + { + } -void Resource:: -resourceType_pre (Type&) -{ -} + void DataValue:: + boolean_next (Type const&) + { + } -void Resource:: -resourceType_pre (Type const&) -{ -} + void DataValue:: + boolean_post (Type&) + { + } -void Resource:: -resourceType_next (Type&) -{ -} + void DataValue:: + boolean_post (Type const&) + { + } -void Resource:: -resourceType_next (Type const&) -{ -} + void DataValue:: + boolean_none (Type&) + { + } -void Resource:: -resourceType_post (Type&) -{ -} + void DataValue:: + boolean_none (Type const&) + { + } -void Resource:: -resourceType_post (Type const&) -{ -} + void DataValue:: + octet (Type& o) + { + // VC6 anathema strikes again + // + DataValue::Type::octet_iterator b (o.begin_octet()), e (o.end_octet()); -void Resource:: -property (Type& o) -{ -// VC6 anathema strikes again -// -Resource::Type::property_iterator b (o.begin_property()), e (o.end_property()); + if (b != e) + { + octet_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) octet_next (o); + } + + octet_post (o); + } -if (b != e) -{ -property_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) property_next (o); -} + else octet_none (o); + } -property_post (o); -} + void DataValue:: + octet (Type const& o) + { + // VC6 anathema strikes again + // + DataValue::Type::octet_const_iterator b (o.begin_octet()), e (o.end_octet()); -else property_none (o); -} + if (b != e) + { + octet_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) octet_next (o); + } + + octet_post (o); + } -void Resource:: -property (Type const& o) -{ -// VC6 anathema strikes again -// -Resource::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); + else octet_none (o); + } -if (b != e) -{ -property_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) property_next (o); -} + void DataValue:: + octet_pre (Type&) + { + } -property_post (o); -} + void DataValue:: + octet_pre (Type const&) + { + } -else property_none (o); -} + void DataValue:: + octet_next (Type&) + { + } -void Resource:: -property_pre (Type&) -{ -} + void DataValue:: + octet_next (Type const&) + { + } -void Resource:: -property_pre (Type const&) -{ -} + void DataValue:: + octet_post (Type&) + { + } -void Resource:: -property_next (Type&) -{ -} + void DataValue:: + octet_post (Type const&) + { + } -void Resource:: -property_next (Type const&) -{ -} + void DataValue:: + octet_none (Type&) + { + } -void Resource:: -property_post (Type&) -{ -} + void DataValue:: + octet_none (Type const&) + { + } -void Resource:: -property_post (Type const&) -{ -} + void DataValue:: + enum_ (Type& o) + { + // VC6 anathema strikes again + // + DataValue::Type::enum_iterator b (o.begin_enum()), e (o.end_enum()); -void Resource:: -property_none (Type&) -{ -} + if (b != e) + { + enum_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) enum_next (o); + } + + enum_post (o); + } -void Resource:: -property_none (Type const&) -{ -} + else enum_none (o); + } -void Resource:: -post (Type&) -{ -} + void DataValue:: + enum_ (Type const& o) + { + // VC6 anathema strikes again + // + DataValue::Type::enum_const_iterator b (o.begin_enum()), e (o.end_enum()); -void Resource:: -post (Type const&) -{ -} + if (b != e) + { + enum_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) enum_next (o); + } + + enum_post (o); + } -// Requirement -// -// + else enum_none (o); + } -void Requirement:: -traverse (Type& o) -{ -pre (o); -resourceType (o); -name (o); -property (o); -post (o); -} + void DataValue:: + enum_pre (Type&) + { + } -void Requirement:: -traverse (Type const& o) -{ -pre (o); -resourceType (o); -name (o); -property (o); -post (o); -} + void DataValue:: + enum_pre (Type const&) + { + } -void Requirement:: -pre (Type&) -{ -} + void DataValue:: + enum_next (Type&) + { + } -void Requirement:: -pre (Type const&) -{ -} + void DataValue:: + enum_next (Type const&) + { + } -void Requirement:: -resourceType (Type& o) -{ -dispatch (o.resourceType ()); -} + void DataValue:: + enum_post (Type&) + { + } -void Requirement:: -resourceType (Type const& o) -{ -dispatch (o.resourceType ()); -} + void DataValue:: + enum_post (Type const&) + { + } -void Requirement:: -name (Type& o) -{ -dispatch (o.name ()); -} + void DataValue:: + enum_none (Type&) + { + } -void Requirement:: -name (Type const& o) -{ -dispatch (o.name ()); -} + void DataValue:: + enum_none (Type const&) + { + } -void Requirement:: -property (Type& o) -{ -// VC6 anathema strikes again -// -Requirement::Type::property_iterator b (o.begin_property()), e (o.end_property()); + void DataValue:: + string (Type& o) + { + // VC6 anathema strikes again + // + DataValue::Type::string_iterator b (o.begin_string()), e (o.end_string()); -if (b != e) -{ -property_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) property_next (o); -} + if (b != e) + { + string_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) string_next (o); + } + + string_post (o); + } -property_post (o); -} + else string_none (o); + } -else property_none (o); -} + void DataValue:: + string (Type const& o) + { + // VC6 anathema strikes again + // + DataValue::Type::string_const_iterator b (o.begin_string()), e (o.end_string()); -void Requirement:: -property (Type const& o) -{ -// VC6 anathema strikes again -// -Requirement::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); + if (b != e) + { + string_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) string_next (o); + } + + string_post (o); + } -if (b != e) -{ -property_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) property_next (o); -} + else string_none (o); + } -property_post (o); -} + void DataValue:: + string_pre (Type&) + { + } -else property_none (o); -} + void DataValue:: + string_pre (Type const&) + { + } -void Requirement:: -property_pre (Type&) -{ -} + void DataValue:: + string_next (Type&) + { + } -void Requirement:: -property_pre (Type const&) -{ -} + void DataValue:: + string_next (Type const&) + { + } -void Requirement:: -property_next (Type&) -{ -} + void DataValue:: + string_post (Type&) + { + } -void Requirement:: -property_next (Type const&) -{ -} + void DataValue:: + string_post (Type const&) + { + } -void Requirement:: -property_post (Type&) -{ -} + void DataValue:: + string_none (Type&) + { + } -void Requirement:: -property_post (Type const&) -{ -} + void DataValue:: + string_none (Type const&) + { + } -void Requirement:: -property_none (Type&) -{ -} + void DataValue:: + longlong (Type& o) + { + // VC6 anathema strikes again + // + DataValue::Type::longlong_iterator b (o.begin_longlong()), e (o.end_longlong()); -void Requirement:: -property_none (Type const&) -{ -} + if (b != e) + { + longlong_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) longlong_next (o); + } + + longlong_post (o); + } -void Requirement:: -post (Type&) -{ -} + else longlong_none (o); + } -void Requirement:: -post (Type const&) -{ -} + void DataValue:: + longlong (Type const& o) + { + // VC6 anathema strikes again + // + DataValue::Type::longlong_const_iterator b (o.begin_longlong()), e (o.end_longlong()); -// ResourceDeploymentDescription -// -// + if (b != e) + { + longlong_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) longlong_next (o); + } + + longlong_post (o); + } -void ResourceDeploymentDescription:: -traverse (Type& o) -{ -pre (o); -requirementName (o); -resourceName (o); -property (o); -post (o); -} + else longlong_none (o); + } -void ResourceDeploymentDescription:: -traverse (Type const& o) -{ -pre (o); -requirementName (o); -resourceName (o); -property (o); -post (o); -} + void DataValue:: + longlong_pre (Type&) + { + } -void ResourceDeploymentDescription:: -pre (Type&) -{ -} + void DataValue:: + longlong_pre (Type const&) + { + } -void ResourceDeploymentDescription:: -pre (Type const&) -{ -} + void DataValue:: + longlong_next (Type&) + { + } -void ResourceDeploymentDescription:: -requirementName (Type& o) -{ -dispatch (o.requirementName ()); -} + void DataValue:: + longlong_next (Type const&) + { + } -void ResourceDeploymentDescription:: -requirementName (Type const& o) -{ -dispatch (o.requirementName ()); -} + void DataValue:: + longlong_post (Type&) + { + } -void ResourceDeploymentDescription:: -resourceName (Type& o) -{ -dispatch (o.resourceName ()); -} + void DataValue:: + longlong_post (Type const&) + { + } -void ResourceDeploymentDescription:: -resourceName (Type const& o) -{ -dispatch (o.resourceName ()); -} + void DataValue:: + longlong_none (Type&) + { + } -void ResourceDeploymentDescription:: -property (Type& o) -{ -// VC6 anathema strikes again -// -ResourceDeploymentDescription::Type::property_iterator b (o.begin_property()), e (o.end_property()); + void DataValue:: + longlong_none (Type const&) + { + } -if (b != e) -{ -property_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) property_next (o); -} + void DataValue:: + ulonglong (Type& o) + { + // VC6 anathema strikes again + // + DataValue::Type::ulonglong_iterator b (o.begin_ulonglong()), e (o.end_ulonglong()); -property_post (o); -} + if (b != e) + { + ulonglong_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) ulonglong_next (o); + } + + ulonglong_post (o); + } -else property_none (o); -} + else ulonglong_none (o); + } -void ResourceDeploymentDescription:: -property (Type const& o) -{ -// VC6 anathema strikes again -// -ResourceDeploymentDescription::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); + void DataValue:: + ulonglong (Type const& o) + { + // VC6 anathema strikes again + // + DataValue::Type::ulonglong_const_iterator b (o.begin_ulonglong()), e (o.end_ulonglong()); -if (b != e) -{ -property_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) property_next (o); -} + if (b != e) + { + ulonglong_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) ulonglong_next (o); + } + + ulonglong_post (o); + } -property_post (o); -} + else ulonglong_none (o); + } -else property_none (o); -} + void DataValue:: + ulonglong_pre (Type&) + { + } -void ResourceDeploymentDescription:: -property_pre (Type&) -{ -} + void DataValue:: + ulonglong_pre (Type const&) + { + } -void ResourceDeploymentDescription:: -property_pre (Type const&) -{ -} + void DataValue:: + ulonglong_next (Type&) + { + } -void ResourceDeploymentDescription:: -property_next (Type&) -{ -} + void DataValue:: + ulonglong_next (Type const&) + { + } -void ResourceDeploymentDescription:: -property_next (Type const&) -{ -} + void DataValue:: + ulonglong_post (Type&) + { + } -void ResourceDeploymentDescription:: -property_post (Type&) -{ -} + void DataValue:: + ulonglong_post (Type const&) + { + } -void ResourceDeploymentDescription:: -property_post (Type const&) -{ -} + void DataValue:: + ulonglong_none (Type&) + { + } -void ResourceDeploymentDescription:: -property_none (Type&) -{ -} + void DataValue:: + ulonglong_none (Type const&) + { + } -void ResourceDeploymentDescription:: -property_none (Type const&) -{ -} + void DataValue:: + longdouble (Type& o) + { + // VC6 anathema strikes again + // + DataValue::Type::longdouble_iterator b (o.begin_longdouble()), e (o.end_longdouble()); -void ResourceDeploymentDescription:: -post (Type&) -{ -} + if (b != e) + { + longdouble_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) longdouble_next (o); + } + + longdouble_post (o); + } -void ResourceDeploymentDescription:: -post (Type const&) -{ -} + else longdouble_none (o); + } -// ArtifactDeploymentDescription -// -// + void DataValue:: + longdouble (Type const& o) + { + // VC6 anathema strikes again + // + DataValue::Type::longdouble_const_iterator b (o.begin_longdouble()), e (o.end_longdouble()); -void ArtifactDeploymentDescription:: -traverse (Type& o) -{ -pre (o); -name (o); -source (o); -node (o); -location (o); -execParameter (o); -deployRequirement (o); -deployedResource (o); -if (o.id_p ()) id (o); -else id_none (o); -post (o); -} + if (b != e) + { + longdouble_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) longdouble_next (o); + } + + longdouble_post (o); + } -void ArtifactDeploymentDescription:: -traverse (Type const& o) -{ -pre (o); -name (o); -source (o); -node (o); -location (o); -execParameter (o); -deployRequirement (o); -deployedResource (o); -if (o.id_p ()) id (o); -else id_none (o); -post (o); -} + else longdouble_none (o); + } -void ArtifactDeploymentDescription:: -pre (Type&) -{ -} + void DataValue:: + longdouble_pre (Type&) + { + } -void ArtifactDeploymentDescription:: -pre (Type const&) -{ -} + void DataValue:: + longdouble_pre (Type const&) + { + } -void ArtifactDeploymentDescription:: -name (Type& o) -{ -dispatch (o.name ()); -} + void DataValue:: + longdouble_next (Type&) + { + } -void ArtifactDeploymentDescription:: -name (Type const& o) -{ -dispatch (o.name ()); -} + void DataValue:: + longdouble_next (Type const&) + { + } -void ArtifactDeploymentDescription:: -source (Type& o) -{ -// VC6 anathema strikes again -// -ArtifactDeploymentDescription::Type::source_iterator b (o.begin_source()), e (o.end_source()); + void DataValue:: + longdouble_post (Type&) + { + } -if (b != e) -{ -source_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) source_next (o); -} + void DataValue:: + longdouble_post (Type const&) + { + } -source_post (o); -} -} + void DataValue:: + longdouble_none (Type&) + { + } -void ArtifactDeploymentDescription:: -source (Type const& o) -{ -// VC6 anathema strikes again -// -ArtifactDeploymentDescription::Type::source_const_iterator b (o.begin_source()), e (o.end_source()); + void DataValue:: + longdouble_none (Type const&) + { + } -if (b != e) -{ -source_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) source_next (o); -} + void DataValue:: + member (Type& o) + { + // VC6 anathema strikes again + // + DataValue::Type::member_iterator b (o.begin_member()), e (o.end_member()); -source_post (o); -} -} + if (b != e) + { + member_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) member_next (o); + } + + member_post (o); + } -void ArtifactDeploymentDescription:: -source_pre (Type&) -{ -} + else member_none (o); + } -void ArtifactDeploymentDescription:: -source_pre (Type const&) -{ -} + void DataValue:: + member (Type const& o) + { + // VC6 anathema strikes again + // + DataValue::Type::member_const_iterator b (o.begin_member()), e (o.end_member()); -void ArtifactDeploymentDescription:: -source_next (Type&) -{ -} + if (b != e) + { + member_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) member_next (o); + } + + member_post (o); + } -void ArtifactDeploymentDescription:: -source_next (Type const&) -{ -} - -void ArtifactDeploymentDescription:: -source_post (Type&) -{ -} + else member_none (o); + } -void ArtifactDeploymentDescription:: -source_post (Type const&) -{ -} + void DataValue:: + member_pre (Type&) + { + } -void ArtifactDeploymentDescription:: -node (Type& o) -{ -dispatch (o.node ()); -} + void DataValue:: + member_pre (Type const&) + { + } -void ArtifactDeploymentDescription:: -node (Type const& o) -{ -dispatch (o.node ()); -} + void DataValue:: + member_next (Type&) + { + } -void ArtifactDeploymentDescription:: -location (Type& o) -{ -// VC6 anathema strikes again -// -ArtifactDeploymentDescription::Type::location_iterator b (o.begin_location()), e (o.end_location()); + void DataValue:: + member_next (Type const&) + { + } -if (b != e) -{ -location_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) location_next (o); -} + void DataValue:: + member_post (Type&) + { + } -location_post (o); -} -} + void DataValue:: + member_post (Type const&) + { + } -void ArtifactDeploymentDescription:: -location (Type const& o) -{ -// VC6 anathema strikes again -// -ArtifactDeploymentDescription::Type::location_const_iterator b (o.begin_location()), e (o.end_location()); + void DataValue:: + member_none (Type&) + { + } -if (b != e) -{ -location_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) location_next (o); -} + void DataValue:: + member_none (Type const&) + { + } -location_post (o); -} -} + void DataValue:: + post (Type&) + { + } -void ArtifactDeploymentDescription:: -location_pre (Type&) -{ -} + void DataValue:: + post (Type const&) + { + } -void ArtifactDeploymentDescription:: -location_pre (Type const&) -{ -} + // EnumType + // + // -void ArtifactDeploymentDescription:: -location_next (Type&) -{ -} + void EnumType:: + traverse (Type& o) + { + pre (o); + name (o); + typeId (o); + member (o); + post (o); + } -void ArtifactDeploymentDescription:: -location_next (Type const&) -{ -} + void EnumType:: + traverse (Type const& o) + { + pre (o); + name (o); + typeId (o); + member (o); + post (o); + } -void ArtifactDeploymentDescription:: -location_post (Type&) -{ -} + void EnumType:: + pre (Type&) + { + } -void ArtifactDeploymentDescription:: -location_post (Type const&) -{ -} + void EnumType:: + pre (Type const&) + { + } -void ArtifactDeploymentDescription:: -execParameter (Type& o) -{ -// VC6 anathema strikes again -// -ArtifactDeploymentDescription::Type::execParameter_iterator b (o.begin_execParameter()), e (o.end_execParameter()); + void EnumType:: + name (Type& o) + { + dispatch (o.name ()); + } -if (b != e) -{ -execParameter_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) execParameter_next (o); -} + void EnumType:: + name (Type const& o) + { + dispatch (o.name ()); + } -execParameter_post (o); -} + void EnumType:: + typeId (Type& o) + { + dispatch (o.typeId ()); + } -else execParameter_none (o); -} + void EnumType:: + typeId (Type const& o) + { + dispatch (o.typeId ()); + } -void ArtifactDeploymentDescription:: -execParameter (Type const& o) -{ -// VC6 anathema strikes again -// -ArtifactDeploymentDescription::Type::execParameter_const_iterator b (o.begin_execParameter()), e (o.end_execParameter()); + void EnumType:: + member (Type& o) + { + // VC6 anathema strikes again + // + EnumType::Type::member_iterator b (o.begin_member()), e (o.end_member()); -if (b != e) -{ -execParameter_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) execParameter_next (o); -} + if (b != e) + { + member_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) member_next (o); + } + + member_post (o); + } + } -execParameter_post (o); -} + void EnumType:: + member (Type const& o) + { + // VC6 anathema strikes again + // + EnumType::Type::member_const_iterator b (o.begin_member()), e (o.end_member()); -else execParameter_none (o); -} + if (b != e) + { + member_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) member_next (o); + } + + member_post (o); + } + } -void ArtifactDeploymentDescription:: -execParameter_pre (Type&) -{ -} + void EnumType:: + member_pre (Type&) + { + } -void ArtifactDeploymentDescription:: -execParameter_pre (Type const&) -{ -} + void EnumType:: + member_pre (Type const&) + { + } -void ArtifactDeploymentDescription:: -execParameter_next (Type&) -{ -} + void EnumType:: + member_next (Type&) + { + } -void ArtifactDeploymentDescription:: -execParameter_next (Type const&) -{ -} + void EnumType:: + member_next (Type const&) + { + } -void ArtifactDeploymentDescription:: -execParameter_post (Type&) -{ -} + void EnumType:: + member_post (Type&) + { + } -void ArtifactDeploymentDescription:: -execParameter_post (Type const&) -{ -} + void EnumType:: + member_post (Type const&) + { + } -void ArtifactDeploymentDescription:: -execParameter_none (Type&) -{ -} + void EnumType:: + post (Type&) + { + } -void ArtifactDeploymentDescription:: -execParameter_none (Type const&) -{ -} + void EnumType:: + post (Type const&) + { + } -void ArtifactDeploymentDescription:: -deployRequirement (Type& o) -{ -// VC6 anathema strikes again -// -ArtifactDeploymentDescription::Type::deployRequirement_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); + // StructType + // + // -if (b != e) -{ -deployRequirement_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) deployRequirement_next (o); -} + void StructType:: + traverse (Type& o) + { + pre (o); + name (o); + typeId (o); + member (o); + post (o); + } -deployRequirement_post (o); -} + void StructType:: + traverse (Type const& o) + { + pre (o); + name (o); + typeId (o); + member (o); + post (o); + } -else deployRequirement_none (o); -} + void StructType:: + pre (Type&) + { + } -void ArtifactDeploymentDescription:: -deployRequirement (Type const& o) -{ -// VC6 anathema strikes again -// -ArtifactDeploymentDescription::Type::deployRequirement_const_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); + void StructType:: + pre (Type const&) + { + } -if (b != e) -{ -deployRequirement_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) deployRequirement_next (o); -} + void StructType:: + name (Type& o) + { + dispatch (o.name ()); + } -deployRequirement_post (o); -} + void StructType:: + name (Type const& o) + { + dispatch (o.name ()); + } -else deployRequirement_none (o); -} + void StructType:: + typeId (Type& o) + { + dispatch (o.typeId ()); + } -void ArtifactDeploymentDescription:: -deployRequirement_pre (Type&) -{ -} + void StructType:: + typeId (Type const& o) + { + dispatch (o.typeId ()); + } -void ArtifactDeploymentDescription:: -deployRequirement_pre (Type const&) -{ -} + void StructType:: + member (Type& o) + { + // VC6 anathema strikes again + // + StructType::Type::member_iterator b (o.begin_member()), e (o.end_member()); -void ArtifactDeploymentDescription:: -deployRequirement_next (Type&) -{ -} + if (b != e) + { + member_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) member_next (o); + } + + member_post (o); + } -void ArtifactDeploymentDescription:: -deployRequirement_next (Type const&) -{ -} + else member_none (o); + } -void ArtifactDeploymentDescription:: -deployRequirement_post (Type&) -{ -} + void StructType:: + member (Type const& o) + { + // VC6 anathema strikes again + // + StructType::Type::member_const_iterator b (o.begin_member()), e (o.end_member()); -void ArtifactDeploymentDescription:: -deployRequirement_post (Type const&) -{ -} + if (b != e) + { + member_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) member_next (o); + } + + member_post (o); + } -void ArtifactDeploymentDescription:: -deployRequirement_none (Type&) -{ -} + else member_none (o); + } -void ArtifactDeploymentDescription:: -deployRequirement_none (Type const&) -{ -} + void StructType:: + member_pre (Type&) + { + } -void ArtifactDeploymentDescription:: -deployedResource (Type& o) -{ -// VC6 anathema strikes again -// -ArtifactDeploymentDescription::Type::deployedResource_iterator b (o.begin_deployedResource()), e (o.end_deployedResource()); + void StructType:: + member_pre (Type const&) + { + } -if (b != e) -{ -deployedResource_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) deployedResource_next (o); -} + void StructType:: + member_next (Type&) + { + } -deployedResource_post (o); -} + void StructType:: + member_next (Type const&) + { + } -else deployedResource_none (o); -} + void StructType:: + member_post (Type&) + { + } -void ArtifactDeploymentDescription:: -deployedResource (Type const& o) -{ -// VC6 anathema strikes again -// -ArtifactDeploymentDescription::Type::deployedResource_const_iterator b (o.begin_deployedResource()), e (o.end_deployedResource()); + void StructType:: + member_post (Type const&) + { + } -if (b != e) -{ -deployedResource_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) deployedResource_next (o); -} + void StructType:: + member_none (Type&) + { + } -deployedResource_post (o); -} + void StructType:: + member_none (Type const&) + { + } -else deployedResource_none (o); -} + void StructType:: + post (Type&) + { + } -void ArtifactDeploymentDescription:: -deployedResource_pre (Type&) -{ -} + void StructType:: + post (Type const&) + { + } -void ArtifactDeploymentDescription:: -deployedResource_pre (Type const&) -{ -} + // StructMemberType + // + // -void ArtifactDeploymentDescription:: -deployedResource_next (Type&) -{ -} + void StructMemberType:: + traverse (Type& o) + { + pre (o); + name (o); + type (o); + post (o); + } -void ArtifactDeploymentDescription:: -deployedResource_next (Type const&) -{ -} + void StructMemberType:: + traverse (Type const& o) + { + pre (o); + name (o); + type (o); + post (o); + } -void ArtifactDeploymentDescription:: -deployedResource_post (Type&) -{ -} + void StructMemberType:: + pre (Type&) + { + } -void ArtifactDeploymentDescription:: -deployedResource_post (Type const&) -{ -} + void StructMemberType:: + pre (Type const&) + { + } -void ArtifactDeploymentDescription:: -deployedResource_none (Type&) -{ -} + void StructMemberType:: + name (Type& o) + { + dispatch (o.name ()); + } -void ArtifactDeploymentDescription:: -deployedResource_none (Type const&) -{ -} + void StructMemberType:: + name (Type const& o) + { + dispatch (o.name ()); + } -void ArtifactDeploymentDescription:: -id (Type& o) -{ -dispatch (o.id ()); -} + void StructMemberType:: + type (Type& o) + { + dispatch (o.type ()); + } -void ArtifactDeploymentDescription:: -id (Type const& o) -{ -dispatch (o.id ()); -} + void StructMemberType:: + type (Type const& o) + { + dispatch (o.type ()); + } -void ArtifactDeploymentDescription:: -id_none (Type&) -{ -} + void StructMemberType:: + post (Type&) + { + } -void ArtifactDeploymentDescription:: -id_none (Type const&) -{ -} + void StructMemberType:: + post (Type const&) + { + } -void ArtifactDeploymentDescription:: -post (Type&) -{ -} + // ValueType + // + // -void ArtifactDeploymentDescription:: -post (Type const&) -{ -} + void ValueType:: + traverse (Type& o) + { + pre (o); + name (o); + typeId (o); + modifier (o); + baseType (o); + member (o); + post (o); + } -// MonolithicDeploymentDescription -// -// + void ValueType:: + traverse (Type const& o) + { + pre (o); + name (o); + typeId (o); + modifier (o); + baseType (o); + member (o); + post (o); + } -void MonolithicDeploymentDescription:: -traverse (Type& o) -{ -pre (o); -name (o); -source (o); -artifact (o); -execParameter (o); -deployRequirement (o); -if (o.id_p ()) id (o); -else id_none (o); -post (o); -} + void ValueType:: + pre (Type&) + { + } -void MonolithicDeploymentDescription:: -traverse (Type const& o) -{ -pre (o); -name (o); -source (o); -artifact (o); -execParameter (o); -deployRequirement (o); -if (o.id_p ()) id (o); -else id_none (o); -post (o); -} + void ValueType:: + pre (Type const&) + { + } -void MonolithicDeploymentDescription:: -pre (Type&) -{ -} + void ValueType:: + name (Type& o) + { + dispatch (o.name ()); + } -void MonolithicDeploymentDescription:: -pre (Type const&) -{ -} + void ValueType:: + name (Type const& o) + { + dispatch (o.name ()); + } -void MonolithicDeploymentDescription:: -name (Type& o) -{ -dispatch (o.name ()); -} + void ValueType:: + typeId (Type& o) + { + dispatch (o.typeId ()); + } -void MonolithicDeploymentDescription:: -name (Type const& o) -{ -dispatch (o.name ()); -} + void ValueType:: + typeId (Type const& o) + { + dispatch (o.typeId ()); + } -void MonolithicDeploymentDescription:: -source (Type& o) -{ -// VC6 anathema strikes again -// -MonolithicDeploymentDescription::Type::source_iterator b (o.begin_source()), e (o.end_source()); + void ValueType:: + modifier (Type& o) + { + dispatch (o.modifier ()); + } -if (b != e) -{ -source_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) source_next (o); -} + void ValueType:: + modifier (Type const& o) + { + dispatch (o.modifier ()); + } -source_post (o); -} -} + void ValueType:: + baseType (Type& o) + { + dispatch (o.baseType ()); + } -void MonolithicDeploymentDescription:: -source (Type const& o) -{ -// VC6 anathema strikes again -// -MonolithicDeploymentDescription::Type::source_const_iterator b (o.begin_source()), e (o.end_source()); + void ValueType:: + baseType (Type const& o) + { + dispatch (o.baseType ()); + } -if (b != e) -{ -source_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) source_next (o); -} + void ValueType:: + member (Type& o) + { + // VC6 anathema strikes again + // + ValueType::Type::member_iterator b (o.begin_member()), e (o.end_member()); -source_post (o); -} -} + if (b != e) + { + member_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) member_next (o); + } + + member_post (o); + } -void MonolithicDeploymentDescription:: -source_pre (Type&) -{ -} + else member_none (o); + } -void MonolithicDeploymentDescription:: -source_pre (Type const&) -{ -} + void ValueType:: + member (Type const& o) + { + // VC6 anathema strikes again + // + ValueType::Type::member_const_iterator b (o.begin_member()), e (o.end_member()); -void MonolithicDeploymentDescription:: -source_next (Type&) -{ -} + if (b != e) + { + member_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) member_next (o); + } + + member_post (o); + } -void MonolithicDeploymentDescription:: -source_next (Type const&) -{ -} + else member_none (o); + } -void MonolithicDeploymentDescription:: -source_post (Type&) -{ -} + void ValueType:: + member_pre (Type&) + { + } -void MonolithicDeploymentDescription:: -source_post (Type const&) -{ -} + void ValueType:: + member_pre (Type const&) + { + } -void MonolithicDeploymentDescription:: -artifact (Type& o) -{ -// VC6 anathema strikes again -// -MonolithicDeploymentDescription::Type::artifact_iterator b (o.begin_artifact()), e (o.end_artifact()); + void ValueType:: + member_next (Type&) + { + } -if (b != e) -{ -artifact_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) artifact_next (o); -} + void ValueType:: + member_next (Type const&) + { + } -artifact_post (o); -} -} + void ValueType:: + member_post (Type&) + { + } -void MonolithicDeploymentDescription:: -artifact (Type const& o) -{ -// VC6 anathema strikes again -// -MonolithicDeploymentDescription::Type::artifact_const_iterator b (o.begin_artifact()), e (o.end_artifact()); + void ValueType:: + member_post (Type const&) + { + } -if (b != e) -{ -artifact_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) artifact_next (o); -} + void ValueType:: + member_none (Type&) + { + } -artifact_post (o); -} -} + void ValueType:: + member_none (Type const&) + { + } -void MonolithicDeploymentDescription:: -artifact_pre (Type&) -{ -} + void ValueType:: + post (Type&) + { + } -void MonolithicDeploymentDescription:: -artifact_pre (Type const&) -{ -} + void ValueType:: + post (Type const&) + { + } -void MonolithicDeploymentDescription:: -artifact_next (Type&) -{ -} + // ValueMemberType + // + // -void MonolithicDeploymentDescription:: -artifact_next (Type const&) -{ -} + void ValueMemberType:: + traverse (Type& o) + { + pre (o); + name (o); + visibility (o); + type (o); + post (o); + } -void MonolithicDeploymentDescription:: -artifact_post (Type&) -{ -} + void ValueMemberType:: + traverse (Type const& o) + { + pre (o); + name (o); + visibility (o); + type (o); + post (o); + } -void MonolithicDeploymentDescription:: -artifact_post (Type const&) -{ -} + void ValueMemberType:: + pre (Type&) + { + } -void MonolithicDeploymentDescription:: -execParameter (Type& o) -{ -// VC6 anathema strikes again -// -MonolithicDeploymentDescription::Type::execParameter_iterator b (o.begin_execParameter()), e (o.end_execParameter()); + void ValueMemberType:: + pre (Type const&) + { + } -if (b != e) -{ -execParameter_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) execParameter_next (o); -} + void ValueMemberType:: + name (Type& o) + { + dispatch (o.name ()); + } -execParameter_post (o); -} + void ValueMemberType:: + name (Type const& o) + { + dispatch (o.name ()); + } -else execParameter_none (o); -} + void ValueMemberType:: + visibility (Type& o) + { + dispatch (o.visibility ()); + } -void MonolithicDeploymentDescription:: -execParameter (Type const& o) -{ -// VC6 anathema strikes again -// -MonolithicDeploymentDescription::Type::execParameter_const_iterator b (o.begin_execParameter()), e (o.end_execParameter()); + void ValueMemberType:: + visibility (Type const& o) + { + dispatch (o.visibility ()); + } -if (b != e) -{ -execParameter_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) execParameter_next (o); -} + void ValueMemberType:: + type (Type& o) + { + dispatch (o.type ()); + } -execParameter_post (o); -} + void ValueMemberType:: + type (Type const& o) + { + dispatch (o.type ()); + } -else execParameter_none (o); -} + void ValueMemberType:: + post (Type&) + { + } -void MonolithicDeploymentDescription:: -execParameter_pre (Type&) -{ -} + void ValueMemberType:: + post (Type const&) + { + } -void MonolithicDeploymentDescription:: -execParameter_pre (Type const&) -{ -} + // NamedValue + // + // -void MonolithicDeploymentDescription:: -execParameter_next (Type&) -{ -} + void NamedValue:: + traverse (Type& o) + { + pre (o); + name (o); + value (o); + post (o); + } -void MonolithicDeploymentDescription:: -execParameter_next (Type const&) -{ -} + void NamedValue:: + traverse (Type const& o) + { + pre (o); + name (o); + value (o); + post (o); + } -void MonolithicDeploymentDescription:: -execParameter_post (Type&) -{ -} + void NamedValue:: + pre (Type&) + { + } -void MonolithicDeploymentDescription:: -execParameter_post (Type const&) -{ -} + void NamedValue:: + pre (Type const&) + { + } -void MonolithicDeploymentDescription:: -execParameter_none (Type&) -{ -} + void NamedValue:: + name (Type& o) + { + dispatch (o.name ()); + } -void MonolithicDeploymentDescription:: -execParameter_none (Type const&) -{ -} + void NamedValue:: + name (Type const& o) + { + dispatch (o.name ()); + } -void MonolithicDeploymentDescription:: -deployRequirement (Type& o) -{ -// VC6 anathema strikes again -// -MonolithicDeploymentDescription::Type::deployRequirement_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); + void NamedValue:: + value (Type& o) + { + dispatch (o.value ()); + } -if (b != e) -{ -deployRequirement_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) deployRequirement_next (o); -} + void NamedValue:: + value (Type const& o) + { + dispatch (o.value ()); + } -deployRequirement_post (o); -} + void NamedValue:: + post (Type&) + { + } -else deployRequirement_none (o); -} + void NamedValue:: + post (Type const&) + { + } -void MonolithicDeploymentDescription:: -deployRequirement (Type const& o) -{ -// VC6 anathema strikes again -// -MonolithicDeploymentDescription::Type::deployRequirement_const_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); + // SequenceType + // + // -if (b != e) -{ -deployRequirement_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) deployRequirement_next (o); -} + void SequenceType:: + traverse (Type& o) + { + pre (o); + if (o.bound_p ()) bound (o); + else bound_none (o); + elementType (o); + post (o); + } -deployRequirement_post (o); -} + void SequenceType:: + traverse (Type const& o) + { + pre (o); + if (o.bound_p ()) bound (o); + else bound_none (o); + elementType (o); + post (o); + } -else deployRequirement_none (o); -} + void SequenceType:: + pre (Type&) + { + } -void MonolithicDeploymentDescription:: -deployRequirement_pre (Type&) -{ -} + void SequenceType:: + pre (Type const&) + { + } -void MonolithicDeploymentDescription:: -deployRequirement_pre (Type const&) -{ -} + void SequenceType:: + bound (Type& o) + { + dispatch (o.bound ()); + } -void MonolithicDeploymentDescription:: -deployRequirement_next (Type&) -{ -} + void SequenceType:: + bound (Type const& o) + { + dispatch (o.bound ()); + } -void MonolithicDeploymentDescription:: -deployRequirement_next (Type const&) -{ -} + void SequenceType:: + bound_none (Type&) + { + } -void MonolithicDeploymentDescription:: -deployRequirement_post (Type&) -{ -} + void SequenceType:: + bound_none (Type const&) + { + } -void MonolithicDeploymentDescription:: -deployRequirement_post (Type const&) -{ -} + void SequenceType:: + elementType (Type& o) + { + dispatch (o.elementType ()); + } -void MonolithicDeploymentDescription:: -deployRequirement_none (Type&) -{ -} + void SequenceType:: + elementType (Type const& o) + { + dispatch (o.elementType ()); + } -void MonolithicDeploymentDescription:: -deployRequirement_none (Type const&) -{ -} + void SequenceType:: + post (Type&) + { + } -void MonolithicDeploymentDescription:: -id (Type& o) -{ -dispatch (o.id ()); -} + void SequenceType:: + post (Type const&) + { + } -void MonolithicDeploymentDescription:: -id (Type const& o) -{ -dispatch (o.id ()); -} + // Any + // + // -void MonolithicDeploymentDescription:: -id_none (Type&) -{ -} + void Any:: + traverse (Type& o) + { + pre (o); + type (o); + value (o); + post (o); + } -void MonolithicDeploymentDescription:: -id_none (Type const&) -{ -} + void Any:: + traverse (Type const& o) + { + pre (o); + type (o); + value (o); + post (o); + } -void MonolithicDeploymentDescription:: -post (Type&) -{ -} + void Any:: + pre (Type&) + { + } -void MonolithicDeploymentDescription:: -post (Type const&) -{ -} + void Any:: + pre (Type const&) + { + } -// InstanceResourceDeploymentDescription -// -// + void Any:: + type (Type& o) + { + dispatch (o.type ()); + } -void InstanceResourceDeploymentDescription:: -traverse (Type& o) -{ -pre (o); -resourceUsage (o); -requirementName (o); -resourceName (o); -property (o); -post (o); -} + void Any:: + type (Type const& o) + { + dispatch (o.type ()); + } -void InstanceResourceDeploymentDescription:: -traverse (Type const& o) -{ -pre (o); -resourceUsage (o); -requirementName (o); -resourceName (o); -property (o); -post (o); -} + void Any:: + value (Type& o) + { + dispatch (o.value ()); + } -void InstanceResourceDeploymentDescription:: -pre (Type&) -{ -} + void Any:: + value (Type const& o) + { + dispatch (o.value ()); + } -void InstanceResourceDeploymentDescription:: -pre (Type const&) -{ -} + void Any:: + post (Type&) + { + } -void InstanceResourceDeploymentDescription:: -resourceUsage (Type& o) -{ -dispatch (o.resourceUsage ()); -} + void Any:: + post (Type const&) + { + } -void InstanceResourceDeploymentDescription:: -resourceUsage (Type const& o) -{ -dispatch (o.resourceUsage ()); -} + // Property + // + // -void InstanceResourceDeploymentDescription:: -requirementName (Type& o) -{ -dispatch (o.requirementName ()); -} + void Property:: + traverse (Type& o) + { + pre (o); + name (o); + value (o); + post (o); + } -void InstanceResourceDeploymentDescription:: -requirementName (Type const& o) -{ -dispatch (o.requirementName ()); -} + void Property:: + traverse (Type const& o) + { + pre (o); + name (o); + value (o); + post (o); + } -void InstanceResourceDeploymentDescription:: -resourceName (Type& o) -{ -dispatch (o.resourceName ()); -} + void Property:: + pre (Type&) + { + } -void InstanceResourceDeploymentDescription:: -resourceName (Type const& o) -{ -dispatch (o.resourceName ()); -} + void Property:: + pre (Type const&) + { + } -void InstanceResourceDeploymentDescription:: -property (Type& o) -{ -// VC6 anathema strikes again -// -InstanceResourceDeploymentDescription::Type::property_iterator b (o.begin_property()), e (o.end_property()); + void Property:: + name (Type& o) + { + dispatch (o.name ()); + } -if (b != e) -{ -property_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) property_next (o); -} + void Property:: + name (Type const& o) + { + dispatch (o.name ()); + } -property_post (o); -} + void Property:: + value (Type& o) + { + dispatch (o.value ()); + } -else property_none (o); -} + void Property:: + value (Type const& o) + { + dispatch (o.value ()); + } -void InstanceResourceDeploymentDescription:: -property (Type const& o) -{ -// VC6 anathema strikes again -// -InstanceResourceDeploymentDescription::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); + void Property:: + post (Type&) + { + } -if (b != e) -{ -property_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) property_next (o); -} + void Property:: + post (Type const&) + { + } -property_post (o); -} + // SatisfierProperty + // + // -else property_none (o); -} + void SatisfierProperty:: + traverse (Type& o) + { + pre (o); + name (o); + kind (o); + dynamic (o); + value (o); + post (o); + } -void InstanceResourceDeploymentDescription:: -property_pre (Type&) -{ -} + void SatisfierProperty:: + traverse (Type const& o) + { + pre (o); + name (o); + kind (o); + dynamic (o); + value (o); + post (o); + } -void InstanceResourceDeploymentDescription:: -property_pre (Type const&) -{ -} + void SatisfierProperty:: + pre (Type&) + { + } -void InstanceResourceDeploymentDescription:: -property_next (Type&) -{ -} + void SatisfierProperty:: + pre (Type const&) + { + } -void InstanceResourceDeploymentDescription:: -property_next (Type const&) -{ -} + void SatisfierProperty:: + name (Type& o) + { + dispatch (o.name ()); + } -void InstanceResourceDeploymentDescription:: -property_post (Type&) -{ -} + void SatisfierProperty:: + name (Type const& o) + { + dispatch (o.name ()); + } -void InstanceResourceDeploymentDescription:: -property_post (Type const&) -{ -} + void SatisfierProperty:: + kind (Type& o) + { + dispatch (o.kind ()); + } -void InstanceResourceDeploymentDescription:: -property_none (Type&) -{ -} + void SatisfierProperty:: + kind (Type const& o) + { + dispatch (o.kind ()); + } -void InstanceResourceDeploymentDescription:: -property_none (Type const&) -{ -} + void SatisfierProperty:: + dynamic (Type& o) + { + dispatch (o.dynamic ()); + } -void InstanceResourceDeploymentDescription:: -post (Type&) -{ -} + void SatisfierProperty:: + dynamic (Type const& o) + { + dispatch (o.dynamic ()); + } -void InstanceResourceDeploymentDescription:: -post (Type const&) -{ -} + void SatisfierProperty:: + value (Type& o) + { + dispatch (o.value ()); + } -// InstanceDeploymentDescription -// -// + void SatisfierProperty:: + value (Type const& o) + { + dispatch (o.value ()); + } -void InstanceDeploymentDescription:: -traverse (Type& o) -{ -pre (o); -name (o); -node (o); -source (o); -implementation (o); -configProperty (o); -if (o.deployedResource_p ()) deployedResource (o); -else deployedResource_none (o); -if (o.deployedSharedResource_p ()) deployedSharedResource (o); -else deployedSharedResource_none (o); -if (o.id_p ()) id (o); -else id_none (o); -post (o); -} + void SatisfierProperty:: + post (Type&) + { + } -void InstanceDeploymentDescription:: -traverse (Type const& o) -{ -pre (o); -name (o); -node (o); -source (o); -implementation (o); -configProperty (o); -if (o.deployedResource_p ()) deployedResource (o); -else deployedResource_none (o); -if (o.deployedSharedResource_p ()) deployedSharedResource (o); -else deployedSharedResource_none (o); -if (o.id_p ()) id (o); -else id_none (o); -post (o); -} + void SatisfierProperty:: + post (Type const&) + { + } -void InstanceDeploymentDescription:: -pre (Type&) -{ -} + // Resource + // + // -void InstanceDeploymentDescription:: -pre (Type const&) -{ -} + void Resource:: + traverse (Type& o) + { + pre (o); + name (o); + resourceType (o); + property (o); + post (o); + } -void InstanceDeploymentDescription:: -name (Type& o) -{ -dispatch (o.name ()); -} + void Resource:: + traverse (Type const& o) + { + pre (o); + name (o); + resourceType (o); + property (o); + post (o); + } -void InstanceDeploymentDescription:: -name (Type const& o) -{ -dispatch (o.name ()); -} + void Resource:: + pre (Type&) + { + } -void InstanceDeploymentDescription:: -node (Type& o) -{ -dispatch (o.node ()); -} + void Resource:: + pre (Type const&) + { + } -void InstanceDeploymentDescription:: -node (Type const& o) -{ -dispatch (o.node ()); -} + void Resource:: + name (Type& o) + { + dispatch (o.name ()); + } -void InstanceDeploymentDescription:: -source (Type& o) -{ -dispatch (o.source ()); -} + void Resource:: + name (Type const& o) + { + dispatch (o.name ()); + } -void InstanceDeploymentDescription:: -source (Type const& o) -{ -dispatch (o.source ()); -} + void Resource:: + resourceType (Type& o) + { + // VC6 anathema strikes again + // + Resource::Type::resourceType_iterator b (o.begin_resourceType()), e (o.end_resourceType()); -void InstanceDeploymentDescription:: -implementation (Type& o) -{ -dispatch (o.implementation ()); -} + if (b != e) + { + resourceType_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) resourceType_next (o); + } + + resourceType_post (o); + } + } -void InstanceDeploymentDescription:: -implementation (Type const& o) -{ -dispatch (o.implementation ()); -} + void Resource:: + resourceType (Type const& o) + { + // VC6 anathema strikes again + // + Resource::Type::resourceType_const_iterator b (o.begin_resourceType()), e (o.end_resourceType()); -void InstanceDeploymentDescription:: -configProperty (Type& o) -{ -// VC6 anathema strikes again -// -InstanceDeploymentDescription::Type::configProperty_iterator b (o.begin_configProperty()), e (o.end_configProperty()); + if (b != e) + { + resourceType_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) resourceType_next (o); + } + + resourceType_post (o); + } + } -if (b != e) -{ -configProperty_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) configProperty_next (o); -} + void Resource:: + resourceType_pre (Type&) + { + } -configProperty_post (o); -} + void Resource:: + resourceType_pre (Type const&) + { + } -else configProperty_none (o); -} + void Resource:: + resourceType_next (Type&) + { + } -void InstanceDeploymentDescription:: -configProperty (Type const& o) -{ -// VC6 anathema strikes again -// -InstanceDeploymentDescription::Type::configProperty_const_iterator b (o.begin_configProperty()), e (o.end_configProperty()); + void Resource:: + resourceType_next (Type const&) + { + } -if (b != e) -{ -configProperty_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) configProperty_next (o); -} + void Resource:: + resourceType_post (Type&) + { + } -configProperty_post (o); -} + void Resource:: + resourceType_post (Type const&) + { + } -else configProperty_none (o); -} + void Resource:: + property (Type& o) + { + // VC6 anathema strikes again + // + Resource::Type::property_iterator b (o.begin_property()), e (o.end_property()); -void InstanceDeploymentDescription:: -configProperty_pre (Type&) -{ -} + if (b != e) + { + property_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) property_next (o); + } + + property_post (o); + } -void InstanceDeploymentDescription:: -configProperty_pre (Type const&) -{ -} + else property_none (o); + } -void InstanceDeploymentDescription:: -configProperty_next (Type&) -{ -} + void Resource:: + property (Type const& o) + { + // VC6 anathema strikes again + // + Resource::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); -void InstanceDeploymentDescription:: -configProperty_next (Type const&) -{ -} + if (b != e) + { + property_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) property_next (o); + } + + property_post (o); + } -void InstanceDeploymentDescription:: -configProperty_post (Type&) -{ -} + else property_none (o); + } -void InstanceDeploymentDescription:: -configProperty_post (Type const&) -{ -} + void Resource:: + property_pre (Type&) + { + } -void InstanceDeploymentDescription:: -configProperty_none (Type&) -{ -} + void Resource:: + property_pre (Type const&) + { + } -void InstanceDeploymentDescription:: -configProperty_none (Type const&) -{ -} + void Resource:: + property_next (Type&) + { + } -void InstanceDeploymentDescription:: -deployedResource (Type& o) -{ -dispatch (o.deployedResource ()); -} + void Resource:: + property_next (Type const&) + { + } -void InstanceDeploymentDescription:: -deployedResource (Type const& o) -{ -dispatch (o.deployedResource ()); -} + void Resource:: + property_post (Type&) + { + } -void InstanceDeploymentDescription:: -deployedResource_none (Type&) -{ -} + void Resource:: + property_post (Type const&) + { + } -void InstanceDeploymentDescription:: -deployedResource_none (Type const&) -{ -} + void Resource:: + property_none (Type&) + { + } -void InstanceDeploymentDescription:: -deployedSharedResource (Type& o) -{ -dispatch (o.deployedSharedResource ()); -} + void Resource:: + property_none (Type const&) + { + } -void InstanceDeploymentDescription:: -deployedSharedResource (Type const& o) -{ -dispatch (o.deployedSharedResource ()); -} + void Resource:: + post (Type&) + { + } -void InstanceDeploymentDescription:: -deployedSharedResource_none (Type&) -{ -} + void Resource:: + post (Type const&) + { + } -void InstanceDeploymentDescription:: -deployedSharedResource_none (Type const&) -{ -} + // Requirement + // + // -void InstanceDeploymentDescription:: -id (Type& o) -{ -dispatch (o.id ()); -} + void Requirement:: + traverse (Type& o) + { + pre (o); + resourceType (o); + name (o); + property (o); + post (o); + } -void InstanceDeploymentDescription:: -id (Type const& o) -{ -dispatch (o.id ()); -} + void Requirement:: + traverse (Type const& o) + { + pre (o); + resourceType (o); + name (o); + property (o); + post (o); + } -void InstanceDeploymentDescription:: -id_none (Type&) -{ -} + void Requirement:: + pre (Type&) + { + } -void InstanceDeploymentDescription:: -id_none (Type const&) -{ -} + void Requirement:: + pre (Type const&) + { + } -void InstanceDeploymentDescription:: -post (Type&) -{ -} + void Requirement:: + resourceType (Type& o) + { + dispatch (o.resourceType ()); + } -void InstanceDeploymentDescription:: -post (Type const&) -{ -} + void Requirement:: + resourceType (Type const& o) + { + dispatch (o.resourceType ()); + } -// ComponentPortDescription -// -// + void Requirement:: + name (Type& o) + { + dispatch (o.name ()); + } -void ComponentPortDescription:: -traverse (Type& o) -{ -pre (o); -name (o); -if (o.specificType_p ()) specificType (o); -else specificType_none (o); -supportedType (o); -provider (o); -exclusiveProvider (o); -exclusiveUser (o); -optional (o); -kind (o); -post (o); -} + void Requirement:: + name (Type const& o) + { + dispatch (o.name ()); + } -void ComponentPortDescription:: -traverse (Type const& o) -{ -pre (o); -name (o); -if (o.specificType_p ()) specificType (o); -else specificType_none (o); -supportedType (o); -provider (o); -exclusiveProvider (o); -exclusiveUser (o); -optional (o); -kind (o); -post (o); -} + void Requirement:: + property (Type& o) + { + // VC6 anathema strikes again + // + Requirement::Type::property_iterator b (o.begin_property()), e (o.end_property()); -void ComponentPortDescription:: -pre (Type&) -{ -} + if (b != e) + { + property_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) property_next (o); + } + + property_post (o); + } -void ComponentPortDescription:: -pre (Type const&) -{ -} + else property_none (o); + } -void ComponentPortDescription:: -name (Type& o) -{ -dispatch (o.name ()); -} + void Requirement:: + property (Type const& o) + { + // VC6 anathema strikes again + // + Requirement::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); -void ComponentPortDescription:: -name (Type const& o) -{ -dispatch (o.name ()); -} + if (b != e) + { + property_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) property_next (o); + } + + property_post (o); + } -void ComponentPortDescription:: -specificType (Type& o) -{ -dispatch (o.specificType ()); -} + else property_none (o); + } -void ComponentPortDescription:: -specificType (Type const& o) -{ -dispatch (o.specificType ()); -} + void Requirement:: + property_pre (Type&) + { + } -void ComponentPortDescription:: -specificType_none (Type&) -{ -} + void Requirement:: + property_pre (Type const&) + { + } -void ComponentPortDescription:: -specificType_none (Type const&) -{ -} + void Requirement:: + property_next (Type&) + { + } -void ComponentPortDescription:: -supportedType (Type& o) -{ -// VC6 anathema strikes again -// -ComponentPortDescription::Type::supportedType_iterator b (o.begin_supportedType()), e (o.end_supportedType()); + void Requirement:: + property_next (Type const&) + { + } -if (b != e) -{ -supportedType_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) supportedType_next (o); -} + void Requirement:: + property_post (Type&) + { + } -supportedType_post (o); -} + void Requirement:: + property_post (Type const&) + { + } -else supportedType_none (o); -} + void Requirement:: + property_none (Type&) + { + } -void ComponentPortDescription:: -supportedType (Type const& o) -{ -// VC6 anathema strikes again -// -ComponentPortDescription::Type::supportedType_const_iterator b (o.begin_supportedType()), e (o.end_supportedType()); + void Requirement:: + property_none (Type const&) + { + } -if (b != e) -{ -supportedType_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) supportedType_next (o); -} + void Requirement:: + post (Type&) + { + } -supportedType_post (o); -} + void Requirement:: + post (Type const&) + { + } -else supportedType_none (o); -} + // ResourceDeploymentDescription + // + // -void ComponentPortDescription:: -supportedType_pre (Type&) -{ -} + void ResourceDeploymentDescription:: + traverse (Type& o) + { + pre (o); + requirementName (o); + resourceName (o); + property (o); + post (o); + } -void ComponentPortDescription:: -supportedType_pre (Type const&) -{ -} + void ResourceDeploymentDescription:: + traverse (Type const& o) + { + pre (o); + requirementName (o); + resourceName (o); + property (o); + post (o); + } -void ComponentPortDescription:: -supportedType_next (Type&) -{ -} + void ResourceDeploymentDescription:: + pre (Type&) + { + } -void ComponentPortDescription:: -supportedType_next (Type const&) -{ -} + void ResourceDeploymentDescription:: + pre (Type const&) + { + } -void ComponentPortDescription:: -supportedType_post (Type&) -{ -} + void ResourceDeploymentDescription:: + requirementName (Type& o) + { + dispatch (o.requirementName ()); + } -void ComponentPortDescription:: -supportedType_post (Type const&) -{ -} + void ResourceDeploymentDescription:: + requirementName (Type const& o) + { + dispatch (o.requirementName ()); + } -void ComponentPortDescription:: -supportedType_none (Type&) -{ -} + void ResourceDeploymentDescription:: + resourceName (Type& o) + { + dispatch (o.resourceName ()); + } -void ComponentPortDescription:: -supportedType_none (Type const&) -{ -} + void ResourceDeploymentDescription:: + resourceName (Type const& o) + { + dispatch (o.resourceName ()); + } -void ComponentPortDescription:: -provider (Type& o) -{ -dispatch (o.provider ()); -} + void ResourceDeploymentDescription:: + property (Type& o) + { + // VC6 anathema strikes again + // + ResourceDeploymentDescription::Type::property_iterator b (o.begin_property()), e (o.end_property()); -void ComponentPortDescription:: -provider (Type const& o) -{ -dispatch (o.provider ()); -} + if (b != e) + { + property_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) property_next (o); + } + + property_post (o); + } -void ComponentPortDescription:: -exclusiveProvider (Type& o) -{ -dispatch (o.exclusiveProvider ()); -} + else property_none (o); + } -void ComponentPortDescription:: -exclusiveProvider (Type const& o) -{ -dispatch (o.exclusiveProvider ()); -} + void ResourceDeploymentDescription:: + property (Type const& o) + { + // VC6 anathema strikes again + // + ResourceDeploymentDescription::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); -void ComponentPortDescription:: -exclusiveUser (Type& o) -{ -dispatch (o.exclusiveUser ()); -} + if (b != e) + { + property_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) property_next (o); + } + + property_post (o); + } -void ComponentPortDescription:: -exclusiveUser (Type const& o) -{ -dispatch (o.exclusiveUser ()); -} + else property_none (o); + } -void ComponentPortDescription:: -optional (Type& o) -{ -dispatch (o.optional ()); -} + void ResourceDeploymentDescription:: + property_pre (Type&) + { + } -void ComponentPortDescription:: -optional (Type const& o) -{ -dispatch (o.optional ()); -} + void ResourceDeploymentDescription:: + property_pre (Type const&) + { + } -void ComponentPortDescription:: -kind (Type& o) -{ -dispatch (o.kind ()); -} + void ResourceDeploymentDescription:: + property_next (Type&) + { + } -void ComponentPortDescription:: -kind (Type const& o) -{ -dispatch (o.kind ()); -} + void ResourceDeploymentDescription:: + property_next (Type const&) + { + } -void ComponentPortDescription:: -post (Type&) -{ -} + void ResourceDeploymentDescription:: + property_post (Type&) + { + } -void ComponentPortDescription:: -post (Type const&) -{ -} + void ResourceDeploymentDescription:: + property_post (Type const&) + { + } -// ComponentPropertyDescription -// -// + void ResourceDeploymentDescription:: + property_none (Type&) + { + } -void ComponentPropertyDescription:: -traverse (Type& o) -{ -pre (o); -name (o); -type (o); -post (o); -} + void ResourceDeploymentDescription:: + property_none (Type const&) + { + } -void ComponentPropertyDescription:: -traverse (Type const& o) -{ -pre (o); -name (o); -type (o); -post (o); -} + void ResourceDeploymentDescription:: + post (Type&) + { + } -void ComponentPropertyDescription:: -pre (Type&) -{ -} + void ResourceDeploymentDescription:: + post (Type const&) + { + } -void ComponentPropertyDescription:: -pre (Type const&) -{ -} + // ArtifactDeploymentDescription + // + // -void ComponentPropertyDescription:: -name (Type& o) -{ -dispatch (o.name ()); -} + void ArtifactDeploymentDescription:: + traverse (Type& o) + { + pre (o); + name (o); + source (o); + node (o); + location (o); + execParameter (o); + deployRequirement (o); + deployedResource (o); + if (o.id_p ()) id (o); + else id_none (o); + post (o); + } -void ComponentPropertyDescription:: -name (Type const& o) -{ -dispatch (o.name ()); -} + void ArtifactDeploymentDescription:: + traverse (Type const& o) + { + pre (o); + name (o); + source (o); + node (o); + location (o); + execParameter (o); + deployRequirement (o); + deployedResource (o); + if (o.id_p ()) id (o); + else id_none (o); + post (o); + } -void ComponentPropertyDescription:: -type (Type& o) -{ -dispatch (o.type ()); -} + void ArtifactDeploymentDescription:: + pre (Type&) + { + } -void ComponentPropertyDescription:: -type (Type const& o) -{ -dispatch (o.type ()); -} + void ArtifactDeploymentDescription:: + pre (Type const&) + { + } -void ComponentPropertyDescription:: -post (Type&) -{ -} + void ArtifactDeploymentDescription:: + name (Type& o) + { + dispatch (o.name ()); + } -void ComponentPropertyDescription:: -post (Type const&) -{ -} + void ArtifactDeploymentDescription:: + name (Type const& o) + { + dispatch (o.name ()); + } -// ComponentExternalPortEndpoint -// -// + void ArtifactDeploymentDescription:: + source (Type& o) + { + // VC6 anathema strikes again + // + ArtifactDeploymentDescription::Type::source_iterator b (o.begin_source()), e (o.end_source()); -void ComponentExternalPortEndpoint:: -traverse (Type& o) -{ -pre (o); -portName (o); -post (o); -} + if (b != e) + { + source_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) source_next (o); + } + + source_post (o); + } + } -void ComponentExternalPortEndpoint:: -traverse (Type const& o) -{ -pre (o); -portName (o); -post (o); -} + void ArtifactDeploymentDescription:: + source (Type const& o) + { + // VC6 anathema strikes again + // + ArtifactDeploymentDescription::Type::source_const_iterator b (o.begin_source()), e (o.end_source()); -void ComponentExternalPortEndpoint:: -pre (Type&) -{ -} + if (b != e) + { + source_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) source_next (o); + } + + source_post (o); + } + } -void ComponentExternalPortEndpoint:: -pre (Type const&) -{ -} + void ArtifactDeploymentDescription:: + source_pre (Type&) + { + } -void ComponentExternalPortEndpoint:: -portName (Type& o) -{ -dispatch (o.portName ()); -} + void ArtifactDeploymentDescription:: + source_pre (Type const&) + { + } -void ComponentExternalPortEndpoint:: -portName (Type const& o) -{ -dispatch (o.portName ()); -} + void ArtifactDeploymentDescription:: + source_next (Type&) + { + } -void ComponentExternalPortEndpoint:: -post (Type&) -{ -} + void ArtifactDeploymentDescription:: + source_next (Type const&) + { + } -void ComponentExternalPortEndpoint:: -post (Type const&) -{ -} + void ArtifactDeploymentDescription:: + source_post (Type&) + { + } -// PlanSubcomponentPortEndpoint -// -// + void ArtifactDeploymentDescription:: + source_post (Type const&) + { + } -void PlanSubcomponentPortEndpoint:: -traverse (Type& o) -{ -pre (o); -portName (o); -if (o.provider_p ()) provider (o); -else provider_none (o); -kind (o); -instance (o); -post (o); -} + void ArtifactDeploymentDescription:: + node (Type& o) + { + dispatch (o.node ()); + } -void PlanSubcomponentPortEndpoint:: -traverse (Type const& o) -{ -pre (o); -portName (o); -if (o.provider_p ()) provider (o); -else provider_none (o); -kind (o); -instance (o); -post (o); -} + void ArtifactDeploymentDescription:: + node (Type const& o) + { + dispatch (o.node ()); + } -void PlanSubcomponentPortEndpoint:: -pre (Type&) -{ -} + void ArtifactDeploymentDescription:: + location (Type& o) + { + // VC6 anathema strikes again + // + ArtifactDeploymentDescription::Type::location_iterator b (o.begin_location()), e (o.end_location()); -void PlanSubcomponentPortEndpoint:: -pre (Type const&) -{ -} + if (b != e) + { + location_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) location_next (o); + } + + location_post (o); + } + } -void PlanSubcomponentPortEndpoint:: -portName (Type& o) -{ -dispatch (o.portName ()); -} + void ArtifactDeploymentDescription:: + location (Type const& o) + { + // VC6 anathema strikes again + // + ArtifactDeploymentDescription::Type::location_const_iterator b (o.begin_location()), e (o.end_location()); -void PlanSubcomponentPortEndpoint:: -portName (Type const& o) -{ -dispatch (o.portName ()); -} + if (b != e) + { + location_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) location_next (o); + } + + location_post (o); + } + } -void PlanSubcomponentPortEndpoint:: -provider (Type& o) -{ -dispatch (o.provider ()); -} + void ArtifactDeploymentDescription:: + location_pre (Type&) + { + } -void PlanSubcomponentPortEndpoint:: -provider (Type const& o) -{ -dispatch (o.provider ()); -} + void ArtifactDeploymentDescription:: + location_pre (Type const&) + { + } -void PlanSubcomponentPortEndpoint:: -provider_none (Type&) -{ -} + void ArtifactDeploymentDescription:: + location_next (Type&) + { + } -void PlanSubcomponentPortEndpoint:: -provider_none (Type const&) -{ -} + void ArtifactDeploymentDescription:: + location_next (Type const&) + { + } -void PlanSubcomponentPortEndpoint:: -kind (Type& o) -{ -dispatch (o.kind ()); -} + void ArtifactDeploymentDescription:: + location_post (Type&) + { + } -void PlanSubcomponentPortEndpoint:: -kind (Type const& o) -{ -dispatch (o.kind ()); -} + void ArtifactDeploymentDescription:: + location_post (Type const&) + { + } -void PlanSubcomponentPortEndpoint:: -instance (Type& o) -{ -dispatch (o.instance ()); -} + void ArtifactDeploymentDescription:: + execParameter (Type& o) + { + // VC6 anathema strikes again + // + ArtifactDeploymentDescription::Type::execParameter_iterator b (o.begin_execParameter()), e (o.end_execParameter()); -void PlanSubcomponentPortEndpoint:: -instance (Type const& o) -{ -dispatch (o.instance ()); -} + if (b != e) + { + execParameter_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) execParameter_next (o); + } + + execParameter_post (o); + } -void PlanSubcomponentPortEndpoint:: -post (Type&) -{ -} + else execParameter_none (o); + } -void PlanSubcomponentPortEndpoint:: -post (Type const&) -{ -} + void ArtifactDeploymentDescription:: + execParameter (Type const& o) + { + // VC6 anathema strikes again + // + ArtifactDeploymentDescription::Type::execParameter_const_iterator b (o.begin_execParameter()), e (o.end_execParameter()); -// ExternalReferenceEndpoint -// -// + if (b != e) + { + execParameter_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) execParameter_next (o); + } + + execParameter_post (o); + } -void ExternalReferenceEndpoint:: -traverse (Type& o) -{ -pre (o); -location (o); -post (o); -} + else execParameter_none (o); + } -void ExternalReferenceEndpoint:: -traverse (Type const& o) -{ -pre (o); -location (o); -post (o); -} + void ArtifactDeploymentDescription:: + execParameter_pre (Type&) + { + } -void ExternalReferenceEndpoint:: -pre (Type&) -{ -} + void ArtifactDeploymentDescription:: + execParameter_pre (Type const&) + { + } -void ExternalReferenceEndpoint:: -pre (Type const&) -{ -} + void ArtifactDeploymentDescription:: + execParameter_next (Type&) + { + } -void ExternalReferenceEndpoint:: -location (Type& o) -{ -dispatch (o.location ()); -} + void ArtifactDeploymentDescription:: + execParameter_next (Type const&) + { + } -void ExternalReferenceEndpoint:: -location (Type const& o) -{ -dispatch (o.location ()); -} + void ArtifactDeploymentDescription:: + execParameter_post (Type&) + { + } -void ExternalReferenceEndpoint:: -post (Type&) -{ -} + void ArtifactDeploymentDescription:: + execParameter_post (Type const&) + { + } -void ExternalReferenceEndpoint:: -post (Type const&) -{ -} + void ArtifactDeploymentDescription:: + execParameter_none (Type&) + { + } -// ConnectionResourceDeploymentDescription -// -// + void ArtifactDeploymentDescription:: + execParameter_none (Type const&) + { + } -void ConnectionResourceDeploymentDescription:: -traverse (Type& o) -{ -pre (o); -targetName (o); -requirementName (o); -resourceName (o); -property (o); -post (o); -} + void ArtifactDeploymentDescription:: + deployRequirement (Type& o) + { + // VC6 anathema strikes again + // + ArtifactDeploymentDescription::Type::deployRequirement_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); -void ConnectionResourceDeploymentDescription:: -traverse (Type const& o) -{ -pre (o); -targetName (o); -requirementName (o); -resourceName (o); -property (o); -post (o); -} + if (b != e) + { + deployRequirement_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) deployRequirement_next (o); + } + + deployRequirement_post (o); + } -void ConnectionResourceDeploymentDescription:: -pre (Type&) -{ -} + else deployRequirement_none (o); + } -void ConnectionResourceDeploymentDescription:: -pre (Type const&) -{ -} + void ArtifactDeploymentDescription:: + deployRequirement (Type const& o) + { + // VC6 anathema strikes again + // + ArtifactDeploymentDescription::Type::deployRequirement_const_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); -void ConnectionResourceDeploymentDescription:: -targetName (Type& o) -{ -dispatch (o.targetName ()); -} + if (b != e) + { + deployRequirement_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) deployRequirement_next (o); + } + + deployRequirement_post (o); + } -void ConnectionResourceDeploymentDescription:: -targetName (Type const& o) -{ -dispatch (o.targetName ()); -} + else deployRequirement_none (o); + } -void ConnectionResourceDeploymentDescription:: -requirementName (Type& o) -{ -dispatch (o.requirementName ()); -} + void ArtifactDeploymentDescription:: + deployRequirement_pre (Type&) + { + } -void ConnectionResourceDeploymentDescription:: -requirementName (Type const& o) -{ -dispatch (o.requirementName ()); -} + void ArtifactDeploymentDescription:: + deployRequirement_pre (Type const&) + { + } -void ConnectionResourceDeploymentDescription:: -resourceName (Type& o) -{ -dispatch (o.resourceName ()); -} + void ArtifactDeploymentDescription:: + deployRequirement_next (Type&) + { + } -void ConnectionResourceDeploymentDescription:: -resourceName (Type const& o) -{ -dispatch (o.resourceName ()); -} + void ArtifactDeploymentDescription:: + deployRequirement_next (Type const&) + { + } -void ConnectionResourceDeploymentDescription:: -property (Type& o) -{ -// VC6 anathema strikes again -// -ConnectionResourceDeploymentDescription::Type::property_iterator b (o.begin_property()), e (o.end_property()); + void ArtifactDeploymentDescription:: + deployRequirement_post (Type&) + { + } -if (b != e) -{ -property_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) property_next (o); -} + void ArtifactDeploymentDescription:: + deployRequirement_post (Type const&) + { + } -property_post (o); -} + void ArtifactDeploymentDescription:: + deployRequirement_none (Type&) + { + } -else property_none (o); -} + void ArtifactDeploymentDescription:: + deployRequirement_none (Type const&) + { + } -void ConnectionResourceDeploymentDescription:: -property (Type const& o) -{ -// VC6 anathema strikes again -// -ConnectionResourceDeploymentDescription::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); + void ArtifactDeploymentDescription:: + deployedResource (Type& o) + { + // VC6 anathema strikes again + // + ArtifactDeploymentDescription::Type::deployedResource_iterator b (o.begin_deployedResource()), e (o.end_deployedResource()); -if (b != e) -{ -property_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) property_next (o); -} + if (b != e) + { + deployedResource_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) deployedResource_next (o); + } + + deployedResource_post (o); + } -property_post (o); -} + else deployedResource_none (o); + } -else property_none (o); -} + void ArtifactDeploymentDescription:: + deployedResource (Type const& o) + { + // VC6 anathema strikes again + // + ArtifactDeploymentDescription::Type::deployedResource_const_iterator b (o.begin_deployedResource()), e (o.end_deployedResource()); -void ConnectionResourceDeploymentDescription:: -property_pre (Type&) -{ -} + if (b != e) + { + deployedResource_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) deployedResource_next (o); + } + + deployedResource_post (o); + } -void ConnectionResourceDeploymentDescription:: -property_pre (Type const&) -{ -} + else deployedResource_none (o); + } -void ConnectionResourceDeploymentDescription:: -property_next (Type&) -{ -} + void ArtifactDeploymentDescription:: + deployedResource_pre (Type&) + { + } -void ConnectionResourceDeploymentDescription:: -property_next (Type const&) -{ -} + void ArtifactDeploymentDescription:: + deployedResource_pre (Type const&) + { + } -void ConnectionResourceDeploymentDescription:: -property_post (Type&) -{ -} + void ArtifactDeploymentDescription:: + deployedResource_next (Type&) + { + } -void ConnectionResourceDeploymentDescription:: -property_post (Type const&) -{ -} + void ArtifactDeploymentDescription:: + deployedResource_next (Type const&) + { + } -void ConnectionResourceDeploymentDescription:: -property_none (Type&) -{ -} + void ArtifactDeploymentDescription:: + deployedResource_post (Type&) + { + } -void ConnectionResourceDeploymentDescription:: -property_none (Type const&) -{ -} + void ArtifactDeploymentDescription:: + deployedResource_post (Type const&) + { + } -void ConnectionResourceDeploymentDescription:: -post (Type&) -{ -} + void ArtifactDeploymentDescription:: + deployedResource_none (Type&) + { + } -void ConnectionResourceDeploymentDescription:: -post (Type const&) -{ -} + void ArtifactDeploymentDescription:: + deployedResource_none (Type const&) + { + } -// PlanConnectionDescription -// -// + void ArtifactDeploymentDescription:: + id (Type& o) + { + dispatch (o.id ()); + } -void PlanConnectionDescription:: -traverse (Type& o) -{ -pre (o); -name (o); -if (o.source_p ()) source (o); -else source_none (o); -deployRequirement (o); -externalEndpoint (o); -internalEndpoint (o); -externalReference (o); -deployedResource (o); -post (o); -} + void ArtifactDeploymentDescription:: + id (Type const& o) + { + dispatch (o.id ()); + } -void PlanConnectionDescription:: -traverse (Type const& o) -{ -pre (o); -name (o); -if (o.source_p ()) source (o); -else source_none (o); -deployRequirement (o); -externalEndpoint (o); -internalEndpoint (o); -externalReference (o); -deployedResource (o); -post (o); -} + void ArtifactDeploymentDescription:: + id_none (Type&) + { + } -void PlanConnectionDescription:: -pre (Type&) -{ -} + void ArtifactDeploymentDescription:: + id_none (Type const&) + { + } -void PlanConnectionDescription:: -pre (Type const&) -{ -} + void ArtifactDeploymentDescription:: + post (Type&) + { + } -void PlanConnectionDescription:: -name (Type& o) -{ -dispatch (o.name ()); -} + void ArtifactDeploymentDescription:: + post (Type const&) + { + } -void PlanConnectionDescription:: -name (Type const& o) -{ -dispatch (o.name ()); -} + // MonolithicDeploymentDescription + // + // -void PlanConnectionDescription:: -source (Type& o) -{ -dispatch (o.source ()); -} + void MonolithicDeploymentDescription:: + traverse (Type& o) + { + pre (o); + name (o); + source (o); + artifact (o); + execParameter (o); + deployRequirement (o); + if (o.id_p ()) id (o); + else id_none (o); + post (o); + } -void PlanConnectionDescription:: -source (Type const& o) -{ -dispatch (o.source ()); -} + void MonolithicDeploymentDescription:: + traverse (Type const& o) + { + pre (o); + name (o); + source (o); + artifact (o); + execParameter (o); + deployRequirement (o); + if (o.id_p ()) id (o); + else id_none (o); + post (o); + } -void PlanConnectionDescription:: -source_none (Type&) -{ -} + void MonolithicDeploymentDescription:: + pre (Type&) + { + } -void PlanConnectionDescription:: -source_none (Type const&) -{ -} + void MonolithicDeploymentDescription:: + pre (Type const&) + { + } -void PlanConnectionDescription:: -deployRequirement (Type& o) -{ -// VC6 anathema strikes again -// -PlanConnectionDescription::Type::deployRequirement_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); + void MonolithicDeploymentDescription:: + name (Type& o) + { + dispatch (o.name ()); + } -if (b != e) -{ -deployRequirement_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) deployRequirement_next (o); -} + void MonolithicDeploymentDescription:: + name (Type const& o) + { + dispatch (o.name ()); + } -deployRequirement_post (o); -} + void MonolithicDeploymentDescription:: + source (Type& o) + { + // VC6 anathema strikes again + // + MonolithicDeploymentDescription::Type::source_iterator b (o.begin_source()), e (o.end_source()); -else deployRequirement_none (o); -} + if (b != e) + { + source_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) source_next (o); + } + + source_post (o); + } + } -void PlanConnectionDescription:: -deployRequirement (Type const& o) -{ -// VC6 anathema strikes again -// -PlanConnectionDescription::Type::deployRequirement_const_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); + void MonolithicDeploymentDescription:: + source (Type const& o) + { + // VC6 anathema strikes again + // + MonolithicDeploymentDescription::Type::source_const_iterator b (o.begin_source()), e (o.end_source()); -if (b != e) -{ -deployRequirement_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) deployRequirement_next (o); -} + if (b != e) + { + source_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) source_next (o); + } + + source_post (o); + } + } -deployRequirement_post (o); -} + void MonolithicDeploymentDescription:: + source_pre (Type&) + { + } -else deployRequirement_none (o); -} + void MonolithicDeploymentDescription:: + source_pre (Type const&) + { + } -void PlanConnectionDescription:: -deployRequirement_pre (Type&) -{ -} + void MonolithicDeploymentDescription:: + source_next (Type&) + { + } -void PlanConnectionDescription:: -deployRequirement_pre (Type const&) -{ -} + void MonolithicDeploymentDescription:: + source_next (Type const&) + { + } -void PlanConnectionDescription:: -deployRequirement_next (Type&) -{ -} + void MonolithicDeploymentDescription:: + source_post (Type&) + { + } -void PlanConnectionDescription:: -deployRequirement_next (Type const&) -{ -} + void MonolithicDeploymentDescription:: + source_post (Type const&) + { + } -void PlanConnectionDescription:: -deployRequirement_post (Type&) -{ -} + void MonolithicDeploymentDescription:: + artifact (Type& o) + { + // VC6 anathema strikes again + // + MonolithicDeploymentDescription::Type::artifact_iterator b (o.begin_artifact()), e (o.end_artifact()); -void PlanConnectionDescription:: -deployRequirement_post (Type const&) -{ -} + if (b != e) + { + artifact_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) artifact_next (o); + } + + artifact_post (o); + } + } -void PlanConnectionDescription:: -deployRequirement_none (Type&) -{ -} + void MonolithicDeploymentDescription:: + artifact (Type const& o) + { + // VC6 anathema strikes again + // + MonolithicDeploymentDescription::Type::artifact_const_iterator b (o.begin_artifact()), e (o.end_artifact()); -void PlanConnectionDescription:: -deployRequirement_none (Type const&) -{ -} + if (b != e) + { + artifact_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) artifact_next (o); + } + + artifact_post (o); + } + } -void PlanConnectionDescription:: -externalEndpoint (Type& o) -{ -// VC6 anathema strikes again -// -PlanConnectionDescription::Type::externalEndpoint_iterator b (o.begin_externalEndpoint()), e (o.end_externalEndpoint()); + void MonolithicDeploymentDescription:: + artifact_pre (Type&) + { + } -if (b != e) -{ -externalEndpoint_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) externalEndpoint_next (o); -} + void MonolithicDeploymentDescription:: + artifact_pre (Type const&) + { + } -externalEndpoint_post (o); -} + void MonolithicDeploymentDescription:: + artifact_next (Type&) + { + } -else externalEndpoint_none (o); -} + void MonolithicDeploymentDescription:: + artifact_next (Type const&) + { + } -void PlanConnectionDescription:: -externalEndpoint (Type const& o) -{ -// VC6 anathema strikes again -// -PlanConnectionDescription::Type::externalEndpoint_const_iterator b (o.begin_externalEndpoint()), e (o.end_externalEndpoint()); + void MonolithicDeploymentDescription:: + artifact_post (Type&) + { + } -if (b != e) -{ -externalEndpoint_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) externalEndpoint_next (o); -} + void MonolithicDeploymentDescription:: + artifact_post (Type const&) + { + } -externalEndpoint_post (o); -} + void MonolithicDeploymentDescription:: + execParameter (Type& o) + { + // VC6 anathema strikes again + // + MonolithicDeploymentDescription::Type::execParameter_iterator b (o.begin_execParameter()), e (o.end_execParameter()); -else externalEndpoint_none (o); -} + if (b != e) + { + execParameter_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) execParameter_next (o); + } + + execParameter_post (o); + } -void PlanConnectionDescription:: -externalEndpoint_pre (Type&) -{ -} + else execParameter_none (o); + } -void PlanConnectionDescription:: -externalEndpoint_pre (Type const&) -{ -} + void MonolithicDeploymentDescription:: + execParameter (Type const& o) + { + // VC6 anathema strikes again + // + MonolithicDeploymentDescription::Type::execParameter_const_iterator b (o.begin_execParameter()), e (o.end_execParameter()); -void PlanConnectionDescription:: -externalEndpoint_next (Type&) -{ -} + if (b != e) + { + execParameter_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) execParameter_next (o); + } + + execParameter_post (o); + } -void PlanConnectionDescription:: -externalEndpoint_next (Type const&) -{ -} + else execParameter_none (o); + } -void PlanConnectionDescription:: -externalEndpoint_post (Type&) -{ -} + void MonolithicDeploymentDescription:: + execParameter_pre (Type&) + { + } -void PlanConnectionDescription:: -externalEndpoint_post (Type const&) -{ -} + void MonolithicDeploymentDescription:: + execParameter_pre (Type const&) + { + } -void PlanConnectionDescription:: -externalEndpoint_none (Type&) -{ -} + void MonolithicDeploymentDescription:: + execParameter_next (Type&) + { + } -void PlanConnectionDescription:: -externalEndpoint_none (Type const&) -{ -} + void MonolithicDeploymentDescription:: + execParameter_next (Type const&) + { + } -void PlanConnectionDescription:: -internalEndpoint (Type& o) -{ -// VC6 anathema strikes again -// -PlanConnectionDescription::Type::internalEndpoint_iterator b (o.begin_internalEndpoint()), e (o.end_internalEndpoint()); + void MonolithicDeploymentDescription:: + execParameter_post (Type&) + { + } -if (b != e) -{ -internalEndpoint_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) internalEndpoint_next (o); -} + void MonolithicDeploymentDescription:: + execParameter_post (Type const&) + { + } -internalEndpoint_post (o); -} + void MonolithicDeploymentDescription:: + execParameter_none (Type&) + { + } -else internalEndpoint_none (o); -} + void MonolithicDeploymentDescription:: + execParameter_none (Type const&) + { + } -void PlanConnectionDescription:: -internalEndpoint (Type const& o) -{ -// VC6 anathema strikes again -// -PlanConnectionDescription::Type::internalEndpoint_const_iterator b (o.begin_internalEndpoint()), e (o.end_internalEndpoint()); + void MonolithicDeploymentDescription:: + deployRequirement (Type& o) + { + // VC6 anathema strikes again + // + MonolithicDeploymentDescription::Type::deployRequirement_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); -if (b != e) -{ -internalEndpoint_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) internalEndpoint_next (o); -} + if (b != e) + { + deployRequirement_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) deployRequirement_next (o); + } + + deployRequirement_post (o); + } -internalEndpoint_post (o); -} + else deployRequirement_none (o); + } -else internalEndpoint_none (o); -} + void MonolithicDeploymentDescription:: + deployRequirement (Type const& o) + { + // VC6 anathema strikes again + // + MonolithicDeploymentDescription::Type::deployRequirement_const_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); -void PlanConnectionDescription:: -internalEndpoint_pre (Type&) -{ -} + if (b != e) + { + deployRequirement_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) deployRequirement_next (o); + } + + deployRequirement_post (o); + } -void PlanConnectionDescription:: -internalEndpoint_pre (Type const&) -{ -} + else deployRequirement_none (o); + } -void PlanConnectionDescription:: -internalEndpoint_next (Type&) -{ -} + void MonolithicDeploymentDescription:: + deployRequirement_pre (Type&) + { + } -void PlanConnectionDescription:: -internalEndpoint_next (Type const&) -{ -} + void MonolithicDeploymentDescription:: + deployRequirement_pre (Type const&) + { + } -void PlanConnectionDescription:: -internalEndpoint_post (Type&) -{ -} + void MonolithicDeploymentDescription:: + deployRequirement_next (Type&) + { + } -void PlanConnectionDescription:: -internalEndpoint_post (Type const&) -{ -} + void MonolithicDeploymentDescription:: + deployRequirement_next (Type const&) + { + } -void PlanConnectionDescription:: -internalEndpoint_none (Type&) -{ -} + void MonolithicDeploymentDescription:: + deployRequirement_post (Type&) + { + } -void PlanConnectionDescription:: -internalEndpoint_none (Type const&) -{ -} + void MonolithicDeploymentDescription:: + deployRequirement_post (Type const&) + { + } -void PlanConnectionDescription:: -externalReference (Type& o) -{ -// VC6 anathema strikes again -// -PlanConnectionDescription::Type::externalReference_iterator b (o.begin_externalReference()), e (o.end_externalReference()); + void MonolithicDeploymentDescription:: + deployRequirement_none (Type&) + { + } -if (b != e) -{ -externalReference_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) externalReference_next (o); -} + void MonolithicDeploymentDescription:: + deployRequirement_none (Type const&) + { + } -externalReference_post (o); -} + void MonolithicDeploymentDescription:: + id (Type& o) + { + dispatch (o.id ()); + } -else externalReference_none (o); -} + void MonolithicDeploymentDescription:: + id (Type const& o) + { + dispatch (o.id ()); + } -void PlanConnectionDescription:: -externalReference (Type const& o) -{ -// VC6 anathema strikes again -// -PlanConnectionDescription::Type::externalReference_const_iterator b (o.begin_externalReference()), e (o.end_externalReference()); + void MonolithicDeploymentDescription:: + id_none (Type&) + { + } -if (b != e) -{ -externalReference_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) externalReference_next (o); -} + void MonolithicDeploymentDescription:: + id_none (Type const&) + { + } -externalReference_post (o); -} + void MonolithicDeploymentDescription:: + post (Type&) + { + } -else externalReference_none (o); -} + void MonolithicDeploymentDescription:: + post (Type const&) + { + } -void PlanConnectionDescription:: -externalReference_pre (Type&) -{ -} + // InstanceResourceDeploymentDescription + // + // -void PlanConnectionDescription:: -externalReference_pre (Type const&) -{ -} + void InstanceResourceDeploymentDescription:: + traverse (Type& o) + { + pre (o); + resourceUsage (o); + requirementName (o); + resourceName (o); + property (o); + post (o); + } -void PlanConnectionDescription:: -externalReference_next (Type&) -{ -} + void InstanceResourceDeploymentDescription:: + traverse (Type const& o) + { + pre (o); + resourceUsage (o); + requirementName (o); + resourceName (o); + property (o); + post (o); + } -void PlanConnectionDescription:: -externalReference_next (Type const&) -{ -} + void InstanceResourceDeploymentDescription:: + pre (Type&) + { + } -void PlanConnectionDescription:: -externalReference_post (Type&) -{ -} + void InstanceResourceDeploymentDescription:: + pre (Type const&) + { + } -void PlanConnectionDescription:: -externalReference_post (Type const&) -{ -} + void InstanceResourceDeploymentDescription:: + resourceUsage (Type& o) + { + dispatch (o.resourceUsage ()); + } -void PlanConnectionDescription:: -externalReference_none (Type&) -{ -} + void InstanceResourceDeploymentDescription:: + resourceUsage (Type const& o) + { + dispatch (o.resourceUsage ()); + } -void PlanConnectionDescription:: -externalReference_none (Type const&) -{ -} + void InstanceResourceDeploymentDescription:: + requirementName (Type& o) + { + dispatch (o.requirementName ()); + } -void PlanConnectionDescription:: -deployedResource (Type& o) -{ -// VC6 anathema strikes again -// -PlanConnectionDescription::Type::deployedResource_iterator b (o.begin_deployedResource()), e (o.end_deployedResource()); + void InstanceResourceDeploymentDescription:: + requirementName (Type const& o) + { + dispatch (o.requirementName ()); + } -if (b != e) -{ -deployedResource_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) deployedResource_next (o); -} + void InstanceResourceDeploymentDescription:: + resourceName (Type& o) + { + dispatch (o.resourceName ()); + } -deployedResource_post (o); -} + void InstanceResourceDeploymentDescription:: + resourceName (Type const& o) + { + dispatch (o.resourceName ()); + } -else deployedResource_none (o); -} + void InstanceResourceDeploymentDescription:: + property (Type& o) + { + // VC6 anathema strikes again + // + InstanceResourceDeploymentDescription::Type::property_iterator b (o.begin_property()), e (o.end_property()); -void PlanConnectionDescription:: -deployedResource (Type const& o) -{ -// VC6 anathema strikes again -// -PlanConnectionDescription::Type::deployedResource_const_iterator b (o.begin_deployedResource()), e (o.end_deployedResource()); + if (b != e) + { + property_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) property_next (o); + } + + property_post (o); + } -if (b != e) -{ -deployedResource_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) deployedResource_next (o); -} + else property_none (o); + } -deployedResource_post (o); -} + void InstanceResourceDeploymentDescription:: + property (Type const& o) + { + // VC6 anathema strikes again + // + InstanceResourceDeploymentDescription::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); -else deployedResource_none (o); -} + if (b != e) + { + property_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) property_next (o); + } + + property_post (o); + } -void PlanConnectionDescription:: -deployedResource_pre (Type&) -{ -} + else property_none (o); + } -void PlanConnectionDescription:: -deployedResource_pre (Type const&) -{ -} + void InstanceResourceDeploymentDescription:: + property_pre (Type&) + { + } -void PlanConnectionDescription:: -deployedResource_next (Type&) -{ -} + void InstanceResourceDeploymentDescription:: + property_pre (Type const&) + { + } -void PlanConnectionDescription:: -deployedResource_next (Type const&) -{ -} + void InstanceResourceDeploymentDescription:: + property_next (Type&) + { + } -void PlanConnectionDescription:: -deployedResource_post (Type&) -{ -} + void InstanceResourceDeploymentDescription:: + property_next (Type const&) + { + } -void PlanConnectionDescription:: -deployedResource_post (Type const&) -{ -} + void InstanceResourceDeploymentDescription:: + property_post (Type&) + { + } -void PlanConnectionDescription:: -deployedResource_none (Type&) -{ -} + void InstanceResourceDeploymentDescription:: + property_post (Type const&) + { + } -void PlanConnectionDescription:: -deployedResource_none (Type const&) -{ -} + void InstanceResourceDeploymentDescription:: + property_none (Type&) + { + } -void PlanConnectionDescription:: -post (Type&) -{ -} + void InstanceResourceDeploymentDescription:: + property_none (Type const&) + { + } -void PlanConnectionDescription:: -post (Type const&) -{ -} + void InstanceResourceDeploymentDescription:: + post (Type&) + { + } -// ImplementationDependency -// -// + void InstanceResourceDeploymentDescription:: + post (Type const&) + { + } -void ImplementationDependency:: -traverse (Type& o) -{ -pre (o); -requiredType (o); -post (o); -} + // InstanceDeploymentDescription + // + // -void ImplementationDependency:: -traverse (Type const& o) -{ -pre (o); -requiredType (o); -post (o); -} + void InstanceDeploymentDescription:: + traverse (Type& o) + { + pre (o); + name (o); + node (o); + source (o); + implementation (o); + configProperty (o); + if (o.deployedResource_p ()) deployedResource (o); + else deployedResource_none (o); + if (o.deployedSharedResource_p ()) deployedSharedResource (o); + else deployedSharedResource_none (o); + if (o.id_p ()) id (o); + else id_none (o); + post (o); + } -void ImplementationDependency:: -pre (Type&) -{ -} + void InstanceDeploymentDescription:: + traverse (Type const& o) + { + pre (o); + name (o); + node (o); + source (o); + implementation (o); + configProperty (o); + if (o.deployedResource_p ()) deployedResource (o); + else deployedResource_none (o); + if (o.deployedSharedResource_p ()) deployedSharedResource (o); + else deployedSharedResource_none (o); + if (o.id_p ()) id (o); + else id_none (o); + post (o); + } -void ImplementationDependency:: -pre (Type const&) -{ -} + void InstanceDeploymentDescription:: + pre (Type&) + { + } -void ImplementationDependency:: -requiredType (Type& o) -{ -dispatch (o.requiredType ()); -} + void InstanceDeploymentDescription:: + pre (Type const&) + { + } -void ImplementationDependency:: -requiredType (Type const& o) -{ -dispatch (o.requiredType ()); -} + void InstanceDeploymentDescription:: + name (Type& o) + { + dispatch (o.name ()); + } -void ImplementationDependency:: -post (Type&) -{ -} + void InstanceDeploymentDescription:: + name (Type const& o) + { + dispatch (o.name ()); + } -void ImplementationDependency:: -post (Type const&) -{ -} + void InstanceDeploymentDescription:: + node (Type& o) + { + dispatch (o.node ()); + } -// Capability -// -// + void InstanceDeploymentDescription:: + node (Type const& o) + { + dispatch (o.node ()); + } -void Capability:: -traverse (Type& o) -{ -pre (o); -name (o); -resourceType (o); -property (o); -post (o); -} + void InstanceDeploymentDescription:: + source (Type& o) + { + dispatch (o.source ()); + } -void Capability:: -traverse (Type const& o) -{ -pre (o); -name (o); -resourceType (o); -property (o); -post (o); -} + void InstanceDeploymentDescription:: + source (Type const& o) + { + dispatch (o.source ()); + } -void Capability:: -pre (Type&) -{ -} + void InstanceDeploymentDescription:: + implementation (Type& o) + { + dispatch (o.implementation ()); + } -void Capability:: -pre (Type const&) -{ -} + void InstanceDeploymentDescription:: + implementation (Type const& o) + { + dispatch (o.implementation ()); + } -void Capability:: -name (Type& o) -{ -dispatch (o.name ()); -} + void InstanceDeploymentDescription:: + configProperty (Type& o) + { + // VC6 anathema strikes again + // + InstanceDeploymentDescription::Type::configProperty_iterator b (o.begin_configProperty()), e (o.end_configProperty()); -void Capability:: -name (Type const& o) -{ -dispatch (o.name ()); -} + if (b != e) + { + configProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) configProperty_next (o); + } + + configProperty_post (o); + } -void Capability:: -resourceType (Type& o) -{ -// VC6 anathema strikes again -// -Capability::Type::resourceType_iterator b (o.begin_resourceType()), e (o.end_resourceType()); + else configProperty_none (o); + } -if (b != e) -{ -resourceType_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) resourceType_next (o); -} + void InstanceDeploymentDescription:: + configProperty (Type const& o) + { + // VC6 anathema strikes again + // + InstanceDeploymentDescription::Type::configProperty_const_iterator b (o.begin_configProperty()), e (o.end_configProperty()); -resourceType_post (o); -} -} + if (b != e) + { + configProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) configProperty_next (o); + } + + configProperty_post (o); + } -void Capability:: -resourceType (Type const& o) -{ -// VC6 anathema strikes again -// -Capability::Type::resourceType_const_iterator b (o.begin_resourceType()), e (o.end_resourceType()); + else configProperty_none (o); + } -if (b != e) -{ -resourceType_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) resourceType_next (o); -} + void InstanceDeploymentDescription:: + configProperty_pre (Type&) + { + } -resourceType_post (o); -} -} + void InstanceDeploymentDescription:: + configProperty_pre (Type const&) + { + } -void Capability:: -resourceType_pre (Type&) -{ -} + void InstanceDeploymentDescription:: + configProperty_next (Type&) + { + } -void Capability:: -resourceType_pre (Type const&) -{ -} + void InstanceDeploymentDescription:: + configProperty_next (Type const&) + { + } -void Capability:: -resourceType_next (Type&) -{ -} + void InstanceDeploymentDescription:: + configProperty_post (Type&) + { + } -void Capability:: -resourceType_next (Type const&) -{ -} + void InstanceDeploymentDescription:: + configProperty_post (Type const&) + { + } -void Capability:: -resourceType_post (Type&) -{ -} + void InstanceDeploymentDescription:: + configProperty_none (Type&) + { + } -void Capability:: -resourceType_post (Type const&) -{ -} + void InstanceDeploymentDescription:: + configProperty_none (Type const&) + { + } -void Capability:: -property (Type& o) -{ -// VC6 anathema strikes again -// -Capability::Type::property_iterator b (o.begin_property()), e (o.end_property()); + void InstanceDeploymentDescription:: + deployedResource (Type& o) + { + dispatch (o.deployedResource ()); + } -if (b != e) -{ -property_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) property_next (o); -} + void InstanceDeploymentDescription:: + deployedResource (Type const& o) + { + dispatch (o.deployedResource ()); + } -property_post (o); -} + void InstanceDeploymentDescription:: + deployedResource_none (Type&) + { + } -else property_none (o); -} + void InstanceDeploymentDescription:: + deployedResource_none (Type const&) + { + } -void Capability:: -property (Type const& o) -{ -// VC6 anathema strikes again -// -Capability::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); + void InstanceDeploymentDescription:: + deployedSharedResource (Type& o) + { + dispatch (o.deployedSharedResource ()); + } -if (b != e) -{ -property_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) property_next (o); -} + void InstanceDeploymentDescription:: + deployedSharedResource (Type const& o) + { + dispatch (o.deployedSharedResource ()); + } -property_post (o); -} + void InstanceDeploymentDescription:: + deployedSharedResource_none (Type&) + { + } -else property_none (o); -} + void InstanceDeploymentDescription:: + deployedSharedResource_none (Type const&) + { + } -void Capability:: -property_pre (Type&) -{ -} + void InstanceDeploymentDescription:: + id (Type& o) + { + dispatch (o.id ()); + } -void Capability:: -property_pre (Type const&) -{ -} + void InstanceDeploymentDescription:: + id (Type const& o) + { + dispatch (o.id ()); + } -void Capability:: -property_next (Type&) -{ -} + void InstanceDeploymentDescription:: + id_none (Type&) + { + } -void Capability:: -property_next (Type const&) -{ -} + void InstanceDeploymentDescription:: + id_none (Type const&) + { + } -void Capability:: -property_post (Type&) -{ -} + void InstanceDeploymentDescription:: + post (Type&) + { + } -void Capability:: -property_post (Type const&) -{ -} + void InstanceDeploymentDescription:: + post (Type const&) + { + } -void Capability:: -property_none (Type&) -{ -} + // ComponentPortDescription + // + // -void Capability:: -property_none (Type const&) -{ -} + void ComponentPortDescription:: + traverse (Type& o) + { + pre (o); + name (o); + if (o.specificType_p ()) specificType (o); + else specificType_none (o); + supportedType (o); + provider (o); + exclusiveProvider (o); + exclusiveUser (o); + optional (o); + kind (o); + post (o); + } -void Capability:: -post (Type&) -{ -} + void ComponentPortDescription:: + traverse (Type const& o) + { + pre (o); + name (o); + if (o.specificType_p ()) specificType (o); + else specificType_none (o); + supportedType (o); + provider (o); + exclusiveProvider (o); + exclusiveUser (o); + optional (o); + kind (o); + post (o); + } -void Capability:: -post (Type const&) -{ -} + void ComponentPortDescription:: + pre (Type&) + { + } -// ImplementationRequirement -// -// + void ComponentPortDescription:: + pre (Type const&) + { + } -void ImplementationRequirement:: -traverse (Type& o) -{ -pre (o); -if (o.resourceUsage_p ()) resourceUsage (o); -else resourceUsage_none (o); -if (o.resourcePort_p ()) resourcePort (o); -else resourcePort_none (o); -if (o.componentPort_p ()) componentPort (o); -else componentPort_none (o); -resourceType (o); -name (o); -property (o); -post (o); -} + void ComponentPortDescription:: + name (Type& o) + { + dispatch (o.name ()); + } -void ImplementationRequirement:: -traverse (Type const& o) -{ -pre (o); -if (o.resourceUsage_p ()) resourceUsage (o); -else resourceUsage_none (o); -if (o.resourcePort_p ()) resourcePort (o); -else resourcePort_none (o); -if (o.componentPort_p ()) componentPort (o); -else componentPort_none (o); -resourceType (o); -name (o); -property (o); -post (o); -} + void ComponentPortDescription:: + name (Type const& o) + { + dispatch (o.name ()); + } -void ImplementationRequirement:: -pre (Type&) -{ -} + void ComponentPortDescription:: + specificType (Type& o) + { + dispatch (o.specificType ()); + } -void ImplementationRequirement:: -pre (Type const&) -{ -} + void ComponentPortDescription:: + specificType (Type const& o) + { + dispatch (o.specificType ()); + } -void ImplementationRequirement:: -resourceUsage (Type& o) -{ -dispatch (o.resourceUsage ()); -} + void ComponentPortDescription:: + specificType_none (Type&) + { + } -void ImplementationRequirement:: -resourceUsage (Type const& o) -{ -dispatch (o.resourceUsage ()); -} + void ComponentPortDescription:: + specificType_none (Type const&) + { + } -void ImplementationRequirement:: -resourceUsage_none (Type&) -{ -} + void ComponentPortDescription:: + supportedType (Type& o) + { + // VC6 anathema strikes again + // + ComponentPortDescription::Type::supportedType_iterator b (o.begin_supportedType()), e (o.end_supportedType()); -void ImplementationRequirement:: -resourceUsage_none (Type const&) -{ -} + if (b != e) + { + supportedType_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) supportedType_next (o); + } + + supportedType_post (o); + } -void ImplementationRequirement:: -resourcePort (Type& o) -{ -dispatch (o.resourcePort ()); -} + else supportedType_none (o); + } -void ImplementationRequirement:: -resourcePort (Type const& o) -{ -dispatch (o.resourcePort ()); -} + void ComponentPortDescription:: + supportedType (Type const& o) + { + // VC6 anathema strikes again + // + ComponentPortDescription::Type::supportedType_const_iterator b (o.begin_supportedType()), e (o.end_supportedType()); -void ImplementationRequirement:: -resourcePort_none (Type&) -{ -} + if (b != e) + { + supportedType_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) supportedType_next (o); + } + + supportedType_post (o); + } -void ImplementationRequirement:: -resourcePort_none (Type const&) -{ -} + else supportedType_none (o); + } -void ImplementationRequirement:: -componentPort (Type& o) -{ -dispatch (o.componentPort ()); -} + void ComponentPortDescription:: + supportedType_pre (Type&) + { + } -void ImplementationRequirement:: -componentPort (Type const& o) -{ -dispatch (o.componentPort ()); -} + void ComponentPortDescription:: + supportedType_pre (Type const&) + { + } -void ImplementationRequirement:: -componentPort_none (Type&) -{ -} + void ComponentPortDescription:: + supportedType_next (Type&) + { + } -void ImplementationRequirement:: -componentPort_none (Type const&) -{ -} + void ComponentPortDescription:: + supportedType_next (Type const&) + { + } -void ImplementationRequirement:: -resourceType (Type& o) -{ -dispatch (o.resourceType ()); -} + void ComponentPortDescription:: + supportedType_post (Type&) + { + } -void ImplementationRequirement:: -resourceType (Type const& o) -{ -dispatch (o.resourceType ()); -} + void ComponentPortDescription:: + supportedType_post (Type const&) + { + } -void ImplementationRequirement:: -name (Type& o) -{ -dispatch (o.name ()); -} + void ComponentPortDescription:: + supportedType_none (Type&) + { + } -void ImplementationRequirement:: -name (Type const& o) -{ -dispatch (o.name ()); -} + void ComponentPortDescription:: + supportedType_none (Type const&) + { + } -void ImplementationRequirement:: -property (Type& o) -{ -// VC6 anathema strikes again -// -ImplementationRequirement::Type::property_iterator b (o.begin_property()), e (o.end_property()); + void ComponentPortDescription:: + provider (Type& o) + { + dispatch (o.provider ()); + } -if (b != e) -{ -property_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) property_next (o); -} + void ComponentPortDescription:: + provider (Type const& o) + { + dispatch (o.provider ()); + } -property_post (o); -} + void ComponentPortDescription:: + exclusiveProvider (Type& o) + { + dispatch (o.exclusiveProvider ()); + } -else property_none (o); -} + void ComponentPortDescription:: + exclusiveProvider (Type const& o) + { + dispatch (o.exclusiveProvider ()); + } -void ImplementationRequirement:: -property (Type const& o) -{ -// VC6 anathema strikes again -// -ImplementationRequirement::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); + void ComponentPortDescription:: + exclusiveUser (Type& o) + { + dispatch (o.exclusiveUser ()); + } -if (b != e) -{ -property_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) property_next (o); -} + void ComponentPortDescription:: + exclusiveUser (Type const& o) + { + dispatch (o.exclusiveUser ()); + } -property_post (o); -} + void ComponentPortDescription:: + optional (Type& o) + { + dispatch (o.optional ()); + } -else property_none (o); -} + void ComponentPortDescription:: + optional (Type const& o) + { + dispatch (o.optional ()); + } -void ImplementationRequirement:: -property_pre (Type&) -{ -} + void ComponentPortDescription:: + kind (Type& o) + { + dispatch (o.kind ()); + } -void ImplementationRequirement:: -property_pre (Type const&) -{ -} + void ComponentPortDescription:: + kind (Type const& o) + { + dispatch (o.kind ()); + } -void ImplementationRequirement:: -property_next (Type&) -{ -} + void ComponentPortDescription:: + post (Type&) + { + } -void ImplementationRequirement:: -property_next (Type const&) -{ -} + void ComponentPortDescription:: + post (Type const&) + { + } -void ImplementationRequirement:: -property_post (Type&) -{ -} + // ComponentPropertyDescription + // + // -void ImplementationRequirement:: -property_post (Type const&) -{ -} + void ComponentPropertyDescription:: + traverse (Type& o) + { + pre (o); + name (o); + type (o); + post (o); + } -void ImplementationRequirement:: -property_none (Type&) -{ -} + void ComponentPropertyDescription:: + traverse (Type const& o) + { + pre (o); + name (o); + type (o); + post (o); + } -void ImplementationRequirement:: -property_none (Type const&) -{ -} + void ComponentPropertyDescription:: + pre (Type&) + { + } -void ImplementationRequirement:: -post (Type&) -{ -} + void ComponentPropertyDescription:: + pre (Type const&) + { + } -void ImplementationRequirement:: -post (Type const&) -{ -} + void ComponentPropertyDescription:: + name (Type& o) + { + dispatch (o.name ()); + } -// ComponentPackageReference -// -// + void ComponentPropertyDescription:: + name (Type const& o) + { + dispatch (o.name ()); + } -void ComponentPackageReference:: -traverse (Type& o) -{ -pre (o); -if (o.requiredUUID_p ()) requiredUUID (o); -else requiredUUID_none (o); -if (o.requiredName_p ()) requiredName (o); -else requiredName_none (o); -requiredType (o); -post (o); -} + void ComponentPropertyDescription:: + type (Type& o) + { + dispatch (o.type ()); + } -void ComponentPackageReference:: -traverse (Type const& o) -{ -pre (o); -if (o.requiredUUID_p ()) requiredUUID (o); -else requiredUUID_none (o); -if (o.requiredName_p ()) requiredName (o); -else requiredName_none (o); -requiredType (o); -post (o); -} + void ComponentPropertyDescription:: + type (Type const& o) + { + dispatch (o.type ()); + } -void ComponentPackageReference:: -pre (Type&) -{ -} + void ComponentPropertyDescription:: + post (Type&) + { + } -void ComponentPackageReference:: -pre (Type const&) -{ -} + void ComponentPropertyDescription:: + post (Type const&) + { + } -void ComponentPackageReference:: -requiredUUID (Type& o) -{ -dispatch (o.requiredUUID ()); -} + // ComponentExternalPortEndpoint + // + // -void ComponentPackageReference:: -requiredUUID (Type const& o) -{ -dispatch (o.requiredUUID ()); -} + void ComponentExternalPortEndpoint:: + traverse (Type& o) + { + pre (o); + portName (o); + post (o); + } -void ComponentPackageReference:: -requiredUUID_none (Type&) -{ -} + void ComponentExternalPortEndpoint:: + traverse (Type const& o) + { + pre (o); + portName (o); + post (o); + } -void ComponentPackageReference:: -requiredUUID_none (Type const&) -{ -} + void ComponentExternalPortEndpoint:: + pre (Type&) + { + } -void ComponentPackageReference:: -requiredName (Type& o) -{ -dispatch (o.requiredName ()); -} + void ComponentExternalPortEndpoint:: + pre (Type const&) + { + } -void ComponentPackageReference:: -requiredName (Type const& o) -{ -dispatch (o.requiredName ()); -} + void ComponentExternalPortEndpoint:: + portName (Type& o) + { + dispatch (o.portName ()); + } -void ComponentPackageReference:: -requiredName_none (Type&) -{ -} + void ComponentExternalPortEndpoint:: + portName (Type const& o) + { + dispatch (o.portName ()); + } -void ComponentPackageReference:: -requiredName_none (Type const&) -{ -} + void ComponentExternalPortEndpoint:: + post (Type&) + { + } -void ComponentPackageReference:: -requiredType (Type& o) -{ -dispatch (o.requiredType ()); -} + void ComponentExternalPortEndpoint:: + post (Type const&) + { + } -void ComponentPackageReference:: -requiredType (Type const& o) -{ -dispatch (o.requiredType ()); -} + // PlanSubcomponentPortEndpoint + // + // -void ComponentPackageReference:: -post (Type&) -{ -} + void PlanSubcomponentPortEndpoint:: + traverse (Type& o) + { + pre (o); + portName (o); + if (o.provider_p ()) provider (o); + else provider_none (o); + kind (o); + instance (o); + post (o); + } -void ComponentPackageReference:: -post (Type const&) -{ -} + void PlanSubcomponentPortEndpoint:: + traverse (Type const& o) + { + pre (o); + portName (o); + if (o.provider_p ()) provider (o); + else provider_none (o); + kind (o); + instance (o); + post (o); + } -// SubcomponentPortEndpoint -// -// + void PlanSubcomponentPortEndpoint:: + pre (Type&) + { + } -void SubcomponentPortEndpoint:: -traverse (Type& o) -{ -pre (o); -portName (o); -instance (o); -post (o); -} + void PlanSubcomponentPortEndpoint:: + pre (Type const&) + { + } -void SubcomponentPortEndpoint:: -traverse (Type const& o) -{ -pre (o); -portName (o); -instance (o); -post (o); -} + void PlanSubcomponentPortEndpoint:: + portName (Type& o) + { + dispatch (o.portName ()); + } -void SubcomponentPortEndpoint:: -pre (Type&) -{ -} + void PlanSubcomponentPortEndpoint:: + portName (Type const& o) + { + dispatch (o.portName ()); + } -void SubcomponentPortEndpoint:: -pre (Type const&) -{ -} + void PlanSubcomponentPortEndpoint:: + provider (Type& o) + { + dispatch (o.provider ()); + } -void SubcomponentPortEndpoint:: -portName (Type& o) -{ -dispatch (o.portName ()); -} + void PlanSubcomponentPortEndpoint:: + provider (Type const& o) + { + dispatch (o.provider ()); + } -void SubcomponentPortEndpoint:: -portName (Type const& o) -{ -dispatch (o.portName ()); -} + void PlanSubcomponentPortEndpoint:: + provider_none (Type&) + { + } -void SubcomponentPortEndpoint:: -instance (Type& o) -{ -dispatch (o.instance ()); -} + void PlanSubcomponentPortEndpoint:: + provider_none (Type const&) + { + } -void SubcomponentPortEndpoint:: -instance (Type const& o) -{ -dispatch (o.instance ()); -} + void PlanSubcomponentPortEndpoint:: + kind (Type& o) + { + dispatch (o.kind ()); + } -void SubcomponentPortEndpoint:: -post (Type&) -{ -} + void PlanSubcomponentPortEndpoint:: + kind (Type const& o) + { + dispatch (o.kind ()); + } -void SubcomponentPortEndpoint:: -post (Type const&) -{ -} + void PlanSubcomponentPortEndpoint:: + instance (Type& o) + { + dispatch (o.instance ()); + } -// AssemblyConnectionDescription -// -// + void PlanSubcomponentPortEndpoint:: + instance (Type const& o) + { + dispatch (o.instance ()); + } -void AssemblyConnectionDescription:: -traverse (Type& o) -{ -pre (o); -name (o); -deployRequirement (o); -internalEndpoint (o); -externalEndpoint (o); -externalReference (o); -post (o); -} + void PlanSubcomponentPortEndpoint:: + post (Type&) + { + } -void AssemblyConnectionDescription:: -traverse (Type const& o) -{ -pre (o); -name (o); -deployRequirement (o); -internalEndpoint (o); -externalEndpoint (o); -externalReference (o); -post (o); -} + void PlanSubcomponentPortEndpoint:: + post (Type const&) + { + } -void AssemblyConnectionDescription:: -pre (Type&) -{ -} + // ExternalReferenceEndpoint + // + // -void AssemblyConnectionDescription:: -pre (Type const&) -{ -} + void ExternalReferenceEndpoint:: + traverse (Type& o) + { + pre (o); + location (o); + post (o); + } -void AssemblyConnectionDescription:: -name (Type& o) -{ -dispatch (o.name ()); -} + void ExternalReferenceEndpoint:: + traverse (Type const& o) + { + pre (o); + location (o); + post (o); + } -void AssemblyConnectionDescription:: -name (Type const& o) -{ -dispatch (o.name ()); -} + void ExternalReferenceEndpoint:: + pre (Type&) + { + } -void AssemblyConnectionDescription:: -deployRequirement (Type& o) -{ -// VC6 anathema strikes again -// -AssemblyConnectionDescription::Type::deployRequirement_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); + void ExternalReferenceEndpoint:: + pre (Type const&) + { + } -if (b != e) -{ -deployRequirement_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) deployRequirement_next (o); -} + void ExternalReferenceEndpoint:: + location (Type& o) + { + dispatch (o.location ()); + } -deployRequirement_post (o); -} + void ExternalReferenceEndpoint:: + location (Type const& o) + { + dispatch (o.location ()); + } -else deployRequirement_none (o); -} + void ExternalReferenceEndpoint:: + post (Type&) + { + } -void AssemblyConnectionDescription:: -deployRequirement (Type const& o) -{ -// VC6 anathema strikes again -// -AssemblyConnectionDescription::Type::deployRequirement_const_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); + void ExternalReferenceEndpoint:: + post (Type const&) + { + } -if (b != e) -{ -deployRequirement_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) deployRequirement_next (o); -} + // ConnectionResourceDeploymentDescription + // + // -deployRequirement_post (o); -} + void ConnectionResourceDeploymentDescription:: + traverse (Type& o) + { + pre (o); + targetName (o); + requirementName (o); + resourceName (o); + property (o); + post (o); + } -else deployRequirement_none (o); -} + void ConnectionResourceDeploymentDescription:: + traverse (Type const& o) + { + pre (o); + targetName (o); + requirementName (o); + resourceName (o); + property (o); + post (o); + } -void AssemblyConnectionDescription:: -deployRequirement_pre (Type&) -{ -} + void ConnectionResourceDeploymentDescription:: + pre (Type&) + { + } -void AssemblyConnectionDescription:: -deployRequirement_pre (Type const&) -{ -} + void ConnectionResourceDeploymentDescription:: + pre (Type const&) + { + } -void AssemblyConnectionDescription:: -deployRequirement_next (Type&) -{ -} + void ConnectionResourceDeploymentDescription:: + targetName (Type& o) + { + dispatch (o.targetName ()); + } -void AssemblyConnectionDescription:: -deployRequirement_next (Type const&) -{ -} + void ConnectionResourceDeploymentDescription:: + targetName (Type const& o) + { + dispatch (o.targetName ()); + } -void AssemblyConnectionDescription:: -deployRequirement_post (Type&) -{ -} + void ConnectionResourceDeploymentDescription:: + requirementName (Type& o) + { + dispatch (o.requirementName ()); + } -void AssemblyConnectionDescription:: -deployRequirement_post (Type const&) -{ -} + void ConnectionResourceDeploymentDescription:: + requirementName (Type const& o) + { + dispatch (o.requirementName ()); + } -void AssemblyConnectionDescription:: -deployRequirement_none (Type&) -{ -} + void ConnectionResourceDeploymentDescription:: + resourceName (Type& o) + { + dispatch (o.resourceName ()); + } -void AssemblyConnectionDescription:: -deployRequirement_none (Type const&) -{ -} + void ConnectionResourceDeploymentDescription:: + resourceName (Type const& o) + { + dispatch (o.resourceName ()); + } -void AssemblyConnectionDescription:: -internalEndpoint (Type& o) -{ -// VC6 anathema strikes again -// -AssemblyConnectionDescription::Type::internalEndpoint_iterator b (o.begin_internalEndpoint()), e (o.end_internalEndpoint()); + void ConnectionResourceDeploymentDescription:: + property (Type& o) + { + // VC6 anathema strikes again + // + ConnectionResourceDeploymentDescription::Type::property_iterator b (o.begin_property()), e (o.end_property()); -if (b != e) -{ -internalEndpoint_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) internalEndpoint_next (o); -} + if (b != e) + { + property_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) property_next (o); + } + + property_post (o); + } -internalEndpoint_post (o); -} + else property_none (o); + } -else internalEndpoint_none (o); -} + void ConnectionResourceDeploymentDescription:: + property (Type const& o) + { + // VC6 anathema strikes again + // + ConnectionResourceDeploymentDescription::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); -void AssemblyConnectionDescription:: -internalEndpoint (Type const& o) -{ -// VC6 anathema strikes again -// -AssemblyConnectionDescription::Type::internalEndpoint_const_iterator b (o.begin_internalEndpoint()), e (o.end_internalEndpoint()); + if (b != e) + { + property_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) property_next (o); + } + + property_post (o); + } -if (b != e) -{ -internalEndpoint_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) internalEndpoint_next (o); -} + else property_none (o); + } -internalEndpoint_post (o); -} + void ConnectionResourceDeploymentDescription:: + property_pre (Type&) + { + } -else internalEndpoint_none (o); -} + void ConnectionResourceDeploymentDescription:: + property_pre (Type const&) + { + } -void AssemblyConnectionDescription:: -internalEndpoint_pre (Type&) -{ -} + void ConnectionResourceDeploymentDescription:: + property_next (Type&) + { + } -void AssemblyConnectionDescription:: -internalEndpoint_pre (Type const&) -{ -} + void ConnectionResourceDeploymentDescription:: + property_next (Type const&) + { + } -void AssemblyConnectionDescription:: -internalEndpoint_next (Type&) -{ -} + void ConnectionResourceDeploymentDescription:: + property_post (Type&) + { + } -void AssemblyConnectionDescription:: -internalEndpoint_next (Type const&) -{ -} + void ConnectionResourceDeploymentDescription:: + property_post (Type const&) + { + } -void AssemblyConnectionDescription:: -internalEndpoint_post (Type&) -{ -} + void ConnectionResourceDeploymentDescription:: + property_none (Type&) + { + } -void AssemblyConnectionDescription:: -internalEndpoint_post (Type const&) -{ -} + void ConnectionResourceDeploymentDescription:: + property_none (Type const&) + { + } -void AssemblyConnectionDescription:: -internalEndpoint_none (Type&) -{ -} + void ConnectionResourceDeploymentDescription:: + post (Type&) + { + } -void AssemblyConnectionDescription:: -internalEndpoint_none (Type const&) -{ -} + void ConnectionResourceDeploymentDescription:: + post (Type const&) + { + } -void AssemblyConnectionDescription:: -externalEndpoint (Type& o) -{ -// VC6 anathema strikes again -// -AssemblyConnectionDescription::Type::externalEndpoint_iterator b (o.begin_externalEndpoint()), e (o.end_externalEndpoint()); + // PlanConnectionDescription + // + // -if (b != e) -{ -externalEndpoint_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) externalEndpoint_next (o); -} + void PlanConnectionDescription:: + traverse (Type& o) + { + pre (o); + name (o); + if (o.source_p ()) source (o); + else source_none (o); + deployRequirement (o); + externalEndpoint (o); + internalEndpoint (o); + externalReference (o); + deployedResource (o); + post (o); + } -externalEndpoint_post (o); -} + void PlanConnectionDescription:: + traverse (Type const& o) + { + pre (o); + name (o); + if (o.source_p ()) source (o); + else source_none (o); + deployRequirement (o); + externalEndpoint (o); + internalEndpoint (o); + externalReference (o); + deployedResource (o); + post (o); + } -else externalEndpoint_none (o); -} + void PlanConnectionDescription:: + pre (Type&) + { + } -void AssemblyConnectionDescription:: -externalEndpoint (Type const& o) -{ -// VC6 anathema strikes again -// -AssemblyConnectionDescription::Type::externalEndpoint_const_iterator b (o.begin_externalEndpoint()), e (o.end_externalEndpoint()); + void PlanConnectionDescription:: + pre (Type const&) + { + } -if (b != e) -{ -externalEndpoint_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) externalEndpoint_next (o); -} + void PlanConnectionDescription:: + name (Type& o) + { + dispatch (o.name ()); + } -externalEndpoint_post (o); -} + void PlanConnectionDescription:: + name (Type const& o) + { + dispatch (o.name ()); + } -else externalEndpoint_none (o); -} + void PlanConnectionDescription:: + source (Type& o) + { + dispatch (o.source ()); + } -void AssemblyConnectionDescription:: -externalEndpoint_pre (Type&) -{ -} + void PlanConnectionDescription:: + source (Type const& o) + { + dispatch (o.source ()); + } -void AssemblyConnectionDescription:: -externalEndpoint_pre (Type const&) -{ -} + void PlanConnectionDescription:: + source_none (Type&) + { + } -void AssemblyConnectionDescription:: -externalEndpoint_next (Type&) -{ -} + void PlanConnectionDescription:: + source_none (Type const&) + { + } -void AssemblyConnectionDescription:: -externalEndpoint_next (Type const&) -{ -} + void PlanConnectionDescription:: + deployRequirement (Type& o) + { + // VC6 anathema strikes again + // + PlanConnectionDescription::Type::deployRequirement_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); -void AssemblyConnectionDescription:: -externalEndpoint_post (Type&) -{ -} + if (b != e) + { + deployRequirement_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) deployRequirement_next (o); + } + + deployRequirement_post (o); + } -void AssemblyConnectionDescription:: -externalEndpoint_post (Type const&) -{ -} + else deployRequirement_none (o); + } -void AssemblyConnectionDescription:: -externalEndpoint_none (Type&) -{ -} + void PlanConnectionDescription:: + deployRequirement (Type const& o) + { + // VC6 anathema strikes again + // + PlanConnectionDescription::Type::deployRequirement_const_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); -void AssemblyConnectionDescription:: -externalEndpoint_none (Type const&) -{ -} + if (b != e) + { + deployRequirement_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) deployRequirement_next (o); + } + + deployRequirement_post (o); + } -void AssemblyConnectionDescription:: -externalReference (Type& o) -{ -// VC6 anathema strikes again -// -AssemblyConnectionDescription::Type::externalReference_iterator b (o.begin_externalReference()), e (o.end_externalReference()); + else deployRequirement_none (o); + } -if (b != e) -{ -externalReference_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) externalReference_next (o); -} + void PlanConnectionDescription:: + deployRequirement_pre (Type&) + { + } -externalReference_post (o); -} + void PlanConnectionDescription:: + deployRequirement_pre (Type const&) + { + } -else externalReference_none (o); -} + void PlanConnectionDescription:: + deployRequirement_next (Type&) + { + } -void AssemblyConnectionDescription:: -externalReference (Type const& o) -{ -// VC6 anathema strikes again -// -AssemblyConnectionDescription::Type::externalReference_const_iterator b (o.begin_externalReference()), e (o.end_externalReference()); + void PlanConnectionDescription:: + deployRequirement_next (Type const&) + { + } -if (b != e) -{ -externalReference_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) externalReference_next (o); -} + void PlanConnectionDescription:: + deployRequirement_post (Type&) + { + } -externalReference_post (o); -} + void PlanConnectionDescription:: + deployRequirement_post (Type const&) + { + } -else externalReference_none (o); -} + void PlanConnectionDescription:: + deployRequirement_none (Type&) + { + } -void AssemblyConnectionDescription:: -externalReference_pre (Type&) -{ -} + void PlanConnectionDescription:: + deployRequirement_none (Type const&) + { + } -void AssemblyConnectionDescription:: -externalReference_pre (Type const&) -{ -} + void PlanConnectionDescription:: + externalEndpoint (Type& o) + { + // VC6 anathema strikes again + // + PlanConnectionDescription::Type::externalEndpoint_iterator b (o.begin_externalEndpoint()), e (o.end_externalEndpoint()); -void AssemblyConnectionDescription:: -externalReference_next (Type&) -{ -} + if (b != e) + { + externalEndpoint_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) externalEndpoint_next (o); + } + + externalEndpoint_post (o); + } -void AssemblyConnectionDescription:: -externalReference_next (Type const&) -{ -} + else externalEndpoint_none (o); + } -void AssemblyConnectionDescription:: -externalReference_post (Type&) -{ -} + void PlanConnectionDescription:: + externalEndpoint (Type const& o) + { + // VC6 anathema strikes again + // + PlanConnectionDescription::Type::externalEndpoint_const_iterator b (o.begin_externalEndpoint()), e (o.end_externalEndpoint()); -void AssemblyConnectionDescription:: -externalReference_post (Type const&) -{ -} + if (b != e) + { + externalEndpoint_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) externalEndpoint_next (o); + } + + externalEndpoint_post (o); + } -void AssemblyConnectionDescription:: -externalReference_none (Type&) -{ -} + else externalEndpoint_none (o); + } -void AssemblyConnectionDescription:: -externalReference_none (Type const&) -{ -} + void PlanConnectionDescription:: + externalEndpoint_pre (Type&) + { + } -void AssemblyConnectionDescription:: -post (Type&) -{ -} + void PlanConnectionDescription:: + externalEndpoint_pre (Type const&) + { + } -void AssemblyConnectionDescription:: -post (Type const&) -{ -} -} -} -} + void PlanConnectionDescription:: + externalEndpoint_next (Type&) + { + } -namespace CIAO -{ -namespace Config_Handlers -{ -namespace Writer -{ -// TCKind -// -// + void PlanConnectionDescription:: + externalEndpoint_next (Type const&) + { + } -TCKind:: -TCKind (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + void PlanConnectionDescription:: + externalEndpoint_post (Type&) + { + } -TCKind:: -TCKind () -{ -} + void PlanConnectionDescription:: + externalEndpoint_post (Type const&) + { + } -void TCKind:: -traverse (Type const& o) -{ -::std::basic_string< ACE_TCHAR > s; - -if (o == ::CIAO::Config_Handlers::TCKind::tk_null) s = "tk_null"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_void) s = "tk_void"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_short) s = "tk_short"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_long) s = "tk_long"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_ushort) s = "tk_ushort"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_ulong) s = "tk_ulong"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_float) s = "tk_float"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_double) s = "tk_double"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_boolean) s = "tk_boolean"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_char) s = "tk_char"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_octet) s = "tk_octet"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_any) s = "tk_any"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_TypeCode) s = "tk_TypeCode"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_Principal) s = "tk_Principal"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_objref) s = "tk_objref"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_struct) s = "tk_struct"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_union) s = "tk_union"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_enum) s = "tk_enum"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_string) s = "tk_string"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_sequence) s = "tk_sequence"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_array) s = "tk_array"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_alias) s = "tk_alias"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_except) s = "tk_except"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_longlong) s = "tk_longlong"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_ulonglong) s = "tk_ulonglong"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_longdouble) s = "tk_longdouble"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_wchar) s = "tk_wchar"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_wstring) s = "tk_wstring"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_wfixed) s = "tk_wfixed"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_value) s = "tk_value"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_value_box) s = "tk_value_box"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_native) s = "tk_native"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_abstract_interface) s = "tk_abstract_interface"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_local_interface) s = "tk_local_interface"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_component) s = "tk_component"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_home) s = "tk_home"; -else if (o == ::CIAO::Config_Handlers::TCKind::tk_event) s = "tk_event"; -else -{ -} + void PlanConnectionDescription:: + externalEndpoint_none (Type&) + { + } -if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) -{ -a->value (s); -} + void PlanConnectionDescription:: + externalEndpoint_none (Type const&) + { + } -else -{ -top_().value (s); -} -} + void PlanConnectionDescription:: + internalEndpoint (Type& o) + { + // VC6 anathema strikes again + // + PlanConnectionDescription::Type::internalEndpoint_iterator b (o.begin_internalEndpoint()), e (o.end_internalEndpoint()); -// DataType -// -// + if (b != e) + { + internalEndpoint_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) internalEndpoint_next (o); + } + + internalEndpoint_post (o); + } -DataType:: -DataType (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + else internalEndpoint_none (o); + } -DataType:: -DataType () -{ -} + void PlanConnectionDescription:: + internalEndpoint (Type const& o) + { + // VC6 anathema strikes again + // + PlanConnectionDescription::Type::internalEndpoint_const_iterator b (o.begin_internalEndpoint()), e (o.end_internalEndpoint()); -void DataType:: -traverse (Type const& o) -{ -Traversal::DataType::traverse (o); -} + if (b != e) + { + internalEndpoint_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) internalEndpoint_next (o); + } + + internalEndpoint_post (o); + } -void DataType:: -kind (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("kind", top_ ())); -Traversal::DataType::kind (o); -pop_ (); -} + else internalEndpoint_none (o); + } -void DataType:: -enum_ (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("enum", top_ ())); -Traversal::DataType::enum_ (o); -pop_ (); -} + void PlanConnectionDescription:: + internalEndpoint_pre (Type&) + { + } -// DataValue -// -// + void PlanConnectionDescription:: + internalEndpoint_pre (Type const&) + { + } -DataValue:: -DataValue (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + void PlanConnectionDescription:: + internalEndpoint_next (Type&) + { + } -DataValue:: -DataValue () -{ -} + void PlanConnectionDescription:: + internalEndpoint_next (Type const&) + { + } -void DataValue:: -traverse (Type const& o) -{ -Traversal::DataValue::traverse (o); -} + void PlanConnectionDescription:: + internalEndpoint_post (Type&) + { + } -void DataValue:: -short_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("short", top_ ())); -} + void PlanConnectionDescription:: + internalEndpoint_post (Type const&) + { + } -void DataValue:: -short_next (Type const& o) -{ -short_post (o); -short_pre (o); -} + void PlanConnectionDescription:: + internalEndpoint_none (Type&) + { + } -void DataValue:: -short_post (Type const&) -{ -pop_ (); -} + void PlanConnectionDescription:: + internalEndpoint_none (Type const&) + { + } -void DataValue:: -long_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("long", top_ ())); -} + void PlanConnectionDescription:: + externalReference (Type& o) + { + // VC6 anathema strikes again + // + PlanConnectionDescription::Type::externalReference_iterator b (o.begin_externalReference()), e (o.end_externalReference()); -void DataValue:: -long_next (Type const& o) -{ -long_post (o); -long_pre (o); -} + if (b != e) + { + externalReference_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) externalReference_next (o); + } + + externalReference_post (o); + } -void DataValue:: -long_post (Type const&) -{ -pop_ (); -} + else externalReference_none (o); + } -void DataValue:: -ushort_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("ushort", top_ ())); -} + void PlanConnectionDescription:: + externalReference (Type const& o) + { + // VC6 anathema strikes again + // + PlanConnectionDescription::Type::externalReference_const_iterator b (o.begin_externalReference()), e (o.end_externalReference()); -void DataValue:: -ushort_next (Type const& o) -{ -ushort_post (o); -ushort_pre (o); -} + if (b != e) + { + externalReference_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) externalReference_next (o); + } + + externalReference_post (o); + } -void DataValue:: -ushort_post (Type const&) -{ -pop_ (); -} + else externalReference_none (o); + } -void DataValue:: -ulong_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("ulong", top_ ())); -} + void PlanConnectionDescription:: + externalReference_pre (Type&) + { + } -void DataValue:: -ulong_next (Type const& o) -{ -ulong_post (o); -ulong_pre (o); -} + void PlanConnectionDescription:: + externalReference_pre (Type const&) + { + } -void DataValue:: -ulong_post (Type const&) -{ -pop_ (); -} + void PlanConnectionDescription:: + externalReference_next (Type&) + { + } -void DataValue:: -float_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("float", top_ ())); -} + void PlanConnectionDescription:: + externalReference_next (Type const&) + { + } -void DataValue:: -float_next (Type const& o) -{ -float_post (o); -float_pre (o); -} + void PlanConnectionDescription:: + externalReference_post (Type&) + { + } -void DataValue:: -float_post (Type const&) -{ -pop_ (); -} + void PlanConnectionDescription:: + externalReference_post (Type const&) + { + } -void DataValue:: -double_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("double", top_ ())); -} + void PlanConnectionDescription:: + externalReference_none (Type&) + { + } -void DataValue:: -double_next (Type const& o) -{ -double_post (o); -double_pre (o); -} + void PlanConnectionDescription:: + externalReference_none (Type const&) + { + } -void DataValue:: -double_post (Type const&) -{ -pop_ (); -} + void PlanConnectionDescription:: + deployedResource (Type& o) + { + // VC6 anathema strikes again + // + PlanConnectionDescription::Type::deployedResource_iterator b (o.begin_deployedResource()), e (o.end_deployedResource()); -void DataValue:: -boolean_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("boolean", top_ ())); -} + if (b != e) + { + deployedResource_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) deployedResource_next (o); + } + + deployedResource_post (o); + } -void DataValue:: -boolean_next (Type const& o) -{ -boolean_post (o); -boolean_pre (o); -} + else deployedResource_none (o); + } -void DataValue:: -boolean_post (Type const&) -{ -pop_ (); -} + void PlanConnectionDescription:: + deployedResource (Type const& o) + { + // VC6 anathema strikes again + // + PlanConnectionDescription::Type::deployedResource_const_iterator b (o.begin_deployedResource()), e (o.end_deployedResource()); -void DataValue:: -octet_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("octet", top_ ())); -} + if (b != e) + { + deployedResource_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) deployedResource_next (o); + } + + deployedResource_post (o); + } -void DataValue:: -octet_next (Type const& o) -{ -octet_post (o); -octet_pre (o); -} + else deployedResource_none (o); + } -void DataValue:: -octet_post (Type const&) -{ -pop_ (); -} + void PlanConnectionDescription:: + deployedResource_pre (Type&) + { + } -void DataValue:: -enum_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("enum", top_ ())); -} + void PlanConnectionDescription:: + deployedResource_pre (Type const&) + { + } -void DataValue:: -enum_next (Type const& o) -{ -enum_post (o); -enum_pre (o); -} + void PlanConnectionDescription:: + deployedResource_next (Type&) + { + } -void DataValue:: -enum_post (Type const&) -{ -pop_ (); -} + void PlanConnectionDescription:: + deployedResource_next (Type const&) + { + } -void DataValue:: -string_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("string", top_ ())); -} + void PlanConnectionDescription:: + deployedResource_post (Type&) + { + } -void DataValue:: -string_next (Type const& o) -{ -string_post (o); -string_pre (o); -} + void PlanConnectionDescription:: + deployedResource_post (Type const&) + { + } -void DataValue:: -string_post (Type const&) -{ -pop_ (); -} + void PlanConnectionDescription:: + deployedResource_none (Type&) + { + } -void DataValue:: -longlong_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("longlong", top_ ())); -} + void PlanConnectionDescription:: + deployedResource_none (Type const&) + { + } -void DataValue:: -longlong_next (Type const& o) -{ -longlong_post (o); -longlong_pre (o); -} + void PlanConnectionDescription:: + post (Type&) + { + } -void DataValue:: -longlong_post (Type const&) -{ -pop_ (); -} + void PlanConnectionDescription:: + post (Type const&) + { + } -void DataValue:: -ulonglong_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("ulonglong", top_ ())); -} + // ImplementationDependency + // + // -void DataValue:: -ulonglong_next (Type const& o) -{ -ulonglong_post (o); -ulonglong_pre (o); -} + void ImplementationDependency:: + traverse (Type& o) + { + pre (o); + requiredType (o); + post (o); + } -void DataValue:: -ulonglong_post (Type const&) -{ -pop_ (); -} + void ImplementationDependency:: + traverse (Type const& o) + { + pre (o); + requiredType (o); + post (o); + } -void DataValue:: -longdouble_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("longdouble", top_ ())); -} + void ImplementationDependency:: + pre (Type&) + { + } -void DataValue:: -longdouble_next (Type const& o) -{ -longdouble_post (o); -longdouble_pre (o); -} + void ImplementationDependency:: + pre (Type const&) + { + } -void DataValue:: -longdouble_post (Type const&) -{ -pop_ (); -} + void ImplementationDependency:: + requiredType (Type& o) + { + dispatch (o.requiredType ()); + } -// EnumType -// -// + void ImplementationDependency:: + requiredType (Type const& o) + { + dispatch (o.requiredType ()); + } -EnumType:: -EnumType (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + void ImplementationDependency:: + post (Type&) + { + } -EnumType:: -EnumType () -{ -} + void ImplementationDependency:: + post (Type const&) + { + } -void EnumType:: -traverse (Type const& o) -{ -Traversal::EnumType::traverse (o); -} + // Capability + // + // -void EnumType:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::EnumType::name (o); -pop_ (); -} + void Capability:: + traverse (Type& o) + { + pre (o); + name (o); + resourceType (o); + property (o); + post (o); + } -void EnumType:: -typeId (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("typeId", top_ ())); -Traversal::EnumType::typeId (o); -pop_ (); -} + void Capability:: + traverse (Type const& o) + { + pre (o); + name (o); + resourceType (o); + property (o); + post (o); + } -void EnumType:: -member_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("member", top_ ())); -} + void Capability:: + pre (Type&) + { + } -void EnumType:: -member_next (Type const& o) -{ -member_post (o); -member_pre (o); -} + void Capability:: + pre (Type const&) + { + } -void EnumType:: -member_post (Type const&) -{ -pop_ (); -} + void Capability:: + name (Type& o) + { + dispatch (o.name ()); + } -// Any -// -// + void Capability:: + name (Type const& o) + { + dispatch (o.name ()); + } -Any:: -Any (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + void Capability:: + resourceType (Type& o) + { + // VC6 anathema strikes again + // + Capability::Type::resourceType_iterator b (o.begin_resourceType()), e (o.end_resourceType()); -Any:: -Any () -{ -} + if (b != e) + { + resourceType_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) resourceType_next (o); + } + + resourceType_post (o); + } + } -void Any:: -traverse (Type const& o) -{ -Traversal::Any::traverse (o); -} + void Capability:: + resourceType (Type const& o) + { + // VC6 anathema strikes again + // + Capability::Type::resourceType_const_iterator b (o.begin_resourceType()), e (o.end_resourceType()); -void Any:: -type (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("type", top_ ())); -Traversal::Any::type (o); -pop_ (); -} + if (b != e) + { + resourceType_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) resourceType_next (o); + } + + resourceType_post (o); + } + } -void Any:: -value (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("value", top_ ())); -Traversal::Any::value (o); -pop_ (); -} + void Capability:: + resourceType_pre (Type&) + { + } -// Property -// -// + void Capability:: + resourceType_pre (Type const&) + { + } -Property:: -Property (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + void Capability:: + resourceType_next (Type&) + { + } -Property:: -Property () -{ -} + void Capability:: + resourceType_next (Type const&) + { + } -void Property:: -traverse (Type const& o) -{ -Traversal::Property::traverse (o); -} + void Capability:: + resourceType_post (Type&) + { + } -void Property:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::Property::name (o); -pop_ (); -} + void Capability:: + resourceType_post (Type const&) + { + } -void Property:: -value (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("value", top_ ())); -Traversal::Property::value (o); -pop_ (); -} + void Capability:: + property (Type& o) + { + // VC6 anathema strikes again + // + Capability::Type::property_iterator b (o.begin_property()), e (o.end_property()); -// SatisfierPropertyKind -// -// + if (b != e) + { + property_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) property_next (o); + } + + property_post (o); + } -SatisfierPropertyKind:: -SatisfierPropertyKind (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + else property_none (o); + } -SatisfierPropertyKind:: -SatisfierPropertyKind () -{ -} + void Capability:: + property (Type const& o) + { + // VC6 anathema strikes again + // + Capability::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); -void SatisfierPropertyKind:: -traverse (Type const& o) -{ -::std::basic_string< ACE_TCHAR > s; - -if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Quantity) s = "Quantity"; -else if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Capacity) s = "Capacity"; -else if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Minimum) s = "Minimum"; -else if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Maximum) s = "Maximum"; -else if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Attribute) s = "Attribute"; -else if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Selection) s = "Selection"; -else -{ -} + if (b != e) + { + property_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) property_next (o); + } + + property_post (o); + } -if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) -{ -a->value (s); -} + else property_none (o); + } -else -{ -top_().value (s); -} -} + void Capability:: + property_pre (Type&) + { + } -// SatisfierProperty -// -// + void Capability:: + property_pre (Type const&) + { + } -SatisfierProperty:: -SatisfierProperty (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + void Capability:: + property_next (Type&) + { + } -SatisfierProperty:: -SatisfierProperty () -{ -} + void Capability:: + property_next (Type const&) + { + } -void SatisfierProperty:: -traverse (Type const& o) -{ -Traversal::SatisfierProperty::traverse (o); -} + void Capability:: + property_post (Type&) + { + } -void SatisfierProperty:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::SatisfierProperty::name (o); -pop_ (); -} + void Capability:: + property_post (Type const&) + { + } -void SatisfierProperty:: -kind (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("kind", top_ ())); -Traversal::SatisfierProperty::kind (o); -pop_ (); -} + void Capability:: + property_none (Type&) + { + } -void SatisfierProperty:: -dynamic (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("dynamic", top_ ())); -Traversal::SatisfierProperty::dynamic (o); -pop_ (); -} + void Capability:: + property_none (Type const&) + { + } -void SatisfierProperty:: -value (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("value", top_ ())); -Traversal::SatisfierProperty::value (o); -pop_ (); -} + void Capability:: + post (Type&) + { + } -// Resource -// -// + void Capability:: + post (Type const&) + { + } -Resource:: -Resource (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + // ImplementationRequirement + // + // -Resource:: -Resource () -{ -} + void ImplementationRequirement:: + traverse (Type& o) + { + pre (o); + if (o.resourceUsage_p ()) resourceUsage (o); + else resourceUsage_none (o); + if (o.resourcePort_p ()) resourcePort (o); + else resourcePort_none (o); + if (o.componentPort_p ()) componentPort (o); + else componentPort_none (o); + resourceType (o); + name (o); + property (o); + post (o); + } -void Resource:: -traverse (Type const& o) -{ -Traversal::Resource::traverse (o); -} + void ImplementationRequirement:: + traverse (Type const& o) + { + pre (o); + if (o.resourceUsage_p ()) resourceUsage (o); + else resourceUsage_none (o); + if (o.resourcePort_p ()) resourcePort (o); + else resourcePort_none (o); + if (o.componentPort_p ()) componentPort (o); + else componentPort_none (o); + resourceType (o); + name (o); + property (o); + post (o); + } -void Resource:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::Resource::name (o); -pop_ (); -} + void ImplementationRequirement:: + pre (Type&) + { + } -void Resource:: -resourceType_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceType", top_ ())); -} + void ImplementationRequirement:: + pre (Type const&) + { + } -void Resource:: -resourceType_next (Type const& o) -{ -resourceType_post (o); -resourceType_pre (o); -} + void ImplementationRequirement:: + resourceUsage (Type& o) + { + dispatch (o.resourceUsage ()); + } -void Resource:: -resourceType_post (Type const&) -{ -pop_ (); -} + void ImplementationRequirement:: + resourceUsage (Type const& o) + { + dispatch (o.resourceUsage ()); + } -void Resource:: -property_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); -} + void ImplementationRequirement:: + resourceUsage_none (Type&) + { + } -void Resource:: -property_next (Type const& o) -{ -property_post (o); -property_pre (o); -} + void ImplementationRequirement:: + resourceUsage_none (Type const&) + { + } -void Resource:: -property_post (Type const&) -{ -pop_ (); -} + void ImplementationRequirement:: + resourcePort (Type& o) + { + dispatch (o.resourcePort ()); + } -// Requirement -// -// + void ImplementationRequirement:: + resourcePort (Type const& o) + { + dispatch (o.resourcePort ()); + } -Requirement:: -Requirement (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + void ImplementationRequirement:: + resourcePort_none (Type&) + { + } -Requirement:: -Requirement () -{ -} + void ImplementationRequirement:: + resourcePort_none (Type const&) + { + } -void Requirement:: -traverse (Type const& o) -{ -Traversal::Requirement::traverse (o); -} + void ImplementationRequirement:: + componentPort (Type& o) + { + dispatch (o.componentPort ()); + } -void Requirement:: -resourceType (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceType", top_ ())); -Traversal::Requirement::resourceType (o); -pop_ (); -} + void ImplementationRequirement:: + componentPort (Type const& o) + { + dispatch (o.componentPort ()); + } -void Requirement:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::Requirement::name (o); -pop_ (); -} + void ImplementationRequirement:: + componentPort_none (Type&) + { + } -void Requirement:: -property_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); -} + void ImplementationRequirement:: + componentPort_none (Type const&) + { + } -void Requirement:: -property_next (Type const& o) -{ -property_post (o); -property_pre (o); -} + void ImplementationRequirement:: + resourceType (Type& o) + { + dispatch (o.resourceType ()); + } -void Requirement:: -property_post (Type const&) -{ -pop_ (); -} + void ImplementationRequirement:: + resourceType (Type const& o) + { + dispatch (o.resourceType ()); + } -// ResourceDeploymentDescription -// -// + void ImplementationRequirement:: + name (Type& o) + { + dispatch (o.name ()); + } -ResourceDeploymentDescription:: -ResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + void ImplementationRequirement:: + name (Type const& o) + { + dispatch (o.name ()); + } -ResourceDeploymentDescription:: -ResourceDeploymentDescription () -{ -} + void ImplementationRequirement:: + property (Type& o) + { + // VC6 anathema strikes again + // + ImplementationRequirement::Type::property_iterator b (o.begin_property()), e (o.end_property()); -void ResourceDeploymentDescription:: -traverse (Type const& o) -{ -Traversal::ResourceDeploymentDescription::traverse (o); -} + if (b != e) + { + property_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) property_next (o); + } + + property_post (o); + } -void ResourceDeploymentDescription:: -requirementName (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requirementName", top_ ())); -Traversal::ResourceDeploymentDescription::requirementName (o); -pop_ (); -} + else property_none (o); + } -void ResourceDeploymentDescription:: -resourceName (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceName", top_ ())); -Traversal::ResourceDeploymentDescription::resourceName (o); -pop_ (); -} + void ImplementationRequirement:: + property (Type const& o) + { + // VC6 anathema strikes again + // + ImplementationRequirement::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); -void ResourceDeploymentDescription:: -property_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); -} + if (b != e) + { + property_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) property_next (o); + } + + property_post (o); + } -void ResourceDeploymentDescription:: -property_next (Type const& o) -{ -property_post (o); -property_pre (o); -} + else property_none (o); + } -void ResourceDeploymentDescription:: -property_post (Type const&) -{ -pop_ (); -} + void ImplementationRequirement:: + property_pre (Type&) + { + } -// ArtifactDeploymentDescription -// -// + void ImplementationRequirement:: + property_pre (Type const&) + { + } -ArtifactDeploymentDescription:: -ArtifactDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + void ImplementationRequirement:: + property_next (Type&) + { + } -ArtifactDeploymentDescription:: -ArtifactDeploymentDescription () -{ -} + void ImplementationRequirement:: + property_next (Type const&) + { + } -void ArtifactDeploymentDescription:: -traverse (Type const& o) -{ -Traversal::ArtifactDeploymentDescription::traverse (o); -} + void ImplementationRequirement:: + property_post (Type&) + { + } -void ArtifactDeploymentDescription:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::ArtifactDeploymentDescription::name (o); -pop_ (); -} + void ImplementationRequirement:: + property_post (Type const&) + { + } -void ArtifactDeploymentDescription:: -source_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("source", top_ ())); -} + void ImplementationRequirement:: + property_none (Type&) + { + } -void ArtifactDeploymentDescription:: -source_next (Type const& o) -{ -source_post (o); -source_pre (o); -} + void ImplementationRequirement:: + property_none (Type const&) + { + } -void ArtifactDeploymentDescription:: -source_post (Type const&) -{ -pop_ (); -} + void ImplementationRequirement:: + post (Type&) + { + } -void ArtifactDeploymentDescription:: -node (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("node", top_ ())); -Traversal::ArtifactDeploymentDescription::node (o); -pop_ (); -} + void ImplementationRequirement:: + post (Type const&) + { + } -void ArtifactDeploymentDescription:: -location_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("location", top_ ())); -} + // ComponentPackageReference + // + // -void ArtifactDeploymentDescription:: -location_next (Type const& o) -{ -location_post (o); -location_pre (o); -} + void ComponentPackageReference:: + traverse (Type& o) + { + pre (o); + if (o.requiredUUID_p ()) requiredUUID (o); + else requiredUUID_none (o); + if (o.requiredName_p ()) requiredName (o); + else requiredName_none (o); + requiredType (o); + post (o); + } -void ArtifactDeploymentDescription:: -location_post (Type const&) -{ -pop_ (); -} + void ComponentPackageReference:: + traverse (Type const& o) + { + pre (o); + if (o.requiredUUID_p ()) requiredUUID (o); + else requiredUUID_none (o); + if (o.requiredName_p ()) requiredName (o); + else requiredName_none (o); + requiredType (o); + post (o); + } -void ArtifactDeploymentDescription:: -execParameter_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("execParameter", top_ ())); -} + void ComponentPackageReference:: + pre (Type&) + { + } -void ArtifactDeploymentDescription:: -execParameter_next (Type const& o) -{ -execParameter_post (o); -execParameter_pre (o); -} + void ComponentPackageReference:: + pre (Type const&) + { + } -void ArtifactDeploymentDescription:: -execParameter_post (Type const&) -{ -pop_ (); -} + void ComponentPackageReference:: + requiredUUID (Type& o) + { + dispatch (o.requiredUUID ()); + } -void ArtifactDeploymentDescription:: -deployRequirement_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); -} + void ComponentPackageReference:: + requiredUUID (Type const& o) + { + dispatch (o.requiredUUID ()); + } -void ArtifactDeploymentDescription:: -deployRequirement_next (Type const& o) -{ -deployRequirement_post (o); -deployRequirement_pre (o); -} + void ComponentPackageReference:: + requiredUUID_none (Type&) + { + } -void ArtifactDeploymentDescription:: -deployRequirement_post (Type const&) -{ -pop_ (); -} + void ComponentPackageReference:: + requiredUUID_none (Type const&) + { + } -void ArtifactDeploymentDescription:: -deployedResource_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployedResource", top_ ())); -} + void ComponentPackageReference:: + requiredName (Type& o) + { + dispatch (o.requiredName ()); + } -void ArtifactDeploymentDescription:: -deployedResource_next (Type const& o) -{ -deployedResource_post (o); -deployedResource_pre (o); -} + void ComponentPackageReference:: + requiredName (Type const& o) + { + dispatch (o.requiredName ()); + } -void ArtifactDeploymentDescription:: -deployedResource_post (Type const&) -{ -pop_ (); -} + void ComponentPackageReference:: + requiredName_none (Type&) + { + } -void ArtifactDeploymentDescription:: -id (Type const& o) -{ -::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ()); -attr_ (&a); -Traversal::ArtifactDeploymentDescription::id (o); -attr_ (0); -} + void ComponentPackageReference:: + requiredName_none (Type const&) + { + } -// MonolithicDeploymentDescription -// -// + void ComponentPackageReference:: + requiredType (Type& o) + { + dispatch (o.requiredType ()); + } -MonolithicDeploymentDescription:: -MonolithicDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + void ComponentPackageReference:: + requiredType (Type const& o) + { + dispatch (o.requiredType ()); + } -MonolithicDeploymentDescription:: -MonolithicDeploymentDescription () -{ -} + void ComponentPackageReference:: + post (Type&) + { + } -void MonolithicDeploymentDescription:: -traverse (Type const& o) -{ -Traversal::MonolithicDeploymentDescription::traverse (o); -} + void ComponentPackageReference:: + post (Type const&) + { + } -void MonolithicDeploymentDescription:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::MonolithicDeploymentDescription::name (o); -pop_ (); -} + // SubcomponentPortEndpoint + // + // -void MonolithicDeploymentDescription:: -source_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("source", top_ ())); -} + void SubcomponentPortEndpoint:: + traverse (Type& o) + { + pre (o); + portName (o); + instance (o); + post (o); + } -void MonolithicDeploymentDescription:: -source_next (Type const& o) -{ -source_post (o); -source_pre (o); -} + void SubcomponentPortEndpoint:: + traverse (Type const& o) + { + pre (o); + portName (o); + instance (o); + post (o); + } -void MonolithicDeploymentDescription:: -source_post (Type const&) -{ -pop_ (); -} + void SubcomponentPortEndpoint:: + pre (Type&) + { + } -void MonolithicDeploymentDescription:: -artifact_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("artifact", top_ ())); -} + void SubcomponentPortEndpoint:: + pre (Type const&) + { + } -void MonolithicDeploymentDescription:: -artifact_next (Type const& o) -{ -artifact_post (o); -artifact_pre (o); -} + void SubcomponentPortEndpoint:: + portName (Type& o) + { + dispatch (o.portName ()); + } -void MonolithicDeploymentDescription:: -artifact_post (Type const&) -{ -pop_ (); -} + void SubcomponentPortEndpoint:: + portName (Type const& o) + { + dispatch (o.portName ()); + } -void MonolithicDeploymentDescription:: -execParameter_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("execParameter", top_ ())); -} + void SubcomponentPortEndpoint:: + instance (Type& o) + { + dispatch (o.instance ()); + } -void MonolithicDeploymentDescription:: -execParameter_next (Type const& o) -{ -execParameter_post (o); -execParameter_pre (o); -} + void SubcomponentPortEndpoint:: + instance (Type const& o) + { + dispatch (o.instance ()); + } -void MonolithicDeploymentDescription:: -execParameter_post (Type const&) -{ -pop_ (); -} + void SubcomponentPortEndpoint:: + post (Type&) + { + } -void MonolithicDeploymentDescription:: -deployRequirement_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); -} + void SubcomponentPortEndpoint:: + post (Type const&) + { + } -void MonolithicDeploymentDescription:: -deployRequirement_next (Type const& o) -{ -deployRequirement_post (o); -deployRequirement_pre (o); -} + // AssemblyConnectionDescription + // + // -void MonolithicDeploymentDescription:: -deployRequirement_post (Type const&) -{ -pop_ (); -} + void AssemblyConnectionDescription:: + traverse (Type& o) + { + pre (o); + name (o); + deployRequirement (o); + internalEndpoint (o); + externalEndpoint (o); + externalReference (o); + post (o); + } -void MonolithicDeploymentDescription:: -id (Type const& o) -{ -::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ()); -attr_ (&a); -Traversal::MonolithicDeploymentDescription::id (o); -attr_ (0); -} + void AssemblyConnectionDescription:: + traverse (Type const& o) + { + pre (o); + name (o); + deployRequirement (o); + internalEndpoint (o); + externalEndpoint (o); + externalReference (o); + post (o); + } -// ResourceUsageKind -// -// + void AssemblyConnectionDescription:: + pre (Type&) + { + } -ResourceUsageKind:: -ResourceUsageKind (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + void AssemblyConnectionDescription:: + pre (Type const&) + { + } -ResourceUsageKind:: -ResourceUsageKind () -{ -} + void AssemblyConnectionDescription:: + name (Type& o) + { + dispatch (o.name ()); + } -void ResourceUsageKind:: -traverse (Type const& o) -{ -::std::basic_string< ACE_TCHAR > s; - -if (o == ::CIAO::Config_Handlers::ResourceUsageKind::None) s = "None"; -else if (o == ::CIAO::Config_Handlers::ResourceUsageKind::InstanceUsesResource) s = "InstanceUsesResource"; -else if (o == ::CIAO::Config_Handlers::ResourceUsageKind::ResourceUsesInstance) s = "ResourceUsesInstance"; -else if (o == ::CIAO::Config_Handlers::ResourceUsageKind::PortUsesResource) s = "PortUsesResource"; -else if (o == ::CIAO::Config_Handlers::ResourceUsageKind::ResourceUsesPort) s = "ResourceUsesPort"; -else -{ -} + void AssemblyConnectionDescription:: + name (Type const& o) + { + dispatch (o.name ()); + } -if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) -{ -a->value (s); -} + void AssemblyConnectionDescription:: + deployRequirement (Type& o) + { + // VC6 anathema strikes again + // + AssemblyConnectionDescription::Type::deployRequirement_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); -else -{ -top_().value (s); -} -} + if (b != e) + { + deployRequirement_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) deployRequirement_next (o); + } + + deployRequirement_post (o); + } -// InstanceResourceDeploymentDescription -// -// + else deployRequirement_none (o); + } -InstanceResourceDeploymentDescription:: -InstanceResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + void AssemblyConnectionDescription:: + deployRequirement (Type const& o) + { + // VC6 anathema strikes again + // + AssemblyConnectionDescription::Type::deployRequirement_const_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); -InstanceResourceDeploymentDescription:: -InstanceResourceDeploymentDescription () -{ -} + if (b != e) + { + deployRequirement_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) deployRequirement_next (o); + } + + deployRequirement_post (o); + } -void InstanceResourceDeploymentDescription:: -traverse (Type const& o) -{ -Traversal::InstanceResourceDeploymentDescription::traverse (o); -} + else deployRequirement_none (o); + } -void InstanceResourceDeploymentDescription:: -resourceUsage (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceUsage", top_ ())); -Traversal::InstanceResourceDeploymentDescription::resourceUsage (o); -pop_ (); -} + void AssemblyConnectionDescription:: + deployRequirement_pre (Type&) + { + } -void InstanceResourceDeploymentDescription:: -requirementName (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requirementName", top_ ())); -Traversal::InstanceResourceDeploymentDescription::requirementName (o); -pop_ (); -} + void AssemblyConnectionDescription:: + deployRequirement_pre (Type const&) + { + } -void InstanceResourceDeploymentDescription:: -resourceName (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceName", top_ ())); -Traversal::InstanceResourceDeploymentDescription::resourceName (o); -pop_ (); -} + void AssemblyConnectionDescription:: + deployRequirement_next (Type&) + { + } -void InstanceResourceDeploymentDescription:: -property_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); -} + void AssemblyConnectionDescription:: + deployRequirement_next (Type const&) + { + } -void InstanceResourceDeploymentDescription:: -property_next (Type const& o) -{ -property_post (o); -property_pre (o); -} + void AssemblyConnectionDescription:: + deployRequirement_post (Type&) + { + } -void InstanceResourceDeploymentDescription:: -property_post (Type const&) -{ -pop_ (); -} + void AssemblyConnectionDescription:: + deployRequirement_post (Type const&) + { + } -// InstanceDeploymentDescription -// -// + void AssemblyConnectionDescription:: + deployRequirement_none (Type&) + { + } -InstanceDeploymentDescription:: -InstanceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + void AssemblyConnectionDescription:: + deployRequirement_none (Type const&) + { + } -InstanceDeploymentDescription:: -InstanceDeploymentDescription () -{ -} + void AssemblyConnectionDescription:: + internalEndpoint (Type& o) + { + // VC6 anathema strikes again + // + AssemblyConnectionDescription::Type::internalEndpoint_iterator b (o.begin_internalEndpoint()), e (o.end_internalEndpoint()); -void InstanceDeploymentDescription:: -traverse (Type const& o) -{ -Traversal::InstanceDeploymentDescription::traverse (o); -} + if (b != e) + { + internalEndpoint_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) internalEndpoint_next (o); + } + + internalEndpoint_post (o); + } -void InstanceDeploymentDescription:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::InstanceDeploymentDescription::name (o); -pop_ (); -} + else internalEndpoint_none (o); + } -void InstanceDeploymentDescription:: -node (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("node", top_ ())); -Traversal::InstanceDeploymentDescription::node (o); -pop_ (); -} + void AssemblyConnectionDescription:: + internalEndpoint (Type const& o) + { + // VC6 anathema strikes again + // + AssemblyConnectionDescription::Type::internalEndpoint_const_iterator b (o.begin_internalEndpoint()), e (o.end_internalEndpoint()); -void InstanceDeploymentDescription:: -source (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("source", top_ ())); -Traversal::InstanceDeploymentDescription::source (o); -pop_ (); + if (b != e) + { + internalEndpoint_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) internalEndpoint_next (o); + } + + internalEndpoint_post (o); + } + + else internalEndpoint_none (o); + } + + void AssemblyConnectionDescription:: + internalEndpoint_pre (Type&) + { + } + + void AssemblyConnectionDescription:: + internalEndpoint_pre (Type const&) + { + } + + void AssemblyConnectionDescription:: + internalEndpoint_next (Type&) + { + } + + void AssemblyConnectionDescription:: + internalEndpoint_next (Type const&) + { + } + + void AssemblyConnectionDescription:: + internalEndpoint_post (Type&) + { + } + + void AssemblyConnectionDescription:: + internalEndpoint_post (Type const&) + { + } + + void AssemblyConnectionDescription:: + internalEndpoint_none (Type&) + { + } + + void AssemblyConnectionDescription:: + internalEndpoint_none (Type const&) + { + } + + void AssemblyConnectionDescription:: + externalEndpoint (Type& o) + { + // VC6 anathema strikes again + // + AssemblyConnectionDescription::Type::externalEndpoint_iterator b (o.begin_externalEndpoint()), e (o.end_externalEndpoint()); + + if (b != e) + { + externalEndpoint_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) externalEndpoint_next (o); + } + + externalEndpoint_post (o); + } + + else externalEndpoint_none (o); + } + + void AssemblyConnectionDescription:: + externalEndpoint (Type const& o) + { + // VC6 anathema strikes again + // + AssemblyConnectionDescription::Type::externalEndpoint_const_iterator b (o.begin_externalEndpoint()), e (o.end_externalEndpoint()); + + if (b != e) + { + externalEndpoint_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) externalEndpoint_next (o); + } + + externalEndpoint_post (o); + } + + else externalEndpoint_none (o); + } + + void AssemblyConnectionDescription:: + externalEndpoint_pre (Type&) + { + } + + void AssemblyConnectionDescription:: + externalEndpoint_pre (Type const&) + { + } + + void AssemblyConnectionDescription:: + externalEndpoint_next (Type&) + { + } + + void AssemblyConnectionDescription:: + externalEndpoint_next (Type const&) + { + } + + void AssemblyConnectionDescription:: + externalEndpoint_post (Type&) + { + } + + void AssemblyConnectionDescription:: + externalEndpoint_post (Type const&) + { + } + + void AssemblyConnectionDescription:: + externalEndpoint_none (Type&) + { + } + + void AssemblyConnectionDescription:: + externalEndpoint_none (Type const&) + { + } + + void AssemblyConnectionDescription:: + externalReference (Type& o) + { + // VC6 anathema strikes again + // + AssemblyConnectionDescription::Type::externalReference_iterator b (o.begin_externalReference()), e (o.end_externalReference()); + + if (b != e) + { + externalReference_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) externalReference_next (o); + } + + externalReference_post (o); + } + + else externalReference_none (o); + } + + void AssemblyConnectionDescription:: + externalReference (Type const& o) + { + // VC6 anathema strikes again + // + AssemblyConnectionDescription::Type::externalReference_const_iterator b (o.begin_externalReference()), e (o.end_externalReference()); + + if (b != e) + { + externalReference_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) externalReference_next (o); + } + + externalReference_post (o); + } + + else externalReference_none (o); + } + + void AssemblyConnectionDescription:: + externalReference_pre (Type&) + { + } + + void AssemblyConnectionDescription:: + externalReference_pre (Type const&) + { + } + + void AssemblyConnectionDescription:: + externalReference_next (Type&) + { + } + + void AssemblyConnectionDescription:: + externalReference_next (Type const&) + { + } + + void AssemblyConnectionDescription:: + externalReference_post (Type&) + { + } + + void AssemblyConnectionDescription:: + externalReference_post (Type const&) + { + } + + void AssemblyConnectionDescription:: + externalReference_none (Type&) + { + } + + void AssemblyConnectionDescription:: + externalReference_none (Type const&) + { + } + + void AssemblyConnectionDescription:: + post (Type&) + { + } + + void AssemblyConnectionDescription:: + post (Type const&) + { + } + } + } } -void InstanceDeploymentDescription:: -implementation (Type const& o) +namespace CIAO { -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("implementation", top_ ())); -Traversal::InstanceDeploymentDescription::implementation (o); -pop_ (); -} + namespace Config_Handlers + { + namespace Writer + { + // TCKind + // + // + + TCKind:: + TCKind (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + TCKind:: + TCKind () + { + } + + void TCKind:: + traverse (Type const& o) + { + ::std::basic_string< ACE_TCHAR > s; + + if (o == ::CIAO::Config_Handlers::TCKind::tk_null) s = "tk_null"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_void) s = "tk_void"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_short) s = "tk_short"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_long) s = "tk_long"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_ushort) s = "tk_ushort"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_ulong) s = "tk_ulong"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_float) s = "tk_float"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_double) s = "tk_double"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_boolean) s = "tk_boolean"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_char) s = "tk_char"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_octet) s = "tk_octet"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_any) s = "tk_any"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_TypeCode) s = "tk_TypeCode"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_Principal) s = "tk_Principal"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_objref) s = "tk_objref"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_struct) s = "tk_struct"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_union) s = "tk_union"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_enum) s = "tk_enum"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_string) s = "tk_string"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_sequence) s = "tk_sequence"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_array) s = "tk_array"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_alias) s = "tk_alias"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_except) s = "tk_except"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_longlong) s = "tk_longlong"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_ulonglong) s = "tk_ulonglong"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_longdouble) s = "tk_longdouble"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_wchar) s = "tk_wchar"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_wstring) s = "tk_wstring"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_wfixed) s = "tk_wfixed"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_value) s = "tk_value"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_value_box) s = "tk_value_box"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_native) s = "tk_native"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_abstract_interface) s = "tk_abstract_interface"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_local_interface) s = "tk_local_interface"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_component) s = "tk_component"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_home) s = "tk_home"; + else if (o == ::CIAO::Config_Handlers::TCKind::tk_event) s = "tk_event"; + else + { + } + + if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) + { + a->value (s); + } + + else + { + top_().value (s); + } + } + + // DataType + // + // + + DataType:: + DataType (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + DataType:: + DataType () + { + } + + void DataType:: + traverse (Type const& o) + { + Traversal::DataType::traverse (o); + } + + void DataType:: + kind (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("kind", top_ ())); + Traversal::DataType::kind (o); + pop_ (); + } + + void DataType:: + enum_ (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("enum", top_ ())); + Traversal::DataType::enum_ (o); + pop_ (); + } + + void DataType:: + struct_ (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("struct", top_ ())); + Traversal::DataType::struct_ (o); + pop_ (); + } + + void DataType:: + value (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("value", top_ ())); + Traversal::DataType::value (o); + pop_ (); + } + + void DataType:: + sequence (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("sequence", top_ ())); + Traversal::DataType::sequence (o); + pop_ (); + } + + void DataType:: + id (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ()); + attr_ (&a); + Traversal::DataType::id (o); + attr_ (0); + } + + // DataValue + // + // + + DataValue:: + DataValue (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + DataValue:: + DataValue () + { + } + + void DataValue:: + traverse (Type const& o) + { + Traversal::DataValue::traverse (o); + } + + void DataValue:: + short_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("short", top_ ())); + } + + void DataValue:: + short_next (Type const& o) + { + short_post (o); + short_pre (o); + } + + void DataValue:: + short_post (Type const&) + { + pop_ (); + } + + void DataValue:: + long_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("long", top_ ())); + } + + void DataValue:: + long_next (Type const& o) + { + long_post (o); + long_pre (o); + } + + void DataValue:: + long_post (Type const&) + { + pop_ (); + } + + void DataValue:: + ushort_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("ushort", top_ ())); + } + + void DataValue:: + ushort_next (Type const& o) + { + ushort_post (o); + ushort_pre (o); + } + + void DataValue:: + ushort_post (Type const&) + { + pop_ (); + } + + void DataValue:: + ulong_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("ulong", top_ ())); + } + + void DataValue:: + ulong_next (Type const& o) + { + ulong_post (o); + ulong_pre (o); + } + + void DataValue:: + ulong_post (Type const&) + { + pop_ (); + } + + void DataValue:: + float_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("float", top_ ())); + } + + void DataValue:: + float_next (Type const& o) + { + float_post (o); + float_pre (o); + } + + void DataValue:: + float_post (Type const&) + { + pop_ (); + } + + void DataValue:: + double_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("double", top_ ())); + } + + void DataValue:: + double_next (Type const& o) + { + double_post (o); + double_pre (o); + } + + void DataValue:: + double_post (Type const&) + { + pop_ (); + } + + void DataValue:: + boolean_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("boolean", top_ ())); + } + + void DataValue:: + boolean_next (Type const& o) + { + boolean_post (o); + boolean_pre (o); + } + + void DataValue:: + boolean_post (Type const&) + { + pop_ (); + } + + void DataValue:: + octet_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("octet", top_ ())); + } + + void DataValue:: + octet_next (Type const& o) + { + octet_post (o); + octet_pre (o); + } + + void DataValue:: + octet_post (Type const&) + { + pop_ (); + } + + void DataValue:: + enum_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("enum", top_ ())); + } + + void DataValue:: + enum_next (Type const& o) + { + enum_post (o); + enum_pre (o); + } + + void DataValue:: + enum_post (Type const&) + { + pop_ (); + } + + void DataValue:: + string_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("string", top_ ())); + } + + void DataValue:: + string_next (Type const& o) + { + string_post (o); + string_pre (o); + } + + void DataValue:: + string_post (Type const&) + { + pop_ (); + } + + void DataValue:: + longlong_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("longlong", top_ ())); + } + + void DataValue:: + longlong_next (Type const& o) + { + longlong_post (o); + longlong_pre (o); + } + + void DataValue:: + longlong_post (Type const&) + { + pop_ (); + } + + void DataValue:: + ulonglong_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("ulonglong", top_ ())); + } + + void DataValue:: + ulonglong_next (Type const& o) + { + ulonglong_post (o); + ulonglong_pre (o); + } + + void DataValue:: + ulonglong_post (Type const&) + { + pop_ (); + } + + void DataValue:: + longdouble_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("longdouble", top_ ())); + } + + void DataValue:: + longdouble_next (Type const& o) + { + longdouble_post (o); + longdouble_pre (o); + } + + void DataValue:: + longdouble_post (Type const&) + { + pop_ (); + } + + void DataValue:: + member_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("member", top_ ())); + } + + void DataValue:: + member_next (Type const& o) + { + member_post (o); + member_pre (o); + } + + void DataValue:: + member_post (Type const&) + { + pop_ (); + } + + // EnumType + // + // + + EnumType:: + EnumType (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + EnumType:: + EnumType () + { + } + + void EnumType:: + traverse (Type const& o) + { + Traversal::EnumType::traverse (o); + } + + void EnumType:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::EnumType::name (o); + pop_ (); + } + + void EnumType:: + typeId (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("typeId", top_ ())); + Traversal::EnumType::typeId (o); + pop_ (); + } + + void EnumType:: + member_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("member", top_ ())); + } + + void EnumType:: + member_next (Type const& o) + { + member_post (o); + member_pre (o); + } + + void EnumType:: + member_post (Type const&) + { + pop_ (); + } + + // StructType + // + // + + StructType:: + StructType (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + StructType:: + StructType () + { + } + + void StructType:: + traverse (Type const& o) + { + Traversal::StructType::traverse (o); + } + + void StructType:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::StructType::name (o); + pop_ (); + } + + void StructType:: + typeId (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("typeId", top_ ())); + Traversal::StructType::typeId (o); + pop_ (); + } + + void StructType:: + member_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("member", top_ ())); + } + + void StructType:: + member_next (Type const& o) + { + member_post (o); + member_pre (o); + } + + void StructType:: + member_post (Type const&) + { + pop_ (); + } + + // StructMemberType + // + // + + StructMemberType:: + StructMemberType (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + StructMemberType:: + StructMemberType () + { + } + + void StructMemberType:: + traverse (Type const& o) + { + Traversal::StructMemberType::traverse (o); + } + + void StructMemberType:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::StructMemberType::name (o); + pop_ (); + } + + void StructMemberType:: + type (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("type", top_ ())); + Traversal::StructMemberType::type (o); + pop_ (); + } + + // ValueType + // + // + + ValueType:: + ValueType (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + ValueType:: + ValueType () + { + } + + void ValueType:: + traverse (Type const& o) + { + Traversal::ValueType::traverse (o); + } + + void ValueType:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::ValueType::name (o); + pop_ (); + } + + void ValueType:: + typeId (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("typeId", top_ ())); + Traversal::ValueType::typeId (o); + pop_ (); + } + + void ValueType:: + modifier (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("modifier", top_ ())); + Traversal::ValueType::modifier (o); + pop_ (); + } + + void ValueType:: + baseType (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("baseType", top_ ())); + Traversal::ValueType::baseType (o); + pop_ (); + } + + void ValueType:: + member_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("member", top_ ())); + } + + void ValueType:: + member_next (Type const& o) + { + member_post (o); + member_pre (o); + } + + void ValueType:: + member_post (Type const&) + { + pop_ (); + } + + // ValueMemberType + // + // + + ValueMemberType:: + ValueMemberType (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + ValueMemberType:: + ValueMemberType () + { + } + + void ValueMemberType:: + traverse (Type const& o) + { + Traversal::ValueMemberType::traverse (o); + } + + void ValueMemberType:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::ValueMemberType::name (o); + pop_ (); + } + + void ValueMemberType:: + visibility (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("visibility", top_ ())); + Traversal::ValueMemberType::visibility (o); + pop_ (); + } + + void ValueMemberType:: + type (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("type", top_ ())); + Traversal::ValueMemberType::type (o); + pop_ (); + } + + // NamedValue + // + // + + NamedValue:: + NamedValue (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + NamedValue:: + NamedValue () + { + } + + void NamedValue:: + traverse (Type const& o) + { + Traversal::NamedValue::traverse (o); + } + + void NamedValue:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::NamedValue::name (o); + pop_ (); + } + + void NamedValue:: + value (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("value", top_ ())); + Traversal::NamedValue::value (o); + pop_ (); + } + + // SequenceType + // + // + + SequenceType:: + SequenceType (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + SequenceType:: + SequenceType () + { + } + + void SequenceType:: + traverse (Type const& o) + { + Traversal::SequenceType::traverse (o); + } + + void SequenceType:: + bound (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("bound", top_ ())); + Traversal::SequenceType::bound (o); + pop_ (); + } + + void SequenceType:: + elementType (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("elementType", top_ ())); + Traversal::SequenceType::elementType (o); + pop_ (); + } + + // Any + // + // + + Any:: + Any (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + Any:: + Any () + { + } + + void Any:: + traverse (Type const& o) + { + Traversal::Any::traverse (o); + } + + void Any:: + type (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("type", top_ ())); + Traversal::Any::type (o); + pop_ (); + } + + void Any:: + value (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("value", top_ ())); + Traversal::Any::value (o); + pop_ (); + } + + // Property + // + // + + Property:: + Property (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + Property:: + Property () + { + } + + void Property:: + traverse (Type const& o) + { + Traversal::Property::traverse (o); + } + + void Property:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::Property::name (o); + pop_ (); + } + + void Property:: + value (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("value", top_ ())); + Traversal::Property::value (o); + pop_ (); + } + + // SatisfierPropertyKind + // + // + + SatisfierPropertyKind:: + SatisfierPropertyKind (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + SatisfierPropertyKind:: + SatisfierPropertyKind () + { + } + + void SatisfierPropertyKind:: + traverse (Type const& o) + { + ::std::basic_string< ACE_TCHAR > s; + + if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Quantity) s = "Quantity"; + else if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Capacity) s = "Capacity"; + else if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Minimum) s = "Minimum"; + else if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Maximum) s = "Maximum"; + else if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Attribute) s = "Attribute"; + else if (o == ::CIAO::Config_Handlers::SatisfierPropertyKind::Selection) s = "Selection"; + else + { + } + + if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) + { + a->value (s); + } + + else + { + top_().value (s); + } + } + + // SatisfierProperty + // + // + + SatisfierProperty:: + SatisfierProperty (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + SatisfierProperty:: + SatisfierProperty () + { + } + + void SatisfierProperty:: + traverse (Type const& o) + { + Traversal::SatisfierProperty::traverse (o); + } + + void SatisfierProperty:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::SatisfierProperty::name (o); + pop_ (); + } + + void SatisfierProperty:: + kind (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("kind", top_ ())); + Traversal::SatisfierProperty::kind (o); + pop_ (); + } + + void SatisfierProperty:: + dynamic (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("dynamic", top_ ())); + Traversal::SatisfierProperty::dynamic (o); + pop_ (); + } + + void SatisfierProperty:: + value (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("value", top_ ())); + Traversal::SatisfierProperty::value (o); + pop_ (); + } + + // Resource + // + // + + Resource:: + Resource (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + Resource:: + Resource () + { + } + + void Resource:: + traverse (Type const& o) + { + Traversal::Resource::traverse (o); + } + + void Resource:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::Resource::name (o); + pop_ (); + } + + void Resource:: + resourceType_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceType", top_ ())); + } + + void Resource:: + resourceType_next (Type const& o) + { + resourceType_post (o); + resourceType_pre (o); + } + + void Resource:: + resourceType_post (Type const&) + { + pop_ (); + } + + void Resource:: + property_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); + } + + void Resource:: + property_next (Type const& o) + { + property_post (o); + property_pre (o); + } + + void Resource:: + property_post (Type const&) + { + pop_ (); + } + + // Requirement + // + // + + Requirement:: + Requirement (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + Requirement:: + Requirement () + { + } + + void Requirement:: + traverse (Type const& o) + { + Traversal::Requirement::traverse (o); + } + + void Requirement:: + resourceType (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceType", top_ ())); + Traversal::Requirement::resourceType (o); + pop_ (); + } + + void Requirement:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::Requirement::name (o); + pop_ (); + } + + void Requirement:: + property_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); + } + + void Requirement:: + property_next (Type const& o) + { + property_post (o); + property_pre (o); + } + + void Requirement:: + property_post (Type const&) + { + pop_ (); + } + + // ResourceDeploymentDescription + // + // + + ResourceDeploymentDescription:: + ResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + ResourceDeploymentDescription:: + ResourceDeploymentDescription () + { + } + + void ResourceDeploymentDescription:: + traverse (Type const& o) + { + Traversal::ResourceDeploymentDescription::traverse (o); + } + + void ResourceDeploymentDescription:: + requirementName (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requirementName", top_ ())); + Traversal::ResourceDeploymentDescription::requirementName (o); + pop_ (); + } + + void ResourceDeploymentDescription:: + resourceName (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceName", top_ ())); + Traversal::ResourceDeploymentDescription::resourceName (o); + pop_ (); + } + + void ResourceDeploymentDescription:: + property_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); + } + + void ResourceDeploymentDescription:: + property_next (Type const& o) + { + property_post (o); + property_pre (o); + } + + void ResourceDeploymentDescription:: + property_post (Type const&) + { + pop_ (); + } + + // ArtifactDeploymentDescription + // + // + + ArtifactDeploymentDescription:: + ArtifactDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + ArtifactDeploymentDescription:: + ArtifactDeploymentDescription () + { + } + + void ArtifactDeploymentDescription:: + traverse (Type const& o) + { + Traversal::ArtifactDeploymentDescription::traverse (o); + } + + void ArtifactDeploymentDescription:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::ArtifactDeploymentDescription::name (o); + pop_ (); + } + + void ArtifactDeploymentDescription:: + source_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("source", top_ ())); + } + + void ArtifactDeploymentDescription:: + source_next (Type const& o) + { + source_post (o); + source_pre (o); + } + + void ArtifactDeploymentDescription:: + source_post (Type const&) + { + pop_ (); + } + + void ArtifactDeploymentDescription:: + node (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("node", top_ ())); + Traversal::ArtifactDeploymentDescription::node (o); + pop_ (); + } + + void ArtifactDeploymentDescription:: + location_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("location", top_ ())); + } + + void ArtifactDeploymentDescription:: + location_next (Type const& o) + { + location_post (o); + location_pre (o); + } + + void ArtifactDeploymentDescription:: + location_post (Type const&) + { + pop_ (); + } + + void ArtifactDeploymentDescription:: + execParameter_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("execParameter", top_ ())); + } + + void ArtifactDeploymentDescription:: + execParameter_next (Type const& o) + { + execParameter_post (o); + execParameter_pre (o); + } + + void ArtifactDeploymentDescription:: + execParameter_post (Type const&) + { + pop_ (); + } + + void ArtifactDeploymentDescription:: + deployRequirement_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); + } + + void ArtifactDeploymentDescription:: + deployRequirement_next (Type const& o) + { + deployRequirement_post (o); + deployRequirement_pre (o); + } + + void ArtifactDeploymentDescription:: + deployRequirement_post (Type const&) + { + pop_ (); + } + + void ArtifactDeploymentDescription:: + deployedResource_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployedResource", top_ ())); + } + + void ArtifactDeploymentDescription:: + deployedResource_next (Type const& o) + { + deployedResource_post (o); + deployedResource_pre (o); + } + + void ArtifactDeploymentDescription:: + deployedResource_post (Type const&) + { + pop_ (); + } + + void ArtifactDeploymentDescription:: + id (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ()); + attr_ (&a); + Traversal::ArtifactDeploymentDescription::id (o); + attr_ (0); + } + + // MonolithicDeploymentDescription + // + // + + MonolithicDeploymentDescription:: + MonolithicDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + MonolithicDeploymentDescription:: + MonolithicDeploymentDescription () + { + } + + void MonolithicDeploymentDescription:: + traverse (Type const& o) + { + Traversal::MonolithicDeploymentDescription::traverse (o); + } + + void MonolithicDeploymentDescription:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::MonolithicDeploymentDescription::name (o); + pop_ (); + } + + void MonolithicDeploymentDescription:: + source_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("source", top_ ())); + } + + void MonolithicDeploymentDescription:: + source_next (Type const& o) + { + source_post (o); + source_pre (o); + } + + void MonolithicDeploymentDescription:: + source_post (Type const&) + { + pop_ (); + } + + void MonolithicDeploymentDescription:: + artifact_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("artifact", top_ ())); + } + + void MonolithicDeploymentDescription:: + artifact_next (Type const& o) + { + artifact_post (o); + artifact_pre (o); + } + + void MonolithicDeploymentDescription:: + artifact_post (Type const&) + { + pop_ (); + } + + void MonolithicDeploymentDescription:: + execParameter_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("execParameter", top_ ())); + } + + void MonolithicDeploymentDescription:: + execParameter_next (Type const& o) + { + execParameter_post (o); + execParameter_pre (o); + } + + void MonolithicDeploymentDescription:: + execParameter_post (Type const&) + { + pop_ (); + } + + void MonolithicDeploymentDescription:: + deployRequirement_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); + } + + void MonolithicDeploymentDescription:: + deployRequirement_next (Type const& o) + { + deployRequirement_post (o); + deployRequirement_pre (o); + } + + void MonolithicDeploymentDescription:: + deployRequirement_post (Type const&) + { + pop_ (); + } + + void MonolithicDeploymentDescription:: + id (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ()); + attr_ (&a); + Traversal::MonolithicDeploymentDescription::id (o); + attr_ (0); + } + + // ResourceUsageKind + // + // + + ResourceUsageKind:: + ResourceUsageKind (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + ResourceUsageKind:: + ResourceUsageKind () + { + } + + void ResourceUsageKind:: + traverse (Type const& o) + { + ::std::basic_string< ACE_TCHAR > s; + + if (o == ::CIAO::Config_Handlers::ResourceUsageKind::None) s = "None"; + else if (o == ::CIAO::Config_Handlers::ResourceUsageKind::InstanceUsesResource) s = "InstanceUsesResource"; + else if (o == ::CIAO::Config_Handlers::ResourceUsageKind::ResourceUsesInstance) s = "ResourceUsesInstance"; + else if (o == ::CIAO::Config_Handlers::ResourceUsageKind::PortUsesResource) s = "PortUsesResource"; + else if (o == ::CIAO::Config_Handlers::ResourceUsageKind::ResourceUsesPort) s = "ResourceUsesPort"; + else + { + } + + if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) + { + a->value (s); + } + + else + { + top_().value (s); + } + } + + // InstanceResourceDeploymentDescription + // + // + + InstanceResourceDeploymentDescription:: + InstanceResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + InstanceResourceDeploymentDescription:: + InstanceResourceDeploymentDescription () + { + } + + void InstanceResourceDeploymentDescription:: + traverse (Type const& o) + { + Traversal::InstanceResourceDeploymentDescription::traverse (o); + } + + void InstanceResourceDeploymentDescription:: + resourceUsage (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceUsage", top_ ())); + Traversal::InstanceResourceDeploymentDescription::resourceUsage (o); + pop_ (); + } + + void InstanceResourceDeploymentDescription:: + requirementName (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requirementName", top_ ())); + Traversal::InstanceResourceDeploymentDescription::requirementName (o); + pop_ (); + } + + void InstanceResourceDeploymentDescription:: + resourceName (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceName", top_ ())); + Traversal::InstanceResourceDeploymentDescription::resourceName (o); + pop_ (); + } + + void InstanceResourceDeploymentDescription:: + property_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); + } + + void InstanceResourceDeploymentDescription:: + property_next (Type const& o) + { + property_post (o); + property_pre (o); + } + + void InstanceResourceDeploymentDescription:: + property_post (Type const&) + { + pop_ (); + } + + // InstanceDeploymentDescription + // + // + + InstanceDeploymentDescription:: + InstanceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + InstanceDeploymentDescription:: + InstanceDeploymentDescription () + { + } + + void InstanceDeploymentDescription:: + traverse (Type const& o) + { + Traversal::InstanceDeploymentDescription::traverse (o); + } + + void InstanceDeploymentDescription:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::InstanceDeploymentDescription::name (o); + pop_ (); + } + + void InstanceDeploymentDescription:: + node (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("node", top_ ())); + Traversal::InstanceDeploymentDescription::node (o); + pop_ (); + } + + void InstanceDeploymentDescription:: + source (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("source", top_ ())); + Traversal::InstanceDeploymentDescription::source (o); + pop_ (); + } + + void InstanceDeploymentDescription:: + implementation (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("implementation", top_ ())); + Traversal::InstanceDeploymentDescription::implementation (o); + pop_ (); + } -void InstanceDeploymentDescription:: -configProperty_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("configProperty", top_ ())); -} + void InstanceDeploymentDescription:: + configProperty_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("configProperty", top_ ())); + } -void InstanceDeploymentDescription:: -configProperty_next (Type const& o) -{ -configProperty_post (o); -configProperty_pre (o); -} + void InstanceDeploymentDescription:: + configProperty_next (Type const& o) + { + configProperty_post (o); + configProperty_pre (o); + } -void InstanceDeploymentDescription:: -configProperty_post (Type const&) -{ -pop_ (); -} + void InstanceDeploymentDescription:: + configProperty_post (Type const&) + { + pop_ (); + } -void InstanceDeploymentDescription:: -deployedResource (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployedResource", top_ ())); -Traversal::InstanceDeploymentDescription::deployedResource (o); -pop_ (); -} + void InstanceDeploymentDescription:: + deployedResource (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployedResource", top_ ())); + Traversal::InstanceDeploymentDescription::deployedResource (o); + pop_ (); + } -void InstanceDeploymentDescription:: -deployedSharedResource (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployedSharedResource", top_ ())); -Traversal::InstanceDeploymentDescription::deployedSharedResource (o); -pop_ (); -} + void InstanceDeploymentDescription:: + deployedSharedResource (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployedSharedResource", top_ ())); + Traversal::InstanceDeploymentDescription::deployedSharedResource (o); + pop_ (); + } -void InstanceDeploymentDescription:: -id (Type const& o) -{ -::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ()); -attr_ (&a); -Traversal::InstanceDeploymentDescription::id (o); -attr_ (0); -} + void InstanceDeploymentDescription:: + id (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ()); + attr_ (&a); + Traversal::InstanceDeploymentDescription::id (o); + attr_ (0); + } -// CCMComponentPortKind -// -// + // CCMComponentPortKind + // + // -CCMComponentPortKind:: -CCMComponentPortKind (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + CCMComponentPortKind:: + CCMComponentPortKind (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -CCMComponentPortKind:: -CCMComponentPortKind () -{ -} + CCMComponentPortKind:: + CCMComponentPortKind () + { + } -void CCMComponentPortKind:: -traverse (Type const& o) -{ -::std::basic_string< ACE_TCHAR > s; - -if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::Facet) s = "Facet"; -else if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::SimplexReceptacle) s = "SimplexReceptacle"; -else if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::MultiplexReceptacle) s = "MultiplexReceptacle"; -else if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::EventEmitter) s = "EventEmitter"; -else if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::EventPublisher) s = "EventPublisher"; -else if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::EventConsumer) s = "EventConsumer"; -else -{ -} + void CCMComponentPortKind:: + traverse (Type const& o) + { + ::std::basic_string< ACE_TCHAR > s; + + if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::Facet) s = "Facet"; + else if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::SimplexReceptacle) s = "SimplexReceptacle"; + else if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::MultiplexReceptacle) s = "MultiplexReceptacle"; + else if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::EventEmitter) s = "EventEmitter"; + else if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::EventPublisher) s = "EventPublisher"; + else if (o == ::CIAO::Config_Handlers::CCMComponentPortKind::EventConsumer) s = "EventConsumer"; + else + { + } -if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) -{ -a->value (s); -} + if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) + { + a->value (s); + } -else -{ -top_().value (s); -} -} + else + { + top_().value (s); + } + } -// ComponentPortDescription -// -// + // ComponentPortDescription + // + // -ComponentPortDescription:: -ComponentPortDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + ComponentPortDescription:: + ComponentPortDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -ComponentPortDescription:: -ComponentPortDescription () -{ -} + ComponentPortDescription:: + ComponentPortDescription () + { + } -void ComponentPortDescription:: -traverse (Type const& o) -{ -Traversal::ComponentPortDescription::traverse (o); -} + void ComponentPortDescription:: + traverse (Type const& o) + { + Traversal::ComponentPortDescription::traverse (o); + } -void ComponentPortDescription:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::ComponentPortDescription::name (o); -pop_ (); -} + void ComponentPortDescription:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::ComponentPortDescription::name (o); + pop_ (); + } -void ComponentPortDescription:: -specificType (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("specificType", top_ ())); -Traversal::ComponentPortDescription::specificType (o); -pop_ (); -} + void ComponentPortDescription:: + specificType (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("specificType", top_ ())); + Traversal::ComponentPortDescription::specificType (o); + pop_ (); + } -void ComponentPortDescription:: -supportedType_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("supportedType", top_ ())); -} + void ComponentPortDescription:: + supportedType_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("supportedType", top_ ())); + } -void ComponentPortDescription:: -supportedType_next (Type const& o) -{ -supportedType_post (o); -supportedType_pre (o); -} + void ComponentPortDescription:: + supportedType_next (Type const& o) + { + supportedType_post (o); + supportedType_pre (o); + } -void ComponentPortDescription:: -supportedType_post (Type const&) -{ -pop_ (); -} + void ComponentPortDescription:: + supportedType_post (Type const&) + { + pop_ (); + } -void ComponentPortDescription:: -provider (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("provider", top_ ())); -Traversal::ComponentPortDescription::provider (o); -pop_ (); -} + void ComponentPortDescription:: + provider (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("provider", top_ ())); + Traversal::ComponentPortDescription::provider (o); + pop_ (); + } -void ComponentPortDescription:: -exclusiveProvider (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("exclusiveProvider", top_ ())); -Traversal::ComponentPortDescription::exclusiveProvider (o); -pop_ (); -} + void ComponentPortDescription:: + exclusiveProvider (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("exclusiveProvider", top_ ())); + Traversal::ComponentPortDescription::exclusiveProvider (o); + pop_ (); + } -void ComponentPortDescription:: -exclusiveUser (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("exclusiveUser", top_ ())); -Traversal::ComponentPortDescription::exclusiveUser (o); -pop_ (); -} + void ComponentPortDescription:: + exclusiveUser (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("exclusiveUser", top_ ())); + Traversal::ComponentPortDescription::exclusiveUser (o); + pop_ (); + } -void ComponentPortDescription:: -optional (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("optional", top_ ())); -Traversal::ComponentPortDescription::optional (o); -pop_ (); -} + void ComponentPortDescription:: + optional (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("optional", top_ ())); + Traversal::ComponentPortDescription::optional (o); + pop_ (); + } -void ComponentPortDescription:: -kind (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("kind", top_ ())); -Traversal::ComponentPortDescription::kind (o); -pop_ (); -} + void ComponentPortDescription:: + kind (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("kind", top_ ())); + Traversal::ComponentPortDescription::kind (o); + pop_ (); + } -// ComponentPropertyDescription -// -// + // ComponentPropertyDescription + // + // -ComponentPropertyDescription:: -ComponentPropertyDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + ComponentPropertyDescription:: + ComponentPropertyDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -ComponentPropertyDescription:: -ComponentPropertyDescription () -{ -} + ComponentPropertyDescription:: + ComponentPropertyDescription () + { + } -void ComponentPropertyDescription:: -traverse (Type const& o) -{ -Traversal::ComponentPropertyDescription::traverse (o); -} + void ComponentPropertyDescription:: + traverse (Type const& o) + { + Traversal::ComponentPropertyDescription::traverse (o); + } -void ComponentPropertyDescription:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::ComponentPropertyDescription::name (o); -pop_ (); -} + void ComponentPropertyDescription:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::ComponentPropertyDescription::name (o); + pop_ (); + } -void ComponentPropertyDescription:: -type (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("type", top_ ())); -Traversal::ComponentPropertyDescription::type (o); -pop_ (); -} + void ComponentPropertyDescription:: + type (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("type", top_ ())); + Traversal::ComponentPropertyDescription::type (o); + pop_ (); + } -// ComponentExternalPortEndpoint -// -// + // ComponentExternalPortEndpoint + // + // -ComponentExternalPortEndpoint:: -ComponentExternalPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + ComponentExternalPortEndpoint:: + ComponentExternalPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -ComponentExternalPortEndpoint:: -ComponentExternalPortEndpoint () -{ -} + ComponentExternalPortEndpoint:: + ComponentExternalPortEndpoint () + { + } -void ComponentExternalPortEndpoint:: -traverse (Type const& o) -{ -Traversal::ComponentExternalPortEndpoint::traverse (o); -} + void ComponentExternalPortEndpoint:: + traverse (Type const& o) + { + Traversal::ComponentExternalPortEndpoint::traverse (o); + } -void ComponentExternalPortEndpoint:: -portName (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("portName", top_ ())); -Traversal::ComponentExternalPortEndpoint::portName (o); -pop_ (); -} + void ComponentExternalPortEndpoint:: + portName (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("portName", top_ ())); + Traversal::ComponentExternalPortEndpoint::portName (o); + pop_ (); + } -// PlanSubcomponentPortEndpoint -// -// + // PlanSubcomponentPortEndpoint + // + // -PlanSubcomponentPortEndpoint:: -PlanSubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + PlanSubcomponentPortEndpoint:: + PlanSubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -PlanSubcomponentPortEndpoint:: -PlanSubcomponentPortEndpoint () -{ -} + PlanSubcomponentPortEndpoint:: + PlanSubcomponentPortEndpoint () + { + } -void PlanSubcomponentPortEndpoint:: -traverse (Type const& o) -{ -Traversal::PlanSubcomponentPortEndpoint::traverse (o); -} + void PlanSubcomponentPortEndpoint:: + traverse (Type const& o) + { + Traversal::PlanSubcomponentPortEndpoint::traverse (o); + } -void PlanSubcomponentPortEndpoint:: -portName (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("portName", top_ ())); -Traversal::PlanSubcomponentPortEndpoint::portName (o); -pop_ (); -} + void PlanSubcomponentPortEndpoint:: + portName (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("portName", top_ ())); + Traversal::PlanSubcomponentPortEndpoint::portName (o); + pop_ (); + } -void PlanSubcomponentPortEndpoint:: -provider (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("provider", top_ ())); -Traversal::PlanSubcomponentPortEndpoint::provider (o); -pop_ (); -} + void PlanSubcomponentPortEndpoint:: + provider (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("provider", top_ ())); + Traversal::PlanSubcomponentPortEndpoint::provider (o); + pop_ (); + } -void PlanSubcomponentPortEndpoint:: -kind (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("kind", top_ ())); -Traversal::PlanSubcomponentPortEndpoint::kind (o); -pop_ (); -} + void PlanSubcomponentPortEndpoint:: + kind (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("kind", top_ ())); + Traversal::PlanSubcomponentPortEndpoint::kind (o); + pop_ (); + } -void PlanSubcomponentPortEndpoint:: -instance (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("instance", top_ ())); -Traversal::PlanSubcomponentPortEndpoint::instance (o); -pop_ (); -} + void PlanSubcomponentPortEndpoint:: + instance (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("instance", top_ ())); + Traversal::PlanSubcomponentPortEndpoint::instance (o); + pop_ (); + } -// ExternalReferenceEndpoint -// -// + // ExternalReferenceEndpoint + // + // -ExternalReferenceEndpoint:: -ExternalReferenceEndpoint (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + ExternalReferenceEndpoint:: + ExternalReferenceEndpoint (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -ExternalReferenceEndpoint:: -ExternalReferenceEndpoint () -{ -} + ExternalReferenceEndpoint:: + ExternalReferenceEndpoint () + { + } -void ExternalReferenceEndpoint:: -traverse (Type const& o) -{ -Traversal::ExternalReferenceEndpoint::traverse (o); -} + void ExternalReferenceEndpoint:: + traverse (Type const& o) + { + Traversal::ExternalReferenceEndpoint::traverse (o); + } -void ExternalReferenceEndpoint:: -location (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("location", top_ ())); -Traversal::ExternalReferenceEndpoint::location (o); -pop_ (); -} + void ExternalReferenceEndpoint:: + location (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("location", top_ ())); + Traversal::ExternalReferenceEndpoint::location (o); + pop_ (); + } -// ConnectionResourceDeploymentDescription -// -// + // ConnectionResourceDeploymentDescription + // + // -ConnectionResourceDeploymentDescription:: -ConnectionResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + ConnectionResourceDeploymentDescription:: + ConnectionResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -ConnectionResourceDeploymentDescription:: -ConnectionResourceDeploymentDescription () -{ -} + ConnectionResourceDeploymentDescription:: + ConnectionResourceDeploymentDescription () + { + } -void ConnectionResourceDeploymentDescription:: -traverse (Type const& o) -{ -Traversal::ConnectionResourceDeploymentDescription::traverse (o); -} + void ConnectionResourceDeploymentDescription:: + traverse (Type const& o) + { + Traversal::ConnectionResourceDeploymentDescription::traverse (o); + } -void ConnectionResourceDeploymentDescription:: -targetName (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("targetName", top_ ())); -Traversal::ConnectionResourceDeploymentDescription::targetName (o); -pop_ (); -} + void ConnectionResourceDeploymentDescription:: + targetName (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("targetName", top_ ())); + Traversal::ConnectionResourceDeploymentDescription::targetName (o); + pop_ (); + } -void ConnectionResourceDeploymentDescription:: -requirementName (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requirementName", top_ ())); -Traversal::ConnectionResourceDeploymentDescription::requirementName (o); -pop_ (); -} + void ConnectionResourceDeploymentDescription:: + requirementName (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requirementName", top_ ())); + Traversal::ConnectionResourceDeploymentDescription::requirementName (o); + pop_ (); + } -void ConnectionResourceDeploymentDescription:: -resourceName (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceName", top_ ())); -Traversal::ConnectionResourceDeploymentDescription::resourceName (o); -pop_ (); -} + void ConnectionResourceDeploymentDescription:: + resourceName (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceName", top_ ())); + Traversal::ConnectionResourceDeploymentDescription::resourceName (o); + pop_ (); + } -void ConnectionResourceDeploymentDescription:: -property_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); -} + void ConnectionResourceDeploymentDescription:: + property_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); + } -void ConnectionResourceDeploymentDescription:: -property_next (Type const& o) -{ -property_post (o); -property_pre (o); -} + void ConnectionResourceDeploymentDescription:: + property_next (Type const& o) + { + property_post (o); + property_pre (o); + } -void ConnectionResourceDeploymentDescription:: -property_post (Type const&) -{ -pop_ (); -} + void ConnectionResourceDeploymentDescription:: + property_post (Type const&) + { + pop_ (); + } -// PlanConnectionDescription -// -// + // PlanConnectionDescription + // + // -PlanConnectionDescription:: -PlanConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + PlanConnectionDescription:: + PlanConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -PlanConnectionDescription:: -PlanConnectionDescription () -{ -} + PlanConnectionDescription:: + PlanConnectionDescription () + { + } -void PlanConnectionDescription:: -traverse (Type const& o) -{ -Traversal::PlanConnectionDescription::traverse (o); -} + void PlanConnectionDescription:: + traverse (Type const& o) + { + Traversal::PlanConnectionDescription::traverse (o); + } -void PlanConnectionDescription:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::PlanConnectionDescription::name (o); -pop_ (); -} + void PlanConnectionDescription:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::PlanConnectionDescription::name (o); + pop_ (); + } -void PlanConnectionDescription:: -source (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("source", top_ ())); -Traversal::PlanConnectionDescription::source (o); -pop_ (); -} + void PlanConnectionDescription:: + source (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("source", top_ ())); + Traversal::PlanConnectionDescription::source (o); + pop_ (); + } -void PlanConnectionDescription:: -deployRequirement_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); -} + void PlanConnectionDescription:: + deployRequirement_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); + } -void PlanConnectionDescription:: -deployRequirement_next (Type const& o) -{ -deployRequirement_post (o); -deployRequirement_pre (o); -} + void PlanConnectionDescription:: + deployRequirement_next (Type const& o) + { + deployRequirement_post (o); + deployRequirement_pre (o); + } -void PlanConnectionDescription:: -deployRequirement_post (Type const&) -{ -pop_ (); -} + void PlanConnectionDescription:: + deployRequirement_post (Type const&) + { + pop_ (); + } -void PlanConnectionDescription:: -externalEndpoint_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalEndpoint", top_ ())); -} + void PlanConnectionDescription:: + externalEndpoint_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalEndpoint", top_ ())); + } -void PlanConnectionDescription:: -externalEndpoint_next (Type const& o) -{ -externalEndpoint_post (o); -externalEndpoint_pre (o); -} + void PlanConnectionDescription:: + externalEndpoint_next (Type const& o) + { + externalEndpoint_post (o); + externalEndpoint_pre (o); + } -void PlanConnectionDescription:: -externalEndpoint_post (Type const&) -{ -pop_ (); -} + void PlanConnectionDescription:: + externalEndpoint_post (Type const&) + { + pop_ (); + } -void PlanConnectionDescription:: -internalEndpoint_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("internalEndpoint", top_ ())); -} + void PlanConnectionDescription:: + internalEndpoint_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("internalEndpoint", top_ ())); + } -void PlanConnectionDescription:: -internalEndpoint_next (Type const& o) -{ -internalEndpoint_post (o); -internalEndpoint_pre (o); -} + void PlanConnectionDescription:: + internalEndpoint_next (Type const& o) + { + internalEndpoint_post (o); + internalEndpoint_pre (o); + } -void PlanConnectionDescription:: -internalEndpoint_post (Type const&) -{ -pop_ (); -} + void PlanConnectionDescription:: + internalEndpoint_post (Type const&) + { + pop_ (); + } -void PlanConnectionDescription:: -externalReference_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalReference", top_ ())); -} + void PlanConnectionDescription:: + externalReference_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalReference", top_ ())); + } -void PlanConnectionDescription:: -externalReference_next (Type const& o) -{ -externalReference_post (o); -externalReference_pre (o); -} + void PlanConnectionDescription:: + externalReference_next (Type const& o) + { + externalReference_post (o); + externalReference_pre (o); + } -void PlanConnectionDescription:: -externalReference_post (Type const&) -{ -pop_ (); -} + void PlanConnectionDescription:: + externalReference_post (Type const&) + { + pop_ (); + } -void PlanConnectionDescription:: -deployedResource_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployedResource", top_ ())); -} + void PlanConnectionDescription:: + deployedResource_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployedResource", top_ ())); + } -void PlanConnectionDescription:: -deployedResource_next (Type const& o) -{ -deployedResource_post (o); -deployedResource_pre (o); -} + void PlanConnectionDescription:: + deployedResource_next (Type const& o) + { + deployedResource_post (o); + deployedResource_pre (o); + } -void PlanConnectionDescription:: -deployedResource_post (Type const&) -{ -pop_ (); -} + void PlanConnectionDescription:: + deployedResource_post (Type const&) + { + pop_ (); + } -// ImplementationDependency -// -// + // ImplementationDependency + // + // -ImplementationDependency:: -ImplementationDependency (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + ImplementationDependency:: + ImplementationDependency (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -ImplementationDependency:: -ImplementationDependency () -{ -} + ImplementationDependency:: + ImplementationDependency () + { + } -void ImplementationDependency:: -traverse (Type const& o) -{ -Traversal::ImplementationDependency::traverse (o); -} + void ImplementationDependency:: + traverse (Type const& o) + { + Traversal::ImplementationDependency::traverse (o); + } -void ImplementationDependency:: -requiredType (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requiredType", top_ ())); -Traversal::ImplementationDependency::requiredType (o); -pop_ (); -} + void ImplementationDependency:: + requiredType (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requiredType", top_ ())); + Traversal::ImplementationDependency::requiredType (o); + pop_ (); + } -// Capability -// -// + // Capability + // + // -Capability:: -Capability (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + Capability:: + Capability (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -Capability:: -Capability () -{ -} + Capability:: + Capability () + { + } -void Capability:: -traverse (Type const& o) -{ -Traversal::Capability::traverse (o); -} + void Capability:: + traverse (Type const& o) + { + Traversal::Capability::traverse (o); + } -void Capability:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::Capability::name (o); -pop_ (); -} + void Capability:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::Capability::name (o); + pop_ (); + } -void Capability:: -resourceType_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceType", top_ ())); -} + void Capability:: + resourceType_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceType", top_ ())); + } -void Capability:: -resourceType_next (Type const& o) -{ -resourceType_post (o); -resourceType_pre (o); -} + void Capability:: + resourceType_next (Type const& o) + { + resourceType_post (o); + resourceType_pre (o); + } -void Capability:: -resourceType_post (Type const&) -{ -pop_ (); -} + void Capability:: + resourceType_post (Type const&) + { + pop_ (); + } -void Capability:: -property_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); -} + void Capability:: + property_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); + } -void Capability:: -property_next (Type const& o) -{ -property_post (o); -property_pre (o); -} + void Capability:: + property_next (Type const& o) + { + property_post (o); + property_pre (o); + } -void Capability:: -property_post (Type const&) -{ -pop_ (); -} + void Capability:: + property_post (Type const&) + { + pop_ (); + } -// ImplementationRequirement -// -// + // ImplementationRequirement + // + // -ImplementationRequirement:: -ImplementationRequirement (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + ImplementationRequirement:: + ImplementationRequirement (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -ImplementationRequirement:: -ImplementationRequirement () -{ -} + ImplementationRequirement:: + ImplementationRequirement () + { + } -void ImplementationRequirement:: -traverse (Type const& o) -{ -Traversal::ImplementationRequirement::traverse (o); -} + void ImplementationRequirement:: + traverse (Type const& o) + { + Traversal::ImplementationRequirement::traverse (o); + } -void ImplementationRequirement:: -resourceUsage (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceUsage", top_ ())); -Traversal::ImplementationRequirement::resourceUsage (o); -pop_ (); -} + void ImplementationRequirement:: + resourceUsage (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceUsage", top_ ())); + Traversal::ImplementationRequirement::resourceUsage (o); + pop_ (); + } -void ImplementationRequirement:: -resourcePort (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourcePort", top_ ())); -Traversal::ImplementationRequirement::resourcePort (o); -pop_ (); -} + void ImplementationRequirement:: + resourcePort (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourcePort", top_ ())); + Traversal::ImplementationRequirement::resourcePort (o); + pop_ (); + } -void ImplementationRequirement:: -componentPort (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("componentPort", top_ ())); -Traversal::ImplementationRequirement::componentPort (o); -pop_ (); -} + void ImplementationRequirement:: + componentPort (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("componentPort", top_ ())); + Traversal::ImplementationRequirement::componentPort (o); + pop_ (); + } -void ImplementationRequirement:: -resourceType (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceType", top_ ())); -Traversal::ImplementationRequirement::resourceType (o); -pop_ (); -} + void ImplementationRequirement:: + resourceType (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceType", top_ ())); + Traversal::ImplementationRequirement::resourceType (o); + pop_ (); + } -void ImplementationRequirement:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::ImplementationRequirement::name (o); -pop_ (); -} + void ImplementationRequirement:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::ImplementationRequirement::name (o); + pop_ (); + } -void ImplementationRequirement:: -property_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); -} + void ImplementationRequirement:: + property_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); + } -void ImplementationRequirement:: -property_next (Type const& o) -{ -property_post (o); -property_pre (o); -} + void ImplementationRequirement:: + property_next (Type const& o) + { + property_post (o); + property_pre (o); + } -void ImplementationRequirement:: -property_post (Type const&) -{ -pop_ (); -} + void ImplementationRequirement:: + property_post (Type const&) + { + pop_ (); + } -// ComponentPackageReference -// -// + // ComponentPackageReference + // + // -ComponentPackageReference:: -ComponentPackageReference (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + ComponentPackageReference:: + ComponentPackageReference (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -ComponentPackageReference:: -ComponentPackageReference () -{ -} + ComponentPackageReference:: + ComponentPackageReference () + { + } -void ComponentPackageReference:: -traverse (Type const& o) -{ -Traversal::ComponentPackageReference::traverse (o); -} + void ComponentPackageReference:: + traverse (Type const& o) + { + Traversal::ComponentPackageReference::traverse (o); + } -void ComponentPackageReference:: -requiredUUID (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requiredUUID", top_ ())); -Traversal::ComponentPackageReference::requiredUUID (o); -pop_ (); -} + void ComponentPackageReference:: + requiredUUID (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requiredUUID", top_ ())); + Traversal::ComponentPackageReference::requiredUUID (o); + pop_ (); + } -void ComponentPackageReference:: -requiredName (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requiredName", top_ ())); -Traversal::ComponentPackageReference::requiredName (o); -pop_ (); -} + void ComponentPackageReference:: + requiredName (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requiredName", top_ ())); + Traversal::ComponentPackageReference::requiredName (o); + pop_ (); + } -void ComponentPackageReference:: -requiredType (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requiredType", top_ ())); -Traversal::ComponentPackageReference::requiredType (o); -pop_ (); -} + void ComponentPackageReference:: + requiredType (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("requiredType", top_ ())); + Traversal::ComponentPackageReference::requiredType (o); + pop_ (); + } -// SubcomponentPortEndpoint -// -// + // SubcomponentPortEndpoint + // + // -SubcomponentPortEndpoint:: -SubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + SubcomponentPortEndpoint:: + SubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -SubcomponentPortEndpoint:: -SubcomponentPortEndpoint () -{ -} + SubcomponentPortEndpoint:: + SubcomponentPortEndpoint () + { + } -void SubcomponentPortEndpoint:: -traverse (Type const& o) -{ -Traversal::SubcomponentPortEndpoint::traverse (o); -} + void SubcomponentPortEndpoint:: + traverse (Type const& o) + { + Traversal::SubcomponentPortEndpoint::traverse (o); + } -void SubcomponentPortEndpoint:: -portName (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("portName", top_ ())); -Traversal::SubcomponentPortEndpoint::portName (o); -pop_ (); -} + void SubcomponentPortEndpoint:: + portName (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("portName", top_ ())); + Traversal::SubcomponentPortEndpoint::portName (o); + pop_ (); + } -void SubcomponentPortEndpoint:: -instance (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("instance", top_ ())); -Traversal::SubcomponentPortEndpoint::instance (o); -pop_ (); -} + void SubcomponentPortEndpoint:: + instance (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("instance", top_ ())); + Traversal::SubcomponentPortEndpoint::instance (o); + pop_ (); + } -// AssemblyConnectionDescription -// -// + // AssemblyConnectionDescription + // + // -AssemblyConnectionDescription:: -AssemblyConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + AssemblyConnectionDescription:: + AssemblyConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -AssemblyConnectionDescription:: -AssemblyConnectionDescription () -{ -} + AssemblyConnectionDescription:: + AssemblyConnectionDescription () + { + } -void AssemblyConnectionDescription:: -traverse (Type const& o) -{ -Traversal::AssemblyConnectionDescription::traverse (o); -} + void AssemblyConnectionDescription:: + traverse (Type const& o) + { + Traversal::AssemblyConnectionDescription::traverse (o); + } -void AssemblyConnectionDescription:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::AssemblyConnectionDescription::name (o); -pop_ (); -} + void AssemblyConnectionDescription:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::AssemblyConnectionDescription::name (o); + pop_ (); + } -void AssemblyConnectionDescription:: -deployRequirement_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); -} + void AssemblyConnectionDescription:: + deployRequirement_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); + } -void AssemblyConnectionDescription:: -deployRequirement_next (Type const& o) -{ -deployRequirement_post (o); -deployRequirement_pre (o); -} + void AssemblyConnectionDescription:: + deployRequirement_next (Type const& o) + { + deployRequirement_post (o); + deployRequirement_pre (o); + } -void AssemblyConnectionDescription:: -deployRequirement_post (Type const&) -{ -pop_ (); -} + void AssemblyConnectionDescription:: + deployRequirement_post (Type const&) + { + pop_ (); + } -void AssemblyConnectionDescription:: -internalEndpoint_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("internalEndpoint", top_ ())); -} + void AssemblyConnectionDescription:: + internalEndpoint_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("internalEndpoint", top_ ())); + } -void AssemblyConnectionDescription:: -internalEndpoint_next (Type const& o) -{ -internalEndpoint_post (o); -internalEndpoint_pre (o); -} + void AssemblyConnectionDescription:: + internalEndpoint_next (Type const& o) + { + internalEndpoint_post (o); + internalEndpoint_pre (o); + } -void AssemblyConnectionDescription:: -internalEndpoint_post (Type const&) -{ -pop_ (); -} + void AssemblyConnectionDescription:: + internalEndpoint_post (Type const&) + { + pop_ (); + } -void AssemblyConnectionDescription:: -externalEndpoint_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalEndpoint", top_ ())); -} + void AssemblyConnectionDescription:: + externalEndpoint_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalEndpoint", top_ ())); + } -void AssemblyConnectionDescription:: -externalEndpoint_next (Type const& o) -{ -externalEndpoint_post (o); -externalEndpoint_pre (o); -} + void AssemblyConnectionDescription:: + externalEndpoint_next (Type const& o) + { + externalEndpoint_post (o); + externalEndpoint_pre (o); + } -void AssemblyConnectionDescription:: -externalEndpoint_post (Type const&) -{ -pop_ (); -} + void AssemblyConnectionDescription:: + externalEndpoint_post (Type const&) + { + pop_ (); + } -void AssemblyConnectionDescription:: -externalReference_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalReference", top_ ())); -} + void AssemblyConnectionDescription:: + externalReference_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalReference", top_ ())); + } -void AssemblyConnectionDescription:: -externalReference_next (Type const& o) -{ -externalReference_post (o); -externalReference_pre (o); -} + void AssemblyConnectionDescription:: + externalReference_next (Type const& o) + { + externalReference_post (o); + externalReference_pre (o); + } -void AssemblyConnectionDescription:: -externalReference_post (Type const&) -{ -pop_ (); -} -} -} + void AssemblyConnectionDescription:: + externalReference_post (Type const&) + { + pop_ (); + } + } + } } namespace CIAO { -namespace Config_Handlers -{ -} + namespace Config_Handlers + { + } } diff --git a/CIAO/tools/Config_Handlers/Basic_Deployment_Data.hpp b/CIAO/tools/Config_Handlers/Basic_Deployment_Data.hpp index 3b3f395a0bb..dfbd20ef4c2 100644 --- a/CIAO/tools/Config_Handlers/Basic_Deployment_Data.hpp +++ b/CIAO/tools/Config_Handlers/Basic_Deployment_Data.hpp @@ -1,14 +1,13 @@ /* $Id$ -* This code was generated by the XML Schema Compiler. -* -* Changes made to this code will most likely be overwritten -* when the handlers are recompiled. -* -* If you find errors or feel that there are bugfixes to be made, -* please contact the current XSC maintainer: -* Will Otte -*/ - + * This code was generated by the XML Schema Compiler. + * + * Changes made to this code will most likely be overwritten + * when the handlers are recompiled. + * + * If you find errors or feel that there are bugfixes to be made, + * please contact the current XSC maintainer: + * Will Otte + */ // Fix for Borland compilers, which seem to have a broken // include. @@ -16,47 +15,53 @@ # include #endif -#include "XSC_XML_Handlers_Export.h" #ifndef BASIC_DEPLOYMENT_DATA_HPP #define BASIC_DEPLOYMENT_DATA_HPP +#include "XSC_XML_Handlers_Export.h" // Forward declarations. // namespace CIAO { -namespace Config_Handlers -{ -class TCKind; -class DataType; -class DataValue; -class EnumType; -class Any; -class Property; -class SatisfierPropertyKind; -class SatisfierProperty; -class Resource; -class Requirement; -class ResourceDeploymentDescription; -class ArtifactDeploymentDescription; -class MonolithicDeploymentDescription; -class ResourceUsageKind; -class InstanceResourceDeploymentDescription; -class InstanceDeploymentDescription; -class CCMComponentPortKind; -class ComponentPortDescription; -class ComponentPropertyDescription; -class ComponentExternalPortEndpoint; -class PlanSubcomponentPortEndpoint; -class ExternalReferenceEndpoint; -class ConnectionResourceDeploymentDescription; -class PlanConnectionDescription; -class ImplementationDependency; -class Capability; -class ImplementationRequirement; -class ComponentPackageReference; -class SubcomponentPortEndpoint; -class AssemblyConnectionDescription; -} + namespace Config_Handlers + { + class TCKind; + class DataType; + class DataValue; + class EnumType; + class StructType; + class StructMemberType; + class ValueType; + class ValueMemberType; + class NamedValue; + class SequenceType; + class Any; + class Property; + class SatisfierPropertyKind; + class SatisfierProperty; + class Resource; + class Requirement; + class ResourceDeploymentDescription; + class ArtifactDeploymentDescription; + class MonolithicDeploymentDescription; + class ResourceUsageKind; + class InstanceResourceDeploymentDescription; + class InstanceDeploymentDescription; + class CCMComponentPortKind; + class ComponentPortDescription; + class ComponentPropertyDescription; + class ComponentExternalPortEndpoint; + class PlanSubcomponentPortEndpoint; + class ExternalReferenceEndpoint; + class ConnectionResourceDeploymentDescription; + class PlanConnectionDescription; + class ImplementationDependency; + class Capability; + class ImplementationRequirement; + class ComponentPackageReference; + class SubcomponentPortEndpoint; + class AssemblyConnectionDescription; + } } #include @@ -65,7032 +70,8170 @@ class AssemblyConnectionDescription; namespace CIAO { -namespace Config_Handlers -{ -class XSC_XML_Handlers_Export TCKind : public ::XSCRT::Type -{ -public: -TCKind (::XSCRT::XML::Element< ACE_TCHAR > const&); -TCKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); - -static TCKind const tk_null; -static TCKind const tk_void; -static TCKind const tk_short; -static TCKind const tk_long; -static TCKind const tk_ushort; -static TCKind const tk_ulong; -static TCKind const tk_float; -static TCKind const tk_double; -static TCKind const tk_boolean; -static TCKind const tk_char; -static TCKind const tk_octet; -static TCKind const tk_any; -static TCKind const tk_TypeCode; -static TCKind const tk_Principal; -static TCKind const tk_objref; -static TCKind const tk_struct; -static TCKind const tk_union; -static TCKind const tk_enum; -static TCKind const tk_string; -static TCKind const tk_sequence; -static TCKind const tk_array; -static TCKind const tk_alias; -static TCKind const tk_except; -static TCKind const tk_longlong; -static TCKind const tk_ulonglong; -static TCKind const tk_longdouble; -static TCKind const tk_wchar; -static TCKind const tk_wstring; -static TCKind const tk_wfixed; -static TCKind const tk_value; -static TCKind const tk_value_box; -static TCKind const tk_native; -static TCKind const tk_abstract_interface; -static TCKind const tk_local_interface; -static TCKind const tk_component; -static TCKind const tk_home; -static TCKind const tk_event; - -enum Value -{ -tk_null_l,tk_void_l,tk_short_l,tk_long_l,tk_ushort_l,tk_ulong_l,tk_float_l,tk_double_l,tk_boolean_l,tk_char_l,tk_octet_l,tk_any_l,tk_TypeCode_l,tk_Principal_l,tk_objref_l,tk_struct_l,tk_union_l,tk_enum_l,tk_string_l,tk_sequence_l,tk_array_l,tk_alias_l,tk_except_l,tk_longlong_l,tk_ulonglong_l,tk_longdouble_l,tk_wchar_l,tk_wstring_l,tk_wfixed_l,tk_value_l,tk_value_box_l,tk_native_l,tk_abstract_interface_l,tk_local_interface_l,tk_component_l,tk_home_l,tk_event_l -}; + namespace Config_Handlers + { + class XSC_XML_Handlers_Export TCKind : public ::XSCRT::Type + { + public: + TCKind (::XSCRT::XML::Element< ACE_TCHAR > const&); + TCKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); + + static TCKind const tk_null; + static TCKind const tk_void; + static TCKind const tk_short; + static TCKind const tk_long; + static TCKind const tk_ushort; + static TCKind const tk_ulong; + static TCKind const tk_float; + static TCKind const tk_double; + static TCKind const tk_boolean; + static TCKind const tk_char; + static TCKind const tk_octet; + static TCKind const tk_any; + static TCKind const tk_TypeCode; + static TCKind const tk_Principal; + static TCKind const tk_objref; + static TCKind const tk_struct; + static TCKind const tk_union; + static TCKind const tk_enum; + static TCKind const tk_string; + static TCKind const tk_sequence; + static TCKind const tk_array; + static TCKind const tk_alias; + static TCKind const tk_except; + static TCKind const tk_longlong; + static TCKind const tk_ulonglong; + static TCKind const tk_longdouble; + static TCKind const tk_wchar; + static TCKind const tk_wstring; + static TCKind const tk_wfixed; + static TCKind const tk_value; + static TCKind const tk_value_box; + static TCKind const tk_native; + static TCKind const tk_abstract_interface; + static TCKind const tk_local_interface; + static TCKind const tk_component; + static TCKind const tk_home; + static TCKind const tk_event; + + enum Value + { + tk_null_l,tk_void_l,tk_short_l,tk_long_l,tk_ushort_l,tk_ulong_l,tk_float_l,tk_double_l,tk_boolean_l,tk_char_l,tk_octet_l,tk_any_l,tk_TypeCode_l,tk_Principal_l,tk_objref_l,tk_struct_l,tk_union_l,tk_enum_l,tk_string_l,tk_sequence_l,tk_array_l,tk_alias_l,tk_except_l,tk_longlong_l,tk_ulonglong_l,tk_longdouble_l,tk_wchar_l,tk_wstring_l,tk_wfixed_l,tk_value_l,tk_value_box_l,tk_native_l,tk_abstract_interface_l,tk_local_interface_l,tk_component_l,tk_home_l,tk_event_l, + }; + + + Value + integral () const; + + friend bool XSC_XML_Handlers_Export + operator== (TCKind const& a, TCKind const& b); + + friend bool XSC_XML_Handlers_Export + operator!= (TCKind const& a, TCKind const& b); + + private: + TCKind (Value v); + + Value v_; + }; + + bool XSC_XML_Handlers_Export operator== (TCKind const &a, TCKind const &b); + + bool XSC_XML_Handlers_Export operator!= (TCKind const &a, TCKind const &b); + + + class XSC_XML_Handlers_Export DataType : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // kind + // + public: + ::CIAO::Config_Handlers::TCKind const& kind () const; + void kind (::CIAO::Config_Handlers::TCKind const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::TCKind > kind_; + + // enum + // + public: + bool enum_p () const; + ::CIAO::Config_Handlers::EnumType const& enum_ () const; + void enum_ (::CIAO::Config_Handlers::EnumType const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::EnumType > enum__; + + // struct + // + public: + bool struct_p () const; + ::CIAO::Config_Handlers::StructType const& struct_ () const; + void struct_ (::CIAO::Config_Handlers::StructType const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::StructType > struct__; + + // value + // + public: + bool value_p () const; + ::CIAO::Config_Handlers::ValueType const& value () const; + void value (::CIAO::Config_Handlers::ValueType const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::ValueType > value_; + + // sequence + // + public: + bool sequence_p () const; + ::CIAO::Config_Handlers::SequenceType const& sequence () const; + void sequence (::CIAO::Config_Handlers::SequenceType const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::SequenceType > sequence_; + + // id + // + public: + bool id_p () const; + ::XMLSchema::ID< ACE_TCHAR > const& id () const; + ::XMLSchema::ID< ACE_TCHAR >& id (); + void id (::XMLSchema::ID< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_; + + public: + DataType (::CIAO::Config_Handlers::TCKind const& kind__); + + DataType (::XSCRT::XML::Element< ACE_TCHAR > const&); + DataType (DataType const& s); + + DataType& + operator= (DataType const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export DataValue : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // short + // + public: + typedef ::std::list< ::XMLSchema::short_ >::iterator short_iterator; + typedef ::std::list< ::XMLSchema::short_ >::const_iterator short_const_iterator; + short_iterator begin_short (); + short_iterator end_short (); + short_const_iterator begin_short () const; + short_const_iterator end_short () const; + void add_short (::XMLSchema::short_ const& ); + size_t count_short (void) const; + + protected: + ::std::list< ::XMLSchema::short_ > short_; + + // long + // + public: + typedef ::std::list< ::XMLSchema::int_ >::iterator long_iterator; + typedef ::std::list< ::XMLSchema::int_ >::const_iterator long_const_iterator; + long_iterator begin_long (); + long_iterator end_long (); + long_const_iterator begin_long () const; + long_const_iterator end_long () const; + void add_long (::XMLSchema::int_ const& ); + size_t count_long (void) const; + + protected: + ::std::list< ::XMLSchema::int_ > long_; + + // ushort + // + public: + typedef ::std::list< ::XMLSchema::unsignedShort >::iterator ushort_iterator; + typedef ::std::list< ::XMLSchema::unsignedShort >::const_iterator ushort_const_iterator; + ushort_iterator begin_ushort (); + ushort_iterator end_ushort (); + ushort_const_iterator begin_ushort () const; + ushort_const_iterator end_ushort () const; + void add_ushort (::XMLSchema::unsignedShort const& ); + size_t count_ushort (void) const; + + protected: + ::std::list< ::XMLSchema::unsignedShort > ushort_; + + // ulong + // + public: + typedef ::std::list< ::XMLSchema::unsignedInt >::iterator ulong_iterator; + typedef ::std::list< ::XMLSchema::unsignedInt >::const_iterator ulong_const_iterator; + ulong_iterator begin_ulong (); + ulong_iterator end_ulong (); + ulong_const_iterator begin_ulong () const; + ulong_const_iterator end_ulong () const; + void add_ulong (::XMLSchema::unsignedInt const& ); + size_t count_ulong (void) const; + + protected: + ::std::list< ::XMLSchema::unsignedInt > ulong_; + + // float + // + public: + typedef ::std::list< ::XMLSchema::float_ >::iterator float_iterator; + typedef ::std::list< ::XMLSchema::float_ >::const_iterator float_const_iterator; + float_iterator begin_float (); + float_iterator end_float (); + float_const_iterator begin_float () const; + float_const_iterator end_float () const; + void add_float (::XMLSchema::float_ const& ); + size_t count_float (void) const; + + protected: + ::std::list< ::XMLSchema::float_ > float_; + + // double + // + public: + typedef ::std::list< ::XMLSchema::double_ >::iterator double_iterator; + typedef ::std::list< ::XMLSchema::double_ >::const_iterator double_const_iterator; + double_iterator begin_double (); + double_iterator end_double (); + double_const_iterator begin_double () const; + double_const_iterator end_double () const; + void add_double (::XMLSchema::double_ const& ); + size_t count_double (void) const; + + protected: + ::std::list< ::XMLSchema::double_ > double_; + + // boolean + // + public: + typedef ::std::list< ::XMLSchema::boolean >::iterator boolean_iterator; + typedef ::std::list< ::XMLSchema::boolean >::const_iterator boolean_const_iterator; + boolean_iterator begin_boolean (); + boolean_iterator end_boolean (); + boolean_const_iterator begin_boolean () const; + boolean_const_iterator end_boolean () const; + void add_boolean (::XMLSchema::boolean const& ); + size_t count_boolean (void) const; + + protected: + ::std::list< ::XMLSchema::boolean > boolean_; + + // octet + // + public: + typedef ::std::list< ::XMLSchema::unsignedByte >::iterator octet_iterator; + typedef ::std::list< ::XMLSchema::unsignedByte >::const_iterator octet_const_iterator; + octet_iterator begin_octet (); + octet_iterator end_octet (); + octet_const_iterator begin_octet () const; + octet_const_iterator end_octet () const; + void add_octet (::XMLSchema::unsignedByte const& ); + size_t count_octet (void) const; + + protected: + ::std::list< ::XMLSchema::unsignedByte > octet_; + + // enum + // + public: + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator enum_iterator; + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator enum_const_iterator; + enum_iterator begin_enum (); + enum_iterator end_enum (); + enum_const_iterator begin_enum () const; + enum_const_iterator end_enum () const; + void add_enum (::XMLSchema::string< ACE_TCHAR > const& ); + size_t count_enum (void) const; + + protected: + ::std::list< ::XMLSchema::string< ACE_TCHAR > > enum_; + + // string + // + public: + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator string_iterator; + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator string_const_iterator; + string_iterator begin_string (); + string_iterator end_string (); + string_const_iterator begin_string () const; + string_const_iterator end_string () const; + void add_string (::XMLSchema::string< ACE_TCHAR > const& ); + size_t count_string (void) const; + + protected: + ::std::list< ::XMLSchema::string< ACE_TCHAR > > string_; + + // longlong + // + public: + typedef ::std::list< ::XMLSchema::long_ >::iterator longlong_iterator; + typedef ::std::list< ::XMLSchema::long_ >::const_iterator longlong_const_iterator; + longlong_iterator begin_longlong (); + longlong_iterator end_longlong (); + longlong_const_iterator begin_longlong () const; + longlong_const_iterator end_longlong () const; + void add_longlong (::XMLSchema::long_ const& ); + size_t count_longlong (void) const; + + protected: + ::std::list< ::XMLSchema::long_ > longlong_; + + // ulonglong + // + public: + typedef ::std::list< ::XMLSchema::unsignedLong >::iterator ulonglong_iterator; + typedef ::std::list< ::XMLSchema::unsignedLong >::const_iterator ulonglong_const_iterator; + ulonglong_iterator begin_ulonglong (); + ulonglong_iterator end_ulonglong (); + ulonglong_const_iterator begin_ulonglong () const; + ulonglong_const_iterator end_ulonglong () const; + void add_ulonglong (::XMLSchema::unsignedLong const& ); + size_t count_ulonglong (void) const; + + protected: + ::std::list< ::XMLSchema::unsignedLong > ulonglong_; + + // longdouble + // + public: + typedef ::std::list< ::XMLSchema::double_ >::iterator longdouble_iterator; + typedef ::std::list< ::XMLSchema::double_ >::const_iterator longdouble_const_iterator; + longdouble_iterator begin_longdouble (); + longdouble_iterator end_longdouble (); + longdouble_const_iterator begin_longdouble () const; + longdouble_const_iterator end_longdouble () const; + void add_longdouble (::XMLSchema::double_ const& ); + size_t count_longdouble (void) const; + + protected: + ::std::list< ::XMLSchema::double_ > longdouble_; + + // member + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::NamedValue >::iterator member_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::NamedValue >::const_iterator member_const_iterator; + member_iterator begin_member (); + member_iterator end_member (); + member_const_iterator begin_member () const; + member_const_iterator end_member () const; + void add_member (::CIAO::Config_Handlers::NamedValue const& ); + size_t count_member (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::NamedValue > member_; + + public: + DataValue (); + + DataValue (::XSCRT::XML::Element< ACE_TCHAR > const&); + DataValue (DataValue const& s); + + DataValue& + operator= (DataValue const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export EnumType : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // typeId + // + public: + ::XMLSchema::string< ACE_TCHAR > const& typeId () const; + void typeId (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > typeId_; + + // member + // + public: + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator member_iterator; + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator member_const_iterator; + member_iterator begin_member (); + member_iterator end_member (); + member_const_iterator begin_member () const; + member_const_iterator end_member () const; + void add_member (::XMLSchema::string< ACE_TCHAR > const& ); + size_t count_member (void) const; + + protected: + ::std::list< ::XMLSchema::string< ACE_TCHAR > > member_; + + public: + EnumType (::XMLSchema::string< ACE_TCHAR > const& name__, + ::XMLSchema::string< ACE_TCHAR > const& typeId__); + + EnumType (::XSCRT::XML::Element< ACE_TCHAR > const&); + EnumType (EnumType const& s); + + EnumType& + operator= (EnumType const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export StructType : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // typeId + // + public: + ::XMLSchema::string< ACE_TCHAR > const& typeId () const; + void typeId (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > typeId_; + + // member + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::StructMemberType >::iterator member_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::StructMemberType >::const_iterator member_const_iterator; + member_iterator begin_member (); + member_iterator end_member (); + member_const_iterator begin_member () const; + member_const_iterator end_member () const; + void add_member (::CIAO::Config_Handlers::StructMemberType const& ); + size_t count_member (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::StructMemberType > member_; + + public: + StructType (::XMLSchema::string< ACE_TCHAR > const& name__, + ::XMLSchema::string< ACE_TCHAR > const& typeId__); + + StructType (::XSCRT::XML::Element< ACE_TCHAR > const&); + StructType (StructType const& s); + + StructType& + operator= (StructType const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export StructMemberType : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // type + // + public: + ::CIAO::Config_Handlers::DataType const& type () const; + void type (::CIAO::Config_Handlers::DataType const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::DataType > type_; + + public: + StructMemberType (::XMLSchema::string< ACE_TCHAR > const& name__, + ::CIAO::Config_Handlers::DataType const& type__); + + StructMemberType (::XSCRT::XML::Element< ACE_TCHAR > const&); + StructMemberType (StructMemberType const& s); + + StructMemberType& + operator= (StructMemberType const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export ValueType : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // typeId + // + public: + ::XMLSchema::string< ACE_TCHAR > const& typeId () const; + void typeId (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > typeId_; + + // modifier + // + public: + ::XMLSchema::string< ACE_TCHAR > const& modifier () const; + void modifier (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > modifier_; + + // baseType + // + public: + ::CIAO::Config_Handlers::DataType const& baseType () const; + void baseType (::CIAO::Config_Handlers::DataType const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::DataType > baseType_; + + // member + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::ValueMemberType >::iterator member_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::ValueMemberType >::const_iterator member_const_iterator; + member_iterator begin_member (); + member_iterator end_member (); + member_const_iterator begin_member () const; + member_const_iterator end_member () const; + void add_member (::CIAO::Config_Handlers::ValueMemberType const& ); + size_t count_member (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::ValueMemberType > member_; + + public: + ValueType (::XMLSchema::string< ACE_TCHAR > const& name__, + ::XMLSchema::string< ACE_TCHAR > const& typeId__, + ::XMLSchema::string< ACE_TCHAR > const& modifier__, + ::CIAO::Config_Handlers::DataType const& baseType__); + + ValueType (::XSCRT::XML::Element< ACE_TCHAR > const&); + ValueType (ValueType const& s); + + ValueType& + operator= (ValueType const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export ValueMemberType : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // visibility + // + public: + ::XMLSchema::string< ACE_TCHAR > const& visibility () const; + void visibility (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > visibility_; + + // type + // + public: + ::CIAO::Config_Handlers::DataType const& type () const; + void type (::CIAO::Config_Handlers::DataType const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::DataType > type_; + + public: + ValueMemberType (::XMLSchema::string< ACE_TCHAR > const& name__, + ::XMLSchema::string< ACE_TCHAR > const& visibility__, + ::CIAO::Config_Handlers::DataType const& type__); + + ValueMemberType (::XSCRT::XML::Element< ACE_TCHAR > const&); + ValueMemberType (ValueMemberType const& s); + + ValueMemberType& + operator= (ValueMemberType const& s); + + private: + char regulator__; + }; -Value -integral () const; + class XSC_XML_Handlers_Export NamedValue : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; -friend bool XSC_XML_Handlers_Export -operator== (TCKind const& a, TCKind const& b); + // value + // + public: + ::CIAO::Config_Handlers::DataValue const& value () const; + void value (::CIAO::Config_Handlers::DataValue const& ); -friend bool XSC_XML_Handlers_Export -operator!= (TCKind const& a, TCKind const& b); + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::DataValue > value_; -private: -TCKind (Value v); + public: + NamedValue (::XMLSchema::string< ACE_TCHAR > const& name__, + ::CIAO::Config_Handlers::DataValue const& value__); -Value v_; -}; + NamedValue (::XSCRT::XML::Element< ACE_TCHAR > const&); + NamedValue (NamedValue const& s); -bool XSC_XML_Handlers_Export operator== (TCKind const &a, TCKind const &b); + NamedValue& + operator= (NamedValue const& s); -bool XSC_XML_Handlers_Export operator!= (TCKind const &a, TCKind const &b); + private: + char regulator__; + }; -class XSC_XML_Handlers_Export DataType : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; - -// kind -// -public: -::CIAO::Config_Handlers::TCKind const& kind () const; -void kind (::CIAO::Config_Handlers::TCKind const& ); + class XSC_XML_Handlers_Export SequenceType : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::TCKind > kind_; + // bound + // + public: + bool bound_p () const; + ::XMLSchema::string< ACE_TCHAR > const& bound () const; + void bound (::XMLSchema::string< ACE_TCHAR > const& ); -// enum -// -public: -bool enum_p () const; -::CIAO::Config_Handlers::EnumType const& enum_ () const; -void enum_ (::CIAO::Config_Handlers::EnumType const& ); + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > bound_; -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::EnumType > enum__; + // elementType + // + public: + ::CIAO::Config_Handlers::DataType const& elementType () const; + void elementType (::CIAO::Config_Handlers::DataType const& ); -public: -DataType (::CIAO::Config_Handlers::TCKind const& kind__); + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::DataType > elementType_; -DataType (::XSCRT::XML::Element< ACE_TCHAR > const&); -DataType (DataType const& s); + public: + SequenceType (::CIAO::Config_Handlers::DataType const& elementType__); -DataType& -operator= (DataType const& s); + SequenceType (::XSCRT::XML::Element< ACE_TCHAR > const&); + SequenceType (SequenceType const& s); -private: -char regulator__; -}; + SequenceType& + operator= (SequenceType const& s); + private: + char regulator__; + }; -class XSC_XML_Handlers_Export DataValue : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; -// short -// -public: -typedef ::std::list< ::XMLSchema::short_ >::iterator short_iterator; -typedef ::std::list< ::XMLSchema::short_ >::const_iterator short_const_iterator; -short_iterator begin_short (); -short_iterator end_short (); -short_const_iterator begin_short () const; -short_const_iterator end_short () const; -void add_short (::XMLSchema::short_ const& ); -size_t count_short (void) const; - -protected: -::std::list< ::XMLSchema::short_ > short_; - -// long -// -public: -typedef ::std::list< ::XMLSchema::int_ >::iterator long_iterator; -typedef ::std::list< ::XMLSchema::int_ >::const_iterator long_const_iterator; -long_iterator begin_long (); -long_iterator end_long (); -long_const_iterator begin_long () const; -long_const_iterator end_long () const; -void add_long (::XMLSchema::int_ const& ); -size_t count_long (void) const; - -protected: -::std::list< ::XMLSchema::int_ > long_; - -// ushort -// -public: -typedef ::std::list< ::XMLSchema::unsignedShort >::iterator ushort_iterator; -typedef ::std::list< ::XMLSchema::unsignedShort >::const_iterator ushort_const_iterator; -ushort_iterator begin_ushort (); -ushort_iterator end_ushort (); -ushort_const_iterator begin_ushort () const; -ushort_const_iterator end_ushort () const; -void add_ushort (::XMLSchema::unsignedShort const& ); -size_t count_ushort (void) const; - -protected: -::std::list< ::XMLSchema::unsignedShort > ushort_; - -// ulong -// -public: -typedef ::std::list< ::XMLSchema::unsignedInt >::iterator ulong_iterator; -typedef ::std::list< ::XMLSchema::unsignedInt >::const_iterator ulong_const_iterator; -ulong_iterator begin_ulong (); -ulong_iterator end_ulong (); -ulong_const_iterator begin_ulong () const; -ulong_const_iterator end_ulong () const; -void add_ulong (::XMLSchema::unsignedInt const& ); -size_t count_ulong (void) const; - -protected: -::std::list< ::XMLSchema::unsignedInt > ulong_; - -// float -// -public: -typedef ::std::list< ::XMLSchema::float_ >::iterator float_iterator; -typedef ::std::list< ::XMLSchema::float_ >::const_iterator float_const_iterator; -float_iterator begin_float (); -float_iterator end_float (); -float_const_iterator begin_float () const; -float_const_iterator end_float () const; -void add_float (::XMLSchema::float_ const& ); -size_t count_float (void) const; - -protected: -::std::list< ::XMLSchema::float_ > float_; - -// double -// -public: -typedef ::std::list< ::XMLSchema::double_ >::iterator double_iterator; -typedef ::std::list< ::XMLSchema::double_ >::const_iterator double_const_iterator; -double_iterator begin_double (); -double_iterator end_double (); -double_const_iterator begin_double () const; -double_const_iterator end_double () const; -void add_double (::XMLSchema::double_ const& ); -size_t count_double (void) const; - -protected: -::std::list< ::XMLSchema::double_ > double_; - -// boolean -// -public: -typedef ::std::list< ::XMLSchema::boolean >::iterator boolean_iterator; -typedef ::std::list< ::XMLSchema::boolean >::const_iterator boolean_const_iterator; -boolean_iterator begin_boolean (); -boolean_iterator end_boolean (); -boolean_const_iterator begin_boolean () const; -boolean_const_iterator end_boolean () const; -void add_boolean (::XMLSchema::boolean const& ); -size_t count_boolean (void) const; - -protected: -::std::list< ::XMLSchema::boolean > boolean_; - -// octet -// -public: -typedef ::std::list< ::XMLSchema::unsignedByte >::iterator octet_iterator; -typedef ::std::list< ::XMLSchema::unsignedByte >::const_iterator octet_const_iterator; -octet_iterator begin_octet (); -octet_iterator end_octet (); -octet_const_iterator begin_octet () const; -octet_const_iterator end_octet () const; -void add_octet (::XMLSchema::unsignedByte const& ); -size_t count_octet (void) const; - -protected: -::std::list< ::XMLSchema::unsignedByte > octet_; - -// enum -// -public: -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator enum_iterator; -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator enum_const_iterator; -enum_iterator begin_enum (); -enum_iterator end_enum (); -enum_const_iterator begin_enum () const; -enum_const_iterator end_enum () const; -void add_enum (::XMLSchema::string< ACE_TCHAR > const& ); -size_t count_enum (void) const; - -protected: -::std::list< ::XMLSchema::string< ACE_TCHAR > > enum_; - -// string -// -public: -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator string_iterator; -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator string_const_iterator; -string_iterator begin_string (); -string_iterator end_string (); -string_const_iterator begin_string () const; -string_const_iterator end_string () const; -void add_string (::XMLSchema::string< ACE_TCHAR > const& ); -size_t count_string (void) const; - -protected: -::std::list< ::XMLSchema::string< ACE_TCHAR > > string_; - -// longlong -// -public: -typedef ::std::list< ::XMLSchema::long_ >::iterator longlong_iterator; -typedef ::std::list< ::XMLSchema::long_ >::const_iterator longlong_const_iterator; -longlong_iterator begin_longlong (); -longlong_iterator end_longlong (); -longlong_const_iterator begin_longlong () const; -longlong_const_iterator end_longlong () const; -void add_longlong (::XMLSchema::long_ const& ); -size_t count_longlong (void) const; - -protected: -::std::list< ::XMLSchema::long_ > longlong_; - -// ulonglong -// -public: -typedef ::std::list< ::XMLSchema::unsignedLong >::iterator ulonglong_iterator; -typedef ::std::list< ::XMLSchema::unsignedLong >::const_iterator ulonglong_const_iterator; -ulonglong_iterator begin_ulonglong (); -ulonglong_iterator end_ulonglong (); -ulonglong_const_iterator begin_ulonglong () const; -ulonglong_const_iterator end_ulonglong () const; -void add_ulonglong (::XMLSchema::unsignedLong const& ); -size_t count_ulonglong (void) const; - -protected: -::std::list< ::XMLSchema::unsignedLong > ulonglong_; - -// longdouble -// -public: -typedef ::std::list< ::XMLSchema::double_ >::iterator longdouble_iterator; -typedef ::std::list< ::XMLSchema::double_ >::const_iterator longdouble_const_iterator; -longdouble_iterator begin_longdouble (); -longdouble_iterator end_longdouble (); -longdouble_const_iterator begin_longdouble () const; -longdouble_const_iterator end_longdouble () const; -void add_longdouble (::XMLSchema::double_ const& ); -size_t count_longdouble (void) const; + class XSC_XML_Handlers_Export Any : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; -protected: -::std::list< ::XMLSchema::double_ > longdouble_; + // type + // + public: + ::CIAO::Config_Handlers::DataType const& type () const; + void type (::CIAO::Config_Handlers::DataType const& ); -public: -DataValue (); + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::DataType > type_; -DataValue (::XSCRT::XML::Element< ACE_TCHAR > const&); -DataValue (DataValue const& s); + // value + // + public: + ::CIAO::Config_Handlers::DataValue const& value () const; + void value (::CIAO::Config_Handlers::DataValue const& ); -DataValue& -operator= (DataValue const& s); + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::DataValue > value_; -private: -char regulator__; -}; + public: + Any (::CIAO::Config_Handlers::DataType const& type__, + ::CIAO::Config_Handlers::DataValue const& value__); + Any (::XSCRT::XML::Element< ACE_TCHAR > const&); + Any (Any const& s); -class XSC_XML_Handlers_Export EnumType : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + Any& + operator= (Any const& s); -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); + private: + char regulator__; + }; -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; -// typeId -// -public: -::XMLSchema::string< ACE_TCHAR > const& typeId () const; -void typeId (::XMLSchema::string< ACE_TCHAR > const& ); + class XSC_XML_Handlers_Export Property : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > typeId_; + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); -// member -// -public: -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator member_iterator; -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator member_const_iterator; -member_iterator begin_member (); -member_iterator end_member (); -member_const_iterator begin_member () const; -member_const_iterator end_member () const; -void add_member (::XMLSchema::string< ACE_TCHAR > const& ); -size_t count_member (void) const; + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; -protected: -::std::list< ::XMLSchema::string< ACE_TCHAR > > member_; + // value + // + public: + ::CIAO::Config_Handlers::Any const& value () const; + void value (::CIAO::Config_Handlers::Any const& ); -public: -EnumType (::XMLSchema::string< ACE_TCHAR > const& name__, -::XMLSchema::string< ACE_TCHAR > const& typeId__); + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::Any > value_; -EnumType (::XSCRT::XML::Element< ACE_TCHAR > const&); -EnumType (EnumType const& s); + public: + Property (::XMLSchema::string< ACE_TCHAR > const& name__, + ::CIAO::Config_Handlers::Any const& value__); -EnumType& -operator= (EnumType const& s); + Property (::XSCRT::XML::Element< ACE_TCHAR > const&); + Property (Property const& s); -private: -char regulator__; -}; + Property& + operator= (Property const& s); + private: + char regulator__; + }; -class XSC_XML_Handlers_Export Any : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; -// type -// -public: -::CIAO::Config_Handlers::DataType const& type () const; -void type (::CIAO::Config_Handlers::DataType const& ); + class XSC_XML_Handlers_Export SatisfierPropertyKind : public ::XSCRT::Type + { + public: + SatisfierPropertyKind (::XSCRT::XML::Element< ACE_TCHAR > const&); + SatisfierPropertyKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::DataType > type_; + static SatisfierPropertyKind const Quantity; + static SatisfierPropertyKind const Capacity; + static SatisfierPropertyKind const Minimum; + static SatisfierPropertyKind const Maximum; + static SatisfierPropertyKind const Attribute; + static SatisfierPropertyKind const Selection; -// value -// -public: -::CIAO::Config_Handlers::DataValue const& value () const; -void value (::CIAO::Config_Handlers::DataValue const& ); + enum Value + { + Quantity_l,Capacity_l,Minimum_l,Maximum_l,Attribute_l,Selection_l, + }; -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::DataValue > value_; -public: -Any (::CIAO::Config_Handlers::DataType const& type__, -::CIAO::Config_Handlers::DataValue const& value__); + Value + integral () const; -Any (::XSCRT::XML::Element< ACE_TCHAR > const&); -Any (Any const& s); + friend bool XSC_XML_Handlers_Export + operator== (SatisfierPropertyKind const& a, SatisfierPropertyKind const& b); -Any& -operator= (Any const& s); + friend bool XSC_XML_Handlers_Export + operator!= (SatisfierPropertyKind const& a, SatisfierPropertyKind const& b); -private: -char regulator__; -}; + private: + SatisfierPropertyKind (Value v); + Value v_; + }; -class XSC_XML_Handlers_Export Property : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + bool XSC_XML_Handlers_Export operator== (SatisfierPropertyKind const &a, SatisfierPropertyKind const &b); + + bool XSC_XML_Handlers_Export operator!= (SatisfierPropertyKind const &a, SatisfierPropertyKind const &b); -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + class XSC_XML_Handlers_Export SatisfierProperty : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); -// value -// -public: -::CIAO::Config_Handlers::Any const& value () const; -void value (::CIAO::Config_Handlers::Any const& ); + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::Any > value_; + // kind + // + public: + ::CIAO::Config_Handlers::SatisfierPropertyKind const& kind () const; + void kind (::CIAO::Config_Handlers::SatisfierPropertyKind const& ); -public: -Property (::XMLSchema::string< ACE_TCHAR > const& name__, -::CIAO::Config_Handlers::Any const& value__); + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::SatisfierPropertyKind > kind_; -Property (::XSCRT::XML::Element< ACE_TCHAR > const&); -Property (Property const& s); + // dynamic + // + public: + ::XMLSchema::boolean const& dynamic () const; + void dynamic (::XMLSchema::boolean const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::boolean > dynamic_; -Property& -operator= (Property const& s); + // value + // + public: + ::CIAO::Config_Handlers::Any const& value () const; + void value (::CIAO::Config_Handlers::Any const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::Any > value_; -private: -char regulator__; -}; + public: + SatisfierProperty (::XMLSchema::string< ACE_TCHAR > const& name__, + ::CIAO::Config_Handlers::SatisfierPropertyKind const& kind__, + ::XMLSchema::boolean const& dynamic__, + ::CIAO::Config_Handlers::Any const& value__); + + SatisfierProperty (::XSCRT::XML::Element< ACE_TCHAR > const&); + SatisfierProperty (SatisfierProperty const& s); + + SatisfierProperty& + operator= (SatisfierProperty const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export Resource : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // resourceType + // + public: + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator resourceType_iterator; + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator resourceType_const_iterator; + resourceType_iterator begin_resourceType (); + resourceType_iterator end_resourceType (); + resourceType_const_iterator begin_resourceType () const; + resourceType_const_iterator end_resourceType () const; + void add_resourceType (::XMLSchema::string< ACE_TCHAR > const& ); + size_t count_resourceType (void) const; + + protected: + ::std::list< ::XMLSchema::string< ACE_TCHAR > > resourceType_; + + // property + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::SatisfierProperty >::iterator property_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::SatisfierProperty >::const_iterator property_const_iterator; + property_iterator begin_property (); + property_iterator end_property (); + property_const_iterator begin_property () const; + property_const_iterator end_property () const; + void add_property (::CIAO::Config_Handlers::SatisfierProperty const& ); + size_t count_property (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::SatisfierProperty > property_; + + public: + Resource (::XMLSchema::string< ACE_TCHAR > const& name__); + + Resource (::XSCRT::XML::Element< ACE_TCHAR > const&); + Resource (Resource const& s); + + Resource& + operator= (Resource const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export Requirement : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // resourceType + // + public: + ::XMLSchema::string< ACE_TCHAR > const& resourceType () const; + void resourceType (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceType_; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // property + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator property_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator property_const_iterator; + property_iterator begin_property (); + property_iterator end_property (); + property_const_iterator begin_property () const; + property_const_iterator end_property () const; + void add_property (::CIAO::Config_Handlers::Property const& ); + size_t count_property (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Property > property_; + + public: + Requirement (::XMLSchema::string< ACE_TCHAR > const& resourceType__, + ::XMLSchema::string< ACE_TCHAR > const& name__); + + Requirement (::XSCRT::XML::Element< ACE_TCHAR > const&); + Requirement (Requirement const& s); + + Requirement& + operator= (Requirement const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export ResourceDeploymentDescription : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // requirementName + // + public: + ::XMLSchema::string< ACE_TCHAR > const& requirementName () const; + void requirementName (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requirementName_; + + // resourceName + // + public: + ::XMLSchema::string< ACE_TCHAR > const& resourceName () const; + void resourceName (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceName_; + + // property + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator property_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator property_const_iterator; + property_iterator begin_property (); + property_iterator end_property (); + property_const_iterator begin_property () const; + property_const_iterator end_property () const; + void add_property (::CIAO::Config_Handlers::Property const& ); + size_t count_property (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Property > property_; + + public: + ResourceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& requirementName__, + ::XMLSchema::string< ACE_TCHAR > const& resourceName__); + + ResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); + ResourceDeploymentDescription (ResourceDeploymentDescription const& s); + + ResourceDeploymentDescription& + operator= (ResourceDeploymentDescription const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export ArtifactDeploymentDescription : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // source + // + public: + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator source_iterator; + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator source_const_iterator; + source_iterator begin_source (); + source_iterator end_source (); + source_const_iterator begin_source () const; + source_const_iterator end_source () const; + void add_source (::XMLSchema::string< ACE_TCHAR > const& ); + size_t count_source (void) const; + + protected: + ::std::list< ::XMLSchema::string< ACE_TCHAR > > source_; + + // node + // + public: + ::XMLSchema::string< ACE_TCHAR > const& node () const; + void node (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > node_; + + // location + // + public: + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator location_iterator; + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator location_const_iterator; + location_iterator begin_location (); + location_iterator end_location (); + location_const_iterator begin_location () const; + location_const_iterator end_location () const; + void add_location (::XMLSchema::string< ACE_TCHAR > const& ); + size_t count_location (void) const; + + protected: + ::std::list< ::XMLSchema::string< ACE_TCHAR > > location_; + + // execParameter + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator execParameter_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator execParameter_const_iterator; + execParameter_iterator begin_execParameter (); + execParameter_iterator end_execParameter (); + execParameter_const_iterator begin_execParameter () const; + execParameter_const_iterator end_execParameter () const; + void add_execParameter (::CIAO::Config_Handlers::Property const& ); + size_t count_execParameter (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Property > execParameter_; + + // deployRequirement + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator deployRequirement_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator deployRequirement_const_iterator; + deployRequirement_iterator begin_deployRequirement (); + deployRequirement_iterator end_deployRequirement (); + deployRequirement_const_iterator begin_deployRequirement () const; + deployRequirement_const_iterator end_deployRequirement () const; + void add_deployRequirement (::CIAO::Config_Handlers::Requirement const& ); + size_t count_deployRequirement (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Requirement > deployRequirement_; + + // deployedResource + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::ResourceDeploymentDescription >::iterator deployedResource_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::ResourceDeploymentDescription >::const_iterator deployedResource_const_iterator; + deployedResource_iterator begin_deployedResource (); + deployedResource_iterator end_deployedResource (); + deployedResource_const_iterator begin_deployedResource () const; + deployedResource_const_iterator end_deployedResource () const; + void add_deployedResource (::CIAO::Config_Handlers::ResourceDeploymentDescription const& ); + size_t count_deployedResource (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::ResourceDeploymentDescription > deployedResource_; + + // id + // + public: + bool id_p () const; + ::XMLSchema::ID< ACE_TCHAR > const& id () const; + ::XMLSchema::ID< ACE_TCHAR >& id (); + void id (::XMLSchema::ID< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_; + + public: + ArtifactDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__, + ::XMLSchema::string< ACE_TCHAR > const& node__); + + ArtifactDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); + ArtifactDeploymentDescription (ArtifactDeploymentDescription const& s); + + ArtifactDeploymentDescription& + operator= (ArtifactDeploymentDescription const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export MonolithicDeploymentDescription : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // source + // + public: + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator source_iterator; + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator source_const_iterator; + source_iterator begin_source (); + source_iterator end_source (); + source_const_iterator begin_source () const; + source_const_iterator end_source () const; + void add_source (::XMLSchema::string< ACE_TCHAR > const& ); + size_t count_source (void) const; + + protected: + ::std::list< ::XMLSchema::string< ACE_TCHAR > > source_; + + // artifact + // + public: + typedef ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > >::iterator artifact_iterator; + typedef ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > >::const_iterator artifact_const_iterator; + artifact_iterator begin_artifact (); + artifact_iterator end_artifact (); + artifact_const_iterator begin_artifact () const; + artifact_const_iterator end_artifact () const; + void add_artifact (::XMLSchema::IDREF< ACE_TCHAR > const& ); + size_t count_artifact (void) const; + + protected: + ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > > artifact_; + + // execParameter + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator execParameter_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator execParameter_const_iterator; + execParameter_iterator begin_execParameter (); + execParameter_iterator end_execParameter (); + execParameter_const_iterator begin_execParameter () const; + execParameter_const_iterator end_execParameter () const; + void add_execParameter (::CIAO::Config_Handlers::Property const& ); + size_t count_execParameter (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Property > execParameter_; + + // deployRequirement + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator deployRequirement_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator deployRequirement_const_iterator; + deployRequirement_iterator begin_deployRequirement (); + deployRequirement_iterator end_deployRequirement (); + deployRequirement_const_iterator begin_deployRequirement () const; + deployRequirement_const_iterator end_deployRequirement () const; + void add_deployRequirement (::CIAO::Config_Handlers::Requirement const& ); + size_t count_deployRequirement (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Requirement > deployRequirement_; + + // id + // + public: + bool id_p () const; + ::XMLSchema::ID< ACE_TCHAR > const& id () const; + ::XMLSchema::ID< ACE_TCHAR >& id (); + void id (::XMLSchema::ID< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_; + + public: + MonolithicDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__); + + MonolithicDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); + MonolithicDeploymentDescription (MonolithicDeploymentDescription const& s); + + MonolithicDeploymentDescription& + operator= (MonolithicDeploymentDescription const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export ResourceUsageKind : public ::XSCRT::Type + { + public: + ResourceUsageKind (::XSCRT::XML::Element< ACE_TCHAR > const&); + ResourceUsageKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); + + static ResourceUsageKind const None; + static ResourceUsageKind const InstanceUsesResource; + static ResourceUsageKind const ResourceUsesInstance; + static ResourceUsageKind const PortUsesResource; + static ResourceUsageKind const ResourceUsesPort; + + enum Value + { + None_l,InstanceUsesResource_l,ResourceUsesInstance_l,PortUsesResource_l,ResourceUsesPort_l, + }; + + + Value + integral () const; + + friend bool XSC_XML_Handlers_Export + operator== (ResourceUsageKind const& a, ResourceUsageKind const& b); + + friend bool XSC_XML_Handlers_Export + operator!= (ResourceUsageKind const& a, ResourceUsageKind const& b); + + private: + ResourceUsageKind (Value v); + + Value v_; + }; + + bool XSC_XML_Handlers_Export operator== (ResourceUsageKind const &a, ResourceUsageKind const &b); + + bool XSC_XML_Handlers_Export operator!= (ResourceUsageKind const &a, ResourceUsageKind const &b); + + + class XSC_XML_Handlers_Export InstanceResourceDeploymentDescription : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // resourceUsage + // + public: + ::CIAO::Config_Handlers::ResourceUsageKind const& resourceUsage () const; + void resourceUsage (::CIAO::Config_Handlers::ResourceUsageKind const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::ResourceUsageKind > resourceUsage_; + + // requirementName + // + public: + ::XMLSchema::string< ACE_TCHAR > const& requirementName () const; + void requirementName (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requirementName_; + + // resourceName + // + public: + ::XMLSchema::string< ACE_TCHAR > const& resourceName () const; + void resourceName (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceName_; + + // property + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator property_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator property_const_iterator; + property_iterator begin_property (); + property_iterator end_property (); + property_const_iterator begin_property () const; + property_const_iterator end_property () const; + void add_property (::CIAO::Config_Handlers::Property const& ); + size_t count_property (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Property > property_; + + public: + InstanceResourceDeploymentDescription (::CIAO::Config_Handlers::ResourceUsageKind const& resourceUsage__, + ::XMLSchema::string< ACE_TCHAR > const& requirementName__, + ::XMLSchema::string< ACE_TCHAR > const& resourceName__); + + InstanceResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); + InstanceResourceDeploymentDescription (InstanceResourceDeploymentDescription const& s); + + InstanceResourceDeploymentDescription& + operator= (InstanceResourceDeploymentDescription const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export InstanceDeploymentDescription : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // node + // + public: + ::XMLSchema::string< ACE_TCHAR > const& node () const; + void node (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > node_; + + // source + // + public: + ::XMLSchema::string< ACE_TCHAR > const& source () const; + void source (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > source_; + + // implementation + // + public: + ::XMLSchema::IDREF< ACE_TCHAR > const& implementation () const; + void implementation (::XMLSchema::IDREF< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > implementation_; + + // configProperty + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; + configProperty_iterator begin_configProperty (); + configProperty_iterator end_configProperty (); + configProperty_const_iterator begin_configProperty () const; + configProperty_const_iterator end_configProperty () const; + void add_configProperty (::CIAO::Config_Handlers::Property const& ); + size_t count_configProperty (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Property > configProperty_; + + // deployedResource + // + public: + bool deployedResource_p () const; + ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& deployedResource () const; + void deployedResource (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > deployedResource_; + + // deployedSharedResource + // + public: + bool deployedSharedResource_p () const; + ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& deployedSharedResource () const; + void deployedSharedResource (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > deployedSharedResource_; + + // id + // + public: + bool id_p () const; + ::XMLSchema::ID< ACE_TCHAR > const& id () const; + ::XMLSchema::ID< ACE_TCHAR >& id (); + void id (::XMLSchema::ID< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_; + + public: + InstanceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__, + ::XMLSchema::string< ACE_TCHAR > const& node__, + ::XMLSchema::string< ACE_TCHAR > const& source__, + ::XMLSchema::IDREF< ACE_TCHAR > const& implementation__); + + InstanceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); + InstanceDeploymentDescription (InstanceDeploymentDescription const& s); + + InstanceDeploymentDescription& + operator= (InstanceDeploymentDescription const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export CCMComponentPortKind : public ::XSCRT::Type + { + public: + CCMComponentPortKind (::XSCRT::XML::Element< ACE_TCHAR > const&); + CCMComponentPortKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); + + static CCMComponentPortKind const Facet; + static CCMComponentPortKind const SimplexReceptacle; + static CCMComponentPortKind const MultiplexReceptacle; + static CCMComponentPortKind const EventEmitter; + static CCMComponentPortKind const EventPublisher; + static CCMComponentPortKind const EventConsumer; + + enum Value + { + Facet_l,SimplexReceptacle_l,MultiplexReceptacle_l,EventEmitter_l,EventPublisher_l,EventConsumer_l, + }; + + + Value + integral () const; + + friend bool XSC_XML_Handlers_Export + operator== (CCMComponentPortKind const& a, CCMComponentPortKind const& b); + + friend bool XSC_XML_Handlers_Export + operator!= (CCMComponentPortKind const& a, CCMComponentPortKind const& b); + + private: + CCMComponentPortKind (Value v); + + Value v_; + }; + + bool XSC_XML_Handlers_Export operator== (CCMComponentPortKind const &a, CCMComponentPortKind const &b); + + bool XSC_XML_Handlers_Export operator!= (CCMComponentPortKind const &a, CCMComponentPortKind const &b); + + + class XSC_XML_Handlers_Export ComponentPortDescription : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // specificType + // + public: + bool specificType_p () const; + ::XMLSchema::string< ACE_TCHAR > const& specificType () const; + void specificType (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > specificType_; + + // supportedType + // + public: + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator supportedType_iterator; + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator supportedType_const_iterator; + supportedType_iterator begin_supportedType (); + supportedType_iterator end_supportedType (); + supportedType_const_iterator begin_supportedType () const; + supportedType_const_iterator end_supportedType () const; + void add_supportedType (::XMLSchema::string< ACE_TCHAR > const& ); + size_t count_supportedType (void) const; + + protected: + ::std::list< ::XMLSchema::string< ACE_TCHAR > > supportedType_; + + // provider + // + public: + ::XMLSchema::boolean const& provider () const; + void provider (::XMLSchema::boolean const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::boolean > provider_; + // exclusiveProvider + // + public: + ::XMLSchema::boolean const& exclusiveProvider () const; + void exclusiveProvider (::XMLSchema::boolean const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::boolean > exclusiveProvider_; + + // exclusiveUser + // + public: + ::XMLSchema::boolean const& exclusiveUser () const; + void exclusiveUser (::XMLSchema::boolean const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::boolean > exclusiveUser_; -class XSC_XML_Handlers_Export SatisfierPropertyKind : public ::XSCRT::Type -{ -public: -SatisfierPropertyKind (::XSCRT::XML::Element< ACE_TCHAR > const&); -SatisfierPropertyKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); - -static SatisfierPropertyKind const Quantity; -static SatisfierPropertyKind const Capacity; -static SatisfierPropertyKind const Minimum; -static SatisfierPropertyKind const Maximum; -static SatisfierPropertyKind const Attribute; -static SatisfierPropertyKind const Selection; - -enum Value -{ -Quantity_l,Capacity_l,Minimum_l,Maximum_l,Attribute_l,Selection_l -}; + // optional + // + public: + ::XMLSchema::boolean const& optional () const; + void optional (::XMLSchema::boolean const& ); + protected: + ::std::auto_ptr< ::XMLSchema::boolean > optional_; -Value -integral () const; + // kind + // + public: + ::CIAO::Config_Handlers::CCMComponentPortKind const& kind () const; + void kind (::CIAO::Config_Handlers::CCMComponentPortKind const& ); -friend bool XSC_XML_Handlers_Export -operator== (SatisfierPropertyKind const& a, SatisfierPropertyKind const& b); + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::CCMComponentPortKind > kind_; -friend bool XSC_XML_Handlers_Export -operator!= (SatisfierPropertyKind const& a, SatisfierPropertyKind const& b); + public: + ComponentPortDescription (::XMLSchema::string< ACE_TCHAR > const& name__, + ::XMLSchema::boolean const& provider__, + ::XMLSchema::boolean const& exclusiveProvider__, + ::XMLSchema::boolean const& exclusiveUser__, + ::XMLSchema::boolean const& optional__, + ::CIAO::Config_Handlers::CCMComponentPortKind const& kind__); + + ComponentPortDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); + ComponentPortDescription (ComponentPortDescription const& s); + + ComponentPortDescription& + operator= (ComponentPortDescription const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export ComponentPropertyDescription : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // type + // + public: + ::CIAO::Config_Handlers::DataType const& type () const; + void type (::CIAO::Config_Handlers::DataType const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::DataType > type_; + + public: + ComponentPropertyDescription (::XMLSchema::string< ACE_TCHAR > const& name__, + ::CIAO::Config_Handlers::DataType const& type__); + + ComponentPropertyDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); + ComponentPropertyDescription (ComponentPropertyDescription const& s); -private: -SatisfierPropertyKind (Value v); + ComponentPropertyDescription& + operator= (ComponentPropertyDescription const& s); + + private: + char regulator__; + }; -Value v_; -}; -bool XSC_XML_Handlers_Export operator== (SatisfierPropertyKind const &a, SatisfierPropertyKind const &b); + class XSC_XML_Handlers_Export ComponentExternalPortEndpoint : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; -bool XSC_XML_Handlers_Export operator!= (SatisfierPropertyKind const &a, SatisfierPropertyKind const &b); + // portName + // + public: + ::XMLSchema::string< ACE_TCHAR > const& portName () const; + void portName (::XMLSchema::string< ACE_TCHAR > const& ); + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > portName_; -class XSC_XML_Handlers_Export SatisfierProperty : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + public: + ComponentExternalPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__); -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); + ComponentExternalPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const&); + ComponentExternalPortEndpoint (ComponentExternalPortEndpoint const& s); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + ComponentExternalPortEndpoint& + operator= (ComponentExternalPortEndpoint const& s); -// kind -// -public: -::CIAO::Config_Handlers::SatisfierPropertyKind const& kind () const; -void kind (::CIAO::Config_Handlers::SatisfierPropertyKind const& ); + private: + char regulator__; + }; -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::SatisfierPropertyKind > kind_; -// dynamic -// -public: -::XMLSchema::boolean const& dynamic () const; -void dynamic (::XMLSchema::boolean const& ); + class XSC_XML_Handlers_Export PlanSubcomponentPortEndpoint : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; -protected: -::std::auto_ptr< ::XMLSchema::boolean > dynamic_; + // portName + // + public: + ::XMLSchema::string< ACE_TCHAR > const& portName () const; + void portName (::XMLSchema::string< ACE_TCHAR > const& ); -// value -// -public: -::CIAO::Config_Handlers::Any const& value () const; -void value (::CIAO::Config_Handlers::Any const& ); + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > portName_; -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::Any > value_; + // provider + // + public: + bool provider_p () const; + ::XMLSchema::string< ACE_TCHAR > const& provider () const; + void provider (::XMLSchema::string< ACE_TCHAR > const& ); -public: -SatisfierProperty (::XMLSchema::string< ACE_TCHAR > const& name__, -::CIAO::Config_Handlers::SatisfierPropertyKind const& kind__, -::XMLSchema::boolean const& dynamic__, -::CIAO::Config_Handlers::Any const& value__); + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > provider_; -SatisfierProperty (::XSCRT::XML::Element< ACE_TCHAR > const&); -SatisfierProperty (SatisfierProperty const& s); + // kind + // + public: + ::CIAO::Config_Handlers::CCMComponentPortKind const& kind () const; + void kind (::CIAO::Config_Handlers::CCMComponentPortKind const& ); -SatisfierProperty& -operator= (SatisfierProperty const& s); + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::CCMComponentPortKind > kind_; -private: -char regulator__; -}; + // instance + // + public: + ::XMLSchema::IDREF< ACE_TCHAR > const& instance () const; + void instance (::XMLSchema::IDREF< ACE_TCHAR > const& ); + protected: + ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > instance_; -class XSC_XML_Handlers_Export Resource : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + public: + PlanSubcomponentPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__, + ::CIAO::Config_Handlers::CCMComponentPortKind const& kind__, + ::XMLSchema::IDREF< ACE_TCHAR > const& instance__); -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); + PlanSubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const&); + PlanSubcomponentPortEndpoint (PlanSubcomponentPortEndpoint const& s); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + PlanSubcomponentPortEndpoint& + operator= (PlanSubcomponentPortEndpoint const& s); -// resourceType -// -public: -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator resourceType_iterator; -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator resourceType_const_iterator; -resourceType_iterator begin_resourceType (); -resourceType_iterator end_resourceType (); -resourceType_const_iterator begin_resourceType () const; -resourceType_const_iterator end_resourceType () const; -void add_resourceType (::XMLSchema::string< ACE_TCHAR > const& ); -size_t count_resourceType (void) const; - -protected: -::std::list< ::XMLSchema::string< ACE_TCHAR > > resourceType_; - -// property -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::SatisfierProperty >::iterator property_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::SatisfierProperty >::const_iterator property_const_iterator; -property_iterator begin_property (); -property_iterator end_property (); -property_const_iterator begin_property () const; -property_const_iterator end_property () const; -void add_property (::CIAO::Config_Handlers::SatisfierProperty const& ); -size_t count_property (void) const; + private: + char regulator__; + }; -protected: -::std::list< ::CIAO::Config_Handlers::SatisfierProperty > property_; -public: -Resource (::XMLSchema::string< ACE_TCHAR > const& name__); + class XSC_XML_Handlers_Export ExternalReferenceEndpoint : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // location + // + public: + ::XMLSchema::string< ACE_TCHAR > const& location () const; + void location (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > location_; + + public: + ExternalReferenceEndpoint (::XMLSchema::string< ACE_TCHAR > const& location__); + + ExternalReferenceEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const&); + ExternalReferenceEndpoint (ExternalReferenceEndpoint const& s); + + ExternalReferenceEndpoint& + operator= (ExternalReferenceEndpoint const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export ConnectionResourceDeploymentDescription : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // targetName + // + public: + ::XMLSchema::string< ACE_TCHAR > const& targetName () const; + void targetName (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > targetName_; + + // requirementName + // + public: + ::XMLSchema::string< ACE_TCHAR > const& requirementName () const; + void requirementName (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requirementName_; + + // resourceName + // + public: + ::XMLSchema::string< ACE_TCHAR > const& resourceName () const; + void resourceName (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceName_; + + // property + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator property_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator property_const_iterator; + property_iterator begin_property (); + property_iterator end_property (); + property_const_iterator begin_property () const; + property_const_iterator end_property () const; + void add_property (::CIAO::Config_Handlers::Property const& ); + size_t count_property (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Property > property_; + + public: + ConnectionResourceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& targetName__, + ::XMLSchema::string< ACE_TCHAR > const& requirementName__, + ::XMLSchema::string< ACE_TCHAR > const& resourceName__); + + ConnectionResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); + ConnectionResourceDeploymentDescription (ConnectionResourceDeploymentDescription const& s); + + ConnectionResourceDeploymentDescription& + operator= (ConnectionResourceDeploymentDescription const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export PlanConnectionDescription : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // source + // + public: + bool source_p () const; + ::XMLSchema::string< ACE_TCHAR > const& source () const; + void source (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > source_; + + // deployRequirement + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator deployRequirement_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator deployRequirement_const_iterator; + deployRequirement_iterator begin_deployRequirement (); + deployRequirement_iterator end_deployRequirement (); + deployRequirement_const_iterator begin_deployRequirement () const; + deployRequirement_const_iterator end_deployRequirement () const; + void add_deployRequirement (::CIAO::Config_Handlers::Requirement const& ); + size_t count_deployRequirement (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Requirement > deployRequirement_; + + // externalEndpoint + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint >::iterator externalEndpoint_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint >::const_iterator externalEndpoint_const_iterator; + externalEndpoint_iterator begin_externalEndpoint (); + externalEndpoint_iterator end_externalEndpoint (); + externalEndpoint_const_iterator begin_externalEndpoint () const; + externalEndpoint_const_iterator end_externalEndpoint () const; + void add_externalEndpoint (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& ); + size_t count_externalEndpoint (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint > externalEndpoint_; + + // internalEndpoint + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint >::iterator internalEndpoint_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint >::const_iterator internalEndpoint_const_iterator; + internalEndpoint_iterator begin_internalEndpoint (); + internalEndpoint_iterator end_internalEndpoint (); + internalEndpoint_const_iterator begin_internalEndpoint () const; + internalEndpoint_const_iterator end_internalEndpoint () const; + void add_internalEndpoint (::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint const& ); + size_t count_internalEndpoint (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint > internalEndpoint_; + + // externalReference + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint >::iterator externalReference_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint >::const_iterator externalReference_const_iterator; + externalReference_iterator begin_externalReference (); + externalReference_iterator end_externalReference (); + externalReference_const_iterator begin_externalReference () const; + externalReference_const_iterator end_externalReference () const; + void add_externalReference (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& ); + size_t count_externalReference (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint > externalReference_; + + // deployedResource + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription >::iterator deployedResource_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription >::const_iterator deployedResource_const_iterator; + deployedResource_iterator begin_deployedResource (); + deployedResource_iterator end_deployedResource (); + deployedResource_const_iterator begin_deployedResource () const; + deployedResource_const_iterator end_deployedResource () const; + void add_deployedResource (::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription const& ); + size_t count_deployedResource (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription > deployedResource_; + + public: + PlanConnectionDescription (::XMLSchema::string< ACE_TCHAR > const& name__); + + PlanConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); + PlanConnectionDescription (PlanConnectionDescription const& s); + + PlanConnectionDescription& + operator= (PlanConnectionDescription const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export ImplementationDependency : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // requiredType + // + public: + ::XMLSchema::string< ACE_TCHAR > const& requiredType () const; + void requiredType (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requiredType_; + + public: + ImplementationDependency (::XMLSchema::string< ACE_TCHAR > const& requiredType__); + + ImplementationDependency (::XSCRT::XML::Element< ACE_TCHAR > const&); + ImplementationDependency (ImplementationDependency const& s); + + ImplementationDependency& + operator= (ImplementationDependency const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export Capability : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // resourceType + // + public: + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator resourceType_iterator; + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator resourceType_const_iterator; + resourceType_iterator begin_resourceType (); + resourceType_iterator end_resourceType (); + resourceType_const_iterator begin_resourceType () const; + resourceType_const_iterator end_resourceType () const; + void add_resourceType (::XMLSchema::string< ACE_TCHAR > const& ); + size_t count_resourceType (void) const; + + protected: + ::std::list< ::XMLSchema::string< ACE_TCHAR > > resourceType_; + + // property + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::SatisfierProperty >::iterator property_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::SatisfierProperty >::const_iterator property_const_iterator; + property_iterator begin_property (); + property_iterator end_property (); + property_const_iterator begin_property () const; + property_const_iterator end_property () const; + void add_property (::CIAO::Config_Handlers::SatisfierProperty const& ); + size_t count_property (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::SatisfierProperty > property_; + + public: + Capability (::XMLSchema::string< ACE_TCHAR > const& name__); + + Capability (::XSCRT::XML::Element< ACE_TCHAR > const&); + Capability (Capability const& s); + + Capability& + operator= (Capability const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export ImplementationRequirement : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // resourceUsage + // + public: + bool resourceUsage_p () const; + ::CIAO::Config_Handlers::ResourceUsageKind const& resourceUsage () const; + void resourceUsage (::CIAO::Config_Handlers::ResourceUsageKind const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::ResourceUsageKind > resourceUsage_; + + // resourcePort + // + public: + bool resourcePort_p () const; + ::XMLSchema::string< ACE_TCHAR > const& resourcePort () const; + void resourcePort (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourcePort_; + + // componentPort + // + public: + bool componentPort_p () const; + ::XMLSchema::string< ACE_TCHAR > const& componentPort () const; + void componentPort (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > componentPort_; + + // resourceType + // + public: + ::XMLSchema::string< ACE_TCHAR > const& resourceType () const; + void resourceType (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceType_; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // property + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator property_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator property_const_iterator; + property_iterator begin_property (); + property_iterator end_property (); + property_const_iterator begin_property () const; + property_const_iterator end_property () const; + void add_property (::CIAO::Config_Handlers::Property const& ); + size_t count_property (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Property > property_; + + public: + ImplementationRequirement (::XMLSchema::string< ACE_TCHAR > const& resourceType__, + ::XMLSchema::string< ACE_TCHAR > const& name__); + + ImplementationRequirement (::XSCRT::XML::Element< ACE_TCHAR > const&); + ImplementationRequirement (ImplementationRequirement const& s); + + ImplementationRequirement& + operator= (ImplementationRequirement const& s); + + private: + char regulator__; + }; -Resource (::XSCRT::XML::Element< ACE_TCHAR > const&); -Resource (Resource const& s); -Resource& -operator= (Resource const& s); + class XSC_XML_Handlers_Export ComponentPackageReference : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // requiredUUID + // + public: + bool requiredUUID_p () const; + ::XMLSchema::string< ACE_TCHAR > const& requiredUUID () const; + void requiredUUID (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requiredUUID_; + + // requiredName + // + public: + bool requiredName_p () const; + ::XMLSchema::string< ACE_TCHAR > const& requiredName () const; + void requiredName (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requiredName_; + + // requiredType + // + public: + ::XMLSchema::string< ACE_TCHAR > const& requiredType () const; + void requiredType (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requiredType_; + + public: + ComponentPackageReference (::XMLSchema::string< ACE_TCHAR > const& requiredType__); + + ComponentPackageReference (::XSCRT::XML::Element< ACE_TCHAR > const&); + ComponentPackageReference (ComponentPackageReference const& s); + + ComponentPackageReference& + operator= (ComponentPackageReference const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export SubcomponentPortEndpoint : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // portName + // + public: + ::XMLSchema::string< ACE_TCHAR > const& portName () const; + void portName (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > portName_; + + // instance + // + public: + ::XMLSchema::IDREF< ACE_TCHAR > const& instance () const; + void instance (::XMLSchema::IDREF< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > instance_; + + public: + SubcomponentPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__, + ::XMLSchema::IDREF< ACE_TCHAR > const& instance__); + + SubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const&); + SubcomponentPortEndpoint (SubcomponentPortEndpoint const& s); + + SubcomponentPortEndpoint& + operator= (SubcomponentPortEndpoint const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export AssemblyConnectionDescription : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // deployRequirement + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator deployRequirement_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator deployRequirement_const_iterator; + deployRequirement_iterator begin_deployRequirement (); + deployRequirement_iterator end_deployRequirement (); + deployRequirement_const_iterator begin_deployRequirement () const; + deployRequirement_const_iterator end_deployRequirement () const; + void add_deployRequirement (::CIAO::Config_Handlers::Requirement const& ); + size_t count_deployRequirement (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Requirement > deployRequirement_; + + // internalEndpoint + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentPortEndpoint >::iterator internalEndpoint_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentPortEndpoint >::const_iterator internalEndpoint_const_iterator; + internalEndpoint_iterator begin_internalEndpoint (); + internalEndpoint_iterator end_internalEndpoint (); + internalEndpoint_const_iterator begin_internalEndpoint () const; + internalEndpoint_const_iterator end_internalEndpoint () const; + void add_internalEndpoint (::CIAO::Config_Handlers::SubcomponentPortEndpoint const& ); + size_t count_internalEndpoint (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::SubcomponentPortEndpoint > internalEndpoint_; + + // externalEndpoint + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint >::iterator externalEndpoint_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint >::const_iterator externalEndpoint_const_iterator; + externalEndpoint_iterator begin_externalEndpoint (); + externalEndpoint_iterator end_externalEndpoint (); + externalEndpoint_const_iterator begin_externalEndpoint () const; + externalEndpoint_const_iterator end_externalEndpoint () const; + void add_externalEndpoint (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& ); + size_t count_externalEndpoint (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint > externalEndpoint_; + + // externalReference + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint >::iterator externalReference_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint >::const_iterator externalReference_const_iterator; + externalReference_iterator begin_externalReference (); + externalReference_iterator end_externalReference (); + externalReference_const_iterator begin_externalReference () const; + externalReference_const_iterator end_externalReference () const; + void add_externalReference (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& ); + size_t count_externalReference (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint > externalReference_; + + public: + AssemblyConnectionDescription (::XMLSchema::string< ACE_TCHAR > const& name__); + + AssemblyConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); + AssemblyConnectionDescription (AssemblyConnectionDescription const& s); + + AssemblyConnectionDescription& + operator= (AssemblyConnectionDescription const& s); + + private: + char regulator__; + }; + } +} -private: -char regulator__; -}; +namespace CIAO +{ + namespace Config_Handlers + { + } +} +#include "XMLSchema/Traversal.hpp" -class XSC_XML_Handlers_Export Requirement : public ::XSCRT::Type +namespace CIAO { -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + namespace Config_Handlers + { + namespace Traversal + { + typedef + ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::TCKind > + TCKind; -// resourceType -// -public: -::XMLSchema::string< ACE_TCHAR > const& resourceType () const; -void resourceType (::XMLSchema::string< ACE_TCHAR > const& ); + struct XSC_XML_Handlers_Export DataType : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::DataType > + { + virtual void + traverse (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceType_; + virtual void + traverse (Type const&); -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + pre (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + virtual void + pre (Type const&); -// property -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator property_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator property_const_iterator; -property_iterator begin_property (); -property_iterator end_property (); -property_const_iterator begin_property () const; -property_const_iterator end_property () const; -void add_property (::CIAO::Config_Handlers::Property const& ); -size_t count_property (void) const; + virtual void + kind (Type&); -protected: -::std::list< ::CIAO::Config_Handlers::Property > property_; + virtual void + kind (Type const&); -public: -Requirement (::XMLSchema::string< ACE_TCHAR > const& resourceType__, -::XMLSchema::string< ACE_TCHAR > const& name__); + virtual void + enum_ (Type&); -Requirement (::XSCRT::XML::Element< ACE_TCHAR > const&); -Requirement (Requirement const& s); + virtual void + enum_ (Type const&); -Requirement& -operator= (Requirement const& s); + virtual void + enum_none (Type&); -private: -char regulator__; -}; + virtual void + enum_none (Type const&); + virtual void + struct_ (Type&); -class XSC_XML_Handlers_Export ResourceDeploymentDescription : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + virtual void + struct_ (Type const&); -// requirementName -// -public: -::XMLSchema::string< ACE_TCHAR > const& requirementName () const; -void requirementName (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + struct_none (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requirementName_; + virtual void + struct_none (Type const&); -// resourceName -// -public: -::XMLSchema::string< ACE_TCHAR > const& resourceName () const; -void resourceName (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + value (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceName_; + virtual void + value (Type const&); -// property -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator property_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator property_const_iterator; -property_iterator begin_property (); -property_iterator end_property (); -property_const_iterator begin_property () const; -property_const_iterator end_property () const; -void add_property (::CIAO::Config_Handlers::Property const& ); -size_t count_property (void) const; + virtual void + value_none (Type&); -protected: -::std::list< ::CIAO::Config_Handlers::Property > property_; + virtual void + value_none (Type const&); -public: -ResourceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& requirementName__, -::XMLSchema::string< ACE_TCHAR > const& resourceName__); + virtual void + sequence (Type&); -ResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); -ResourceDeploymentDescription (ResourceDeploymentDescription const& s); + virtual void + sequence (Type const&); -ResourceDeploymentDescription& -operator= (ResourceDeploymentDescription const& s); + virtual void + sequence_none (Type&); -private: -char regulator__; -}; + virtual void + sequence_none (Type const&); + virtual void + id (Type&); -class XSC_XML_Handlers_Export ArtifactDeploymentDescription : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + virtual void + id (Type const&); -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + id_none (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + virtual void + id_none (Type const&); -// source -// -public: -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator source_iterator; -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator source_const_iterator; -source_iterator begin_source (); -source_iterator end_source (); -source_const_iterator begin_source () const; -source_const_iterator end_source () const; -void add_source (::XMLSchema::string< ACE_TCHAR > const& ); -size_t count_source (void) const; - -protected: -::std::list< ::XMLSchema::string< ACE_TCHAR > > source_; - -// node -// -public: -::XMLSchema::string< ACE_TCHAR > const& node () const; -void node (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + post (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > node_; + virtual void + post (Type const&); + }; -// location -// -public: -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator location_iterator; -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator location_const_iterator; -location_iterator begin_location (); -location_iterator end_location (); -location_const_iterator begin_location () const; -location_const_iterator end_location () const; -void add_location (::XMLSchema::string< ACE_TCHAR > const& ); -size_t count_location (void) const; - -protected: -::std::list< ::XMLSchema::string< ACE_TCHAR > > location_; - -// execParameter -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator execParameter_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator execParameter_const_iterator; -execParameter_iterator begin_execParameter (); -execParameter_iterator end_execParameter (); -execParameter_const_iterator begin_execParameter () const; -execParameter_const_iterator end_execParameter () const; -void add_execParameter (::CIAO::Config_Handlers::Property const& ); -size_t count_execParameter (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Property > execParameter_; - -// deployRequirement -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator deployRequirement_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator deployRequirement_const_iterator; -deployRequirement_iterator begin_deployRequirement (); -deployRequirement_iterator end_deployRequirement (); -deployRequirement_const_iterator begin_deployRequirement () const; -deployRequirement_const_iterator end_deployRequirement () const; -void add_deployRequirement (::CIAO::Config_Handlers::Requirement const& ); -size_t count_deployRequirement (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Requirement > deployRequirement_; - -// deployedResource -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::ResourceDeploymentDescription >::iterator deployedResource_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::ResourceDeploymentDescription >::const_iterator deployedResource_const_iterator; -deployedResource_iterator begin_deployedResource (); -deployedResource_iterator end_deployedResource (); -deployedResource_const_iterator begin_deployedResource () const; -deployedResource_const_iterator end_deployedResource () const; -void add_deployedResource (::CIAO::Config_Handlers::ResourceDeploymentDescription const& ); -size_t count_deployedResource (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::ResourceDeploymentDescription > deployedResource_; - -// id -// -public: -bool id_p () const; -::XMLSchema::ID< ACE_TCHAR > const& id () const; -::XMLSchema::ID< ACE_TCHAR >& id (); -void id (::XMLSchema::ID< ACE_TCHAR > const& ); + struct XSC_XML_Handlers_Export DataValue : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::DataValue > + { + virtual void + traverse (Type&); -protected: -::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_; + virtual void + traverse (Type const&); -public: -ArtifactDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__, -::XMLSchema::string< ACE_TCHAR > const& node__); + virtual void + pre (Type&); -ArtifactDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); -ArtifactDeploymentDescription (ArtifactDeploymentDescription const& s); + virtual void + pre (Type const&); -ArtifactDeploymentDescription& -operator= (ArtifactDeploymentDescription const& s); + virtual void + short_ (Type&); -private: -char regulator__; -}; + virtual void + short_ (Type const&); + virtual void + short_pre (Type&); -class XSC_XML_Handlers_Export MonolithicDeploymentDescription : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + virtual void + short_pre (Type const&); -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + short_next (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + virtual void + short_next (Type const&); -// source -// -public: -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator source_iterator; -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator source_const_iterator; -source_iterator begin_source (); -source_iterator end_source (); -source_const_iterator begin_source () const; -source_const_iterator end_source () const; -void add_source (::XMLSchema::string< ACE_TCHAR > const& ); -size_t count_source (void) const; - -protected: -::std::list< ::XMLSchema::string< ACE_TCHAR > > source_; - -// artifact -// -public: -typedef ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > >::iterator artifact_iterator; -typedef ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > >::const_iterator artifact_const_iterator; -artifact_iterator begin_artifact (); -artifact_iterator end_artifact (); -artifact_const_iterator begin_artifact () const; -artifact_const_iterator end_artifact () const; -void add_artifact (::XMLSchema::IDREF< ACE_TCHAR > const& ); -size_t count_artifact (void) const; - -protected: -::std::list< ::XMLSchema::IDREF< ACE_TCHAR > > artifact_; - -// execParameter -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator execParameter_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator execParameter_const_iterator; -execParameter_iterator begin_execParameter (); -execParameter_iterator end_execParameter (); -execParameter_const_iterator begin_execParameter () const; -execParameter_const_iterator end_execParameter () const; -void add_execParameter (::CIAO::Config_Handlers::Property const& ); -size_t count_execParameter (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Property > execParameter_; - -// deployRequirement -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator deployRequirement_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator deployRequirement_const_iterator; -deployRequirement_iterator begin_deployRequirement (); -deployRequirement_iterator end_deployRequirement (); -deployRequirement_const_iterator begin_deployRequirement () const; -deployRequirement_const_iterator end_deployRequirement () const; -void add_deployRequirement (::CIAO::Config_Handlers::Requirement const& ); -size_t count_deployRequirement (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Requirement > deployRequirement_; - -// id -// -public: -bool id_p () const; -::XMLSchema::ID< ACE_TCHAR > const& id () const; -::XMLSchema::ID< ACE_TCHAR >& id (); -void id (::XMLSchema::ID< ACE_TCHAR > const& ); + virtual void + short_post (Type&); -protected: -::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_; + virtual void + short_post (Type const&); -public: -MonolithicDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__); + virtual void + short_none (Type&); -MonolithicDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); -MonolithicDeploymentDescription (MonolithicDeploymentDescription const& s); + virtual void + short_none (Type const&); -MonolithicDeploymentDescription& -operator= (MonolithicDeploymentDescription const& s); + virtual void + long_ (Type&); -private: -char regulator__; -}; + virtual void + long_ (Type const&); + virtual void + long_pre (Type&); -class XSC_XML_Handlers_Export ResourceUsageKind : public ::XSCRT::Type -{ -public: -ResourceUsageKind (::XSCRT::XML::Element< ACE_TCHAR > const&); -ResourceUsageKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); + virtual void + long_pre (Type const&); -static ResourceUsageKind const None; -static ResourceUsageKind const InstanceUsesResource; -static ResourceUsageKind const ResourceUsesInstance; -static ResourceUsageKind const PortUsesResource; -static ResourceUsageKind const ResourceUsesPort; + virtual void + long_next (Type&); -enum Value -{ -None_l,InstanceUsesResource_l,ResourceUsesInstance_l,PortUsesResource_l,ResourceUsesPort_l -}; + virtual void + long_next (Type const&); + virtual void + long_post (Type&); -Value -integral () const; + virtual void + long_post (Type const&); -friend bool XSC_XML_Handlers_Export -operator== (ResourceUsageKind const& a, ResourceUsageKind const& b); + virtual void + long_none (Type&); -friend bool XSC_XML_Handlers_Export -operator!= (ResourceUsageKind const& a, ResourceUsageKind const& b); + virtual void + long_none (Type const&); -private: -ResourceUsageKind (Value v); + virtual void + ushort (Type&); -Value v_; -}; + virtual void + ushort (Type const&); -bool XSC_XML_Handlers_Export operator== (ResourceUsageKind const &a, ResourceUsageKind const &b); + virtual void + ushort_pre (Type&); -bool XSC_XML_Handlers_Export operator!= (ResourceUsageKind const &a, ResourceUsageKind const &b); + virtual void + ushort_pre (Type const&); + virtual void + ushort_next (Type&); -class XSC_XML_Handlers_Export InstanceResourceDeploymentDescription : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + virtual void + ushort_next (Type const&); -// resourceUsage -// -public: -::CIAO::Config_Handlers::ResourceUsageKind const& resourceUsage () const; -void resourceUsage (::CIAO::Config_Handlers::ResourceUsageKind const& ); + virtual void + ushort_post (Type&); -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::ResourceUsageKind > resourceUsage_; + virtual void + ushort_post (Type const&); -// requirementName -// -public: -::XMLSchema::string< ACE_TCHAR > const& requirementName () const; -void requirementName (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + ushort_none (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requirementName_; + virtual void + ushort_none (Type const&); -// resourceName -// -public: -::XMLSchema::string< ACE_TCHAR > const& resourceName () const; -void resourceName (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + ulong (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceName_; + virtual void + ulong (Type const&); -// property -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator property_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator property_const_iterator; -property_iterator begin_property (); -property_iterator end_property (); -property_const_iterator begin_property () const; -property_const_iterator end_property () const; -void add_property (::CIAO::Config_Handlers::Property const& ); -size_t count_property (void) const; + virtual void + ulong_pre (Type&); -protected: -::std::list< ::CIAO::Config_Handlers::Property > property_; + virtual void + ulong_pre (Type const&); -public: -InstanceResourceDeploymentDescription (::CIAO::Config_Handlers::ResourceUsageKind const& resourceUsage__, -::XMLSchema::string< ACE_TCHAR > const& requirementName__, -::XMLSchema::string< ACE_TCHAR > const& resourceName__); + virtual void + ulong_next (Type&); -InstanceResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); -InstanceResourceDeploymentDescription (InstanceResourceDeploymentDescription const& s); + virtual void + ulong_next (Type const&); -InstanceResourceDeploymentDescription& -operator= (InstanceResourceDeploymentDescription const& s); + virtual void + ulong_post (Type&); -private: -char regulator__; -}; + virtual void + ulong_post (Type const&); + virtual void + ulong_none (Type&); -class XSC_XML_Handlers_Export InstanceDeploymentDescription : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + virtual void + ulong_none (Type const&); -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + float_ (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + virtual void + float_ (Type const&); -// node -// -public: -::XMLSchema::string< ACE_TCHAR > const& node () const; -void node (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + float_pre (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > node_; + virtual void + float_pre (Type const&); -// source -// -public: -::XMLSchema::string< ACE_TCHAR > const& source () const; -void source (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + float_next (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > source_; + virtual void + float_next (Type const&); -// implementation -// -public: -::XMLSchema::IDREF< ACE_TCHAR > const& implementation () const; -void implementation (::XMLSchema::IDREF< ACE_TCHAR > const& ); + virtual void + float_post (Type&); -protected: -::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > implementation_; + virtual void + float_post (Type const&); -// configProperty -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; -configProperty_iterator begin_configProperty (); -configProperty_iterator end_configProperty (); -configProperty_const_iterator begin_configProperty () const; -configProperty_const_iterator end_configProperty () const; -void add_configProperty (::CIAO::Config_Handlers::Property const& ); -size_t count_configProperty (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Property > configProperty_; - -// deployedResource -// -public: -bool deployedResource_p () const; -::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& deployedResource () const; -void deployedResource (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& ); + virtual void + float_none (Type&); -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > deployedResource_; + virtual void + float_none (Type const&); -// deployedSharedResource -// -public: -bool deployedSharedResource_p () const; -::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& deployedSharedResource () const; -void deployedSharedResource (::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& ); + virtual void + double_ (Type&); -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > deployedSharedResource_; + virtual void + double_ (Type const&); -// id -// -public: -bool id_p () const; -::XMLSchema::ID< ACE_TCHAR > const& id () const; -::XMLSchema::ID< ACE_TCHAR >& id (); -void id (::XMLSchema::ID< ACE_TCHAR > const& ); + virtual void + double_pre (Type&); -protected: -::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_; + virtual void + double_pre (Type const&); -public: -InstanceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& name__, -::XMLSchema::string< ACE_TCHAR > const& node__, -::XMLSchema::string< ACE_TCHAR > const& source__, -::XMLSchema::IDREF< ACE_TCHAR > const& implementation__); + virtual void + double_next (Type&); -InstanceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); -InstanceDeploymentDescription (InstanceDeploymentDescription const& s); + virtual void + double_next (Type const&); -InstanceDeploymentDescription& -operator= (InstanceDeploymentDescription const& s); + virtual void + double_post (Type&); -private: -char regulator__; -}; + virtual void + double_post (Type const&); + virtual void + double_none (Type&); -class XSC_XML_Handlers_Export CCMComponentPortKind : public ::XSCRT::Type -{ -public: -CCMComponentPortKind (::XSCRT::XML::Element< ACE_TCHAR > const&); -CCMComponentPortKind (::XSCRT::XML::Attribute< ACE_TCHAR > const&); - -static CCMComponentPortKind const Facet; -static CCMComponentPortKind const SimplexReceptacle; -static CCMComponentPortKind const MultiplexReceptacle; -static CCMComponentPortKind const EventEmitter; -static CCMComponentPortKind const EventPublisher; -static CCMComponentPortKind const EventConsumer; - -enum Value -{ -Facet_l,SimplexReceptacle_l,MultiplexReceptacle_l,EventEmitter_l,EventPublisher_l,EventConsumer_l -}; + virtual void + double_none (Type const&); + virtual void + boolean (Type&); -Value -integral () const; + virtual void + boolean (Type const&); -friend bool XSC_XML_Handlers_Export -operator== (CCMComponentPortKind const& a, CCMComponentPortKind const& b); + virtual void + boolean_pre (Type&); -friend bool XSC_XML_Handlers_Export -operator!= (CCMComponentPortKind const& a, CCMComponentPortKind const& b); + virtual void + boolean_pre (Type const&); -private: -CCMComponentPortKind (Value v); + virtual void + boolean_next (Type&); -Value v_; -}; + virtual void + boolean_next (Type const&); -bool XSC_XML_Handlers_Export operator== (CCMComponentPortKind const &a, CCMComponentPortKind const &b); + virtual void + boolean_post (Type&); -bool XSC_XML_Handlers_Export operator!= (CCMComponentPortKind const &a, CCMComponentPortKind const &b); + virtual void + boolean_post (Type const&); + virtual void + boolean_none (Type&); -class XSC_XML_Handlers_Export ComponentPortDescription : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + virtual void + boolean_none (Type const&); -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + octet (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + virtual void + octet (Type const&); -// specificType -// -public: -bool specificType_p () const; -::XMLSchema::string< ACE_TCHAR > const& specificType () const; -void specificType (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + octet_pre (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > specificType_; + virtual void + octet_pre (Type const&); -// supportedType -// -public: -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator supportedType_iterator; -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator supportedType_const_iterator; -supportedType_iterator begin_supportedType (); -supportedType_iterator end_supportedType (); -supportedType_const_iterator begin_supportedType () const; -supportedType_const_iterator end_supportedType () const; -void add_supportedType (::XMLSchema::string< ACE_TCHAR > const& ); -size_t count_supportedType (void) const; - -protected: -::std::list< ::XMLSchema::string< ACE_TCHAR > > supportedType_; - -// provider -// -public: -::XMLSchema::boolean const& provider () const; -void provider (::XMLSchema::boolean const& ); + virtual void + octet_next (Type&); -protected: -::std::auto_ptr< ::XMLSchema::boolean > provider_; + virtual void + octet_next (Type const&); -// exclusiveProvider -// -public: -::XMLSchema::boolean const& exclusiveProvider () const; -void exclusiveProvider (::XMLSchema::boolean const& ); + virtual void + octet_post (Type&); -protected: -::std::auto_ptr< ::XMLSchema::boolean > exclusiveProvider_; + virtual void + octet_post (Type const&); -// exclusiveUser -// -public: -::XMLSchema::boolean const& exclusiveUser () const; -void exclusiveUser (::XMLSchema::boolean const& ); + virtual void + octet_none (Type&); -protected: -::std::auto_ptr< ::XMLSchema::boolean > exclusiveUser_; + virtual void + octet_none (Type const&); -// optional -// -public: -::XMLSchema::boolean const& optional () const; -void optional (::XMLSchema::boolean const& ); + virtual void + enum_ (Type&); -protected: -::std::auto_ptr< ::XMLSchema::boolean > optional_; + virtual void + enum_ (Type const&); -// kind -// -public: -::CIAO::Config_Handlers::CCMComponentPortKind const& kind () const; -void kind (::CIAO::Config_Handlers::CCMComponentPortKind const& ); + virtual void + enum_pre (Type&); -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::CCMComponentPortKind > kind_; + virtual void + enum_pre (Type const&); -public: -ComponentPortDescription (::XMLSchema::string< ACE_TCHAR > const& name__, -::XMLSchema::boolean const& provider__, -::XMLSchema::boolean const& exclusiveProvider__, -::XMLSchema::boolean const& exclusiveUser__, -::XMLSchema::boolean const& optional__, -::CIAO::Config_Handlers::CCMComponentPortKind const& kind__); + virtual void + enum_next (Type&); -ComponentPortDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); -ComponentPortDescription (ComponentPortDescription const& s); + virtual void + enum_next (Type const&); -ComponentPortDescription& -operator= (ComponentPortDescription const& s); + virtual void + enum_post (Type&); -private: -char regulator__; -}; + virtual void + enum_post (Type const&); + virtual void + enum_none (Type&); -class XSC_XML_Handlers_Export ComponentPropertyDescription : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + virtual void + enum_none (Type const&); -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + string (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + virtual void + string (Type const&); -// type -// -public: -::CIAO::Config_Handlers::DataType const& type () const; -void type (::CIAO::Config_Handlers::DataType const& ); + virtual void + string_pre (Type&); -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::DataType > type_; + virtual void + string_pre (Type const&); -public: -ComponentPropertyDescription (::XMLSchema::string< ACE_TCHAR > const& name__, -::CIAO::Config_Handlers::DataType const& type__); + virtual void + string_next (Type&); -ComponentPropertyDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); -ComponentPropertyDescription (ComponentPropertyDescription const& s); + virtual void + string_next (Type const&); -ComponentPropertyDescription& -operator= (ComponentPropertyDescription const& s); + virtual void + string_post (Type&); -private: -char regulator__; -}; + virtual void + string_post (Type const&); + virtual void + string_none (Type&); -class XSC_XML_Handlers_Export ComponentExternalPortEndpoint : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + virtual void + string_none (Type const&); -// portName -// -public: -::XMLSchema::string< ACE_TCHAR > const& portName () const; -void portName (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + longlong (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > portName_; + virtual void + longlong (Type const&); -public: -ComponentExternalPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__); + virtual void + longlong_pre (Type&); -ComponentExternalPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const&); -ComponentExternalPortEndpoint (ComponentExternalPortEndpoint const& s); + virtual void + longlong_pre (Type const&); -ComponentExternalPortEndpoint& -operator= (ComponentExternalPortEndpoint const& s); + virtual void + longlong_next (Type&); -private: -char regulator__; -}; + virtual void + longlong_next (Type const&); + virtual void + longlong_post (Type&); -class XSC_XML_Handlers_Export PlanSubcomponentPortEndpoint : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + virtual void + longlong_post (Type const&); -// portName -// -public: -::XMLSchema::string< ACE_TCHAR > const& portName () const; -void portName (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + longlong_none (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > portName_; + virtual void + longlong_none (Type const&); -// provider -// -public: -bool provider_p () const; -::XMLSchema::string< ACE_TCHAR > const& provider () const; -void provider (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + ulonglong (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > provider_; + virtual void + ulonglong (Type const&); -// kind -// -public: -::CIAO::Config_Handlers::CCMComponentPortKind const& kind () const; -void kind (::CIAO::Config_Handlers::CCMComponentPortKind const& ); + virtual void + ulonglong_pre (Type&); -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::CCMComponentPortKind > kind_; + virtual void + ulonglong_pre (Type const&); -// instance -// -public: -::XMLSchema::IDREF< ACE_TCHAR > const& instance () const; -void instance (::XMLSchema::IDREF< ACE_TCHAR > const& ); + virtual void + ulonglong_next (Type&); -protected: -::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > instance_; + virtual void + ulonglong_next (Type const&); -public: -PlanSubcomponentPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__, -::CIAO::Config_Handlers::CCMComponentPortKind const& kind__, -::XMLSchema::IDREF< ACE_TCHAR > const& instance__); + virtual void + ulonglong_post (Type&); -PlanSubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const&); -PlanSubcomponentPortEndpoint (PlanSubcomponentPortEndpoint const& s); + virtual void + ulonglong_post (Type const&); -PlanSubcomponentPortEndpoint& -operator= (PlanSubcomponentPortEndpoint const& s); + virtual void + ulonglong_none (Type&); -private: -char regulator__; -}; + virtual void + ulonglong_none (Type const&); + virtual void + longdouble (Type&); -class XSC_XML_Handlers_Export ExternalReferenceEndpoint : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + virtual void + longdouble (Type const&); -// location -// -public: -::XMLSchema::string< ACE_TCHAR > const& location () const; -void location (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + longdouble_pre (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > location_; + virtual void + longdouble_pre (Type const&); -public: -ExternalReferenceEndpoint (::XMLSchema::string< ACE_TCHAR > const& location__); + virtual void + longdouble_next (Type&); -ExternalReferenceEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const&); -ExternalReferenceEndpoint (ExternalReferenceEndpoint const& s); + virtual void + longdouble_next (Type const&); -ExternalReferenceEndpoint& -operator= (ExternalReferenceEndpoint const& s); + virtual void + longdouble_post (Type&); -private: -char regulator__; -}; + virtual void + longdouble_post (Type const&); + virtual void + longdouble_none (Type&); -class XSC_XML_Handlers_Export ConnectionResourceDeploymentDescription : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + virtual void + longdouble_none (Type const&); -// targetName -// -public: -::XMLSchema::string< ACE_TCHAR > const& targetName () const; -void targetName (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + member (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > targetName_; + virtual void + member (Type const&); -// requirementName -// -public: -::XMLSchema::string< ACE_TCHAR > const& requirementName () const; -void requirementName (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + member_pre (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requirementName_; + virtual void + member_pre (Type const&); -// resourceName -// -public: -::XMLSchema::string< ACE_TCHAR > const& resourceName () const; -void resourceName (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + member_next (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceName_; + virtual void + member_next (Type const&); -// property -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator property_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator property_const_iterator; -property_iterator begin_property (); -property_iterator end_property (); -property_const_iterator begin_property () const; -property_const_iterator end_property () const; -void add_property (::CIAO::Config_Handlers::Property const& ); -size_t count_property (void) const; + virtual void + member_post (Type&); -protected: -::std::list< ::CIAO::Config_Handlers::Property > property_; + virtual void + member_post (Type const&); -public: -ConnectionResourceDeploymentDescription (::XMLSchema::string< ACE_TCHAR > const& targetName__, -::XMLSchema::string< ACE_TCHAR > const& requirementName__, -::XMLSchema::string< ACE_TCHAR > const& resourceName__); + virtual void + member_none (Type&); -ConnectionResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); -ConnectionResourceDeploymentDescription (ConnectionResourceDeploymentDescription const& s); + virtual void + member_none (Type const&); -ConnectionResourceDeploymentDescription& -operator= (ConnectionResourceDeploymentDescription const& s); + virtual void + post (Type&); -private: -char regulator__; -}; + virtual void + post (Type const&); + }; + struct XSC_XML_Handlers_Export EnumType : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::EnumType > + { + virtual void + traverse (Type&); -class XSC_XML_Handlers_Export PlanConnectionDescription : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + virtual void + traverse (Type const&); -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + pre (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + virtual void + pre (Type const&); -// source -// -public: -bool source_p () const; -::XMLSchema::string< ACE_TCHAR > const& source () const; -void source (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + name (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > source_; + virtual void + name (Type const&); -// deployRequirement -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator deployRequirement_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator deployRequirement_const_iterator; -deployRequirement_iterator begin_deployRequirement (); -deployRequirement_iterator end_deployRequirement (); -deployRequirement_const_iterator begin_deployRequirement () const; -deployRequirement_const_iterator end_deployRequirement () const; -void add_deployRequirement (::CIAO::Config_Handlers::Requirement const& ); -size_t count_deployRequirement (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Requirement > deployRequirement_; - -// externalEndpoint -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint >::iterator externalEndpoint_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint >::const_iterator externalEndpoint_const_iterator; -externalEndpoint_iterator begin_externalEndpoint (); -externalEndpoint_iterator end_externalEndpoint (); -externalEndpoint_const_iterator begin_externalEndpoint () const; -externalEndpoint_const_iterator end_externalEndpoint () const; -void add_externalEndpoint (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& ); -size_t count_externalEndpoint (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint > externalEndpoint_; - -// internalEndpoint -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint >::iterator internalEndpoint_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint >::const_iterator internalEndpoint_const_iterator; -internalEndpoint_iterator begin_internalEndpoint (); -internalEndpoint_iterator end_internalEndpoint (); -internalEndpoint_const_iterator begin_internalEndpoint () const; -internalEndpoint_const_iterator end_internalEndpoint () const; -void add_internalEndpoint (::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint const& ); -size_t count_internalEndpoint (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint > internalEndpoint_; - -// externalReference -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint >::iterator externalReference_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint >::const_iterator externalReference_const_iterator; -externalReference_iterator begin_externalReference (); -externalReference_iterator end_externalReference (); -externalReference_const_iterator begin_externalReference () const; -externalReference_const_iterator end_externalReference () const; -void add_externalReference (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& ); -size_t count_externalReference (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint > externalReference_; - -// deployedResource -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription >::iterator deployedResource_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription >::const_iterator deployedResource_const_iterator; -deployedResource_iterator begin_deployedResource (); -deployedResource_iterator end_deployedResource (); -deployedResource_const_iterator begin_deployedResource () const; -deployedResource_const_iterator end_deployedResource () const; -void add_deployedResource (::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription const& ); -size_t count_deployedResource (void) const; + virtual void + typeId (Type&); -protected: -::std::list< ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription > deployedResource_; + virtual void + typeId (Type const&); -public: -PlanConnectionDescription (::XMLSchema::string< ACE_TCHAR > const& name__); + virtual void + member (Type&); -PlanConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); -PlanConnectionDescription (PlanConnectionDescription const& s); + virtual void + member (Type const&); -PlanConnectionDescription& -operator= (PlanConnectionDescription const& s); + virtual void + member_pre (Type&); -private: -char regulator__; -}; + virtual void + member_pre (Type const&); + virtual void + member_next (Type&); -class XSC_XML_Handlers_Export ImplementationDependency : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + virtual void + member_next (Type const&); -// requiredType -// -public: -::XMLSchema::string< ACE_TCHAR > const& requiredType () const; -void requiredType (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + member_post (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requiredType_; + virtual void + member_post (Type const&); -public: -ImplementationDependency (::XMLSchema::string< ACE_TCHAR > const& requiredType__); + virtual void + post (Type&); -ImplementationDependency (::XSCRT::XML::Element< ACE_TCHAR > const&); -ImplementationDependency (ImplementationDependency const& s); + virtual void + post (Type const&); + }; -ImplementationDependency& -operator= (ImplementationDependency const& s); + struct XSC_XML_Handlers_Export StructType : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::StructType > + { + virtual void + traverse (Type&); -private: -char regulator__; -}; + virtual void + traverse (Type const&); + virtual void + pre (Type&); -class XSC_XML_Handlers_Export Capability : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + virtual void + pre (Type const&); -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + name (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + virtual void + name (Type const&); -// resourceType -// -public: -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator resourceType_iterator; -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator resourceType_const_iterator; -resourceType_iterator begin_resourceType (); -resourceType_iterator end_resourceType (); -resourceType_const_iterator begin_resourceType () const; -resourceType_const_iterator end_resourceType () const; -void add_resourceType (::XMLSchema::string< ACE_TCHAR > const& ); -size_t count_resourceType (void) const; - -protected: -::std::list< ::XMLSchema::string< ACE_TCHAR > > resourceType_; - -// property -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::SatisfierProperty >::iterator property_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::SatisfierProperty >::const_iterator property_const_iterator; -property_iterator begin_property (); -property_iterator end_property (); -property_const_iterator begin_property () const; -property_const_iterator end_property () const; -void add_property (::CIAO::Config_Handlers::SatisfierProperty const& ); -size_t count_property (void) const; + virtual void + typeId (Type&); -protected: -::std::list< ::CIAO::Config_Handlers::SatisfierProperty > property_; + virtual void + typeId (Type const&); -public: -Capability (::XMLSchema::string< ACE_TCHAR > const& name__); + virtual void + member (Type&); -Capability (::XSCRT::XML::Element< ACE_TCHAR > const&); -Capability (Capability const& s); + virtual void + member (Type const&); -Capability& -operator= (Capability const& s); + virtual void + member_pre (Type&); -private: -char regulator__; -}; + virtual void + member_pre (Type const&); + virtual void + member_next (Type&); -class XSC_XML_Handlers_Export ImplementationRequirement : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + virtual void + member_next (Type const&); -// resourceUsage -// -public: -bool resourceUsage_p () const; -::CIAO::Config_Handlers::ResourceUsageKind const& resourceUsage () const; -void resourceUsage (::CIAO::Config_Handlers::ResourceUsageKind const& ); + virtual void + member_post (Type&); -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::ResourceUsageKind > resourceUsage_; + virtual void + member_post (Type const&); -// resourcePort -// -public: -bool resourcePort_p () const; -::XMLSchema::string< ACE_TCHAR > const& resourcePort () const; -void resourcePort (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + member_none (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourcePort_; + virtual void + member_none (Type const&); -// componentPort -// -public: -bool componentPort_p () const; -::XMLSchema::string< ACE_TCHAR > const& componentPort () const; -void componentPort (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + post (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > componentPort_; + virtual void + post (Type const&); + }; -// resourceType -// -public: -::XMLSchema::string< ACE_TCHAR > const& resourceType () const; -void resourceType (::XMLSchema::string< ACE_TCHAR > const& ); + struct XSC_XML_Handlers_Export StructMemberType : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::StructMemberType > + { + virtual void + traverse (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceType_; + virtual void + traverse (Type const&); -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + pre (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + virtual void + pre (Type const&); -// property -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator property_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator property_const_iterator; -property_iterator begin_property (); -property_iterator end_property (); -property_const_iterator begin_property () const; -property_const_iterator end_property () const; -void add_property (::CIAO::Config_Handlers::Property const& ); -size_t count_property (void) const; + virtual void + name (Type&); -protected: -::std::list< ::CIAO::Config_Handlers::Property > property_; + virtual void + name (Type const&); -public: -ImplementationRequirement (::XMLSchema::string< ACE_TCHAR > const& resourceType__, -::XMLSchema::string< ACE_TCHAR > const& name__); + virtual void + type (Type&); -ImplementationRequirement (::XSCRT::XML::Element< ACE_TCHAR > const&); -ImplementationRequirement (ImplementationRequirement const& s); + virtual void + type (Type const&); -ImplementationRequirement& -operator= (ImplementationRequirement const& s); + virtual void + post (Type&); -private: -char regulator__; -}; + virtual void + post (Type const&); + }; + struct XSC_XML_Handlers_Export ValueType : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ValueType > + { + virtual void + traverse (Type&); -class XSC_XML_Handlers_Export ComponentPackageReference : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + virtual void + traverse (Type const&); -// requiredUUID -// -public: -bool requiredUUID_p () const; -::XMLSchema::string< ACE_TCHAR > const& requiredUUID () const; -void requiredUUID (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + pre (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requiredUUID_; + virtual void + pre (Type const&); -// requiredName -// -public: -bool requiredName_p () const; -::XMLSchema::string< ACE_TCHAR > const& requiredName () const; -void requiredName (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + name (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requiredName_; + virtual void + name (Type const&); -// requiredType -// -public: -::XMLSchema::string< ACE_TCHAR > const& requiredType () const; -void requiredType (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + typeId (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > requiredType_; + virtual void + typeId (Type const&); -public: -ComponentPackageReference (::XMLSchema::string< ACE_TCHAR > const& requiredType__); + virtual void + modifier (Type&); -ComponentPackageReference (::XSCRT::XML::Element< ACE_TCHAR > const&); -ComponentPackageReference (ComponentPackageReference const& s); + virtual void + modifier (Type const&); -ComponentPackageReference& -operator= (ComponentPackageReference const& s); + virtual void + baseType (Type&); -private: -char regulator__; -}; + virtual void + baseType (Type const&); + virtual void + member (Type&); -class XSC_XML_Handlers_Export SubcomponentPortEndpoint : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + virtual void + member (Type const&); -// portName -// -public: -::XMLSchema::string< ACE_TCHAR > const& portName () const; -void portName (::XMLSchema::string< ACE_TCHAR > const& ); + virtual void + member_pre (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > portName_; + virtual void + member_pre (Type const&); -// instance -// -public: -::XMLSchema::IDREF< ACE_TCHAR > const& instance () const; -void instance (::XMLSchema::IDREF< ACE_TCHAR > const& ); + virtual void + member_next (Type&); -protected: -::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > instance_; + virtual void + member_next (Type const&); -public: -SubcomponentPortEndpoint (::XMLSchema::string< ACE_TCHAR > const& portName__, -::XMLSchema::IDREF< ACE_TCHAR > const& instance__); + virtual void + member_post (Type&); -SubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR > const&); -SubcomponentPortEndpoint (SubcomponentPortEndpoint const& s); + virtual void + member_post (Type const&); -SubcomponentPortEndpoint& -operator= (SubcomponentPortEndpoint const& s); + virtual void + member_none (Type&); -private: -char regulator__; -}; + virtual void + member_none (Type const&); + virtual void + post (Type&); -class XSC_XML_Handlers_Export AssemblyConnectionDescription : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; + virtual void + post (Type const&); + }; -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); + struct XSC_XML_Handlers_Export ValueMemberType : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ValueMemberType > + { + virtual void + traverse (Type&); -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + virtual void + traverse (Type const&); -// deployRequirement -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator deployRequirement_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator deployRequirement_const_iterator; -deployRequirement_iterator begin_deployRequirement (); -deployRequirement_iterator end_deployRequirement (); -deployRequirement_const_iterator begin_deployRequirement () const; -deployRequirement_const_iterator end_deployRequirement () const; -void add_deployRequirement (::CIAO::Config_Handlers::Requirement const& ); -size_t count_deployRequirement (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Requirement > deployRequirement_; - -// internalEndpoint -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentPortEndpoint >::iterator internalEndpoint_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentPortEndpoint >::const_iterator internalEndpoint_const_iterator; -internalEndpoint_iterator begin_internalEndpoint (); -internalEndpoint_iterator end_internalEndpoint (); -internalEndpoint_const_iterator begin_internalEndpoint () const; -internalEndpoint_const_iterator end_internalEndpoint () const; -void add_internalEndpoint (::CIAO::Config_Handlers::SubcomponentPortEndpoint const& ); -size_t count_internalEndpoint (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::SubcomponentPortEndpoint > internalEndpoint_; - -// externalEndpoint -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint >::iterator externalEndpoint_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint >::const_iterator externalEndpoint_const_iterator; -externalEndpoint_iterator begin_externalEndpoint (); -externalEndpoint_iterator end_externalEndpoint (); -externalEndpoint_const_iterator begin_externalEndpoint () const; -externalEndpoint_const_iterator end_externalEndpoint () const; -void add_externalEndpoint (::CIAO::Config_Handlers::ComponentExternalPortEndpoint const& ); -size_t count_externalEndpoint (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint > externalEndpoint_; - -// externalReference -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint >::iterator externalReference_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint >::const_iterator externalReference_const_iterator; -externalReference_iterator begin_externalReference (); -externalReference_iterator end_externalReference (); -externalReference_const_iterator begin_externalReference () const; -externalReference_const_iterator end_externalReference () const; -void add_externalReference (::CIAO::Config_Handlers::ExternalReferenceEndpoint const& ); -size_t count_externalReference (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::ExternalReferenceEndpoint > externalReference_; - -public: -AssemblyConnectionDescription (::XMLSchema::string< ACE_TCHAR > const& name__); - -AssemblyConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); -AssemblyConnectionDescription (AssemblyConnectionDescription const& s); - -AssemblyConnectionDescription& -operator= (AssemblyConnectionDescription const& s); - -private: -char regulator__; -}; -} -} + virtual void + pre (Type&); -namespace CIAO -{ -namespace Config_Handlers -{ -} -} + virtual void + pre (Type const&); -#include "XMLSchema/Traversal.hpp" + virtual void + name (Type&); -namespace CIAO -{ -namespace Config_Handlers -{ -namespace Traversal -{ -typedef -::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::TCKind > -TCKind; + virtual void + name (Type const&); -struct XSC_XML_Handlers_Export DataType : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::DataType > -{ -virtual void -traverse (Type&); + virtual void + visibility (Type&); -virtual void -traverse (Type const&); + virtual void + visibility (Type const&); -virtual void -pre (Type&); + virtual void + type (Type&); -virtual void -pre (Type const&); + virtual void + type (Type const&); -virtual void -kind (Type&); + virtual void + post (Type&); -virtual void -kind (Type const&); + virtual void + post (Type const&); + }; -virtual void -enum_ (Type&); + struct XSC_XML_Handlers_Export NamedValue : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::NamedValue > + { + virtual void + traverse (Type&); -virtual void -enum_ (Type const&); + virtual void + traverse (Type const&); -virtual void -enum_none (Type&); + virtual void + pre (Type&); -virtual void -enum_none (Type const&); + virtual void + pre (Type const&); -virtual void -post (Type&); + virtual void + name (Type&); -virtual void -post (Type const&); -}; + virtual void + name (Type const&); -struct XSC_XML_Handlers_Export DataValue : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::DataValue > -{ -virtual void -traverse (Type&); + virtual void + value (Type&); -virtual void -traverse (Type const&); + virtual void + value (Type const&); -virtual void -pre (Type&); + virtual void + post (Type&); -virtual void -pre (Type const&); + virtual void + post (Type const&); + }; -virtual void -short_ (Type&); + struct XSC_XML_Handlers_Export SequenceType : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SequenceType > + { + virtual void + traverse (Type&); -virtual void -short_ (Type const&); + virtual void + traverse (Type const&); -virtual void -short_pre (Type&); + virtual void + pre (Type&); -virtual void -short_pre (Type const&); + virtual void + pre (Type const&); -virtual void -short_next (Type&); + virtual void + bound (Type&); -virtual void -short_next (Type const&); + virtual void + bound (Type const&); -virtual void -short_post (Type&); + virtual void + bound_none (Type&); -virtual void -short_post (Type const&); + virtual void + bound_none (Type const&); -virtual void -short_none (Type&); + virtual void + elementType (Type&); -virtual void -short_none (Type const&); + virtual void + elementType (Type const&); -virtual void -long_ (Type&); + virtual void + post (Type&); -virtual void -long_ (Type const&); + virtual void + post (Type const&); + }; -virtual void -long_pre (Type&); + struct XSC_XML_Handlers_Export Any : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Any > + { + virtual void + traverse (Type&); -virtual void -long_pre (Type const&); + virtual void + traverse (Type const&); -virtual void -long_next (Type&); + virtual void + pre (Type&); -virtual void -long_next (Type const&); + virtual void + pre (Type const&); -virtual void -long_post (Type&); + virtual void + type (Type&); -virtual void -long_post (Type const&); + virtual void + type (Type const&); -virtual void -long_none (Type&); + virtual void + value (Type&); -virtual void -long_none (Type const&); + virtual void + value (Type const&); -virtual void -ushort (Type&); + virtual void + post (Type&); -virtual void -ushort (Type const&); + virtual void + post (Type const&); + }; -virtual void -ushort_pre (Type&); + struct XSC_XML_Handlers_Export Property : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Property > + { + virtual void + traverse (Type&); -virtual void -ushort_pre (Type const&); + virtual void + traverse (Type const&); -virtual void -ushort_next (Type&); + virtual void + pre (Type&); -virtual void -ushort_next (Type const&); + virtual void + pre (Type const&); -virtual void -ushort_post (Type&); + virtual void + name (Type&); -virtual void -ushort_post (Type const&); + virtual void + name (Type const&); -virtual void -ushort_none (Type&); + virtual void + value (Type&); -virtual void -ushort_none (Type const&); + virtual void + value (Type const&); -virtual void -ulong (Type&); + virtual void + post (Type&); -virtual void -ulong (Type const&); + virtual void + post (Type const&); + }; -virtual void -ulong_pre (Type&); + typedef + ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SatisfierPropertyKind > + SatisfierPropertyKind; -virtual void -ulong_pre (Type const&); + struct XSC_XML_Handlers_Export SatisfierProperty : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SatisfierProperty > + { + virtual void + traverse (Type&); -virtual void -ulong_next (Type&); + virtual void + traverse (Type const&); -virtual void -ulong_next (Type const&); + virtual void + pre (Type&); -virtual void -ulong_post (Type&); + virtual void + pre (Type const&); -virtual void -ulong_post (Type const&); + virtual void + name (Type&); -virtual void -ulong_none (Type&); + virtual void + name (Type const&); -virtual void -ulong_none (Type const&); + virtual void + kind (Type&); -virtual void -float_ (Type&); + virtual void + kind (Type const&); -virtual void -float_ (Type const&); + virtual void + dynamic (Type&); -virtual void -float_pre (Type&); + virtual void + dynamic (Type const&); -virtual void -float_pre (Type const&); + virtual void + value (Type&); -virtual void -float_next (Type&); + virtual void + value (Type const&); -virtual void -float_next (Type const&); + virtual void + post (Type&); -virtual void -float_post (Type&); + virtual void + post (Type const&); + }; -virtual void -float_post (Type const&); + struct XSC_XML_Handlers_Export Resource : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Resource > + { + virtual void + traverse (Type&); -virtual void -float_none (Type&); + virtual void + traverse (Type const&); -virtual void -float_none (Type const&); + virtual void + pre (Type&); -virtual void -double_ (Type&); + virtual void + pre (Type const&); -virtual void -double_ (Type const&); + virtual void + name (Type&); -virtual void -double_pre (Type&); + virtual void + name (Type const&); -virtual void -double_pre (Type const&); + virtual void + resourceType (Type&); -virtual void -double_next (Type&); + virtual void + resourceType (Type const&); -virtual void -double_next (Type const&); + virtual void + resourceType_pre (Type&); -virtual void -double_post (Type&); + virtual void + resourceType_pre (Type const&); -virtual void -double_post (Type const&); + virtual void + resourceType_next (Type&); -virtual void -double_none (Type&); + virtual void + resourceType_next (Type const&); -virtual void -double_none (Type const&); + virtual void + resourceType_post (Type&); -virtual void -boolean (Type&); + virtual void + resourceType_post (Type const&); -virtual void -boolean (Type const&); + virtual void + property (Type&); -virtual void -boolean_pre (Type&); + virtual void + property (Type const&); -virtual void -boolean_pre (Type const&); + virtual void + property_pre (Type&); -virtual void -boolean_next (Type&); + virtual void + property_pre (Type const&); -virtual void -boolean_next (Type const&); + virtual void + property_next (Type&); -virtual void -boolean_post (Type&); + virtual void + property_next (Type const&); -virtual void -boolean_post (Type const&); + virtual void + property_post (Type&); -virtual void -boolean_none (Type&); + virtual void + property_post (Type const&); -virtual void -boolean_none (Type const&); + virtual void + property_none (Type&); -virtual void -octet (Type&); + virtual void + property_none (Type const&); -virtual void -octet (Type const&); + virtual void + post (Type&); -virtual void -octet_pre (Type&); + virtual void + post (Type const&); + }; -virtual void -octet_pre (Type const&); + struct XSC_XML_Handlers_Export Requirement : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Requirement > + { + virtual void + traverse (Type&); -virtual void -octet_next (Type&); + virtual void + traverse (Type const&); -virtual void -octet_next (Type const&); + virtual void + pre (Type&); -virtual void -octet_post (Type&); + virtual void + pre (Type const&); -virtual void -octet_post (Type const&); + virtual void + resourceType (Type&); -virtual void -octet_none (Type&); + virtual void + resourceType (Type const&); -virtual void -octet_none (Type const&); + virtual void + name (Type&); -virtual void -enum_ (Type&); + virtual void + name (Type const&); -virtual void -enum_ (Type const&); + virtual void + property (Type&); -virtual void -enum_pre (Type&); + virtual void + property (Type const&); -virtual void -enum_pre (Type const&); + virtual void + property_pre (Type&); -virtual void -enum_next (Type&); + virtual void + property_pre (Type const&); -virtual void -enum_next (Type const&); + virtual void + property_next (Type&); -virtual void -enum_post (Type&); + virtual void + property_next (Type const&); -virtual void -enum_post (Type const&); + virtual void + property_post (Type&); -virtual void -enum_none (Type&); + virtual void + property_post (Type const&); -virtual void -enum_none (Type const&); + virtual void + property_none (Type&); -virtual void -string (Type&); + virtual void + property_none (Type const&); -virtual void -string (Type const&); + virtual void + post (Type&); -virtual void -string_pre (Type&); + virtual void + post (Type const&); + }; -virtual void -string_pre (Type const&); + struct XSC_XML_Handlers_Export ResourceDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ResourceDeploymentDescription > + { + virtual void + traverse (Type&); -virtual void -string_next (Type&); + virtual void + traverse (Type const&); -virtual void -string_next (Type const&); + virtual void + pre (Type&); -virtual void -string_post (Type&); + virtual void + pre (Type const&); -virtual void -string_post (Type const&); + virtual void + requirementName (Type&); -virtual void -string_none (Type&); + virtual void + requirementName (Type const&); -virtual void -string_none (Type const&); + virtual void + resourceName (Type&); -virtual void -longlong (Type&); + virtual void + resourceName (Type const&); -virtual void -longlong (Type const&); + virtual void + property (Type&); -virtual void -longlong_pre (Type&); + virtual void + property (Type const&); -virtual void -longlong_pre (Type const&); + virtual void + property_pre (Type&); -virtual void -longlong_next (Type&); + virtual void + property_pre (Type const&); -virtual void -longlong_next (Type const&); + virtual void + property_next (Type&); -virtual void -longlong_post (Type&); + virtual void + property_next (Type const&); -virtual void -longlong_post (Type const&); + virtual void + property_post (Type&); -virtual void -longlong_none (Type&); + virtual void + property_post (Type const&); -virtual void -longlong_none (Type const&); + virtual void + property_none (Type&); -virtual void -ulonglong (Type&); + virtual void + property_none (Type const&); -virtual void -ulonglong (Type const&); + virtual void + post (Type&); -virtual void -ulonglong_pre (Type&); + virtual void + post (Type const&); + }; -virtual void -ulonglong_pre (Type const&); + struct XSC_XML_Handlers_Export ArtifactDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ArtifactDeploymentDescription > + { + virtual void + traverse (Type&); -virtual void -ulonglong_next (Type&); + virtual void + traverse (Type const&); -virtual void -ulonglong_next (Type const&); + virtual void + pre (Type&); -virtual void -ulonglong_post (Type&); + virtual void + pre (Type const&); -virtual void -ulonglong_post (Type const&); + virtual void + name (Type&); -virtual void -ulonglong_none (Type&); + virtual void + name (Type const&); -virtual void -ulonglong_none (Type const&); + virtual void + source (Type&); -virtual void -longdouble (Type&); + virtual void + source (Type const&); -virtual void -longdouble (Type const&); + virtual void + source_pre (Type&); -virtual void -longdouble_pre (Type&); + virtual void + source_pre (Type const&); -virtual void -longdouble_pre (Type const&); + virtual void + source_next (Type&); -virtual void -longdouble_next (Type&); + virtual void + source_next (Type const&); -virtual void -longdouble_next (Type const&); + virtual void + source_post (Type&); -virtual void -longdouble_post (Type&); + virtual void + source_post (Type const&); -virtual void -longdouble_post (Type const&); + virtual void + node (Type&); -virtual void -longdouble_none (Type&); + virtual void + node (Type const&); -virtual void -longdouble_none (Type const&); + virtual void + location (Type&); -virtual void -post (Type&); + virtual void + location (Type const&); -virtual void -post (Type const&); -}; + virtual void + location_pre (Type&); -struct XSC_XML_Handlers_Export EnumType : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::EnumType > -{ -virtual void -traverse (Type&); + virtual void + location_pre (Type const&); -virtual void -traverse (Type const&); + virtual void + location_next (Type&); -virtual void -pre (Type&); + virtual void + location_next (Type const&); -virtual void -pre (Type const&); + virtual void + location_post (Type&); -virtual void -name (Type&); + virtual void + location_post (Type const&); -virtual void -name (Type const&); + virtual void + execParameter (Type&); -virtual void -typeId (Type&); + virtual void + execParameter (Type const&); -virtual void -typeId (Type const&); + virtual void + execParameter_pre (Type&); -virtual void -member (Type&); + virtual void + execParameter_pre (Type const&); -virtual void -member (Type const&); + virtual void + execParameter_next (Type&); -virtual void -member_pre (Type&); + virtual void + execParameter_next (Type const&); -virtual void -member_pre (Type const&); + virtual void + execParameter_post (Type&); -virtual void -member_next (Type&); + virtual void + execParameter_post (Type const&); -virtual void -member_next (Type const&); + virtual void + execParameter_none (Type&); -virtual void -member_post (Type&); + virtual void + execParameter_none (Type const&); -virtual void -member_post (Type const&); + virtual void + deployRequirement (Type&); -virtual void -post (Type&); + virtual void + deployRequirement (Type const&); -virtual void -post (Type const&); -}; + virtual void + deployRequirement_pre (Type&); -struct XSC_XML_Handlers_Export Any : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Any > -{ -virtual void -traverse (Type&); + virtual void + deployRequirement_pre (Type const&); -virtual void -traverse (Type const&); + virtual void + deployRequirement_next (Type&); -virtual void -pre (Type&); + virtual void + deployRequirement_next (Type const&); -virtual void -pre (Type const&); + virtual void + deployRequirement_post (Type&); -virtual void -type (Type&); + virtual void + deployRequirement_post (Type const&); -virtual void -type (Type const&); + virtual void + deployRequirement_none (Type&); -virtual void -value (Type&); + virtual void + deployRequirement_none (Type const&); -virtual void -value (Type const&); + virtual void + deployedResource (Type&); -virtual void -post (Type&); + virtual void + deployedResource (Type const&); -virtual void -post (Type const&); -}; + virtual void + deployedResource_pre (Type&); -struct XSC_XML_Handlers_Export Property : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Property > -{ -virtual void -traverse (Type&); + virtual void + deployedResource_pre (Type const&); -virtual void -traverse (Type const&); + virtual void + deployedResource_next (Type&); -virtual void -pre (Type&); + virtual void + deployedResource_next (Type const&); -virtual void -pre (Type const&); + virtual void + deployedResource_post (Type&); -virtual void -name (Type&); + virtual void + deployedResource_post (Type const&); -virtual void -name (Type const&); + virtual void + deployedResource_none (Type&); -virtual void -value (Type&); + virtual void + deployedResource_none (Type const&); -virtual void -value (Type const&); + virtual void + id (Type&); -virtual void -post (Type&); + virtual void + id (Type const&); -virtual void -post (Type const&); -}; + virtual void + id_none (Type&); -typedef -::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SatisfierPropertyKind > -SatisfierPropertyKind; + virtual void + id_none (Type const&); -struct XSC_XML_Handlers_Export SatisfierProperty : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SatisfierProperty > -{ -virtual void -traverse (Type&); + virtual void + post (Type&); -virtual void -traverse (Type const&); + virtual void + post (Type const&); + }; -virtual void -pre (Type&); + struct XSC_XML_Handlers_Export MonolithicDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::MonolithicDeploymentDescription > + { + virtual void + traverse (Type&); -virtual void -pre (Type const&); + virtual void + traverse (Type const&); -virtual void -name (Type&); + virtual void + pre (Type&); -virtual void -name (Type const&); + virtual void + pre (Type const&); -virtual void -kind (Type&); + virtual void + name (Type&); -virtual void -kind (Type const&); + virtual void + name (Type const&); -virtual void -dynamic (Type&); + virtual void + source (Type&); -virtual void -dynamic (Type const&); + virtual void + source (Type const&); -virtual void -value (Type&); + virtual void + source_pre (Type&); -virtual void -value (Type const&); + virtual void + source_pre (Type const&); -virtual void -post (Type&); + virtual void + source_next (Type&); -virtual void -post (Type const&); -}; + virtual void + source_next (Type const&); -struct XSC_XML_Handlers_Export Resource : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Resource > -{ -virtual void -traverse (Type&); + virtual void + source_post (Type&); -virtual void -traverse (Type const&); + virtual void + source_post (Type const&); -virtual void -pre (Type&); + virtual void + artifact (Type&); -virtual void -pre (Type const&); + virtual void + artifact (Type const&); -virtual void -name (Type&); + virtual void + artifact_pre (Type&); -virtual void -name (Type const&); + virtual void + artifact_pre (Type const&); -virtual void -resourceType (Type&); + virtual void + artifact_next (Type&); -virtual void -resourceType (Type const&); + virtual void + artifact_next (Type const&); -virtual void -resourceType_pre (Type&); + virtual void + artifact_post (Type&); -virtual void -resourceType_pre (Type const&); + virtual void + artifact_post (Type const&); -virtual void -resourceType_next (Type&); + virtual void + execParameter (Type&); -virtual void -resourceType_next (Type const&); + virtual void + execParameter (Type const&); -virtual void -resourceType_post (Type&); + virtual void + execParameter_pre (Type&); -virtual void -resourceType_post (Type const&); + virtual void + execParameter_pre (Type const&); -virtual void -property (Type&); + virtual void + execParameter_next (Type&); -virtual void -property (Type const&); + virtual void + execParameter_next (Type const&); -virtual void -property_pre (Type&); + virtual void + execParameter_post (Type&); -virtual void -property_pre (Type const&); + virtual void + execParameter_post (Type const&); -virtual void -property_next (Type&); + virtual void + execParameter_none (Type&); -virtual void -property_next (Type const&); + virtual void + execParameter_none (Type const&); -virtual void -property_post (Type&); + virtual void + deployRequirement (Type&); -virtual void -property_post (Type const&); + virtual void + deployRequirement (Type const&); -virtual void -property_none (Type&); + virtual void + deployRequirement_pre (Type&); -virtual void -property_none (Type const&); + virtual void + deployRequirement_pre (Type const&); -virtual void -post (Type&); + virtual void + deployRequirement_next (Type&); -virtual void -post (Type const&); -}; + virtual void + deployRequirement_next (Type const&); -struct XSC_XML_Handlers_Export Requirement : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Requirement > -{ -virtual void -traverse (Type&); + virtual void + deployRequirement_post (Type&); -virtual void -traverse (Type const&); + virtual void + deployRequirement_post (Type const&); -virtual void -pre (Type&); + virtual void + deployRequirement_none (Type&); -virtual void -pre (Type const&); + virtual void + deployRequirement_none (Type const&); -virtual void -resourceType (Type&); + virtual void + id (Type&); -virtual void -resourceType (Type const&); + virtual void + id (Type const&); -virtual void -name (Type&); + virtual void + id_none (Type&); -virtual void -name (Type const&); + virtual void + id_none (Type const&); -virtual void -property (Type&); + virtual void + post (Type&); -virtual void -property (Type const&); + virtual void + post (Type const&); + }; -virtual void -property_pre (Type&); + typedef + ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ResourceUsageKind > + ResourceUsageKind; -virtual void -property_pre (Type const&); + struct XSC_XML_Handlers_Export InstanceResourceDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > + { + virtual void + traverse (Type&); -virtual void -property_next (Type&); + virtual void + traverse (Type const&); -virtual void -property_next (Type const&); + virtual void + pre (Type&); -virtual void -property_post (Type&); + virtual void + pre (Type const&); -virtual void -property_post (Type const&); + virtual void + resourceUsage (Type&); -virtual void -property_none (Type&); + virtual void + resourceUsage (Type const&); -virtual void -property_none (Type const&); + virtual void + requirementName (Type&); -virtual void -post (Type&); + virtual void + requirementName (Type const&); -virtual void -post (Type const&); -}; + virtual void + resourceName (Type&); -struct XSC_XML_Handlers_Export ResourceDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ResourceDeploymentDescription > -{ -virtual void -traverse (Type&); + virtual void + resourceName (Type const&); -virtual void -traverse (Type const&); + virtual void + property (Type&); -virtual void -pre (Type&); + virtual void + property (Type const&); -virtual void -pre (Type const&); + virtual void + property_pre (Type&); -virtual void -requirementName (Type&); + virtual void + property_pre (Type const&); -virtual void -requirementName (Type const&); + virtual void + property_next (Type&); -virtual void -resourceName (Type&); + virtual void + property_next (Type const&); -virtual void -resourceName (Type const&); + virtual void + property_post (Type&); -virtual void -property (Type&); + virtual void + property_post (Type const&); -virtual void -property (Type const&); + virtual void + property_none (Type&); -virtual void -property_pre (Type&); + virtual void + property_none (Type const&); -virtual void -property_pre (Type const&); + virtual void + post (Type&); -virtual void -property_next (Type&); + virtual void + post (Type const&); + }; -virtual void -property_next (Type const&); + struct XSC_XML_Handlers_Export InstanceDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::InstanceDeploymentDescription > + { + virtual void + traverse (Type&); -virtual void -property_post (Type&); + virtual void + traverse (Type const&); -virtual void -property_post (Type const&); + virtual void + pre (Type&); -virtual void -property_none (Type&); + virtual void + pre (Type const&); -virtual void -property_none (Type const&); + virtual void + name (Type&); -virtual void -post (Type&); + virtual void + name (Type const&); -virtual void -post (Type const&); -}; + virtual void + node (Type&); -struct XSC_XML_Handlers_Export ArtifactDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ArtifactDeploymentDescription > -{ -virtual void -traverse (Type&); + virtual void + node (Type const&); -virtual void -traverse (Type const&); + virtual void + source (Type&); -virtual void -pre (Type&); + virtual void + source (Type const&); -virtual void -pre (Type const&); + virtual void + implementation (Type&); -virtual void -name (Type&); + virtual void + implementation (Type const&); -virtual void -name (Type const&); + virtual void + configProperty (Type&); -virtual void -source (Type&); + virtual void + configProperty (Type const&); -virtual void -source (Type const&); + virtual void + configProperty_pre (Type&); -virtual void -source_pre (Type&); + virtual void + configProperty_pre (Type const&); -virtual void -source_pre (Type const&); + virtual void + configProperty_next (Type&); -virtual void -source_next (Type&); + virtual void + configProperty_next (Type const&); -virtual void -source_next (Type const&); + virtual void + configProperty_post (Type&); -virtual void -source_post (Type&); + virtual void + configProperty_post (Type const&); -virtual void -source_post (Type const&); + virtual void + configProperty_none (Type&); -virtual void -node (Type&); + virtual void + configProperty_none (Type const&); -virtual void -node (Type const&); + virtual void + deployedResource (Type&); -virtual void -location (Type&); + virtual void + deployedResource (Type const&); -virtual void -location (Type const&); + virtual void + deployedResource_none (Type&); -virtual void -location_pre (Type&); + virtual void + deployedResource_none (Type const&); -virtual void -location_pre (Type const&); + virtual void + deployedSharedResource (Type&); -virtual void -location_next (Type&); + virtual void + deployedSharedResource (Type const&); -virtual void -location_next (Type const&); + virtual void + deployedSharedResource_none (Type&); -virtual void -location_post (Type&); + virtual void + deployedSharedResource_none (Type const&); -virtual void -location_post (Type const&); + virtual void + id (Type&); -virtual void -execParameter (Type&); + virtual void + id (Type const&); -virtual void -execParameter (Type const&); + virtual void + id_none (Type&); -virtual void -execParameter_pre (Type&); + virtual void + id_none (Type const&); -virtual void -execParameter_pre (Type const&); + virtual void + post (Type&); -virtual void -execParameter_next (Type&); + virtual void + post (Type const&); + }; -virtual void -execParameter_next (Type const&); + typedef + ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::CCMComponentPortKind > + CCMComponentPortKind; -virtual void -execParameter_post (Type&); + struct XSC_XML_Handlers_Export ComponentPortDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPortDescription > + { + virtual void + traverse (Type&); -virtual void -execParameter_post (Type const&); + virtual void + traverse (Type const&); -virtual void -execParameter_none (Type&); + virtual void + pre (Type&); -virtual void -execParameter_none (Type const&); + virtual void + pre (Type const&); -virtual void -deployRequirement (Type&); + virtual void + name (Type&); -virtual void -deployRequirement (Type const&); + virtual void + name (Type const&); -virtual void -deployRequirement_pre (Type&); + virtual void + specificType (Type&); -virtual void -deployRequirement_pre (Type const&); + virtual void + specificType (Type const&); -virtual void -deployRequirement_next (Type&); + virtual void + specificType_none (Type&); -virtual void -deployRequirement_next (Type const&); + virtual void + specificType_none (Type const&); -virtual void -deployRequirement_post (Type&); + virtual void + supportedType (Type&); -virtual void -deployRequirement_post (Type const&); + virtual void + supportedType (Type const&); -virtual void -deployRequirement_none (Type&); + virtual void + supportedType_pre (Type&); -virtual void -deployRequirement_none (Type const&); + virtual void + supportedType_pre (Type const&); -virtual void -deployedResource (Type&); + virtual void + supportedType_next (Type&); -virtual void -deployedResource (Type const&); + virtual void + supportedType_next (Type const&); -virtual void -deployedResource_pre (Type&); + virtual void + supportedType_post (Type&); -virtual void -deployedResource_pre (Type const&); + virtual void + supportedType_post (Type const&); -virtual void -deployedResource_next (Type&); + virtual void + supportedType_none (Type&); -virtual void -deployedResource_next (Type const&); + virtual void + supportedType_none (Type const&); -virtual void -deployedResource_post (Type&); + virtual void + provider (Type&); -virtual void -deployedResource_post (Type const&); + virtual void + provider (Type const&); -virtual void -deployedResource_none (Type&); + virtual void + exclusiveProvider (Type&); -virtual void -deployedResource_none (Type const&); + virtual void + exclusiveProvider (Type const&); -virtual void -id (Type&); + virtual void + exclusiveUser (Type&); -virtual void -id (Type const&); + virtual void + exclusiveUser (Type const&); -virtual void -id_none (Type&); + virtual void + optional (Type&); -virtual void -id_none (Type const&); + virtual void + optional (Type const&); -virtual void -post (Type&); + virtual void + kind (Type&); -virtual void -post (Type const&); -}; + virtual void + kind (Type const&); -struct XSC_XML_Handlers_Export MonolithicDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::MonolithicDeploymentDescription > -{ -virtual void -traverse (Type&); + virtual void + post (Type&); -virtual void -traverse (Type const&); + virtual void + post (Type const&); + }; -virtual void -pre (Type&); + struct XSC_XML_Handlers_Export ComponentPropertyDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPropertyDescription > + { + virtual void + traverse (Type&); -virtual void -pre (Type const&); + virtual void + traverse (Type const&); -virtual void -name (Type&); + virtual void + pre (Type&); -virtual void -name (Type const&); + virtual void + pre (Type const&); -virtual void -source (Type&); + virtual void + name (Type&); -virtual void -source (Type const&); + virtual void + name (Type const&); -virtual void -source_pre (Type&); + virtual void + type (Type&); -virtual void -source_pre (Type const&); + virtual void + type (Type const&); -virtual void -source_next (Type&); + virtual void + post (Type&); -virtual void -source_next (Type const&); + virtual void + post (Type const&); + }; -virtual void -source_post (Type&); + struct XSC_XML_Handlers_Export ComponentExternalPortEndpoint : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint > + { + virtual void + traverse (Type&); -virtual void -source_post (Type const&); + virtual void + traverse (Type const&); -virtual void -artifact (Type&); + virtual void + pre (Type&); -virtual void -artifact (Type const&); + virtual void + pre (Type const&); -virtual void -artifact_pre (Type&); + virtual void + portName (Type&); -virtual void -artifact_pre (Type const&); + virtual void + portName (Type const&); -virtual void -artifact_next (Type&); + virtual void + post (Type&); -virtual void -artifact_next (Type const&); + virtual void + post (Type const&); + }; -virtual void -artifact_post (Type&); + struct XSC_XML_Handlers_Export PlanSubcomponentPortEndpoint : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint > + { + virtual void + traverse (Type&); -virtual void -artifact_post (Type const&); + virtual void + traverse (Type const&); -virtual void -execParameter (Type&); + virtual void + pre (Type&); -virtual void -execParameter (Type const&); + virtual void + pre (Type const&); -virtual void -execParameter_pre (Type&); + virtual void + portName (Type&); -virtual void -execParameter_pre (Type const&); + virtual void + portName (Type const&); -virtual void -execParameter_next (Type&); + virtual void + provider (Type&); -virtual void -execParameter_next (Type const&); + virtual void + provider (Type const&); -virtual void -execParameter_post (Type&); + virtual void + provider_none (Type&); -virtual void -execParameter_post (Type const&); + virtual void + provider_none (Type const&); -virtual void -execParameter_none (Type&); + virtual void + kind (Type&); -virtual void -execParameter_none (Type const&); + virtual void + kind (Type const&); -virtual void -deployRequirement (Type&); + virtual void + instance (Type&); -virtual void -deployRequirement (Type const&); + virtual void + instance (Type const&); -virtual void -deployRequirement_pre (Type&); + virtual void + post (Type&); -virtual void -deployRequirement_pre (Type const&); + virtual void + post (Type const&); + }; -virtual void -deployRequirement_next (Type&); + struct XSC_XML_Handlers_Export ExternalReferenceEndpoint : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ExternalReferenceEndpoint > + { + virtual void + traverse (Type&); -virtual void -deployRequirement_next (Type const&); + virtual void + traverse (Type const&); -virtual void -deployRequirement_post (Type&); + virtual void + pre (Type&); -virtual void -deployRequirement_post (Type const&); + virtual void + pre (Type const&); -virtual void -deployRequirement_none (Type&); + virtual void + location (Type&); -virtual void -deployRequirement_none (Type const&); + virtual void + location (Type const&); -virtual void -id (Type&); + virtual void + post (Type&); -virtual void -id (Type const&); + virtual void + post (Type const&); + }; -virtual void -id_none (Type&); + struct XSC_XML_Handlers_Export ConnectionResourceDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription > + { + virtual void + traverse (Type&); -virtual void -id_none (Type const&); + virtual void + traverse (Type const&); -virtual void -post (Type&); + virtual void + pre (Type&); -virtual void -post (Type const&); -}; + virtual void + pre (Type const&); -typedef -::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ResourceUsageKind > -ResourceUsageKind; + virtual void + targetName (Type&); -struct XSC_XML_Handlers_Export InstanceResourceDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > -{ -virtual void -traverse (Type&); + virtual void + targetName (Type const&); -virtual void -traverse (Type const&); + virtual void + requirementName (Type&); -virtual void -pre (Type&); + virtual void + requirementName (Type const&); -virtual void -pre (Type const&); + virtual void + resourceName (Type&); -virtual void -resourceUsage (Type&); + virtual void + resourceName (Type const&); -virtual void -resourceUsage (Type const&); + virtual void + property (Type&); -virtual void -requirementName (Type&); + virtual void + property (Type const&); -virtual void -requirementName (Type const&); + virtual void + property_pre (Type&); -virtual void -resourceName (Type&); + virtual void + property_pre (Type const&); -virtual void -resourceName (Type const&); + virtual void + property_next (Type&); -virtual void -property (Type&); + virtual void + property_next (Type const&); -virtual void -property (Type const&); + virtual void + property_post (Type&); -virtual void -property_pre (Type&); + virtual void + property_post (Type const&); -virtual void -property_pre (Type const&); + virtual void + property_none (Type&); -virtual void -property_next (Type&); + virtual void + property_none (Type const&); -virtual void -property_next (Type const&); + virtual void + post (Type&); -virtual void -property_post (Type&); + virtual void + post (Type const&); + }; -virtual void -property_post (Type const&); + struct XSC_XML_Handlers_Export PlanConnectionDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::PlanConnectionDescription > + { + virtual void + traverse (Type&); -virtual void -property_none (Type&); + virtual void + traverse (Type const&); -virtual void -property_none (Type const&); + virtual void + pre (Type&); -virtual void -post (Type&); + virtual void + pre (Type const&); -virtual void -post (Type const&); -}; + virtual void + name (Type&); -struct XSC_XML_Handlers_Export InstanceDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::InstanceDeploymentDescription > -{ -virtual void -traverse (Type&); + virtual void + name (Type const&); -virtual void -traverse (Type const&); + virtual void + source (Type&); -virtual void -pre (Type&); + virtual void + source (Type const&); -virtual void -pre (Type const&); + virtual void + source_none (Type&); -virtual void -name (Type&); + virtual void + source_none (Type const&); -virtual void -name (Type const&); + virtual void + deployRequirement (Type&); -virtual void -node (Type&); + virtual void + deployRequirement (Type const&); -virtual void -node (Type const&); + virtual void + deployRequirement_pre (Type&); -virtual void -source (Type&); + virtual void + deployRequirement_pre (Type const&); -virtual void -source (Type const&); + virtual void + deployRequirement_next (Type&); -virtual void -implementation (Type&); + virtual void + deployRequirement_next (Type const&); -virtual void -implementation (Type const&); + virtual void + deployRequirement_post (Type&); -virtual void -configProperty (Type&); + virtual void + deployRequirement_post (Type const&); -virtual void -configProperty (Type const&); + virtual void + deployRequirement_none (Type&); -virtual void -configProperty_pre (Type&); + virtual void + deployRequirement_none (Type const&); -virtual void -configProperty_pre (Type const&); + virtual void + externalEndpoint (Type&); -virtual void -configProperty_next (Type&); + virtual void + externalEndpoint (Type const&); -virtual void -configProperty_next (Type const&); + virtual void + externalEndpoint_pre (Type&); -virtual void -configProperty_post (Type&); + virtual void + externalEndpoint_pre (Type const&); -virtual void -configProperty_post (Type const&); + virtual void + externalEndpoint_next (Type&); -virtual void -configProperty_none (Type&); + virtual void + externalEndpoint_next (Type const&); -virtual void -configProperty_none (Type const&); + virtual void + externalEndpoint_post (Type&); -virtual void -deployedResource (Type&); + virtual void + externalEndpoint_post (Type const&); -virtual void -deployedResource (Type const&); + virtual void + externalEndpoint_none (Type&); -virtual void -deployedResource_none (Type&); + virtual void + externalEndpoint_none (Type const&); -virtual void -deployedResource_none (Type const&); + virtual void + internalEndpoint (Type&); -virtual void -deployedSharedResource (Type&); + virtual void + internalEndpoint (Type const&); -virtual void -deployedSharedResource (Type const&); + virtual void + internalEndpoint_pre (Type&); -virtual void -deployedSharedResource_none (Type&); + virtual void + internalEndpoint_pre (Type const&); -virtual void -deployedSharedResource_none (Type const&); + virtual void + internalEndpoint_next (Type&); -virtual void -id (Type&); + virtual void + internalEndpoint_next (Type const&); -virtual void -id (Type const&); + virtual void + internalEndpoint_post (Type&); -virtual void -id_none (Type&); + virtual void + internalEndpoint_post (Type const&); -virtual void -id_none (Type const&); + virtual void + internalEndpoint_none (Type&); -virtual void -post (Type&); + virtual void + internalEndpoint_none (Type const&); -virtual void -post (Type const&); -}; + virtual void + externalReference (Type&); -typedef -::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::CCMComponentPortKind > -CCMComponentPortKind; + virtual void + externalReference (Type const&); -struct XSC_XML_Handlers_Export ComponentPortDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPortDescription > -{ -virtual void -traverse (Type&); + virtual void + externalReference_pre (Type&); -virtual void -traverse (Type const&); + virtual void + externalReference_pre (Type const&); -virtual void -pre (Type&); + virtual void + externalReference_next (Type&); -virtual void -pre (Type const&); + virtual void + externalReference_next (Type const&); -virtual void -name (Type&); + virtual void + externalReference_post (Type&); -virtual void -name (Type const&); + virtual void + externalReference_post (Type const&); -virtual void -specificType (Type&); + virtual void + externalReference_none (Type&); -virtual void -specificType (Type const&); + virtual void + externalReference_none (Type const&); -virtual void -specificType_none (Type&); + virtual void + deployedResource (Type&); -virtual void -specificType_none (Type const&); + virtual void + deployedResource (Type const&); -virtual void -supportedType (Type&); + virtual void + deployedResource_pre (Type&); -virtual void -supportedType (Type const&); + virtual void + deployedResource_pre (Type const&); -virtual void -supportedType_pre (Type&); + virtual void + deployedResource_next (Type&); -virtual void -supportedType_pre (Type const&); + virtual void + deployedResource_next (Type const&); -virtual void -supportedType_next (Type&); + virtual void + deployedResource_post (Type&); -virtual void -supportedType_next (Type const&); + virtual void + deployedResource_post (Type const&); -virtual void -supportedType_post (Type&); + virtual void + deployedResource_none (Type&); -virtual void -supportedType_post (Type const&); + virtual void + deployedResource_none (Type const&); -virtual void -supportedType_none (Type&); + virtual void + post (Type&); -virtual void -supportedType_none (Type const&); + virtual void + post (Type const&); + }; -virtual void -provider (Type&); + struct XSC_XML_Handlers_Export ImplementationDependency : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ImplementationDependency > + { + virtual void + traverse (Type&); -virtual void -provider (Type const&); + virtual void + traverse (Type const&); -virtual void -exclusiveProvider (Type&); + virtual void + pre (Type&); -virtual void -exclusiveProvider (Type const&); + virtual void + pre (Type const&); -virtual void -exclusiveUser (Type&); + virtual void + requiredType (Type&); -virtual void -exclusiveUser (Type const&); + virtual void + requiredType (Type const&); -virtual void -optional (Type&); + virtual void + post (Type&); -virtual void -optional (Type const&); + virtual void + post (Type const&); + }; -virtual void -kind (Type&); + struct XSC_XML_Handlers_Export Capability : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Capability > + { + virtual void + traverse (Type&); -virtual void -kind (Type const&); + virtual void + traverse (Type const&); -virtual void -post (Type&); + virtual void + pre (Type&); -virtual void -post (Type const&); -}; + virtual void + pre (Type const&); -struct XSC_XML_Handlers_Export ComponentPropertyDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPropertyDescription > -{ -virtual void -traverse (Type&); + virtual void + name (Type&); -virtual void -traverse (Type const&); + virtual void + name (Type const&); -virtual void -pre (Type&); + virtual void + resourceType (Type&); -virtual void -pre (Type const&); + virtual void + resourceType (Type const&); -virtual void -name (Type&); + virtual void + resourceType_pre (Type&); -virtual void -name (Type const&); + virtual void + resourceType_pre (Type const&); -virtual void -type (Type&); + virtual void + resourceType_next (Type&); -virtual void -type (Type const&); + virtual void + resourceType_next (Type const&); -virtual void -post (Type&); + virtual void + resourceType_post (Type&); -virtual void -post (Type const&); -}; + virtual void + resourceType_post (Type const&); -struct XSC_XML_Handlers_Export ComponentExternalPortEndpoint : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint > -{ -virtual void -traverse (Type&); + virtual void + property (Type&); -virtual void -traverse (Type const&); + virtual void + property (Type const&); -virtual void -pre (Type&); + virtual void + property_pre (Type&); -virtual void -pre (Type const&); + virtual void + property_pre (Type const&); -virtual void -portName (Type&); + virtual void + property_next (Type&); -virtual void -portName (Type const&); + virtual void + property_next (Type const&); -virtual void -post (Type&); + virtual void + property_post (Type&); -virtual void -post (Type const&); -}; + virtual void + property_post (Type const&); -struct XSC_XML_Handlers_Export PlanSubcomponentPortEndpoint : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint > -{ -virtual void -traverse (Type&); + virtual void + property_none (Type&); -virtual void -traverse (Type const&); + virtual void + property_none (Type const&); -virtual void -pre (Type&); + virtual void + post (Type&); -virtual void -pre (Type const&); + virtual void + post (Type const&); + }; -virtual void -portName (Type&); + struct XSC_XML_Handlers_Export ImplementationRequirement : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ImplementationRequirement > + { + virtual void + traverse (Type&); -virtual void -portName (Type const&); + virtual void + traverse (Type const&); -virtual void -provider (Type&); + virtual void + pre (Type&); -virtual void -provider (Type const&); + virtual void + pre (Type const&); -virtual void -provider_none (Type&); + virtual void + resourceUsage (Type&); -virtual void -provider_none (Type const&); + virtual void + resourceUsage (Type const&); -virtual void -kind (Type&); + virtual void + resourceUsage_none (Type&); -virtual void -kind (Type const&); + virtual void + resourceUsage_none (Type const&); -virtual void -instance (Type&); + virtual void + resourcePort (Type&); -virtual void -instance (Type const&); + virtual void + resourcePort (Type const&); -virtual void -post (Type&); + virtual void + resourcePort_none (Type&); -virtual void -post (Type const&); -}; + virtual void + resourcePort_none (Type const&); -struct XSC_XML_Handlers_Export ExternalReferenceEndpoint : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ExternalReferenceEndpoint > -{ -virtual void -traverse (Type&); + virtual void + componentPort (Type&); -virtual void -traverse (Type const&); + virtual void + componentPort (Type const&); -virtual void -pre (Type&); + virtual void + componentPort_none (Type&); -virtual void -pre (Type const&); + virtual void + componentPort_none (Type const&); -virtual void -location (Type&); + virtual void + resourceType (Type&); -virtual void -location (Type const&); + virtual void + resourceType (Type const&); -virtual void -post (Type&); + virtual void + name (Type&); -virtual void -post (Type const&); -}; + virtual void + name (Type const&); -struct XSC_XML_Handlers_Export ConnectionResourceDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription > -{ -virtual void -traverse (Type&); + virtual void + property (Type&); -virtual void -traverse (Type const&); + virtual void + property (Type const&); -virtual void -pre (Type&); + virtual void + property_pre (Type&); -virtual void -pre (Type const&); + virtual void + property_pre (Type const&); -virtual void -targetName (Type&); + virtual void + property_next (Type&); -virtual void -targetName (Type const&); + virtual void + property_next (Type const&); -virtual void -requirementName (Type&); + virtual void + property_post (Type&); -virtual void -requirementName (Type const&); + virtual void + property_post (Type const&); -virtual void -resourceName (Type&); + virtual void + property_none (Type&); -virtual void -resourceName (Type const&); + virtual void + property_none (Type const&); -virtual void -property (Type&); + virtual void + post (Type&); -virtual void -property (Type const&); + virtual void + post (Type const&); + }; -virtual void -property_pre (Type&); + struct XSC_XML_Handlers_Export ComponentPackageReference : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPackageReference > + { + virtual void + traverse (Type&); -virtual void -property_pre (Type const&); + virtual void + traverse (Type const&); -virtual void -property_next (Type&); + virtual void + pre (Type&); -virtual void -property_next (Type const&); + virtual void + pre (Type const&); -virtual void -property_post (Type&); + virtual void + requiredUUID (Type&); -virtual void -property_post (Type const&); + virtual void + requiredUUID (Type const&); -virtual void -property_none (Type&); + virtual void + requiredUUID_none (Type&); -virtual void -property_none (Type const&); + virtual void + requiredUUID_none (Type const&); -virtual void -post (Type&); + virtual void + requiredName (Type&); -virtual void -post (Type const&); -}; + virtual void + requiredName (Type const&); -struct XSC_XML_Handlers_Export PlanConnectionDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::PlanConnectionDescription > -{ -virtual void -traverse (Type&); + virtual void + requiredName_none (Type&); -virtual void -traverse (Type const&); + virtual void + requiredName_none (Type const&); -virtual void -pre (Type&); + virtual void + requiredType (Type&); -virtual void -pre (Type const&); + virtual void + requiredType (Type const&); -virtual void -name (Type&); + virtual void + post (Type&); -virtual void -name (Type const&); + virtual void + post (Type const&); + }; -virtual void -source (Type&); + struct XSC_XML_Handlers_Export SubcomponentPortEndpoint : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SubcomponentPortEndpoint > + { + virtual void + traverse (Type&); -virtual void -source (Type const&); + virtual void + traverse (Type const&); -virtual void -source_none (Type&); + virtual void + pre (Type&); -virtual void -source_none (Type const&); + virtual void + pre (Type const&); -virtual void -deployRequirement (Type&); + virtual void + portName (Type&); -virtual void -deployRequirement (Type const&); + virtual void + portName (Type const&); -virtual void -deployRequirement_pre (Type&); + virtual void + instance (Type&); -virtual void -deployRequirement_pre (Type const&); + virtual void + instance (Type const&); -virtual void -deployRequirement_next (Type&); + virtual void + post (Type&); -virtual void -deployRequirement_next (Type const&); + virtual void + post (Type const&); + }; -virtual void -deployRequirement_post (Type&); + struct XSC_XML_Handlers_Export AssemblyConnectionDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::AssemblyConnectionDescription > + { + virtual void + traverse (Type&); -virtual void -deployRequirement_post (Type const&); + virtual void + traverse (Type const&); -virtual void -deployRequirement_none (Type&); + virtual void + pre (Type&); -virtual void -deployRequirement_none (Type const&); + virtual void + pre (Type const&); -virtual void -externalEndpoint (Type&); + virtual void + name (Type&); -virtual void -externalEndpoint (Type const&); + virtual void + name (Type const&); -virtual void -externalEndpoint_pre (Type&); + virtual void + deployRequirement (Type&); -virtual void -externalEndpoint_pre (Type const&); + virtual void + deployRequirement (Type const&); -virtual void -externalEndpoint_next (Type&); + virtual void + deployRequirement_pre (Type&); -virtual void -externalEndpoint_next (Type const&); + virtual void + deployRequirement_pre (Type const&); -virtual void -externalEndpoint_post (Type&); + virtual void + deployRequirement_next (Type&); -virtual void -externalEndpoint_post (Type const&); + virtual void + deployRequirement_next (Type const&); -virtual void -externalEndpoint_none (Type&); + virtual void + deployRequirement_post (Type&); -virtual void -externalEndpoint_none (Type const&); + virtual void + deployRequirement_post (Type const&); -virtual void -internalEndpoint (Type&); + virtual void + deployRequirement_none (Type&); -virtual void -internalEndpoint (Type const&); + virtual void + deployRequirement_none (Type const&); -virtual void -internalEndpoint_pre (Type&); + virtual void + internalEndpoint (Type&); -virtual void -internalEndpoint_pre (Type const&); + virtual void + internalEndpoint (Type const&); -virtual void -internalEndpoint_next (Type&); + virtual void + internalEndpoint_pre (Type&); -virtual void -internalEndpoint_next (Type const&); + virtual void + internalEndpoint_pre (Type const&); -virtual void -internalEndpoint_post (Type&); + virtual void + internalEndpoint_next (Type&); -virtual void -internalEndpoint_post (Type const&); + virtual void + internalEndpoint_next (Type const&); -virtual void -internalEndpoint_none (Type&); + virtual void + internalEndpoint_post (Type&); -virtual void -internalEndpoint_none (Type const&); + virtual void + internalEndpoint_post (Type const&); -virtual void -externalReference (Type&); + virtual void + internalEndpoint_none (Type&); -virtual void -externalReference (Type const&); + virtual void + internalEndpoint_none (Type const&); -virtual void -externalReference_pre (Type&); + virtual void + externalEndpoint (Type&); -virtual void -externalReference_pre (Type const&); + virtual void + externalEndpoint (Type const&); -virtual void -externalReference_next (Type&); + virtual void + externalEndpoint_pre (Type&); -virtual void -externalReference_next (Type const&); + virtual void + externalEndpoint_pre (Type const&); -virtual void -externalReference_post (Type&); + virtual void + externalEndpoint_next (Type&); -virtual void -externalReference_post (Type const&); + virtual void + externalEndpoint_next (Type const&); -virtual void -externalReference_none (Type&); + virtual void + externalEndpoint_post (Type&); -virtual void -externalReference_none (Type const&); + virtual void + externalEndpoint_post (Type const&); -virtual void -deployedResource (Type&); + virtual void + externalEndpoint_none (Type&); -virtual void -deployedResource (Type const&); + virtual void + externalEndpoint_none (Type const&); -virtual void -deployedResource_pre (Type&); + virtual void + externalReference (Type&); -virtual void -deployedResource_pre (Type const&); + virtual void + externalReference (Type const&); -virtual void -deployedResource_next (Type&); + virtual void + externalReference_pre (Type&); -virtual void -deployedResource_next (Type const&); + virtual void + externalReference_pre (Type const&); -virtual void -deployedResource_post (Type&); + virtual void + externalReference_next (Type&); -virtual void -deployedResource_post (Type const&); + virtual void + externalReference_next (Type const&); -virtual void -deployedResource_none (Type&); + virtual void + externalReference_post (Type&); -virtual void -deployedResource_none (Type const&); + virtual void + externalReference_post (Type const&); -virtual void -post (Type&); + virtual void + externalReference_none (Type&); -virtual void -post (Type const&); -}; + virtual void + externalReference_none (Type const&); -struct XSC_XML_Handlers_Export ImplementationDependency : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ImplementationDependency > -{ -virtual void -traverse (Type&); + virtual void + post (Type&); -virtual void -traverse (Type const&); + virtual void + post (Type const&); + }; + } + } +} -virtual void -pre (Type&); +#include "XMLSchema/Writer.hpp" -virtual void -pre (Type const&); +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + struct TCKind : Traversal::TCKind, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + TCKind (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -requiredType (Type&); + virtual void + traverse (Type &o) + { + this->traverse (const_cast (o)); + } -virtual void -requiredType (Type const&); + virtual void + traverse (Type const&); -virtual void -post (Type&); + protected: + TCKind (); + }; -virtual void -post (Type const&); -}; + struct DataType : Traversal::DataType, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::DataType Type; + DataType (::XSCRT::XML::Element< ACE_TCHAR >&); -struct XSC_XML_Handlers_Export Capability : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Capability > -{ -virtual void -traverse (Type&); + virtual void + traverse (Type &o) + { -virtual void -traverse (Type const&); + this->traverse (const_cast (o)); + } -virtual void -pre (Type&); -virtual void -pre (Type const&); + virtual void + traverse (Type const&); -virtual void -name (Type&); + virtual void + kind (Type &o) + { -virtual void -name (Type const&); + this->kind (const_cast (o)); + } -virtual void -resourceType (Type&); -virtual void -resourceType (Type const&); + virtual void + kind (Type const&); -virtual void -resourceType_pre (Type&); + virtual void + enum_ (Type &o) + { -virtual void -resourceType_pre (Type const&); + this->enum_ (const_cast (o)); + } -virtual void -resourceType_next (Type&); -virtual void -resourceType_next (Type const&); + virtual void + enum_ (Type const&); -virtual void -resourceType_post (Type&); + virtual void + struct_ (Type &o) + { -virtual void -resourceType_post (Type const&); + this->struct_ (const_cast (o)); + } -virtual void -property (Type&); -virtual void -property (Type const&); + virtual void + struct_ (Type const&); -virtual void -property_pre (Type&); + virtual void + value (Type &o) + { -virtual void -property_pre (Type const&); + this->value (const_cast (o)); + } -virtual void -property_next (Type&); -virtual void -property_next (Type const&); + virtual void + value (Type const&); -virtual void -property_post (Type&); + virtual void + sequence (Type &o) + { -virtual void -property_post (Type const&); + this->sequence (const_cast (o)); + } -virtual void -property_none (Type&); -virtual void -property_none (Type const&); + virtual void + sequence (Type const&); -virtual void -post (Type&); + virtual void + id (Type &o) + { -virtual void -post (Type const&); -}; + this->id (const_cast (o)); + } -struct XSC_XML_Handlers_Export ImplementationRequirement : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ImplementationRequirement > -{ -virtual void -traverse (Type&); -virtual void -traverse (Type const&); + virtual void + id (Type const&); -virtual void -pre (Type&); + protected: + DataType (); + }; -virtual void -pre (Type const&); + struct DataValue : Traversal::DataValue, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::DataValue Type; + DataValue (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -resourceUsage (Type&); + virtual void + traverse (Type &o) + { -virtual void -resourceUsage (Type const&); + this->traverse (const_cast (o)); + } -virtual void -resourceUsage_none (Type&); -virtual void -resourceUsage_none (Type const&); + virtual void + traverse (Type const&); -virtual void -resourcePort (Type&); + virtual void + short_pre (Type &o) + { -virtual void -resourcePort (Type const&); + this->short_pre (const_cast (o)); + } -virtual void -resourcePort_none (Type&); -virtual void -resourcePort_none (Type const&); + virtual void + short_pre (Type const&); -virtual void -componentPort (Type&); + virtual void + short_next (Type &o) + { -virtual void -componentPort (Type const&); + this->short_next (const_cast (o)); + } -virtual void -componentPort_none (Type&); -virtual void -componentPort_none (Type const&); + virtual void + short_next (Type const&); -virtual void -resourceType (Type&); + virtual void + short_post (Type &o) + { -virtual void -resourceType (Type const&); + this->short_post (const_cast (o)); + } -virtual void -name (Type&); -virtual void -name (Type const&); + virtual void + short_post (Type const&); -virtual void -property (Type&); + virtual void + long_pre (Type &o) + { -virtual void -property (Type const&); + this->long_pre (const_cast (o)); + } -virtual void -property_pre (Type&); -virtual void -property_pre (Type const&); + virtual void + long_pre (Type const&); -virtual void -property_next (Type&); + virtual void + long_next (Type &o) + { -virtual void -property_next (Type const&); + this->long_next (const_cast (o)); + } -virtual void -property_post (Type&); -virtual void -property_post (Type const&); + virtual void + long_next (Type const&); -virtual void -property_none (Type&); + virtual void + long_post (Type &o) + { -virtual void -property_none (Type const&); + this->long_post (const_cast (o)); + } -virtual void -post (Type&); -virtual void -post (Type const&); -}; + virtual void + long_post (Type const&); -struct XSC_XML_Handlers_Export ComponentPackageReference : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPackageReference > -{ -virtual void -traverse (Type&); + virtual void + ushort_pre (Type &o) + { -virtual void -traverse (Type const&); + this->ushort_pre (const_cast (o)); + } -virtual void -pre (Type&); -virtual void -pre (Type const&); + virtual void + ushort_pre (Type const&); -virtual void -requiredUUID (Type&); + virtual void + ushort_next (Type &o) + { -virtual void -requiredUUID (Type const&); + this->ushort_next (const_cast (o)); + } -virtual void -requiredUUID_none (Type&); -virtual void -requiredUUID_none (Type const&); + virtual void + ushort_next (Type const&); -virtual void -requiredName (Type&); + virtual void + ushort_post (Type &o) + { -virtual void -requiredName (Type const&); + this->ushort_post (const_cast (o)); + } -virtual void -requiredName_none (Type&); -virtual void -requiredName_none (Type const&); + virtual void + ushort_post (Type const&); -virtual void -requiredType (Type&); + virtual void + ulong_pre (Type &o) + { -virtual void -requiredType (Type const&); + this->ulong_pre (const_cast (o)); + } -virtual void -post (Type&); -virtual void -post (Type const&); -}; + virtual void + ulong_pre (Type const&); -struct XSC_XML_Handlers_Export SubcomponentPortEndpoint : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SubcomponentPortEndpoint > -{ -virtual void -traverse (Type&); + virtual void + ulong_next (Type &o) + { -virtual void -traverse (Type const&); + this->ulong_next (const_cast (o)); + } -virtual void -pre (Type&); -virtual void -pre (Type const&); + virtual void + ulong_next (Type const&); -virtual void -portName (Type&); + virtual void + ulong_post (Type &o) + { -virtual void -portName (Type const&); + this->ulong_post (const_cast (o)); + } -virtual void -instance (Type&); -virtual void -instance (Type const&); + virtual void + ulong_post (Type const&); -virtual void -post (Type&); + virtual void + float_pre (Type &o) + { -virtual void -post (Type const&); -}; + this->float_pre (const_cast (o)); + } -struct XSC_XML_Handlers_Export AssemblyConnectionDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::AssemblyConnectionDescription > -{ -virtual void -traverse (Type&); -virtual void -traverse (Type const&); + virtual void + float_pre (Type const&); -virtual void -pre (Type&); + virtual void + float_next (Type &o) + { -virtual void -pre (Type const&); + this->float_next (const_cast (o)); + } -virtual void -name (Type&); -virtual void -name (Type const&); + virtual void + float_next (Type const&); -virtual void -deployRequirement (Type&); + virtual void + float_post (Type &o) + { -virtual void -deployRequirement (Type const&); + this->float_post (const_cast (o)); + } -virtual void -deployRequirement_pre (Type&); -virtual void -deployRequirement_pre (Type const&); + virtual void + float_post (Type const&); -virtual void -deployRequirement_next (Type&); + virtual void + double_pre (Type &o) + { -virtual void -deployRequirement_next (Type const&); + this->double_pre (const_cast (o)); + } -virtual void -deployRequirement_post (Type&); -virtual void -deployRequirement_post (Type const&); + virtual void + double_pre (Type const&); -virtual void -deployRequirement_none (Type&); + virtual void + double_next (Type &o) + { -virtual void -deployRequirement_none (Type const&); + this->double_next (const_cast (o)); + } -virtual void -internalEndpoint (Type&); -virtual void -internalEndpoint (Type const&); + virtual void + double_next (Type const&); -virtual void -internalEndpoint_pre (Type&); + virtual void + double_post (Type &o) + { -virtual void -internalEndpoint_pre (Type const&); + this->double_post (const_cast (o)); + } -virtual void -internalEndpoint_next (Type&); -virtual void -internalEndpoint_next (Type const&); + virtual void + double_post (Type const&); -virtual void -internalEndpoint_post (Type&); + virtual void + boolean_pre (Type &o) + { -virtual void -internalEndpoint_post (Type const&); + this->boolean_pre (const_cast (o)); + } -virtual void -internalEndpoint_none (Type&); -virtual void -internalEndpoint_none (Type const&); + virtual void + boolean_pre (Type const&); -virtual void -externalEndpoint (Type&); + virtual void + boolean_next (Type &o) + { -virtual void -externalEndpoint (Type const&); + this->boolean_next (const_cast (o)); + } -virtual void -externalEndpoint_pre (Type&); -virtual void -externalEndpoint_pre (Type const&); + virtual void + boolean_next (Type const&); -virtual void -externalEndpoint_next (Type&); + virtual void + boolean_post (Type &o) + { -virtual void -externalEndpoint_next (Type const&); + this->boolean_post (const_cast (o)); + } -virtual void -externalEndpoint_post (Type&); -virtual void -externalEndpoint_post (Type const&); + virtual void + boolean_post (Type const&); -virtual void -externalEndpoint_none (Type&); + virtual void + octet_pre (Type &o) + { -virtual void -externalEndpoint_none (Type const&); + this->octet_pre (const_cast (o)); + } -virtual void -externalReference (Type&); -virtual void -externalReference (Type const&); + virtual void + octet_pre (Type const&); -virtual void -externalReference_pre (Type&); + virtual void + octet_next (Type &o) + { -virtual void -externalReference_pre (Type const&); + this->octet_next (const_cast (o)); + } -virtual void -externalReference_next (Type&); -virtual void -externalReference_next (Type const&); + virtual void + octet_next (Type const&); -virtual void -externalReference_post (Type&); + virtual void + octet_post (Type &o) + { -virtual void -externalReference_post (Type const&); + this->octet_post (const_cast (o)); + } -virtual void -externalReference_none (Type&); -virtual void -externalReference_none (Type const&); + virtual void + octet_post (Type const&); -virtual void -post (Type&); + virtual void + enum_pre (Type &o) + { -virtual void -post (Type const&); -}; -} -} -} + this->enum_pre (const_cast (o)); + } -#include "XMLSchema/Writer.hpp" -namespace CIAO -{ -namespace Config_Handlers -{ -namespace Writer -{ -struct TCKind : Traversal::TCKind, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -TCKind (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + enum_pre (Type const&); -virtual void -traverse (Type &o) -{ -this->traverse (const_cast (o)); -} + virtual void + enum_next (Type &o) + { -virtual void -traverse (Type const&); + this->enum_next (const_cast (o)); + } -protected: -TCKind (); -}; -struct DataType : Traversal::DataType, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::DataType Type; -DataType (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + enum_next (Type const&); -virtual void -traverse (Type &o) -{ + virtual void + enum_post (Type &o) + { -this->traverse (const_cast (o)); -} + this->enum_post (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + enum_post (Type const&); -virtual void -kind (Type &o) -{ + virtual void + string_pre (Type &o) + { -this->kind (const_cast (o)); -} + this->string_pre (const_cast (o)); + } -virtual void -kind (Type const&); + virtual void + string_pre (Type const&); -virtual void -enum_ (Type &o) -{ + virtual void + string_next (Type &o) + { -this->enum_ (const_cast (o)); -} + this->string_next (const_cast (o)); + } -virtual void -enum_ (Type const&); + virtual void + string_next (Type const&); -protected: -DataType (); -}; + virtual void + string_post (Type &o) + { -struct DataValue : Traversal::DataValue, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::DataValue Type; -DataValue (::XSCRT::XML::Element< ACE_TCHAR >&); + this->string_post (const_cast (o)); + } -virtual void -traverse (Type &o) -{ -this->traverse (const_cast (o)); -} + virtual void + string_post (Type const&); + virtual void + longlong_pre (Type &o) + { -virtual void -traverse (Type const&); + this->longlong_pre (const_cast (o)); + } -virtual void -short_pre (Type &o) -{ -this->short_pre (const_cast (o)); -} + virtual void + longlong_pre (Type const&); + virtual void + longlong_next (Type &o) + { -virtual void -short_pre (Type const&); + this->longlong_next (const_cast (o)); + } -virtual void -short_next (Type &o) -{ -this->short_next (const_cast (o)); -} + virtual void + longlong_next (Type const&); + virtual void + longlong_post (Type &o) + { -virtual void -short_next (Type const&); + this->longlong_post (const_cast (o)); + } -virtual void -short_post (Type &o) -{ -this->short_post (const_cast (o)); -} + virtual void + longlong_post (Type const&); + virtual void + ulonglong_pre (Type &o) + { -virtual void -short_post (Type const&); + this->ulonglong_pre (const_cast (o)); + } -virtual void -long_pre (Type &o) -{ -this->long_pre (const_cast (o)); -} + virtual void + ulonglong_pre (Type const&); + virtual void + ulonglong_next (Type &o) + { -virtual void -long_pre (Type const&); + this->ulonglong_next (const_cast (o)); + } -virtual void -long_next (Type &o) -{ -this->long_next (const_cast (o)); -} + virtual void + ulonglong_next (Type const&); + virtual void + ulonglong_post (Type &o) + { -virtual void -long_next (Type const&); + this->ulonglong_post (const_cast (o)); + } -virtual void -long_post (Type &o) -{ -this->long_post (const_cast (o)); -} + virtual void + ulonglong_post (Type const&); + virtual void + longdouble_pre (Type &o) + { -virtual void -long_post (Type const&); + this->longdouble_pre (const_cast (o)); + } -virtual void -ushort_pre (Type &o) -{ -this->ushort_pre (const_cast (o)); -} + virtual void + longdouble_pre (Type const&); + virtual void + longdouble_next (Type &o) + { -virtual void -ushort_pre (Type const&); + this->longdouble_next (const_cast (o)); + } -virtual void -ushort_next (Type &o) -{ -this->ushort_next (const_cast (o)); -} + virtual void + longdouble_next (Type const&); + virtual void + longdouble_post (Type &o) + { -virtual void -ushort_next (Type const&); + this->longdouble_post (const_cast (o)); + } -virtual void -ushort_post (Type &o) -{ -this->ushort_post (const_cast (o)); -} + virtual void + longdouble_post (Type const&); + virtual void + member_pre (Type &o) + { -virtual void -ushort_post (Type const&); + this->member_pre (const_cast (o)); + } -virtual void -ulong_pre (Type &o) -{ -this->ulong_pre (const_cast (o)); -} + virtual void + member_pre (Type const&); + virtual void + member_next (Type &o) + { -virtual void -ulong_pre (Type const&); + this->member_next (const_cast (o)); + } -virtual void -ulong_next (Type &o) -{ -this->ulong_next (const_cast (o)); -} + virtual void + member_next (Type const&); + virtual void + member_post (Type &o) + { -virtual void -ulong_next (Type const&); + this->member_post (const_cast (o)); + } -virtual void -ulong_post (Type &o) -{ -this->ulong_post (const_cast (o)); -} + virtual void + member_post (Type const&); + protected: + DataValue (); + }; -virtual void -ulong_post (Type const&); + struct EnumType : Traversal::EnumType, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::EnumType Type; + EnumType (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -float_pre (Type &o) -{ + virtual void + traverse (Type &o) + { -this->float_pre (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -float_pre (Type const&); + virtual void + traverse (Type const&); -virtual void -float_next (Type &o) -{ + virtual void + name (Type &o) + { -this->float_next (const_cast (o)); -} + this->name (const_cast (o)); + } -virtual void -float_next (Type const&); + virtual void + name (Type const&); -virtual void -float_post (Type &o) -{ + virtual void + typeId (Type &o) + { -this->float_post (const_cast (o)); -} + this->typeId (const_cast (o)); + } -virtual void -float_post (Type const&); + virtual void + typeId (Type const&); -virtual void -double_pre (Type &o) -{ + virtual void + member_pre (Type &o) + { -this->double_pre (const_cast (o)); -} + this->member_pre (const_cast (o)); + } -virtual void -double_pre (Type const&); + virtual void + member_pre (Type const&); -virtual void -double_next (Type &o) -{ + virtual void + member_next (Type &o) + { -this->double_next (const_cast (o)); -} + this->member_next (const_cast (o)); + } -virtual void -double_next (Type const&); + virtual void + member_next (Type const&); -virtual void -double_post (Type &o) -{ + virtual void + member_post (Type &o) + { -this->double_post (const_cast (o)); -} + this->member_post (const_cast (o)); + } -virtual void -double_post (Type const&); + virtual void + member_post (Type const&); -virtual void -boolean_pre (Type &o) -{ + protected: + EnumType (); + }; -this->boolean_pre (const_cast (o)); -} + struct StructType : Traversal::StructType, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::StructType Type; + StructType (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -boolean_pre (Type const&); + this->traverse (const_cast (o)); + } -virtual void -boolean_next (Type &o) -{ -this->boolean_next (const_cast (o)); -} + virtual void + traverse (Type const&); + virtual void + name (Type &o) + { -virtual void -boolean_next (Type const&); + this->name (const_cast (o)); + } -virtual void -boolean_post (Type &o) -{ -this->boolean_post (const_cast (o)); -} + virtual void + name (Type const&); + virtual void + typeId (Type &o) + { -virtual void -boolean_post (Type const&); + this->typeId (const_cast (o)); + } -virtual void -octet_pre (Type &o) -{ -this->octet_pre (const_cast (o)); -} + virtual void + typeId (Type const&); + virtual void + member_pre (Type &o) + { -virtual void -octet_pre (Type const&); + this->member_pre (const_cast (o)); + } -virtual void -octet_next (Type &o) -{ -this->octet_next (const_cast (o)); -} + virtual void + member_pre (Type const&); + virtual void + member_next (Type &o) + { -virtual void -octet_next (Type const&); + this->member_next (const_cast (o)); + } -virtual void -octet_post (Type &o) -{ -this->octet_post (const_cast (o)); -} + virtual void + member_next (Type const&); + virtual void + member_post (Type &o) + { -virtual void -octet_post (Type const&); + this->member_post (const_cast (o)); + } -virtual void -enum_pre (Type &o) -{ -this->enum_pre (const_cast (o)); -} + virtual void + member_post (Type const&); + protected: + StructType (); + }; -virtual void -enum_pre (Type const&); + struct StructMemberType : Traversal::StructMemberType, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::StructMemberType Type; + StructMemberType (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -enum_next (Type &o) -{ + virtual void + traverse (Type &o) + { -this->enum_next (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -enum_next (Type const&); + virtual void + traverse (Type const&); -virtual void -enum_post (Type &o) -{ + virtual void + name (Type &o) + { -this->enum_post (const_cast (o)); -} + this->name (const_cast (o)); + } -virtual void -enum_post (Type const&); + virtual void + name (Type const&); -virtual void -string_pre (Type &o) -{ + virtual void + type (Type &o) + { -this->string_pre (const_cast (o)); -} + this->type (const_cast (o)); + } -virtual void -string_pre (Type const&); + virtual void + type (Type const&); -virtual void -string_next (Type &o) -{ + protected: + StructMemberType (); + }; -this->string_next (const_cast (o)); -} + struct ValueType : Traversal::ValueType, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::ValueType Type; + ValueType (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -string_next (Type const&); + this->traverse (const_cast (o)); + } -virtual void -string_post (Type &o) -{ -this->string_post (const_cast (o)); -} + virtual void + traverse (Type const&); + virtual void + name (Type &o) + { -virtual void -string_post (Type const&); + this->name (const_cast (o)); + } -virtual void -longlong_pre (Type &o) -{ -this->longlong_pre (const_cast (o)); -} + virtual void + name (Type const&); + virtual void + typeId (Type &o) + { -virtual void -longlong_pre (Type const&); + this->typeId (const_cast (o)); + } -virtual void -longlong_next (Type &o) -{ -this->longlong_next (const_cast (o)); -} + virtual void + typeId (Type const&); + virtual void + modifier (Type &o) + { -virtual void -longlong_next (Type const&); + this->modifier (const_cast (o)); + } -virtual void -longlong_post (Type &o) -{ -this->longlong_post (const_cast (o)); -} + virtual void + modifier (Type const&); + virtual void + baseType (Type &o) + { -virtual void -longlong_post (Type const&); + this->baseType (const_cast (o)); + } -virtual void -ulonglong_pre (Type &o) -{ -this->ulonglong_pre (const_cast (o)); -} + virtual void + baseType (Type const&); + virtual void + member_pre (Type &o) + { -virtual void -ulonglong_pre (Type const&); + this->member_pre (const_cast (o)); + } -virtual void -ulonglong_next (Type &o) -{ -this->ulonglong_next (const_cast (o)); -} + virtual void + member_pre (Type const&); + virtual void + member_next (Type &o) + { -virtual void -ulonglong_next (Type const&); + this->member_next (const_cast (o)); + } -virtual void -ulonglong_post (Type &o) -{ -this->ulonglong_post (const_cast (o)); -} + virtual void + member_next (Type const&); + virtual void + member_post (Type &o) + { -virtual void -ulonglong_post (Type const&); + this->member_post (const_cast (o)); + } -virtual void -longdouble_pre (Type &o) -{ -this->longdouble_pre (const_cast (o)); -} + virtual void + member_post (Type const&); + protected: + ValueType (); + }; -virtual void -longdouble_pre (Type const&); + struct ValueMemberType : Traversal::ValueMemberType, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::ValueMemberType Type; + ValueMemberType (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -longdouble_next (Type &o) -{ + virtual void + traverse (Type &o) + { -this->longdouble_next (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -longdouble_next (Type const&); + virtual void + traverse (Type const&); -virtual void -longdouble_post (Type &o) -{ + virtual void + name (Type &o) + { -this->longdouble_post (const_cast (o)); -} + this->name (const_cast (o)); + } -virtual void -longdouble_post (Type const&); + virtual void + name (Type const&); -protected: -DataValue (); -}; + virtual void + visibility (Type &o) + { -struct EnumType : Traversal::EnumType, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::EnumType Type; -EnumType (::XSCRT::XML::Element< ACE_TCHAR >&); + this->visibility (const_cast (o)); + } -virtual void -traverse (Type &o) -{ -this->traverse (const_cast (o)); -} + virtual void + visibility (Type const&); + virtual void + type (Type &o) + { -virtual void -traverse (Type const&); + this->type (const_cast (o)); + } -virtual void -name (Type &o) -{ -this->name (const_cast (o)); -} + virtual void + type (Type const&); + protected: + ValueMemberType (); + }; -virtual void -name (Type const&); + struct NamedValue : Traversal::NamedValue, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::NamedValue Type; + NamedValue (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -typeId (Type &o) -{ + virtual void + traverse (Type &o) + { -this->typeId (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -typeId (Type const&); + virtual void + traverse (Type const&); -virtual void -member_pre (Type &o) -{ + virtual void + name (Type &o) + { -this->member_pre (const_cast (o)); -} + this->name (const_cast (o)); + } -virtual void -member_pre (Type const&); + virtual void + name (Type const&); -virtual void -member_next (Type &o) -{ + virtual void + value (Type &o) + { -this->member_next (const_cast (o)); -} + this->value (const_cast (o)); + } -virtual void -member_next (Type const&); + virtual void + value (Type const&); -virtual void -member_post (Type &o) -{ + protected: + NamedValue (); + }; -this->member_post (const_cast (o)); -} + struct SequenceType : Traversal::SequenceType, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::SequenceType Type; + SequenceType (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -member_post (Type const&); + this->traverse (const_cast (o)); + } -protected: -EnumType (); -}; -struct Any : Traversal::Any, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::Any Type; -Any (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type const&); -virtual void -traverse (Type &o) -{ + virtual void + bound (Type &o) + { -this->traverse (const_cast (o)); -} + this->bound (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + bound (Type const&); -virtual void -type (Type &o) -{ + virtual void + elementType (Type &o) + { -this->type (const_cast (o)); -} + this->elementType (const_cast (o)); + } -virtual void -type (Type const&); + virtual void + elementType (Type const&); -virtual void -value (Type &o) -{ + protected: + SequenceType (); + }; -this->value (const_cast (o)); -} + struct Any : Traversal::Any, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::Any Type; + Any (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -value (Type const&); + this->traverse (const_cast (o)); + } -protected: -Any (); -}; -struct Property : Traversal::Property, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::Property Type; -Property (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type const&); -virtual void -traverse (Type &o) -{ + virtual void + type (Type &o) + { -this->traverse (const_cast (o)); -} + this->type (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + type (Type const&); -virtual void -name (Type &o) -{ + virtual void + value (Type &o) + { -this->name (const_cast (o)); -} + this->value (const_cast (o)); + } -virtual void -name (Type const&); + virtual void + value (Type const&); -virtual void -value (Type &o) -{ + protected: + Any (); + }; -this->value (const_cast (o)); -} + struct Property : Traversal::Property, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::Property Type; + Property (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -value (Type const&); + this->traverse (const_cast (o)); + } -protected: -Property (); -}; -struct SatisfierPropertyKind : Traversal::SatisfierPropertyKind, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -SatisfierPropertyKind (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type const&); -virtual void -traverse (Type &o) -{ -this->traverse (const_cast (o)); -} + virtual void + name (Type &o) + { -virtual void -traverse (Type const&); + this->name (const_cast (o)); + } -protected: -SatisfierPropertyKind (); -}; -struct SatisfierProperty : Traversal::SatisfierProperty, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::SatisfierProperty Type; -SatisfierProperty (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + name (Type const&); -virtual void -traverse (Type &o) -{ + virtual void + value (Type &o) + { -this->traverse (const_cast (o)); -} + this->value (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + value (Type const&); -virtual void -name (Type &o) -{ + protected: + Property (); + }; -this->name (const_cast (o)); -} + struct SatisfierPropertyKind : Traversal::SatisfierPropertyKind, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + SatisfierPropertyKind (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { + this->traverse (const_cast (o)); + } -virtual void -name (Type const&); + virtual void + traverse (Type const&); -virtual void -kind (Type &o) -{ + protected: + SatisfierPropertyKind (); + }; -this->kind (const_cast (o)); -} + struct SatisfierProperty : Traversal::SatisfierProperty, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::SatisfierProperty Type; + SatisfierProperty (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -kind (Type const&); + this->traverse (const_cast (o)); + } -virtual void -dynamic (Type &o) -{ -this->dynamic (const_cast (o)); -} + virtual void + traverse (Type const&); + virtual void + name (Type &o) + { -virtual void -dynamic (Type const&); + this->name (const_cast (o)); + } -virtual void -value (Type &o) -{ -this->value (const_cast (o)); -} + virtual void + name (Type const&); + virtual void + kind (Type &o) + { -virtual void -value (Type const&); + this->kind (const_cast (o)); + } -protected: -SatisfierProperty (); -}; -struct Resource : Traversal::Resource, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::Resource Type; -Resource (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + kind (Type const&); -virtual void -traverse (Type &o) -{ + virtual void + dynamic (Type &o) + { -this->traverse (const_cast (o)); -} + this->dynamic (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + dynamic (Type const&); -virtual void -name (Type &o) -{ + virtual void + value (Type &o) + { -this->name (const_cast (o)); -} + this->value (const_cast (o)); + } -virtual void -name (Type const&); + virtual void + value (Type const&); -virtual void -resourceType_pre (Type &o) -{ + protected: + SatisfierProperty (); + }; -this->resourceType_pre (const_cast (o)); -} + struct Resource : Traversal::Resource, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::Resource Type; + Resource (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -resourceType_pre (Type const&); + this->traverse (const_cast (o)); + } -virtual void -resourceType_next (Type &o) -{ -this->resourceType_next (const_cast (o)); -} + virtual void + traverse (Type const&); + virtual void + name (Type &o) + { -virtual void -resourceType_next (Type const&); + this->name (const_cast (o)); + } -virtual void -resourceType_post (Type &o) -{ -this->resourceType_post (const_cast (o)); -} + virtual void + name (Type const&); + virtual void + resourceType_pre (Type &o) + { -virtual void -resourceType_post (Type const&); + this->resourceType_pre (const_cast (o)); + } -virtual void -property_pre (Type &o) -{ -this->property_pre (const_cast (o)); -} + virtual void + resourceType_pre (Type const&); + virtual void + resourceType_next (Type &o) + { -virtual void -property_pre (Type const&); + this->resourceType_next (const_cast (o)); + } -virtual void -property_next (Type &o) -{ -this->property_next (const_cast (o)); -} + virtual void + resourceType_next (Type const&); + virtual void + resourceType_post (Type &o) + { -virtual void -property_next (Type const&); + this->resourceType_post (const_cast (o)); + } -virtual void -property_post (Type &o) -{ -this->property_post (const_cast (o)); -} + virtual void + resourceType_post (Type const&); + virtual void + property_pre (Type &o) + { -virtual void -property_post (Type const&); + this->property_pre (const_cast (o)); + } -protected: -Resource (); -}; -struct Requirement : Traversal::Requirement, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::Requirement Type; -Requirement (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + property_pre (Type const&); -virtual void -traverse (Type &o) -{ + virtual void + property_next (Type &o) + { -this->traverse (const_cast (o)); -} + this->property_next (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + property_next (Type const&); -virtual void -resourceType (Type &o) -{ + virtual void + property_post (Type &o) + { -this->resourceType (const_cast (o)); -} + this->property_post (const_cast (o)); + } -virtual void -resourceType (Type const&); + virtual void + property_post (Type const&); -virtual void -name (Type &o) -{ + protected: + Resource (); + }; -this->name (const_cast (o)); -} + struct Requirement : Traversal::Requirement, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::Requirement Type; + Requirement (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -name (Type const&); + this->traverse (const_cast (o)); + } -virtual void -property_pre (Type &o) -{ -this->property_pre (const_cast (o)); -} + virtual void + traverse (Type const&); + virtual void + resourceType (Type &o) + { -virtual void -property_pre (Type const&); + this->resourceType (const_cast (o)); + } -virtual void -property_next (Type &o) -{ -this->property_next (const_cast (o)); -} + virtual void + resourceType (Type const&); + virtual void + name (Type &o) + { -virtual void -property_next (Type const&); + this->name (const_cast (o)); + } -virtual void -property_post (Type &o) -{ -this->property_post (const_cast (o)); -} + virtual void + name (Type const&); + virtual void + property_pre (Type &o) + { -virtual void -property_post (Type const&); + this->property_pre (const_cast (o)); + } -protected: -Requirement (); -}; -struct ResourceDeploymentDescription : Traversal::ResourceDeploymentDescription, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::ResourceDeploymentDescription Type; -ResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + property_pre (Type const&); -virtual void -traverse (Type &o) -{ + virtual void + property_next (Type &o) + { -this->traverse (const_cast (o)); -} + this->property_next (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + property_next (Type const&); -virtual void -requirementName (Type &o) -{ + virtual void + property_post (Type &o) + { -this->requirementName (const_cast (o)); -} + this->property_post (const_cast (o)); + } -virtual void -requirementName (Type const&); + virtual void + property_post (Type const&); -virtual void -resourceName (Type &o) -{ + protected: + Requirement (); + }; -this->resourceName (const_cast (o)); -} + struct ResourceDeploymentDescription : Traversal::ResourceDeploymentDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::ResourceDeploymentDescription Type; + ResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -resourceName (Type const&); + this->traverse (const_cast (o)); + } -virtual void -property_pre (Type &o) -{ -this->property_pre (const_cast (o)); -} + virtual void + traverse (Type const&); + virtual void + requirementName (Type &o) + { -virtual void -property_pre (Type const&); + this->requirementName (const_cast (o)); + } -virtual void -property_next (Type &o) -{ -this->property_next (const_cast (o)); -} + virtual void + requirementName (Type const&); + virtual void + resourceName (Type &o) + { -virtual void -property_next (Type const&); + this->resourceName (const_cast (o)); + } -virtual void -property_post (Type &o) -{ -this->property_post (const_cast (o)); -} + virtual void + resourceName (Type const&); + virtual void + property_pre (Type &o) + { -virtual void -property_post (Type const&); + this->property_pre (const_cast (o)); + } -protected: -ResourceDeploymentDescription (); -}; -struct ArtifactDeploymentDescription : Traversal::ArtifactDeploymentDescription, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::ArtifactDeploymentDescription Type; -ArtifactDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + property_pre (Type const&); -virtual void -traverse (Type &o) -{ + virtual void + property_next (Type &o) + { -this->traverse (const_cast (o)); -} + this->property_next (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + property_next (Type const&); -virtual void -name (Type &o) -{ + virtual void + property_post (Type &o) + { -this->name (const_cast (o)); -} + this->property_post (const_cast (o)); + } -virtual void -name (Type const&); + virtual void + property_post (Type const&); -virtual void -source_pre (Type &o) -{ + protected: + ResourceDeploymentDescription (); + }; -this->source_pre (const_cast (o)); -} + struct ArtifactDeploymentDescription : Traversal::ArtifactDeploymentDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::ArtifactDeploymentDescription Type; + ArtifactDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -source_pre (Type const&); + this->traverse (const_cast (o)); + } -virtual void -source_next (Type &o) -{ -this->source_next (const_cast (o)); -} + virtual void + traverse (Type const&); + virtual void + name (Type &o) + { -virtual void -source_next (Type const&); + this->name (const_cast (o)); + } -virtual void -source_post (Type &o) -{ -this->source_post (const_cast (o)); -} + virtual void + name (Type const&); + virtual void + source_pre (Type &o) + { -virtual void -source_post (Type const&); + this->source_pre (const_cast (o)); + } -virtual void -node (Type &o) -{ -this->node (const_cast (o)); -} + virtual void + source_pre (Type const&); + virtual void + source_next (Type &o) + { -virtual void -node (Type const&); + this->source_next (const_cast (o)); + } -virtual void -location_pre (Type &o) -{ -this->location_pre (const_cast (o)); -} + virtual void + source_next (Type const&); + virtual void + source_post (Type &o) + { -virtual void -location_pre (Type const&); + this->source_post (const_cast (o)); + } -virtual void -location_next (Type &o) -{ -this->location_next (const_cast (o)); -} + virtual void + source_post (Type const&); + virtual void + node (Type &o) + { -virtual void -location_next (Type const&); + this->node (const_cast (o)); + } -virtual void -location_post (Type &o) -{ -this->location_post (const_cast (o)); -} + virtual void + node (Type const&); + virtual void + location_pre (Type &o) + { -virtual void -location_post (Type const&); + this->location_pre (const_cast (o)); + } -virtual void -execParameter_pre (Type &o) -{ -this->execParameter_pre (const_cast (o)); -} + virtual void + location_pre (Type const&); + virtual void + location_next (Type &o) + { -virtual void -execParameter_pre (Type const&); + this->location_next (const_cast (o)); + } -virtual void -execParameter_next (Type &o) -{ -this->execParameter_next (const_cast (o)); -} + virtual void + location_next (Type const&); + virtual void + location_post (Type &o) + { -virtual void -execParameter_next (Type const&); + this->location_post (const_cast (o)); + } -virtual void -execParameter_post (Type &o) -{ -this->execParameter_post (const_cast (o)); -} + virtual void + location_post (Type const&); + virtual void + execParameter_pre (Type &o) + { -virtual void -execParameter_post (Type const&); + this->execParameter_pre (const_cast (o)); + } -virtual void -deployRequirement_pre (Type &o) -{ -this->deployRequirement_pre (const_cast (o)); -} + virtual void + execParameter_pre (Type const&); + virtual void + execParameter_next (Type &o) + { -virtual void -deployRequirement_pre (Type const&); + this->execParameter_next (const_cast (o)); + } -virtual void -deployRequirement_next (Type &o) -{ -this->deployRequirement_next (const_cast (o)); -} + virtual void + execParameter_next (Type const&); + virtual void + execParameter_post (Type &o) + { -virtual void -deployRequirement_next (Type const&); + this->execParameter_post (const_cast (o)); + } -virtual void -deployRequirement_post (Type &o) -{ -this->deployRequirement_post (const_cast (o)); -} + virtual void + execParameter_post (Type const&); + virtual void + deployRequirement_pre (Type &o) + { -virtual void -deployRequirement_post (Type const&); + this->deployRequirement_pre (const_cast (o)); + } -virtual void -deployedResource_pre (Type &o) -{ -this->deployedResource_pre (const_cast (o)); -} + virtual void + deployRequirement_pre (Type const&); + virtual void + deployRequirement_next (Type &o) + { -virtual void -deployedResource_pre (Type const&); + this->deployRequirement_next (const_cast (o)); + } -virtual void -deployedResource_next (Type &o) -{ -this->deployedResource_next (const_cast (o)); -} + virtual void + deployRequirement_next (Type const&); + virtual void + deployRequirement_post (Type &o) + { -virtual void -deployedResource_next (Type const&); + this->deployRequirement_post (const_cast (o)); + } -virtual void -deployedResource_post (Type &o) -{ -this->deployedResource_post (const_cast (o)); -} + virtual void + deployRequirement_post (Type const&); + virtual void + deployedResource_pre (Type &o) + { -virtual void -deployedResource_post (Type const&); + this->deployedResource_pre (const_cast (o)); + } -virtual void -id (Type &o) -{ -this->id (const_cast (o)); -} + virtual void + deployedResource_pre (Type const&); + virtual void + deployedResource_next (Type &o) + { -virtual void -id (Type const&); + this->deployedResource_next (const_cast (o)); + } -protected: -ArtifactDeploymentDescription (); -}; -struct MonolithicDeploymentDescription : Traversal::MonolithicDeploymentDescription, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::MonolithicDeploymentDescription Type; -MonolithicDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + deployedResource_next (Type const&); -virtual void -traverse (Type &o) -{ + virtual void + deployedResource_post (Type &o) + { -this->traverse (const_cast (o)); -} + this->deployedResource_post (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + deployedResource_post (Type const&); -virtual void -name (Type &o) -{ + virtual void + id (Type &o) + { -this->name (const_cast (o)); -} + this->id (const_cast (o)); + } -virtual void -name (Type const&); + virtual void + id (Type const&); -virtual void -source_pre (Type &o) -{ + protected: + ArtifactDeploymentDescription (); + }; -this->source_pre (const_cast (o)); -} + struct MonolithicDeploymentDescription : Traversal::MonolithicDeploymentDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::MonolithicDeploymentDescription Type; + MonolithicDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -source_pre (Type const&); + this->traverse (const_cast (o)); + } -virtual void -source_next (Type &o) -{ -this->source_next (const_cast (o)); -} + virtual void + traverse (Type const&); + virtual void + name (Type &o) + { -virtual void -source_next (Type const&); + this->name (const_cast (o)); + } -virtual void -source_post (Type &o) -{ -this->source_post (const_cast (o)); -} + virtual void + name (Type const&); + virtual void + source_pre (Type &o) + { -virtual void -source_post (Type const&); + this->source_pre (const_cast (o)); + } -virtual void -artifact_pre (Type &o) -{ -this->artifact_pre (const_cast (o)); -} + virtual void + source_pre (Type const&); + virtual void + source_next (Type &o) + { -virtual void -artifact_pre (Type const&); + this->source_next (const_cast (o)); + } -virtual void -artifact_next (Type &o) -{ -this->artifact_next (const_cast (o)); -} + virtual void + source_next (Type const&); + virtual void + source_post (Type &o) + { -virtual void -artifact_next (Type const&); + this->source_post (const_cast (o)); + } -virtual void -artifact_post (Type &o) -{ -this->artifact_post (const_cast (o)); -} + virtual void + source_post (Type const&); + virtual void + artifact_pre (Type &o) + { -virtual void -artifact_post (Type const&); + this->artifact_pre (const_cast (o)); + } -virtual void -execParameter_pre (Type &o) -{ -this->execParameter_pre (const_cast (o)); -} + virtual void + artifact_pre (Type const&); + virtual void + artifact_next (Type &o) + { -virtual void -execParameter_pre (Type const&); + this->artifact_next (const_cast (o)); + } -virtual void -execParameter_next (Type &o) -{ -this->execParameter_next (const_cast (o)); -} + virtual void + artifact_next (Type const&); + virtual void + artifact_post (Type &o) + { -virtual void -execParameter_next (Type const&); + this->artifact_post (const_cast (o)); + } -virtual void -execParameter_post (Type &o) -{ -this->execParameter_post (const_cast (o)); -} + virtual void + artifact_post (Type const&); + virtual void + execParameter_pre (Type &o) + { -virtual void -execParameter_post (Type const&); + this->execParameter_pre (const_cast (o)); + } -virtual void -deployRequirement_pre (Type &o) -{ -this->deployRequirement_pre (const_cast (o)); -} + virtual void + execParameter_pre (Type const&); + virtual void + execParameter_next (Type &o) + { -virtual void -deployRequirement_pre (Type const&); + this->execParameter_next (const_cast (o)); + } -virtual void -deployRequirement_next (Type &o) -{ -this->deployRequirement_next (const_cast (o)); -} + virtual void + execParameter_next (Type const&); + virtual void + execParameter_post (Type &o) + { -virtual void -deployRequirement_next (Type const&); + this->execParameter_post (const_cast (o)); + } -virtual void -deployRequirement_post (Type &o) -{ -this->deployRequirement_post (const_cast (o)); -} + virtual void + execParameter_post (Type const&); + virtual void + deployRequirement_pre (Type &o) + { -virtual void -deployRequirement_post (Type const&); + this->deployRequirement_pre (const_cast (o)); + } -virtual void -id (Type &o) -{ -this->id (const_cast (o)); -} + virtual void + deployRequirement_pre (Type const&); + virtual void + deployRequirement_next (Type &o) + { -virtual void -id (Type const&); + this->deployRequirement_next (const_cast (o)); + } -protected: -MonolithicDeploymentDescription (); -}; -struct ResourceUsageKind : Traversal::ResourceUsageKind, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -ResourceUsageKind (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + deployRequirement_next (Type const&); -virtual void -traverse (Type &o) -{ -this->traverse (const_cast (o)); -} + virtual void + deployRequirement_post (Type &o) + { -virtual void -traverse (Type const&); + this->deployRequirement_post (const_cast (o)); + } -protected: -ResourceUsageKind (); -}; -struct InstanceResourceDeploymentDescription : Traversal::InstanceResourceDeploymentDescription, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription Type; -InstanceResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + deployRequirement_post (Type const&); -virtual void -traverse (Type &o) -{ + virtual void + id (Type &o) + { -this->traverse (const_cast (o)); -} + this->id (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + id (Type const&); -virtual void -resourceUsage (Type &o) -{ + protected: + MonolithicDeploymentDescription (); + }; -this->resourceUsage (const_cast (o)); -} + struct ResourceUsageKind : Traversal::ResourceUsageKind, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + ResourceUsageKind (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { + this->traverse (const_cast (o)); + } -virtual void -resourceUsage (Type const&); + virtual void + traverse (Type const&); -virtual void -requirementName (Type &o) -{ + protected: + ResourceUsageKind (); + }; -this->requirementName (const_cast (o)); -} + struct InstanceResourceDeploymentDescription : Traversal::InstanceResourceDeploymentDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription Type; + InstanceResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -requirementName (Type const&); + this->traverse (const_cast (o)); + } -virtual void -resourceName (Type &o) -{ -this->resourceName (const_cast (o)); -} + virtual void + traverse (Type const&); + virtual void + resourceUsage (Type &o) + { -virtual void -resourceName (Type const&); + this->resourceUsage (const_cast (o)); + } -virtual void -property_pre (Type &o) -{ -this->property_pre (const_cast (o)); -} + virtual void + resourceUsage (Type const&); + virtual void + requirementName (Type &o) + { -virtual void -property_pre (Type const&); + this->requirementName (const_cast (o)); + } -virtual void -property_next (Type &o) -{ -this->property_next (const_cast (o)); -} + virtual void + requirementName (Type const&); + virtual void + resourceName (Type &o) + { -virtual void -property_next (Type const&); + this->resourceName (const_cast (o)); + } -virtual void -property_post (Type &o) -{ -this->property_post (const_cast (o)); -} + virtual void + resourceName (Type const&); + virtual void + property_pre (Type &o) + { -virtual void -property_post (Type const&); + this->property_pre (const_cast (o)); + } -protected: -InstanceResourceDeploymentDescription (); -}; -struct InstanceDeploymentDescription : Traversal::InstanceDeploymentDescription, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::InstanceDeploymentDescription Type; -InstanceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + property_pre (Type const&); -virtual void -traverse (Type &o) -{ + virtual void + property_next (Type &o) + { -this->traverse (const_cast (o)); -} + this->property_next (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + property_next (Type const&); -virtual void -name (Type &o) -{ + virtual void + property_post (Type &o) + { -this->name (const_cast (o)); -} + this->property_post (const_cast (o)); + } -virtual void -name (Type const&); + virtual void + property_post (Type const&); -virtual void -node (Type &o) -{ + protected: + InstanceResourceDeploymentDescription (); + }; -this->node (const_cast (o)); -} + struct InstanceDeploymentDescription : Traversal::InstanceDeploymentDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::InstanceDeploymentDescription Type; + InstanceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -node (Type const&); + this->traverse (const_cast (o)); + } -virtual void -source (Type &o) -{ -this->source (const_cast (o)); -} + virtual void + traverse (Type const&); + virtual void + name (Type &o) + { -virtual void -source (Type const&); + this->name (const_cast (o)); + } -virtual void -implementation (Type &o) -{ -this->implementation (const_cast (o)); -} + virtual void + name (Type const&); + virtual void + node (Type &o) + { -virtual void -implementation (Type const&); + this->node (const_cast (o)); + } -virtual void -configProperty_pre (Type &o) -{ -this->configProperty_pre (const_cast (o)); -} + virtual void + node (Type const&); + virtual void + source (Type &o) + { -virtual void -configProperty_pre (Type const&); + this->source (const_cast (o)); + } -virtual void -configProperty_next (Type &o) -{ -this->configProperty_next (const_cast (o)); -} + virtual void + source (Type const&); + virtual void + implementation (Type &o) + { -virtual void -configProperty_next (Type const&); + this->implementation (const_cast (o)); + } -virtual void -configProperty_post (Type &o) -{ -this->configProperty_post (const_cast (o)); -} + virtual void + implementation (Type const&); + virtual void + configProperty_pre (Type &o) + { -virtual void -configProperty_post (Type const&); + this->configProperty_pre (const_cast (o)); + } -virtual void -deployedResource (Type &o) -{ -this->deployedResource (const_cast (o)); -} + virtual void + configProperty_pre (Type const&); + virtual void + configProperty_next (Type &o) + { -virtual void -deployedResource (Type const&); + this->configProperty_next (const_cast (o)); + } -virtual void -deployedSharedResource (Type &o) -{ -this->deployedSharedResource (const_cast (o)); -} + virtual void + configProperty_next (Type const&); + virtual void + configProperty_post (Type &o) + { -virtual void -deployedSharedResource (Type const&); + this->configProperty_post (const_cast (o)); + } -virtual void -id (Type &o) -{ -this->id (const_cast (o)); -} + virtual void + configProperty_post (Type const&); + virtual void + deployedResource (Type &o) + { -virtual void -id (Type const&); + this->deployedResource (const_cast (o)); + } -protected: -InstanceDeploymentDescription (); -}; -struct CCMComponentPortKind : Traversal::CCMComponentPortKind, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -CCMComponentPortKind (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + deployedResource (Type const&); -virtual void -traverse (Type &o) -{ -this->traverse (const_cast (o)); -} + virtual void + deployedSharedResource (Type &o) + { -virtual void -traverse (Type const&); + this->deployedSharedResource (const_cast (o)); + } -protected: -CCMComponentPortKind (); -}; -struct ComponentPortDescription : Traversal::ComponentPortDescription, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::ComponentPortDescription Type; -ComponentPortDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + deployedSharedResource (Type const&); -virtual void -traverse (Type &o) -{ + virtual void + id (Type &o) + { -this->traverse (const_cast (o)); -} + this->id (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + id (Type const&); -virtual void -name (Type &o) -{ + protected: + InstanceDeploymentDescription (); + }; -this->name (const_cast (o)); -} + struct CCMComponentPortKind : Traversal::CCMComponentPortKind, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + CCMComponentPortKind (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { + this->traverse (const_cast (o)); + } -virtual void -name (Type const&); + virtual void + traverse (Type const&); -virtual void -specificType (Type &o) -{ + protected: + CCMComponentPortKind (); + }; -this->specificType (const_cast (o)); -} + struct ComponentPortDescription : Traversal::ComponentPortDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::ComponentPortDescription Type; + ComponentPortDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -specificType (Type const&); + this->traverse (const_cast (o)); + } -virtual void -supportedType_pre (Type &o) -{ -this->supportedType_pre (const_cast (o)); -} + virtual void + traverse (Type const&); + virtual void + name (Type &o) + { -virtual void -supportedType_pre (Type const&); + this->name (const_cast (o)); + } -virtual void -supportedType_next (Type &o) -{ -this->supportedType_next (const_cast (o)); -} + virtual void + name (Type const&); + virtual void + specificType (Type &o) + { -virtual void -supportedType_next (Type const&); + this->specificType (const_cast (o)); + } -virtual void -supportedType_post (Type &o) -{ -this->supportedType_post (const_cast (o)); -} + virtual void + specificType (Type const&); + virtual void + supportedType_pre (Type &o) + { -virtual void -supportedType_post (Type const&); + this->supportedType_pre (const_cast (o)); + } -virtual void -provider (Type &o) -{ -this->provider (const_cast (o)); -} + virtual void + supportedType_pre (Type const&); + virtual void + supportedType_next (Type &o) + { -virtual void -provider (Type const&); + this->supportedType_next (const_cast (o)); + } -virtual void -exclusiveProvider (Type &o) -{ -this->exclusiveProvider (const_cast (o)); -} + virtual void + supportedType_next (Type const&); + virtual void + supportedType_post (Type &o) + { -virtual void -exclusiveProvider (Type const&); + this->supportedType_post (const_cast (o)); + } -virtual void -exclusiveUser (Type &o) -{ -this->exclusiveUser (const_cast (o)); -} + virtual void + supportedType_post (Type const&); + virtual void + provider (Type &o) + { -virtual void -exclusiveUser (Type const&); + this->provider (const_cast (o)); + } -virtual void -optional (Type &o) -{ -this->optional (const_cast (o)); -} + virtual void + provider (Type const&); + virtual void + exclusiveProvider (Type &o) + { -virtual void -optional (Type const&); + this->exclusiveProvider (const_cast (o)); + } -virtual void -kind (Type &o) -{ -this->kind (const_cast (o)); -} + virtual void + exclusiveProvider (Type const&); + virtual void + exclusiveUser (Type &o) + { -virtual void -kind (Type const&); + this->exclusiveUser (const_cast (o)); + } -protected: -ComponentPortDescription (); -}; -struct ComponentPropertyDescription : Traversal::ComponentPropertyDescription, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::ComponentPropertyDescription Type; -ComponentPropertyDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + exclusiveUser (Type const&); -virtual void -traverse (Type &o) -{ + virtual void + optional (Type &o) + { -this->traverse (const_cast (o)); -} + this->optional (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + optional (Type const&); -virtual void -name (Type &o) -{ + virtual void + kind (Type &o) + { -this->name (const_cast (o)); -} + this->kind (const_cast (o)); + } -virtual void -name (Type const&); + virtual void + kind (Type const&); -virtual void -type (Type &o) -{ + protected: + ComponentPortDescription (); + }; -this->type (const_cast (o)); -} + struct ComponentPropertyDescription : Traversal::ComponentPropertyDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::ComponentPropertyDescription Type; + ComponentPropertyDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -type (Type const&); + this->traverse (const_cast (o)); + } -protected: -ComponentPropertyDescription (); -}; -struct ComponentExternalPortEndpoint : Traversal::ComponentExternalPortEndpoint, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::ComponentExternalPortEndpoint Type; -ComponentExternalPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type const&); -virtual void -traverse (Type &o) -{ + virtual void + name (Type &o) + { -this->traverse (const_cast (o)); -} + this->name (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + name (Type const&); -virtual void -portName (Type &o) -{ + virtual void + type (Type &o) + { -this->portName (const_cast (o)); -} + this->type (const_cast (o)); + } -virtual void -portName (Type const&); + virtual void + type (Type const&); -protected: -ComponentExternalPortEndpoint (); -}; + protected: + ComponentPropertyDescription (); + }; -struct PlanSubcomponentPortEndpoint : Traversal::PlanSubcomponentPortEndpoint, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint Type; -PlanSubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >&); + struct ComponentExternalPortEndpoint : Traversal::ComponentExternalPortEndpoint, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::ComponentExternalPortEndpoint Type; + ComponentExternalPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -traverse (Type &o) -{ + virtual void + traverse (Type &o) + { -this->traverse (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -portName (Type &o) -{ + virtual void + portName (Type &o) + { -this->portName (const_cast (o)); -} + this->portName (const_cast (o)); + } -virtual void -portName (Type const&); + virtual void + portName (Type const&); -virtual void -provider (Type &o) -{ + protected: + ComponentExternalPortEndpoint (); + }; -this->provider (const_cast (o)); -} + struct PlanSubcomponentPortEndpoint : Traversal::PlanSubcomponentPortEndpoint, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint Type; + PlanSubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -provider (Type const&); + this->traverse (const_cast (o)); + } -virtual void -kind (Type &o) -{ -this->kind (const_cast (o)); -} + virtual void + traverse (Type const&); + virtual void + portName (Type &o) + { -virtual void -kind (Type const&); + this->portName (const_cast (o)); + } -virtual void -instance (Type &o) -{ -this->instance (const_cast (o)); -} + virtual void + portName (Type const&); + virtual void + provider (Type &o) + { -virtual void -instance (Type const&); + this->provider (const_cast (o)); + } -protected: -PlanSubcomponentPortEndpoint (); -}; -struct ExternalReferenceEndpoint : Traversal::ExternalReferenceEndpoint, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::ExternalReferenceEndpoint Type; -ExternalReferenceEndpoint (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + provider (Type const&); -virtual void -traverse (Type &o) -{ + virtual void + kind (Type &o) + { -this->traverse (const_cast (o)); -} + this->kind (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + kind (Type const&); -virtual void -location (Type &o) -{ + virtual void + instance (Type &o) + { -this->location (const_cast (o)); -} + this->instance (const_cast (o)); + } -virtual void -location (Type const&); + virtual void + instance (Type const&); -protected: -ExternalReferenceEndpoint (); -}; + protected: + PlanSubcomponentPortEndpoint (); + }; -struct ConnectionResourceDeploymentDescription : Traversal::ConnectionResourceDeploymentDescription, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription Type; -ConnectionResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + struct ExternalReferenceEndpoint : Traversal::ExternalReferenceEndpoint, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::ExternalReferenceEndpoint Type; + ExternalReferenceEndpoint (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -traverse (Type &o) -{ + virtual void + traverse (Type &o) + { -this->traverse (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -targetName (Type &o) -{ + virtual void + location (Type &o) + { -this->targetName (const_cast (o)); -} + this->location (const_cast (o)); + } -virtual void -targetName (Type const&); + virtual void + location (Type const&); -virtual void -requirementName (Type &o) -{ + protected: + ExternalReferenceEndpoint (); + }; -this->requirementName (const_cast (o)); -} + struct ConnectionResourceDeploymentDescription : Traversal::ConnectionResourceDeploymentDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription Type; + ConnectionResourceDeploymentDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -requirementName (Type const&); + this->traverse (const_cast (o)); + } -virtual void -resourceName (Type &o) -{ -this->resourceName (const_cast (o)); -} + virtual void + traverse (Type const&); + virtual void + targetName (Type &o) + { -virtual void -resourceName (Type const&); + this->targetName (const_cast (o)); + } -virtual void -property_pre (Type &o) -{ -this->property_pre (const_cast (o)); -} + virtual void + targetName (Type const&); + virtual void + requirementName (Type &o) + { -virtual void -property_pre (Type const&); + this->requirementName (const_cast (o)); + } -virtual void -property_next (Type &o) -{ -this->property_next (const_cast (o)); -} + virtual void + requirementName (Type const&); + virtual void + resourceName (Type &o) + { -virtual void -property_next (Type const&); + this->resourceName (const_cast (o)); + } -virtual void -property_post (Type &o) -{ -this->property_post (const_cast (o)); -} + virtual void + resourceName (Type const&); + virtual void + property_pre (Type &o) + { -virtual void -property_post (Type const&); + this->property_pre (const_cast (o)); + } -protected: -ConnectionResourceDeploymentDescription (); -}; -struct PlanConnectionDescription : Traversal::PlanConnectionDescription, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::PlanConnectionDescription Type; -PlanConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + property_pre (Type const&); -virtual void -traverse (Type &o) -{ + virtual void + property_next (Type &o) + { -this->traverse (const_cast (o)); -} + this->property_next (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + property_next (Type const&); -virtual void -name (Type &o) -{ + virtual void + property_post (Type &o) + { -this->name (const_cast (o)); -} + this->property_post (const_cast (o)); + } -virtual void -name (Type const&); + virtual void + property_post (Type const&); -virtual void -source (Type &o) -{ + protected: + ConnectionResourceDeploymentDescription (); + }; -this->source (const_cast (o)); -} + struct PlanConnectionDescription : Traversal::PlanConnectionDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::PlanConnectionDescription Type; + PlanConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -source (Type const&); + this->traverse (const_cast (o)); + } -virtual void -deployRequirement_pre (Type &o) -{ -this->deployRequirement_pre (const_cast (o)); -} + virtual void + traverse (Type const&); + virtual void + name (Type &o) + { -virtual void -deployRequirement_pre (Type const&); + this->name (const_cast (o)); + } -virtual void -deployRequirement_next (Type &o) -{ -this->deployRequirement_next (const_cast (o)); -} + virtual void + name (Type const&); + virtual void + source (Type &o) + { -virtual void -deployRequirement_next (Type const&); + this->source (const_cast (o)); + } -virtual void -deployRequirement_post (Type &o) -{ -this->deployRequirement_post (const_cast (o)); -} + virtual void + source (Type const&); + virtual void + deployRequirement_pre (Type &o) + { -virtual void -deployRequirement_post (Type const&); + this->deployRequirement_pre (const_cast (o)); + } -virtual void -externalEndpoint_pre (Type &o) -{ -this->externalEndpoint_pre (const_cast (o)); -} + virtual void + deployRequirement_pre (Type const&); + virtual void + deployRequirement_next (Type &o) + { -virtual void -externalEndpoint_pre (Type const&); + this->deployRequirement_next (const_cast (o)); + } -virtual void -externalEndpoint_next (Type &o) -{ -this->externalEndpoint_next (const_cast (o)); -} + virtual void + deployRequirement_next (Type const&); + virtual void + deployRequirement_post (Type &o) + { -virtual void -externalEndpoint_next (Type const&); + this->deployRequirement_post (const_cast (o)); + } -virtual void -externalEndpoint_post (Type &o) -{ -this->externalEndpoint_post (const_cast (o)); -} + virtual void + deployRequirement_post (Type const&); + virtual void + externalEndpoint_pre (Type &o) + { -virtual void -externalEndpoint_post (Type const&); + this->externalEndpoint_pre (const_cast (o)); + } -virtual void -internalEndpoint_pre (Type &o) -{ -this->internalEndpoint_pre (const_cast (o)); -} + virtual void + externalEndpoint_pre (Type const&); + virtual void + externalEndpoint_next (Type &o) + { -virtual void -internalEndpoint_pre (Type const&); + this->externalEndpoint_next (const_cast (o)); + } -virtual void -internalEndpoint_next (Type &o) -{ -this->internalEndpoint_next (const_cast (o)); -} + virtual void + externalEndpoint_next (Type const&); + virtual void + externalEndpoint_post (Type &o) + { -virtual void -internalEndpoint_next (Type const&); + this->externalEndpoint_post (const_cast (o)); + } -virtual void -internalEndpoint_post (Type &o) -{ -this->internalEndpoint_post (const_cast (o)); -} + virtual void + externalEndpoint_post (Type const&); + virtual void + internalEndpoint_pre (Type &o) + { -virtual void -internalEndpoint_post (Type const&); + this->internalEndpoint_pre (const_cast (o)); + } -virtual void -externalReference_pre (Type &o) -{ -this->externalReference_pre (const_cast (o)); -} + virtual void + internalEndpoint_pre (Type const&); + virtual void + internalEndpoint_next (Type &o) + { -virtual void -externalReference_pre (Type const&); + this->internalEndpoint_next (const_cast (o)); + } -virtual void -externalReference_next (Type &o) -{ -this->externalReference_next (const_cast (o)); -} + virtual void + internalEndpoint_next (Type const&); + virtual void + internalEndpoint_post (Type &o) + { -virtual void -externalReference_next (Type const&); + this->internalEndpoint_post (const_cast (o)); + } -virtual void -externalReference_post (Type &o) -{ -this->externalReference_post (const_cast (o)); -} + virtual void + internalEndpoint_post (Type const&); + virtual void + externalReference_pre (Type &o) + { -virtual void -externalReference_post (Type const&); + this->externalReference_pre (const_cast (o)); + } -virtual void -deployedResource_pre (Type &o) -{ -this->deployedResource_pre (const_cast (o)); -} + virtual void + externalReference_pre (Type const&); + virtual void + externalReference_next (Type &o) + { -virtual void -deployedResource_pre (Type const&); + this->externalReference_next (const_cast (o)); + } -virtual void -deployedResource_next (Type &o) -{ -this->deployedResource_next (const_cast (o)); -} + virtual void + externalReference_next (Type const&); + virtual void + externalReference_post (Type &o) + { -virtual void -deployedResource_next (Type const&); + this->externalReference_post (const_cast (o)); + } -virtual void -deployedResource_post (Type &o) -{ -this->deployedResource_post (const_cast (o)); -} + virtual void + externalReference_post (Type const&); + virtual void + deployedResource_pre (Type &o) + { -virtual void -deployedResource_post (Type const&); + this->deployedResource_pre (const_cast (o)); + } -protected: -PlanConnectionDescription (); -}; -struct ImplementationDependency : Traversal::ImplementationDependency, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::ImplementationDependency Type; -ImplementationDependency (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + deployedResource_pre (Type const&); -virtual void -traverse (Type &o) -{ + virtual void + deployedResource_next (Type &o) + { -this->traverse (const_cast (o)); -} + this->deployedResource_next (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + deployedResource_next (Type const&); -virtual void -requiredType (Type &o) -{ + virtual void + deployedResource_post (Type &o) + { -this->requiredType (const_cast (o)); -} + this->deployedResource_post (const_cast (o)); + } -virtual void -requiredType (Type const&); + virtual void + deployedResource_post (Type const&); -protected: -ImplementationDependency (); -}; + protected: + PlanConnectionDescription (); + }; -struct Capability : Traversal::Capability, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::Capability Type; -Capability (::XSCRT::XML::Element< ACE_TCHAR >&); + struct ImplementationDependency : Traversal::ImplementationDependency, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::ImplementationDependency Type; + ImplementationDependency (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -traverse (Type &o) -{ + virtual void + traverse (Type &o) + { -this->traverse (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -name (Type &o) -{ + virtual void + requiredType (Type &o) + { -this->name (const_cast (o)); -} + this->requiredType (const_cast (o)); + } -virtual void -name (Type const&); + virtual void + requiredType (Type const&); -virtual void -resourceType_pre (Type &o) -{ + protected: + ImplementationDependency (); + }; -this->resourceType_pre (const_cast (o)); -} + struct Capability : Traversal::Capability, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::Capability Type; + Capability (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -resourceType_pre (Type const&); + this->traverse (const_cast (o)); + } -virtual void -resourceType_next (Type &o) -{ -this->resourceType_next (const_cast (o)); -} + virtual void + traverse (Type const&); + virtual void + name (Type &o) + { -virtual void -resourceType_next (Type const&); + this->name (const_cast (o)); + } -virtual void -resourceType_post (Type &o) -{ -this->resourceType_post (const_cast (o)); -} + virtual void + name (Type const&); + virtual void + resourceType_pre (Type &o) + { -virtual void -resourceType_post (Type const&); + this->resourceType_pre (const_cast (o)); + } -virtual void -property_pre (Type &o) -{ -this->property_pre (const_cast (o)); -} + virtual void + resourceType_pre (Type const&); + virtual void + resourceType_next (Type &o) + { -virtual void -property_pre (Type const&); + this->resourceType_next (const_cast (o)); + } -virtual void -property_next (Type &o) -{ -this->property_next (const_cast (o)); -} + virtual void + resourceType_next (Type const&); + virtual void + resourceType_post (Type &o) + { -virtual void -property_next (Type const&); + this->resourceType_post (const_cast (o)); + } -virtual void -property_post (Type &o) -{ -this->property_post (const_cast (o)); -} + virtual void + resourceType_post (Type const&); + virtual void + property_pre (Type &o) + { -virtual void -property_post (Type const&); + this->property_pre (const_cast (o)); + } -protected: -Capability (); -}; -struct ImplementationRequirement : Traversal::ImplementationRequirement, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::ImplementationRequirement Type; -ImplementationRequirement (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + property_pre (Type const&); -virtual void -traverse (Type &o) -{ + virtual void + property_next (Type &o) + { -this->traverse (const_cast (o)); -} + this->property_next (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + property_next (Type const&); -virtual void -resourceUsage (Type &o) -{ + virtual void + property_post (Type &o) + { -this->resourceUsage (const_cast (o)); -} + this->property_post (const_cast (o)); + } -virtual void -resourceUsage (Type const&); + virtual void + property_post (Type const&); -virtual void -resourcePort (Type &o) -{ + protected: + Capability (); + }; -this->resourcePort (const_cast (o)); -} + struct ImplementationRequirement : Traversal::ImplementationRequirement, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::ImplementationRequirement Type; + ImplementationRequirement (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -resourcePort (Type const&); + this->traverse (const_cast (o)); + } -virtual void -componentPort (Type &o) -{ -this->componentPort (const_cast (o)); -} + virtual void + traverse (Type const&); + virtual void + resourceUsage (Type &o) + { -virtual void -componentPort (Type const&); + this->resourceUsage (const_cast (o)); + } -virtual void -resourceType (Type &o) -{ -this->resourceType (const_cast (o)); -} + virtual void + resourceUsage (Type const&); + virtual void + resourcePort (Type &o) + { -virtual void -resourceType (Type const&); + this->resourcePort (const_cast (o)); + } -virtual void -name (Type &o) -{ -this->name (const_cast (o)); -} + virtual void + resourcePort (Type const&); + virtual void + componentPort (Type &o) + { -virtual void -name (Type const&); + this->componentPort (const_cast (o)); + } -virtual void -property_pre (Type &o) -{ -this->property_pre (const_cast (o)); -} + virtual void + componentPort (Type const&); + virtual void + resourceType (Type &o) + { -virtual void -property_pre (Type const&); + this->resourceType (const_cast (o)); + } -virtual void -property_next (Type &o) -{ -this->property_next (const_cast (o)); -} + virtual void + resourceType (Type const&); + virtual void + name (Type &o) + { -virtual void -property_next (Type const&); + this->name (const_cast (o)); + } -virtual void -property_post (Type &o) -{ -this->property_post (const_cast (o)); -} + virtual void + name (Type const&); + virtual void + property_pre (Type &o) + { -virtual void -property_post (Type const&); + this->property_pre (const_cast (o)); + } -protected: -ImplementationRequirement (); -}; -struct ComponentPackageReference : Traversal::ComponentPackageReference, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::ComponentPackageReference Type; -ComponentPackageReference (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + property_pre (Type const&); -virtual void -traverse (Type &o) -{ + virtual void + property_next (Type &o) + { -this->traverse (const_cast (o)); -} + this->property_next (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + property_next (Type const&); -virtual void -requiredUUID (Type &o) -{ + virtual void + property_post (Type &o) + { -this->requiredUUID (const_cast (o)); -} + this->property_post (const_cast (o)); + } -virtual void -requiredUUID (Type const&); + virtual void + property_post (Type const&); -virtual void -requiredName (Type &o) -{ + protected: + ImplementationRequirement (); + }; -this->requiredName (const_cast (o)); -} + struct ComponentPackageReference : Traversal::ComponentPackageReference, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::ComponentPackageReference Type; + ComponentPackageReference (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -requiredName (Type const&); + this->traverse (const_cast (o)); + } -virtual void -requiredType (Type &o) -{ -this->requiredType (const_cast (o)); -} + virtual void + traverse (Type const&); + virtual void + requiredUUID (Type &o) + { -virtual void -requiredType (Type const&); + this->requiredUUID (const_cast (o)); + } -protected: -ComponentPackageReference (); -}; -struct SubcomponentPortEndpoint : Traversal::SubcomponentPortEndpoint, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::SubcomponentPortEndpoint Type; -SubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + requiredUUID (Type const&); -virtual void -traverse (Type &o) -{ + virtual void + requiredName (Type &o) + { -this->traverse (const_cast (o)); -} + this->requiredName (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + requiredName (Type const&); -virtual void -portName (Type &o) -{ + virtual void + requiredType (Type &o) + { -this->portName (const_cast (o)); -} + this->requiredType (const_cast (o)); + } -virtual void -portName (Type const&); + virtual void + requiredType (Type const&); -virtual void -instance (Type &o) -{ + protected: + ComponentPackageReference (); + }; -this->instance (const_cast (o)); -} + struct SubcomponentPortEndpoint : Traversal::SubcomponentPortEndpoint, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::SubcomponentPortEndpoint Type; + SubcomponentPortEndpoint (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -instance (Type const&); + this->traverse (const_cast (o)); + } -protected: -SubcomponentPortEndpoint (); -}; -struct AssemblyConnectionDescription : Traversal::AssemblyConnectionDescription, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::AssemblyConnectionDescription Type; -AssemblyConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type const&); -virtual void -traverse (Type &o) -{ + virtual void + portName (Type &o) + { -this->traverse (const_cast (o)); -} + this->portName (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + portName (Type const&); -virtual void -name (Type &o) -{ + virtual void + instance (Type &o) + { -this->name (const_cast (o)); -} + this->instance (const_cast (o)); + } -virtual void -name (Type const&); + virtual void + instance (Type const&); -virtual void -deployRequirement_pre (Type &o) -{ + protected: + SubcomponentPortEndpoint (); + }; -this->deployRequirement_pre (const_cast (o)); -} + struct AssemblyConnectionDescription : Traversal::AssemblyConnectionDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::AssemblyConnectionDescription Type; + AssemblyConnectionDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + virtual void + traverse (Type &o) + { -virtual void -deployRequirement_pre (Type const&); + this->traverse (const_cast (o)); + } -virtual void -deployRequirement_next (Type &o) -{ -this->deployRequirement_next (const_cast (o)); -} + virtual void + traverse (Type const&); + virtual void + name (Type &o) + { -virtual void -deployRequirement_next (Type const&); + this->name (const_cast (o)); + } -virtual void -deployRequirement_post (Type &o) -{ -this->deployRequirement_post (const_cast (o)); -} + virtual void + name (Type const&); + virtual void + deployRequirement_pre (Type &o) + { -virtual void -deployRequirement_post (Type const&); + this->deployRequirement_pre (const_cast (o)); + } -virtual void -internalEndpoint_pre (Type &o) -{ -this->internalEndpoint_pre (const_cast (o)); -} + virtual void + deployRequirement_pre (Type const&); + virtual void + deployRequirement_next (Type &o) + { -virtual void -internalEndpoint_pre (Type const&); + this->deployRequirement_next (const_cast (o)); + } -virtual void -internalEndpoint_next (Type &o) -{ -this->internalEndpoint_next (const_cast (o)); -} + virtual void + deployRequirement_next (Type const&); + virtual void + deployRequirement_post (Type &o) + { -virtual void -internalEndpoint_next (Type const&); + this->deployRequirement_post (const_cast (o)); + } -virtual void -internalEndpoint_post (Type &o) -{ -this->internalEndpoint_post (const_cast (o)); -} + virtual void + deployRequirement_post (Type const&); + virtual void + internalEndpoint_pre (Type &o) + { -virtual void -internalEndpoint_post (Type const&); + this->internalEndpoint_pre (const_cast (o)); + } -virtual void -externalEndpoint_pre (Type &o) -{ -this->externalEndpoint_pre (const_cast (o)); -} + virtual void + internalEndpoint_pre (Type const&); + virtual void + internalEndpoint_next (Type &o) + { -virtual void -externalEndpoint_pre (Type const&); + this->internalEndpoint_next (const_cast (o)); + } -virtual void -externalEndpoint_next (Type &o) -{ -this->externalEndpoint_next (const_cast (o)); -} + virtual void + internalEndpoint_next (Type const&); + virtual void + internalEndpoint_post (Type &o) + { -virtual void -externalEndpoint_next (Type const&); + this->internalEndpoint_post (const_cast (o)); + } -virtual void -externalEndpoint_post (Type &o) -{ -this->externalEndpoint_post (const_cast (o)); -} + virtual void + internalEndpoint_post (Type const&); + virtual void + externalEndpoint_pre (Type &o) + { -virtual void -externalEndpoint_post (Type const&); + this->externalEndpoint_pre (const_cast (o)); + } -virtual void -externalReference_pre (Type &o) -{ -this->externalReference_pre (const_cast (o)); -} + virtual void + externalEndpoint_pre (Type const&); + virtual void + externalEndpoint_next (Type &o) + { -virtual void -externalReference_pre (Type const&); + this->externalEndpoint_next (const_cast (o)); + } -virtual void -externalReference_next (Type &o) -{ -this->externalReference_next (const_cast (o)); -} + virtual void + externalEndpoint_next (Type const&); + virtual void + externalEndpoint_post (Type &o) + { -virtual void -externalReference_next (Type const&); + this->externalEndpoint_post (const_cast (o)); + } -virtual void -externalReference_post (Type &o) -{ -this->externalReference_post (const_cast (o)); -} + virtual void + externalEndpoint_post (Type const&); + virtual void + externalReference_pre (Type &o) + { -virtual void -externalReference_post (Type const&); + this->externalReference_pre (const_cast (o)); + } -protected: -AssemblyConnectionDescription (); -}; -} -} + + virtual void + externalReference_pre (Type const&); + + virtual void + externalReference_next (Type &o) + { + + this->externalReference_next (const_cast (o)); + } + + + virtual void + externalReference_next (Type const&); + + virtual void + externalReference_post (Type &o) + { + + this->externalReference_post (const_cast (o)); + } + + + virtual void + externalReference_post (Type const&); + + protected: + AssemblyConnectionDescription (); + }; + } + } } namespace CIAO { -namespace Config_Handlers -{ -} + namespace Config_Handlers + { + } } #endif // BASIC_DEPLOYMENT_DATA_HPP diff --git a/CIAO/tools/Config_Handlers/CCD_Handler.cpp b/CIAO/tools/Config_Handlers/CCD_Handler.cpp index f7e4a7e82d3..8256f089f68 100644 --- a/CIAO/tools/Config_Handlers/CCD_Handler.cpp +++ b/CIAO/tools/Config_Handlers/CCD_Handler.cpp @@ -8,7 +8,7 @@ #include "Property_Handler.h" #include "CPD_Handler.h" #include "ComponentPropertyDescription_Handler.h" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" namespace CIAO { diff --git a/CIAO/tools/Config_Handlers/CEPE_Handler.cpp b/CIAO/tools/Config_Handlers/CEPE_Handler.cpp index 3131ce5735b..4c93545f2c6 100644 --- a/CIAO/tools/Config_Handlers/CEPE_Handler.cpp +++ b/CIAO/tools/Config_Handlers/CEPE_Handler.cpp @@ -2,7 +2,7 @@ #include "CEPE_Handler.h" #include "Basic_Deployment_Data.hpp" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "ciao/CIAO_common.h" namespace CIAO { diff --git a/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents.cpp b/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents.cpp index 2f2db561642..d9318ec07f7 100644 --- a/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents.cpp +++ b/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents.cpp @@ -1358,3 +1358,1668 @@ namespace CIAO } } +#include "XMLSchema/TypeInfo.hpp" + +namespace CIAO +{ + namespace Config_Handlers + { + namespace + { + ::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); + + struct EventServiceTypeTypeInfoInitializer + { + EventServiceTypeTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (EventServiceType)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + EventServiceTypeTypeInfoInitializer EventServiceTypeTypeInfoInitializer_; + + struct CIAOEventsDefTypeInfoInitializer + { + CIAOEventsDefTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (CIAOEventsDef)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + CIAOEventsDefTypeInfoInitializer CIAOEventsDefTypeInfoInitializer_; + + struct EventServiceDescriptionTypeInfoInitializer + { + EventServiceDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (EventServiceDescription)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + EventServiceDescriptionTypeInfoInitializer EventServiceDescriptionTypeInfoInitializer_; + + struct FilterTypeTypeInfoInitializer + { + FilterTypeTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (FilterType)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + FilterTypeTypeInfoInitializer FilterTypeTypeInfoInitializer_; + + struct FilterTypeInfoInitializer + { + FilterTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (Filter)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + FilterTypeInfoInitializer FilterTypeInfoInitializer_; + + struct AddressServerDescriptionTypeInfoInitializer + { + AddressServerDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (AddressServerDescription)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + AddressServerDescriptionTypeInfoInitializer AddressServerDescriptionTypeInfoInitializer_; + + struct UDPSenderDescriptionTypeInfoInitializer + { + UDPSenderDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (UDPSenderDescription)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + UDPSenderDescriptionTypeInfoInitializer UDPSenderDescriptionTypeInfoInitializer_; + + struct UDPReceiverDescriptionTypeInfoInitializer + { + UDPReceiverDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (UDPReceiverDescription)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + UDPReceiverDescriptionTypeInfoInitializer UDPReceiverDescriptionTypeInfoInitializer_; + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Traversal + { + // CIAOEventsDef + // + // + + void CIAOEventsDef:: + traverse (Type& o) + { + pre (o); + eventServiceConfiguration (o); + if (o.id_p ()) id (o); + else id_none (o); + post (o); + } + + void CIAOEventsDef:: + traverse (Type const& o) + { + pre (o); + eventServiceConfiguration (o); + if (o.id_p ()) id (o); + else id_none (o); + post (o); + } + + void CIAOEventsDef:: + pre (Type&) + { + } + + void CIAOEventsDef:: + pre (Type const&) + { + } + + void CIAOEventsDef:: + eventServiceConfiguration (Type& o) + { + // VC6 anathema strikes again + // + CIAOEventsDef::Type::eventServiceConfiguration_iterator b (o.begin_eventServiceConfiguration()), e (o.end_eventServiceConfiguration()); + + if (b != e) + { + eventServiceConfiguration_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) eventServiceConfiguration_next (o); + } + + eventServiceConfiguration_post (o); + } + } + + void CIAOEventsDef:: + eventServiceConfiguration (Type const& o) + { + // VC6 anathema strikes again + // + CIAOEventsDef::Type::eventServiceConfiguration_const_iterator b (o.begin_eventServiceConfiguration()), e (o.end_eventServiceConfiguration()); + + if (b != e) + { + eventServiceConfiguration_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) eventServiceConfiguration_next (o); + } + + eventServiceConfiguration_post (o); + } + } + + void CIAOEventsDef:: + eventServiceConfiguration_pre (Type&) + { + } + + void CIAOEventsDef:: + eventServiceConfiguration_pre (Type const&) + { + } + + void CIAOEventsDef:: + eventServiceConfiguration_next (Type&) + { + } + + void CIAOEventsDef:: + eventServiceConfiguration_next (Type const&) + { + } + + void CIAOEventsDef:: + eventServiceConfiguration_post (Type&) + { + } + + void CIAOEventsDef:: + eventServiceConfiguration_post (Type const&) + { + } + + void CIAOEventsDef:: + id (Type& o) + { + dispatch (o.id ()); + } + + void CIAOEventsDef:: + id (Type const& o) + { + dispatch (o.id ()); + } + + void CIAOEventsDef:: + id_none (Type&) + { + } + + void CIAOEventsDef:: + id_none (Type const&) + { + } + + void CIAOEventsDef:: + post (Type&) + { + } + + void CIAOEventsDef:: + post (Type const&) + { + } + + // EventServiceDescription + // + // + + void EventServiceDescription:: + traverse (Type& o) + { + pre (o); + name (o); + node (o); + type (o); + svc_cfg_file (o); + filter (o); + addr_serv (o); + udp_sender (o); + udp_receiver (o); + if (o.id_p ()) id (o); + else id_none (o); + post (o); + } + + void EventServiceDescription:: + traverse (Type const& o) + { + pre (o); + name (o); + node (o); + type (o); + svc_cfg_file (o); + filter (o); + addr_serv (o); + udp_sender (o); + udp_receiver (o); + if (o.id_p ()) id (o); + else id_none (o); + post (o); + } + + void EventServiceDescription:: + pre (Type&) + { + } + + void EventServiceDescription:: + pre (Type const&) + { + } + + void EventServiceDescription:: + name (Type& o) + { + dispatch (o.name ()); + } + + void EventServiceDescription:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void EventServiceDescription:: + node (Type& o) + { + dispatch (o.node ()); + } + + void EventServiceDescription:: + node (Type const& o) + { + dispatch (o.node ()); + } + + void EventServiceDescription:: + type (Type& o) + { + dispatch (o.type ()); + } + + void EventServiceDescription:: + type (Type const& o) + { + dispatch (o.type ()); + } + + void EventServiceDescription:: + svc_cfg_file (Type& o) + { + dispatch (o.svc_cfg_file ()); + } + + void EventServiceDescription:: + svc_cfg_file (Type const& o) + { + dispatch (o.svc_cfg_file ()); + } + + void EventServiceDescription:: + filter (Type& o) + { + // VC6 anathema strikes again + // + EventServiceDescription::Type::filter_iterator b (o.begin_filter()), e (o.end_filter()); + + if (b != e) + { + filter_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) filter_next (o); + } + + filter_post (o); + } + + else filter_none (o); + } + + void EventServiceDescription:: + filter (Type const& o) + { + // VC6 anathema strikes again + // + EventServiceDescription::Type::filter_const_iterator b (o.begin_filter()), e (o.end_filter()); + + if (b != e) + { + filter_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) filter_next (o); + } + + filter_post (o); + } + + else filter_none (o); + } + + void EventServiceDescription:: + filter_pre (Type&) + { + } + + void EventServiceDescription:: + filter_pre (Type const&) + { + } + + void EventServiceDescription:: + filter_next (Type&) + { + } + + void EventServiceDescription:: + filter_next (Type const&) + { + } + + void EventServiceDescription:: + filter_post (Type&) + { + } + + void EventServiceDescription:: + filter_post (Type const&) + { + } + + void EventServiceDescription:: + filter_none (Type&) + { + } + + void EventServiceDescription:: + filter_none (Type const&) + { + } + + void EventServiceDescription:: + addr_serv (Type& o) + { + // VC6 anathema strikes again + // + EventServiceDescription::Type::addr_serv_iterator b (o.begin_addr_serv()), e (o.end_addr_serv()); + + if (b != e) + { + addr_serv_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) addr_serv_next (o); + } + + addr_serv_post (o); + } + + else addr_serv_none (o); + } + + void EventServiceDescription:: + addr_serv (Type const& o) + { + // VC6 anathema strikes again + // + EventServiceDescription::Type::addr_serv_const_iterator b (o.begin_addr_serv()), e (o.end_addr_serv()); + + if (b != e) + { + addr_serv_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) addr_serv_next (o); + } + + addr_serv_post (o); + } + + else addr_serv_none (o); + } + + void EventServiceDescription:: + addr_serv_pre (Type&) + { + } + + void EventServiceDescription:: + addr_serv_pre (Type const&) + { + } + + void EventServiceDescription:: + addr_serv_next (Type&) + { + } + + void EventServiceDescription:: + addr_serv_next (Type const&) + { + } + + void EventServiceDescription:: + addr_serv_post (Type&) + { + } + + void EventServiceDescription:: + addr_serv_post (Type const&) + { + } + + void EventServiceDescription:: + addr_serv_none (Type&) + { + } + + void EventServiceDescription:: + addr_serv_none (Type const&) + { + } + + void EventServiceDescription:: + udp_sender (Type& o) + { + // VC6 anathema strikes again + // + EventServiceDescription::Type::udp_sender_iterator b (o.begin_udp_sender()), e (o.end_udp_sender()); + + if (b != e) + { + udp_sender_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) udp_sender_next (o); + } + + udp_sender_post (o); + } + + else udp_sender_none (o); + } + + void EventServiceDescription:: + udp_sender (Type const& o) + { + // VC6 anathema strikes again + // + EventServiceDescription::Type::udp_sender_const_iterator b (o.begin_udp_sender()), e (o.end_udp_sender()); + + if (b != e) + { + udp_sender_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) udp_sender_next (o); + } + + udp_sender_post (o); + } + + else udp_sender_none (o); + } + + void EventServiceDescription:: + udp_sender_pre (Type&) + { + } + + void EventServiceDescription:: + udp_sender_pre (Type const&) + { + } + + void EventServiceDescription:: + udp_sender_next (Type&) + { + } + + void EventServiceDescription:: + udp_sender_next (Type const&) + { + } + + void EventServiceDescription:: + udp_sender_post (Type&) + { + } + + void EventServiceDescription:: + udp_sender_post (Type const&) + { + } + + void EventServiceDescription:: + udp_sender_none (Type&) + { + } + + void EventServiceDescription:: + udp_sender_none (Type const&) + { + } + + void EventServiceDescription:: + udp_receiver (Type& o) + { + // VC6 anathema strikes again + // + EventServiceDescription::Type::udp_receiver_iterator b (o.begin_udp_receiver()), e (o.end_udp_receiver()); + + if (b != e) + { + udp_receiver_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) udp_receiver_next (o); + } + + udp_receiver_post (o); + } + + else udp_receiver_none (o); + } + + void EventServiceDescription:: + udp_receiver (Type const& o) + { + // VC6 anathema strikes again + // + EventServiceDescription::Type::udp_receiver_const_iterator b (o.begin_udp_receiver()), e (o.end_udp_receiver()); + + if (b != e) + { + udp_receiver_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) udp_receiver_next (o); + } + + udp_receiver_post (o); + } + + else udp_receiver_none (o); + } + + void EventServiceDescription:: + udp_receiver_pre (Type&) + { + } + + void EventServiceDescription:: + udp_receiver_pre (Type const&) + { + } + + void EventServiceDescription:: + udp_receiver_next (Type&) + { + } + + void EventServiceDescription:: + udp_receiver_next (Type const&) + { + } + + void EventServiceDescription:: + udp_receiver_post (Type&) + { + } + + void EventServiceDescription:: + udp_receiver_post (Type const&) + { + } + + void EventServiceDescription:: + udp_receiver_none (Type&) + { + } + + void EventServiceDescription:: + udp_receiver_none (Type const&) + { + } + + void EventServiceDescription:: + id (Type& o) + { + dispatch (o.id ()); + } + + void EventServiceDescription:: + id (Type const& o) + { + dispatch (o.id ()); + } + + void EventServiceDescription:: + id_none (Type&) + { + } + + void EventServiceDescription:: + id_none (Type const&) + { + } + + void EventServiceDescription:: + post (Type&) + { + } + + void EventServiceDescription:: + post (Type const&) + { + } + + // Filter + // + // + + void Filter:: + traverse (Type& o) + { + pre (o); + name (o); + type (o); + source (o); + if (o.id_p ()) id (o); + else id_none (o); + post (o); + } + + void Filter:: + traverse (Type const& o) + { + pre (o); + name (o); + type (o); + source (o); + if (o.id_p ()) id (o); + else id_none (o); + post (o); + } + + void Filter:: + pre (Type&) + { + } + + void Filter:: + pre (Type const&) + { + } + + void Filter:: + name (Type& o) + { + dispatch (o.name ()); + } + + void Filter:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void Filter:: + type (Type& o) + { + dispatch (o.type ()); + } + + void Filter:: + type (Type const& o) + { + dispatch (o.type ()); + } + + void Filter:: + source (Type& o) + { + // VC6 anathema strikes again + // + Filter::Type::source_iterator b (o.begin_source()), e (o.end_source()); + + if (b != e) + { + source_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) source_next (o); + } + + source_post (o); + } + } + + void Filter:: + source (Type const& o) + { + // VC6 anathema strikes again + // + Filter::Type::source_const_iterator b (o.begin_source()), e (o.end_source()); + + if (b != e) + { + source_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) source_next (o); + } + + source_post (o); + } + } + + void Filter:: + source_pre (Type&) + { + } + + void Filter:: + source_pre (Type const&) + { + } + + void Filter:: + source_next (Type&) + { + } + + void Filter:: + source_next (Type const&) + { + } + + void Filter:: + source_post (Type&) + { + } + + void Filter:: + source_post (Type const&) + { + } + + void Filter:: + id (Type& o) + { + dispatch (o.id ()); + } + + void Filter:: + id (Type const& o) + { + dispatch (o.id ()); + } + + void Filter:: + id_none (Type&) + { + } + + void Filter:: + id_none (Type const&) + { + } + + void Filter:: + post (Type&) + { + } + + void Filter:: + post (Type const&) + { + } + + // AddressServerDescription + // + // + + void AddressServerDescription:: + traverse (Type& o) + { + pre (o); + name (o); + port (o); + address (o); + post (o); + } + + void AddressServerDescription:: + traverse (Type const& o) + { + pre (o); + name (o); + port (o); + address (o); + post (o); + } + + void AddressServerDescription:: + pre (Type&) + { + } + + void AddressServerDescription:: + pre (Type const&) + { + } + + void AddressServerDescription:: + name (Type& o) + { + dispatch (o.name ()); + } + + void AddressServerDescription:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void AddressServerDescription:: + port (Type& o) + { + dispatch (o.port ()); + } + + void AddressServerDescription:: + port (Type const& o) + { + dispatch (o.port ()); + } + + void AddressServerDescription:: + address (Type& o) + { + dispatch (o.address ()); + } + + void AddressServerDescription:: + address (Type const& o) + { + dispatch (o.address ()); + } + + void AddressServerDescription:: + post (Type&) + { + } + + void AddressServerDescription:: + post (Type const&) + { + } + + // UDPSenderDescription + // + // + + void UDPSenderDescription:: + traverse (Type& o) + { + pre (o); + name (o); + addr_serv_id (o); + post (o); + } + + void UDPSenderDescription:: + traverse (Type const& o) + { + pre (o); + name (o); + addr_serv_id (o); + post (o); + } + + void UDPSenderDescription:: + pre (Type&) + { + } + + void UDPSenderDescription:: + pre (Type const&) + { + } + + void UDPSenderDescription:: + name (Type& o) + { + dispatch (o.name ()); + } + + void UDPSenderDescription:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void UDPSenderDescription:: + addr_serv_id (Type& o) + { + dispatch (o.addr_serv_id ()); + } + + void UDPSenderDescription:: + addr_serv_id (Type const& o) + { + dispatch (o.addr_serv_id ()); + } + + void UDPSenderDescription:: + post (Type&) + { + } + + void UDPSenderDescription:: + post (Type const&) + { + } + + // UDPReceiverDescription + // + // + + void UDPReceiverDescription:: + traverse (Type& o) + { + pre (o); + name (o); + if (o.addr_serv_id_p ()) addr_serv_id (o); + else addr_serv_id_none (o); + is_multicast (o); + listen_port (o); + post (o); + } + + void UDPReceiverDescription:: + traverse (Type const& o) + { + pre (o); + name (o); + if (o.addr_serv_id_p ()) addr_serv_id (o); + else addr_serv_id_none (o); + is_multicast (o); + listen_port (o); + post (o); + } + + void UDPReceiverDescription:: + pre (Type&) + { + } + + void UDPReceiverDescription:: + pre (Type const&) + { + } + + void UDPReceiverDescription:: + name (Type& o) + { + dispatch (o.name ()); + } + + void UDPReceiverDescription:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void UDPReceiverDescription:: + addr_serv_id (Type& o) + { + dispatch (o.addr_serv_id ()); + } + + void UDPReceiverDescription:: + addr_serv_id (Type const& o) + { + dispatch (o.addr_serv_id ()); + } + + void UDPReceiverDescription:: + addr_serv_id_none (Type&) + { + } + + void UDPReceiverDescription:: + addr_serv_id_none (Type const&) + { + } + + void UDPReceiverDescription:: + is_multicast (Type& o) + { + dispatch (o.is_multicast ()); + } + + void UDPReceiverDescription:: + is_multicast (Type const& o) + { + dispatch (o.is_multicast ()); + } + + void UDPReceiverDescription:: + listen_port (Type& o) + { + dispatch (o.listen_port ()); + } + + void UDPReceiverDescription:: + listen_port (Type const& o) + { + dispatch (o.listen_port ()); + } + + void UDPReceiverDescription:: + post (Type&) + { + } + + void UDPReceiverDescription:: + post (Type const&) + { + } + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + // EventServiceType + // + // + + EventServiceType:: + EventServiceType (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + EventServiceType:: + EventServiceType () + { + } + + void EventServiceType:: + traverse (Type const& o) + { + ::std::basic_string< ACE_TCHAR > s; + + if (o == ::CIAO::Config_Handlers::EventServiceType::EC) s = "EC"; + else if (o == ::CIAO::Config_Handlers::EventServiceType::RTEC) s = "RTEC"; + else if (o == ::CIAO::Config_Handlers::EventServiceType::NOTIFY) s = "NOTIFY"; + else if (o == ::CIAO::Config_Handlers::EventServiceType::RTNOTIFY) s = "RTNOTIFY"; + else + { + } + + if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) + { + a->value (s); + } + + else + { + top_().value (s); + } + } + + // CIAOEventsDef + // + // + + CIAOEventsDef:: + CIAOEventsDef (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + CIAOEventsDef:: + CIAOEventsDef () + { + } + + void CIAOEventsDef:: + traverse (Type const& o) + { + Traversal::CIAOEventsDef::traverse (o); + } + + void CIAOEventsDef:: + eventServiceConfiguration_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("eventServiceConfiguration", top_ ())); + } + + void CIAOEventsDef:: + eventServiceConfiguration_next (Type const& o) + { + eventServiceConfiguration_post (o); + eventServiceConfiguration_pre (o); + } + + void CIAOEventsDef:: + eventServiceConfiguration_post (Type const&) + { + pop_ (); + } + + void CIAOEventsDef:: + id (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ()); + attr_ (&a); + Traversal::CIAOEventsDef::id (o); + attr_ (0); + } + + // EventServiceDescription + // + // + + EventServiceDescription:: + EventServiceDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + EventServiceDescription:: + EventServiceDescription () + { + } + + void EventServiceDescription:: + traverse (Type const& o) + { + Traversal::EventServiceDescription::traverse (o); + } + + void EventServiceDescription:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::EventServiceDescription::name (o); + pop_ (); + } + + void EventServiceDescription:: + node (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("node", top_ ())); + Traversal::EventServiceDescription::node (o); + pop_ (); + } + + void EventServiceDescription:: + type (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("type", top_ ())); + Traversal::EventServiceDescription::type (o); + pop_ (); + } + + void EventServiceDescription:: + svc_cfg_file (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("svc_cfg_file", top_ ())); + Traversal::EventServiceDescription::svc_cfg_file (o); + pop_ (); + } + + void EventServiceDescription:: + filter_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("filter", top_ ())); + } + + void EventServiceDescription:: + filter_next (Type const& o) + { + filter_post (o); + filter_pre (o); + } + + void EventServiceDescription:: + filter_post (Type const&) + { + pop_ (); + } + + void EventServiceDescription:: + addr_serv_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("addr_serv", top_ ())); + } + + void EventServiceDescription:: + addr_serv_next (Type const& o) + { + addr_serv_post (o); + addr_serv_pre (o); + } + + void EventServiceDescription:: + addr_serv_post (Type const&) + { + pop_ (); + } + + void EventServiceDescription:: + udp_sender_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("udp_sender", top_ ())); + } + + void EventServiceDescription:: + udp_sender_next (Type const& o) + { + udp_sender_post (o); + udp_sender_pre (o); + } + + void EventServiceDescription:: + udp_sender_post (Type const&) + { + pop_ (); + } + + void EventServiceDescription:: + udp_receiver_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("udp_receiver", top_ ())); + } + + void EventServiceDescription:: + udp_receiver_next (Type const& o) + { + udp_receiver_post (o); + udp_receiver_pre (o); + } + + void EventServiceDescription:: + udp_receiver_post (Type const&) + { + pop_ (); + } + + void EventServiceDescription:: + id (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ()); + attr_ (&a); + Traversal::EventServiceDescription::id (o); + attr_ (0); + } + + // FilterType + // + // + + FilterType:: + FilterType (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + FilterType:: + FilterType () + { + } + + void FilterType:: + traverse (Type const& o) + { + ::std::basic_string< ACE_TCHAR > s; + + if (o == ::CIAO::Config_Handlers::FilterType::CONJUNCTION) s = "CONJUNCTION"; + else if (o == ::CIAO::Config_Handlers::FilterType::DISJUNCTION) s = "DISJUNCTION"; + else if (o == ::CIAO::Config_Handlers::FilterType::LOGICAL_AND) s = "LOGICAL_AND"; + else if (o == ::CIAO::Config_Handlers::FilterType::NEGATE) s = "NEGATE"; + else + { + } + + if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ()) + { + a->value (s); + } + + else + { + top_().value (s); + } + } + + // Filter + // + // + + Filter:: + Filter (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + Filter:: + Filter () + { + } + + void Filter:: + traverse (Type const& o) + { + Traversal::Filter::traverse (o); + } + + void Filter:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::Filter::name (o); + pop_ (); + } + + void Filter:: + type (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("type", top_ ())); + Traversal::Filter::type (o); + pop_ (); + } + + void Filter:: + source_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("source", top_ ())); + } + + void Filter:: + source_next (Type const& o) + { + source_post (o); + source_pre (o); + } + + void Filter:: + source_post (Type const&) + { + pop_ (); + } + + void Filter:: + id (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ()); + attr_ (&a); + Traversal::Filter::id (o); + attr_ (0); + } + + // AddressServerDescription + // + // + + AddressServerDescription:: + AddressServerDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + AddressServerDescription:: + AddressServerDescription () + { + } + + void AddressServerDescription:: + traverse (Type const& o) + { + Traversal::AddressServerDescription::traverse (o); + } + + void AddressServerDescription:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::AddressServerDescription::name (o); + pop_ (); + } + + void AddressServerDescription:: + port (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("port", top_ ())); + Traversal::AddressServerDescription::port (o); + pop_ (); + } + + void AddressServerDescription:: + address (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("address", top_ ())); + Traversal::AddressServerDescription::address (o); + pop_ (); + } + + // UDPSenderDescription + // + // + + UDPSenderDescription:: + UDPSenderDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + UDPSenderDescription:: + UDPSenderDescription () + { + } + + void UDPSenderDescription:: + traverse (Type const& o) + { + Traversal::UDPSenderDescription::traverse (o); + } + + void UDPSenderDescription:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::UDPSenderDescription::name (o); + pop_ (); + } + + void UDPSenderDescription:: + addr_serv_id (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("addr_serv_id", top_ ())); + Traversal::UDPSenderDescription::addr_serv_id (o); + pop_ (); + } + + // UDPReceiverDescription + // + // + + UDPReceiverDescription:: + UDPReceiverDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + UDPReceiverDescription:: + UDPReceiverDescription () + { + } + + void UDPReceiverDescription:: + traverse (Type const& o) + { + Traversal::UDPReceiverDescription::traverse (o); + } + + void UDPReceiverDescription:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::UDPReceiverDescription::name (o); + pop_ (); + } + + void UDPReceiverDescription:: + addr_serv_id (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("addr_serv_id", top_ ())); + Traversal::UDPReceiverDescription::addr_serv_id (o); + pop_ (); + } + + void UDPReceiverDescription:: + is_multicast (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("is_multicast", top_ ())); + Traversal::UDPReceiverDescription::is_multicast (o); + pop_ (); + } + + void UDPReceiverDescription:: + listen_port (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("listen_port", top_ ())); + Traversal::UDPReceiverDescription::listen_port (o); + pop_ (); + } + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + void + CIAOEvents (::CIAO::Config_Handlers::CIAOEventsDef const& s, xercesc::DOMDocument* d) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); + if (e.name () != "CIAOEvents") + { + throw 1; + } + + struct W : virtual ::CIAO::Config_Handlers::Writer::CIAOEventsDef, + virtual ::CIAO::Config_Handlers::Writer::EventServiceDescription, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::EventServiceType, + virtual ::CIAO::Config_Handlers::Writer::Filter, + virtual ::CIAO::Config_Handlers::Writer::FilterType, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::AddressServerDescription, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::UDPSenderDescription, + virtual ::CIAO::Config_Handlers::Writer::UDPReceiverDescription, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + W (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + }; + + W w (e); + w.dispatch (s); + } + } +} + diff --git a/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents.hpp b/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents.hpp index 692b6b940d0..8ca8e521268 100644 --- a/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents.hpp +++ b/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents.hpp @@ -15,10 +15,10 @@ # include #endif -#include "CIAO_Events_Handlers_Export.h" #ifndef CIAOEVENTS_HPP #define CIAOEVENTS_HPP +#include "CIAO_Events_Handlers_Export.h" // Forward declarations. // namespace CIAO @@ -57,7 +57,7 @@ namespace CIAO enum Value { - EC_l,RTEC_l,NOTIFY_l,RTNOTIFY_l + EC_l,RTEC_l,NOTIFY_l,RTNOTIFY_l, }; @@ -268,7 +268,7 @@ namespace CIAO enum Value { - CONJUNCTION_l,DISJUNCTION_l,LOGICAL_AND_l,NEGATE_l + CONJUNCTION_l,DISJUNCTION_l,LOGICAL_AND_l,NEGATE_l, }; @@ -511,4 +511,1028 @@ namespace CIAO } } +#include "XMLSchema/Traversal.hpp" + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Traversal + { + typedef + ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::EventServiceType > + EventServiceType; + + struct CIAO_Events_Handlers_Export CIAOEventsDef : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::CIAOEventsDef > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + eventServiceConfiguration (Type&); + + virtual void + eventServiceConfiguration (Type const&); + + virtual void + eventServiceConfiguration_pre (Type&); + + virtual void + eventServiceConfiguration_pre (Type const&); + + virtual void + eventServiceConfiguration_next (Type&); + + virtual void + eventServiceConfiguration_next (Type const&); + + virtual void + eventServiceConfiguration_post (Type&); + + virtual void + eventServiceConfiguration_post (Type const&); + + virtual void + id (Type&); + + virtual void + id (Type const&); + + virtual void + id_none (Type&); + + virtual void + id_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct CIAO_Events_Handlers_Export EventServiceDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::EventServiceDescription > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + name (Type&); + + virtual void + name (Type const&); + + virtual void + node (Type&); + + virtual void + node (Type const&); + + virtual void + type (Type&); + + virtual void + type (Type const&); + + virtual void + svc_cfg_file (Type&); + + virtual void + svc_cfg_file (Type const&); + + virtual void + filter (Type&); + + virtual void + filter (Type const&); + + virtual void + filter_pre (Type&); + + virtual void + filter_pre (Type const&); + + virtual void + filter_next (Type&); + + virtual void + filter_next (Type const&); + + virtual void + filter_post (Type&); + + virtual void + filter_post (Type const&); + + virtual void + filter_none (Type&); + + virtual void + filter_none (Type const&); + + virtual void + addr_serv (Type&); + + virtual void + addr_serv (Type const&); + + virtual void + addr_serv_pre (Type&); + + virtual void + addr_serv_pre (Type const&); + + virtual void + addr_serv_next (Type&); + + virtual void + addr_serv_next (Type const&); + + virtual void + addr_serv_post (Type&); + + virtual void + addr_serv_post (Type const&); + + virtual void + addr_serv_none (Type&); + + virtual void + addr_serv_none (Type const&); + + virtual void + udp_sender (Type&); + + virtual void + udp_sender (Type const&); + + virtual void + udp_sender_pre (Type&); + + virtual void + udp_sender_pre (Type const&); + + virtual void + udp_sender_next (Type&); + + virtual void + udp_sender_next (Type const&); + + virtual void + udp_sender_post (Type&); + + virtual void + udp_sender_post (Type const&); + + virtual void + udp_sender_none (Type&); + + virtual void + udp_sender_none (Type const&); + + virtual void + udp_receiver (Type&); + + virtual void + udp_receiver (Type const&); + + virtual void + udp_receiver_pre (Type&); + + virtual void + udp_receiver_pre (Type const&); + + virtual void + udp_receiver_next (Type&); + + virtual void + udp_receiver_next (Type const&); + + virtual void + udp_receiver_post (Type&); + + virtual void + udp_receiver_post (Type const&); + + virtual void + udp_receiver_none (Type&); + + virtual void + udp_receiver_none (Type const&); + + virtual void + id (Type&); + + virtual void + id (Type const&); + + virtual void + id_none (Type&); + + virtual void + id_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + typedef + ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::FilterType > + FilterType; + + struct CIAO_Events_Handlers_Export Filter : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Filter > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + name (Type&); + + virtual void + name (Type const&); + + virtual void + type (Type&); + + virtual void + type (Type const&); + + virtual void + source (Type&); + + virtual void + source (Type const&); + + virtual void + source_pre (Type&); + + virtual void + source_pre (Type const&); + + virtual void + source_next (Type&); + + virtual void + source_next (Type const&); + + virtual void + source_post (Type&); + + virtual void + source_post (Type const&); + + virtual void + id (Type&); + + virtual void + id (Type const&); + + virtual void + id_none (Type&); + + virtual void + id_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct CIAO_Events_Handlers_Export AddressServerDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::AddressServerDescription > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + name (Type&); + + virtual void + name (Type const&); + + virtual void + port (Type&); + + virtual void + port (Type const&); + + virtual void + address (Type&); + + virtual void + address (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct CIAO_Events_Handlers_Export UDPSenderDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::UDPSenderDescription > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + name (Type&); + + virtual void + name (Type const&); + + virtual void + addr_serv_id (Type&); + + virtual void + addr_serv_id (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct CIAO_Events_Handlers_Export UDPReceiverDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::UDPReceiverDescription > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + name (Type&); + + virtual void + name (Type const&); + + virtual void + addr_serv_id (Type&); + + virtual void + addr_serv_id (Type const&); + + virtual void + addr_serv_id_none (Type&); + + virtual void + addr_serv_id_none (Type const&); + + virtual void + is_multicast (Type&); + + virtual void + is_multicast (Type const&); + + virtual void + listen_port (Type&); + + virtual void + listen_port (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + } + } +} + +#include "XMLSchema/Writer.hpp" + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + struct EventServiceType : Traversal::EventServiceType, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + EventServiceType (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast (o)); + } + + virtual void + traverse (Type const&); + + protected: + EventServiceType (); + }; + + struct CIAOEventsDef : Traversal::CIAOEventsDef, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::CIAOEventsDef Type; + CIAOEventsDef (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + + this->traverse (const_cast (o)); + } + + + virtual void + traverse (Type const&); + + virtual void + eventServiceConfiguration_pre (Type &o) + { + + this->eventServiceConfiguration_pre (const_cast (o)); + } + + + virtual void + eventServiceConfiguration_pre (Type const&); + + virtual void + eventServiceConfiguration_next (Type &o) + { + + this->eventServiceConfiguration_next (const_cast (o)); + } + + + virtual void + eventServiceConfiguration_next (Type const&); + + virtual void + eventServiceConfiguration_post (Type &o) + { + + this->eventServiceConfiguration_post (const_cast (o)); + } + + + virtual void + eventServiceConfiguration_post (Type const&); + + virtual void + id (Type &o) + { + + this->id (const_cast (o)); + } + + + virtual void + id (Type const&); + + protected: + CIAOEventsDef (); + }; + + struct EventServiceDescription : Traversal::EventServiceDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::EventServiceDescription Type; + EventServiceDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + + this->traverse (const_cast (o)); + } + + + virtual void + traverse (Type const&); + + virtual void + name (Type &o) + { + + this->name (const_cast (o)); + } + + + virtual void + name (Type const&); + + virtual void + node (Type &o) + { + + this->node (const_cast (o)); + } + + + virtual void + node (Type const&); + + virtual void + type (Type &o) + { + + this->type (const_cast (o)); + } + + + virtual void + type (Type const&); + + virtual void + svc_cfg_file (Type &o) + { + + this->svc_cfg_file (const_cast (o)); + } + + + virtual void + svc_cfg_file (Type const&); + + virtual void + filter_pre (Type &o) + { + + this->filter_pre (const_cast (o)); + } + + + virtual void + filter_pre (Type const&); + + virtual void + filter_next (Type &o) + { + + this->filter_next (const_cast (o)); + } + + + virtual void + filter_next (Type const&); + + virtual void + filter_post (Type &o) + { + + this->filter_post (const_cast (o)); + } + + + virtual void + filter_post (Type const&); + + virtual void + addr_serv_pre (Type &o) + { + + this->addr_serv_pre (const_cast (o)); + } + + + virtual void + addr_serv_pre (Type const&); + + virtual void + addr_serv_next (Type &o) + { + + this->addr_serv_next (const_cast (o)); + } + + + virtual void + addr_serv_next (Type const&); + + virtual void + addr_serv_post (Type &o) + { + + this->addr_serv_post (const_cast (o)); + } + + + virtual void + addr_serv_post (Type const&); + + virtual void + udp_sender_pre (Type &o) + { + + this->udp_sender_pre (const_cast (o)); + } + + + virtual void + udp_sender_pre (Type const&); + + virtual void + udp_sender_next (Type &o) + { + + this->udp_sender_next (const_cast (o)); + } + + + virtual void + udp_sender_next (Type const&); + + virtual void + udp_sender_post (Type &o) + { + + this->udp_sender_post (const_cast (o)); + } + + + virtual void + udp_sender_post (Type const&); + + virtual void + udp_receiver_pre (Type &o) + { + + this->udp_receiver_pre (const_cast (o)); + } + + + virtual void + udp_receiver_pre (Type const&); + + virtual void + udp_receiver_next (Type &o) + { + + this->udp_receiver_next (const_cast (o)); + } + + + virtual void + udp_receiver_next (Type const&); + + virtual void + udp_receiver_post (Type &o) + { + + this->udp_receiver_post (const_cast (o)); + } + + + virtual void + udp_receiver_post (Type const&); + + virtual void + id (Type &o) + { + + this->id (const_cast (o)); + } + + + virtual void + id (Type const&); + + protected: + EventServiceDescription (); + }; + + struct FilterType : Traversal::FilterType, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + FilterType (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + this->traverse (const_cast (o)); + } + + virtual void + traverse (Type const&); + + protected: + FilterType (); + }; + + struct Filter : Traversal::Filter, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::Filter Type; + Filter (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + + this->traverse (const_cast (o)); + } + + + virtual void + traverse (Type const&); + + virtual void + name (Type &o) + { + + this->name (const_cast (o)); + } + + + virtual void + name (Type const&); + + virtual void + type (Type &o) + { + + this->type (const_cast (o)); + } + + + virtual void + type (Type const&); + + virtual void + source_pre (Type &o) + { + + this->source_pre (const_cast (o)); + } + + + virtual void + source_pre (Type const&); + + virtual void + source_next (Type &o) + { + + this->source_next (const_cast (o)); + } + + + virtual void + source_next (Type const&); + + virtual void + source_post (Type &o) + { + + this->source_post (const_cast (o)); + } + + + virtual void + source_post (Type const&); + + virtual void + id (Type &o) + { + + this->id (const_cast (o)); + } + + + virtual void + id (Type const&); + + protected: + Filter (); + }; + + struct AddressServerDescription : Traversal::AddressServerDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::AddressServerDescription Type; + AddressServerDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + + this->traverse (const_cast (o)); + } + + + virtual void + traverse (Type const&); + + virtual void + name (Type &o) + { + + this->name (const_cast (o)); + } + + + virtual void + name (Type const&); + + virtual void + port (Type &o) + { + + this->port (const_cast (o)); + } + + + virtual void + port (Type const&); + + virtual void + address (Type &o) + { + + this->address (const_cast (o)); + } + + + virtual void + address (Type const&); + + protected: + AddressServerDescription (); + }; + + struct UDPSenderDescription : Traversal::UDPSenderDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::UDPSenderDescription Type; + UDPSenderDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + + this->traverse (const_cast (o)); + } + + + virtual void + traverse (Type const&); + + virtual void + name (Type &o) + { + + this->name (const_cast (o)); + } + + + virtual void + name (Type const&); + + virtual void + addr_serv_id (Type &o) + { + + this->addr_serv_id (const_cast (o)); + } + + + virtual void + addr_serv_id (Type const&); + + protected: + UDPSenderDescription (); + }; + + struct UDPReceiverDescription : Traversal::UDPReceiverDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::UDPReceiverDescription Type; + UDPReceiverDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + + virtual void + traverse (Type &o) + { + + this->traverse (const_cast (o)); + } + + + virtual void + traverse (Type const&); + + virtual void + name (Type &o) + { + + this->name (const_cast (o)); + } + + + virtual void + name (Type const&); + + virtual void + addr_serv_id (Type &o) + { + + this->addr_serv_id (const_cast (o)); + } + + + virtual void + addr_serv_id (Type const&); + + virtual void + is_multicast (Type &o) + { + + this->is_multicast (const_cast (o)); + } + + + virtual void + is_multicast (Type const&); + + virtual void + listen_port (Type &o) + { + + this->listen_port (const_cast (o)); + } + + + virtual void + listen_port (Type const&); + + protected: + UDPReceiverDescription (); + }; + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + CIAO_Events_Handlers_Export + void + CIAOEvents (::CIAO::Config_Handlers::CIAOEventsDef const&, xercesc::DOMDocument*); + } +} + #endif // CIAOEVENTS_HPP diff --git a/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents_Handler.cpp b/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents_Handler.cpp index fd7cb12a464..e95c0656506 100644 --- a/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents_Handler.cpp +++ b/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents_Handler.cpp @@ -2,7 +2,7 @@ #include "Utils/XML_Helper.h" #include "CIAOEvents_Handler.h" #include "CIAOEvents.hpp" -#include "ciao/Deployment_EventsC.h" +#include "DAnCE/Deployment/Deployment_EventsC.h" namespace CIAO { diff --git a/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents_Handler.h b/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents_Handler.h index 7a27aa76a64..f45ff89afb4 100644 --- a/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents_Handler.h +++ b/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents_Handler.h @@ -14,9 +14,9 @@ #include /**/ "ace/pre.h" #include "Utils/XML_Helper.h" -#include "ciao/Deployment_EventsC.h" +#include "DAnCE/Deployment/Deployment_EventsC.h" #include "CIAO_Events_Handlers_Export.h" -#include "ciao/DeploymentC.h" +#include "DAnCE/Deployment/DeploymentC.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once diff --git a/CIAO/tools/Config_Handlers/CIAO_Events/CIAO_Events_Handlers.mpc b/CIAO/tools/Config_Handlers/CIAO_Events/CIAO_Events_Handlers.mpc index 395b76fd09e..32f787a08c8 100644 --- a/CIAO/tools/Config_Handlers/CIAO_Events/CIAO_Events_Handlers.mpc +++ b/CIAO/tools/Config_Handlers/CIAO_Events/CIAO_Events_Handlers.mpc @@ -1,11 +1,30 @@ //$Id$ +project (CIAO_Events_XML_Generation) : xscdefaults { + requires += xsc + + xscflags += --cxx-banner-file $(CIAO_ROOT)/docs/schema/xsc-banner.cpp + xscflags += --cxx-header-banner-file $(CIAO_ROOT)/docs/schema/xsc-banner.h + xscflags += --cxx-export-symbol CIAO_Events_Handlers_Export + xscflags += --cxx-namespace-regex "%.*vanderbilt.*%CIAO/Config_Handlers%" + xscflags += --cxx-export-header CIAO_Events_Handlers_Export.h + xscflags += --search-path "$(CIAO_ROOT)/docs/schema" + + custom_only = 1 + + XSC_Files { + gendir = . + $(CIAO_ROOT)/docs/schema/CIAOEvents.xsd + } +} + project (CIAO_Events_Handlers) : acelib, ciao_xml_utils, ciao_events_dnc, ciao_deployment_stub { sharedname = CIAO_Events_Handlers dynamicflags = CIAO_EVENTS_HANDLERS_BUILD_DLL macros += XML_USE_PTHREADS includes += $(CIAO_ROOT)/tools/Config_Handlers + after += CIAO_Events_XML_Generation Source_Files { CIAOEvents.cpp CIAOEvents_Handler.cpp diff --git a/CIAO/tools/Config_Handlers/CIAO_Events/test.cpp b/CIAO/tools/Config_Handlers/CIAO_Events/test.cpp index 63c024a0a89..d4f92a9a990 100644 --- a/CIAO/tools/Config_Handlers/CIAO_Events/test.cpp +++ b/CIAO/tools/Config_Handlers/CIAO_Events/test.cpp @@ -4,7 +4,7 @@ #include "CIAOEvents.hpp" #include "CIAOEvents_Handler.h" -#include "ciao/Deployment_EventsC.h" +#include "DAnCE/Deployment/Deployment_EventsC.h" #include "ace/Get_Opt.h" #include "tao/ORB.h" diff --git a/CIAO/tools/Config_Handlers/CPD_Handler.cpp b/CIAO/tools/Config_Handlers/CPD_Handler.cpp index 0b7b54d1adf..97a9e50ae23 100644 --- a/CIAO/tools/Config_Handlers/CPD_Handler.cpp +++ b/CIAO/tools/Config_Handlers/CPD_Handler.cpp @@ -2,7 +2,7 @@ #include "CPD_Handler.h" #include "Basic_Deployment_Data.hpp" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "ciao/CIAO_common.h" namespace CIAO diff --git a/CIAO/tools/Config_Handlers/CRDD_Handler.cpp b/CIAO/tools/Config_Handlers/CRDD_Handler.cpp index 03da34467eb..87d1b6511e5 100644 --- a/CIAO/tools/Config_Handlers/CRDD_Handler.cpp +++ b/CIAO/tools/Config_Handlers/CRDD_Handler.cpp @@ -3,7 +3,7 @@ #include "CRDD_Handler.h" #include "Any_Handler.h" #include "Basic_Deployment_Data.hpp" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "Property_Handler.h" #include "ciao/CIAO_common.h" diff --git a/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp b/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp index e7f9fa0266d..d916bf8076f 100644 --- a/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp +++ b/CIAO/tools/Config_Handlers/ComponentPropertyDescription_Handler.cpp @@ -2,7 +2,7 @@ #include "ComponentPropertyDescription_Handler.h" #include "DataType_Handler.h" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "ciao/CIAO_common.h" namespace CIAO { diff --git a/CIAO/tools/Config_Handlers/Config_Handlers.mpc b/CIAO/tools/Config_Handlers/Config_Handlers.mpc index be3a4f289aa..38b832bba50 100644 --- a/CIAO/tools/Config_Handlers/Config_Handlers.mpc +++ b/CIAO/tools/Config_Handlers/Config_Handlers.mpc @@ -1,18 +1,49 @@ //$Id$ +project (XSC_XML_Generation) : xscdefaults { + requires += xsc + + xscflags += --cxx-banner-file $(CIAO_ROOT)/docs/schema/xsc-banner.cpp + xscflags += --cxx-header-banner-file $(CIAO_ROOT)/docs/schema/xsc-banner.h + xscflags += --cxx-export-symbol XSC_XML_Handlers_Export + xscflags += --cxx-namespace-regex "%.*Deployment.*%CIAO/Config_Handlers%" + xscflags += --cxx-export-header XSC_XML_Handlers_Export.h + xscflags += --search-path "$(CIAO_ROOT)/docs/schema" + + custom_only = 1 + + XSC_Files { + gendir = . + $(CIAO_ROOT)/docs/schema/Basic_Deployment_Data.xsd + $(CIAO_ROOT)/docs/schema/Deployment.xsd + $(CIAO_ROOT)/docs/schema/ccd.xsd + $(CIAO_ROOT)/docs/schema/cdd.xsd + $(CIAO_ROOT)/docs/schema/cdp.xsd + $(CIAO_ROOT)/docs/schema/cid.xsd + $(CIAO_ROOT)/docs/schema/cpd.xsd + $(CIAO_ROOT)/docs/schema/iad.xsd + $(CIAO_ROOT)/docs/schema/pcd.xsd + $(CIAO_ROOT)/docs/schema/toplevel.xsd + } + + Source_Files { + } +} + project (XSC_XML_Handlers) : acelib, xerces { sharedname += XSC_XML_Handlers dynamicflags = XSC_XML_HANDLERS_BUILD_DLL macros += XML_USE_PTHREADS includes += $(CIAO_ROOT)/tools/Config_Handlers + after += XSC_XML_Generation Source_Files { + Deployment.cpp ccd.cpp cdd.cpp cdp.cpp cid.cpp cpd.cpp - Deployment.cpp iad.cpp pcd.cpp toplevel.cpp diff --git a/CIAO/tools/Config_Handlers/DD_Handler.cpp b/CIAO/tools/Config_Handlers/DD_Handler.cpp index d6de22ee29e..18ed4013c8c 100644 --- a/CIAO/tools/Config_Handlers/DD_Handler.cpp +++ b/CIAO/tools/Config_Handlers/DD_Handler.cpp @@ -5,7 +5,7 @@ #include "DD_Handler.h" #include "Any_Handler.h" #include "Deployment.hpp" -#include "ciao/Deployment_TargetDataC.h" +#include "DAnCE/Deployment/Deployment_TargetDataC.h" #include "CIAO_common.h" using namespace std; diff --git a/CIAO/tools/Config_Handlers/DP_Handler.cpp b/CIAO/tools/Config_Handlers/DP_Handler.cpp index ff26719d544..c5ff32d9c35 100644 --- a/CIAO/tools/Config_Handlers/DP_Handler.cpp +++ b/CIAO/tools/Config_Handlers/DP_Handler.cpp @@ -2,7 +2,7 @@ #include "DP_Handler.h" #include "ace/UUID.h" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "CCD_Handler.h" #include "ADD_Handler.h" @@ -266,7 +266,7 @@ ACE_RCSID (Config_Handlers, // We are assuming there is a realizes for the moment // @@ We may want to change this at a later date by creating a sequence of - // @@ ComponentInterfaceDescriptions in the DeploymentPlan in ../ciao/Deployment_Data.idl + // @@ ComponentInterfaceDescriptions in the DeploymentPlan in ../DAnCE/Deployment/Deployment_Data.idl // @@ so we can check for length this->xsc_dp_->realizes(CCD_Handler::component_interface_descr(plan.realizes)); if (!this->xsc_dp_->realizes_p()) diff --git a/CIAO/tools/Config_Handlers/DP_PCD_Handler.cpp b/CIAO/tools/Config_Handlers/DP_PCD_Handler.cpp index 22512ec15a5..2be43fb3b5b 100644 --- a/CIAO/tools/Config_Handlers/DP_PCD_Handler.cpp +++ b/CIAO/tools/Config_Handlers/DP_PCD_Handler.cpp @@ -8,7 +8,7 @@ #include "PCD_Handler.h" #include "Basic_Deployment_Data.hpp" #include "cdp.hpp" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "ciao/CIAO_common.h" namespace CIAO { diff --git a/CIAO/tools/Config_Handlers/DataType_Handler.h b/CIAO/tools/Config_Handlers/DataType_Handler.h index 5991c949f3a..b2a3240fbec 100644 --- a/CIAO/tools/Config_Handlers/DataType_Handler.h +++ b/CIAO/tools/Config_Handlers/DataType_Handler.h @@ -13,7 +13,7 @@ #include /**/ "ace/pre.h" -#include "ciao/DeploymentC.h" +#include "DAnCE/Deployment/DeploymentC.h" #include "Basic_Deployment_Data.hpp" #include "Config_Handlers_Common_Export.h" diff --git a/CIAO/tools/Config_Handlers/Deployment.cpp b/CIAO/tools/Config_Handlers/Deployment.cpp index 3d4ddb419c0..7d1a30a40d7 100644 --- a/CIAO/tools/Config_Handlers/Deployment.cpp +++ b/CIAO/tools/Config_Handlers/Deployment.cpp @@ -3,12 +3,12 @@ * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte */ - + #include "Deployment.hpp" namespace CIAO @@ -34,15 +34,15 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () == "domain") - { - ::CIAO::Config_Handlers::Domain r (e); - return r; - } + { + ::CIAO::Config_Handlers::Domain r (e); + return r; + } else - { - throw 1; - } + { + throw 1; + } } ::CIAO::Config_Handlers::DeploymentPlan @@ -50,15 +50,15 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () == "deploymentPlan") - { - ::CIAO::Config_Handlers::DeploymentPlan r (e); - return r; - } + { + ::CIAO::Config_Handlers::DeploymentPlan r (e); + return r; + } else - { - throw 1; - } + { + throw 1; + } } ::CIAO::Config_Handlers::ImplementationArtifactDescription @@ -66,15 +66,15 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () == "implementationArtifactDescription") - { - ::CIAO::Config_Handlers::ImplementationArtifactDescription r (e); - return r; - } + { + ::CIAO::Config_Handlers::ImplementationArtifactDescription r (e); + return r; + } else - { - throw 1; - } + { + throw 1; + } } ::CIAO::Config_Handlers::ComponentInterfaceDescription @@ -82,15 +82,15 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () == "componentInterfaceDescription") - { - ::CIAO::Config_Handlers::ComponentInterfaceDescription r (e); - return r; - } + { + ::CIAO::Config_Handlers::ComponentInterfaceDescription r (e); + return r; + } else - { - throw 1; - } + { + throw 1; + } } ::CIAO::Config_Handlers::ComponentImplementationDescription @@ -98,15 +98,15 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () == "componentImplementationDescription") - { - ::CIAO::Config_Handlers::ComponentImplementationDescription r (e); - return r; - } + { + ::CIAO::Config_Handlers::ComponentImplementationDescription r (e); + return r; + } else - { - throw 1; - } + { + throw 1; + } } ::CIAO::Config_Handlers::ComponentPackageDescription @@ -114,15 +114,15 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () == "componentPackageDescription") - { - ::CIAO::Config_Handlers::ComponentPackageDescription r (e); - return r; - } + { + ::CIAO::Config_Handlers::ComponentPackageDescription r (e); + return r; + } else - { - throw 1; - } + { + throw 1; + } } ::CIAO::Config_Handlers::PackageConfiguration @@ -130,15 +130,15 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () == "packageConfiguration") - { - ::CIAO::Config_Handlers::PackageConfiguration r (e); - return r; - } + { + ::CIAO::Config_Handlers::PackageConfiguration r (e); + return r; + } else - { - throw 1; - } + { + throw 1; + } } ::CIAO::Config_Handlers::TopLevelPackageDescription @@ -146,15 +146,15 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () == "topLevelPackageDescription") - { - ::CIAO::Config_Handlers::TopLevelPackageDescription r (e); - return r; - } + { + ::CIAO::Config_Handlers::TopLevelPackageDescription r (e); + return r; + } else - { - throw 1; - } + { + throw 1; + } } } } @@ -201,39 +201,46 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () != "domain") - { - throw 1; - } + { + throw 1; + } struct W : virtual ::CIAO::Config_Handlers::Writer::Domain, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::Node, - virtual ::CIAO::Config_Handlers::Writer::Interconnect, - virtual ::CIAO::Config_Handlers::Writer::Bridge, - virtual ::CIAO::Config_Handlers::Writer::Resource, - virtual ::CIAO::Config_Handlers::Writer::SatisfierProperty, - virtual ::CIAO::Config_Handlers::Writer::SatisfierPropertyKind, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::Any, - virtual ::CIAO::Config_Handlers::Writer::DataType, - virtual ::CIAO::Config_Handlers::Writer::TCKind, - virtual ::CIAO::Config_Handlers::Writer::EnumType, - virtual ::CIAO::Config_Handlers::Writer::DataValue, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::SharedResource, - virtual ::CIAO::Config_Handlers::Writer::Property, - virtual ::XSCRT::Writer< ACE_TCHAR > + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::Node, + virtual ::CIAO::Config_Handlers::Writer::Interconnect, + virtual ::CIAO::Config_Handlers::Writer::Bridge, + virtual ::CIAO::Config_Handlers::Writer::Resource, + virtual ::CIAO::Config_Handlers::Writer::SatisfierProperty, + virtual ::CIAO::Config_Handlers::Writer::SatisfierPropertyKind, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::Any, + virtual ::CIAO::Config_Handlers::Writer::DataType, + virtual ::CIAO::Config_Handlers::Writer::TCKind, + virtual ::CIAO::Config_Handlers::Writer::EnumType, + virtual ::CIAO::Config_Handlers::Writer::StructType, + virtual ::CIAO::Config_Handlers::Writer::StructMemberType, + virtual ::CIAO::Config_Handlers::Writer::ValueType, + virtual ::CIAO::Config_Handlers::Writer::ValueMemberType, + virtual ::CIAO::Config_Handlers::Writer::SequenceType, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::NamedValue, + virtual ::CIAO::Config_Handlers::Writer::SharedResource, + virtual ::CIAO::Config_Handlers::Writer::Property, + virtual ::XSCRT::Writer< ACE_TCHAR > { W (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } }; @@ -247,51 +254,57 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () != "deploymentPlan") - { - throw 1; - } + { + throw 1; + } struct W : virtual ::CIAO::Config_Handlers::Writer::DeploymentPlan, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, - virtual ::CIAO::Config_Handlers::Writer::Property, - virtual ::CIAO::Config_Handlers::Writer::Any, - virtual ::CIAO::Config_Handlers::Writer::DataType, - virtual ::CIAO::Config_Handlers::Writer::TCKind, - virtual ::CIAO::Config_Handlers::Writer::EnumType, - virtual ::CIAO::Config_Handlers::Writer::DataValue, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, - virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, - virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, - virtual ::CIAO::Config_Handlers::Writer::MonolithicDeploymentDescription, - virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::Requirement, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::InstanceDeploymentDescription, - virtual ::CIAO::Config_Handlers::Writer::InstanceResourceDeploymentDescription, - virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, - virtual ::CIAO::Config_Handlers::Writer::PlanConnectionDescription, - virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, - virtual ::CIAO::Config_Handlers::Writer::PlanSubcomponentPortEndpoint, - virtual ::CIAO::Config_Handlers::Writer::ExternalReferenceEndpoint, - virtual ::CIAO::Config_Handlers::Writer::ConnectionResourceDeploymentDescription, - virtual ::CIAO::Config_Handlers::Writer::ImplementationDependency, - virtual ::CIAO::Config_Handlers::Writer::ArtifactDeploymentDescription, - virtual ::CIAO::Config_Handlers::Writer::ResourceDeploymentDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, + virtual ::CIAO::Config_Handlers::Writer::Property, + virtual ::CIAO::Config_Handlers::Writer::Any, + virtual ::CIAO::Config_Handlers::Writer::DataType, + virtual ::CIAO::Config_Handlers::Writer::TCKind, + virtual ::CIAO::Config_Handlers::Writer::EnumType, + virtual ::CIAO::Config_Handlers::Writer::StructType, + virtual ::CIAO::Config_Handlers::Writer::StructMemberType, + virtual ::CIAO::Config_Handlers::Writer::ValueType, + virtual ::CIAO::Config_Handlers::Writer::ValueMemberType, + virtual ::CIAO::Config_Handlers::Writer::SequenceType, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::NamedValue, + virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, + virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, + virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, + virtual ::CIAO::Config_Handlers::Writer::MonolithicDeploymentDescription, + virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::Requirement, + virtual ::CIAO::Config_Handlers::Writer::InstanceDeploymentDescription, + virtual ::CIAO::Config_Handlers::Writer::InstanceResourceDeploymentDescription, + virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, + virtual ::CIAO::Config_Handlers::Writer::PlanConnectionDescription, + virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, + virtual ::CIAO::Config_Handlers::Writer::PlanSubcomponentPortEndpoint, + virtual ::CIAO::Config_Handlers::Writer::ExternalReferenceEndpoint, + virtual ::CIAO::Config_Handlers::Writer::ConnectionResourceDeploymentDescription, + virtual ::CIAO::Config_Handlers::Writer::ImplementationDependency, + virtual ::CIAO::Config_Handlers::Writer::ArtifactDeploymentDescription, + virtual ::CIAO::Config_Handlers::Writer::ResourceDeploymentDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > { W (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } }; @@ -305,34 +318,41 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () != "implementationArtifactDescription") - { - throw 1; - } + { + throw 1; + } struct W : virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::NamedImplementationArtifact, - virtual ::CIAO::Config_Handlers::Writer::Property, - virtual ::CIAO::Config_Handlers::Writer::Any, - virtual ::CIAO::Config_Handlers::Writer::DataType, - virtual ::CIAO::Config_Handlers::Writer::TCKind, - virtual ::CIAO::Config_Handlers::Writer::EnumType, - virtual ::CIAO::Config_Handlers::Writer::DataValue, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::Requirement, - virtual ::XSCRT::Writer< ACE_TCHAR > + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::NamedImplementationArtifact, + virtual ::CIAO::Config_Handlers::Writer::Property, + virtual ::CIAO::Config_Handlers::Writer::Any, + virtual ::CIAO::Config_Handlers::Writer::DataType, + virtual ::CIAO::Config_Handlers::Writer::TCKind, + virtual ::CIAO::Config_Handlers::Writer::EnumType, + virtual ::CIAO::Config_Handlers::Writer::StructType, + virtual ::CIAO::Config_Handlers::Writer::StructMemberType, + virtual ::CIAO::Config_Handlers::Writer::ValueType, + virtual ::CIAO::Config_Handlers::Writer::ValueMemberType, + virtual ::CIAO::Config_Handlers::Writer::SequenceType, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::NamedValue, + virtual ::CIAO::Config_Handlers::Writer::Requirement, + virtual ::XSCRT::Writer< ACE_TCHAR > { W (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } }; @@ -346,35 +366,42 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () != "componentInterfaceDescription") - { - throw 1; - } + { + throw 1; + } struct W : virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::Property, - virtual ::CIAO::Config_Handlers::Writer::Any, - virtual ::CIAO::Config_Handlers::Writer::DataType, - virtual ::CIAO::Config_Handlers::Writer::TCKind, - virtual ::CIAO::Config_Handlers::Writer::EnumType, - virtual ::CIAO::Config_Handlers::Writer::DataValue, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, - virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, - virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::Property, + virtual ::CIAO::Config_Handlers::Writer::Any, + virtual ::CIAO::Config_Handlers::Writer::DataType, + virtual ::CIAO::Config_Handlers::Writer::TCKind, + virtual ::CIAO::Config_Handlers::Writer::EnumType, + virtual ::CIAO::Config_Handlers::Writer::StructType, + virtual ::CIAO::Config_Handlers::Writer::StructMemberType, + virtual ::CIAO::Config_Handlers::Writer::ValueType, + virtual ::CIAO::Config_Handlers::Writer::ValueMemberType, + virtual ::CIAO::Config_Handlers::Writer::SequenceType, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::NamedValue, + virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, + virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, + virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > { W (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } }; @@ -388,61 +415,67 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () != "componentImplementationDescription") - { - throw 1; - } + { + throw 1; + } struct W : virtual ::CIAO::Config_Handlers::Writer::ComponentImplementationDescription, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, - virtual ::CIAO::Config_Handlers::Writer::Property, - virtual ::CIAO::Config_Handlers::Writer::Any, - virtual ::CIAO::Config_Handlers::Writer::DataType, - virtual ::CIAO::Config_Handlers::Writer::TCKind, - virtual ::CIAO::Config_Handlers::Writer::EnumType, - virtual ::CIAO::Config_Handlers::Writer::DataValue, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, - virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, - virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, - virtual ::CIAO::Config_Handlers::Writer::ComponentAssemblyDescription, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentInstantiationDescription, - virtual ::CIAO::Config_Handlers::Writer::ComponentPackageDescription, - virtual ::CIAO::Config_Handlers::Writer::PackagedComponentImplementation, - virtual ::CIAO::Config_Handlers::Writer::PackageConfiguration, - virtual ::CIAO::Config_Handlers::Writer::ComponentPackageImport, - virtual ::CIAO::Config_Handlers::Writer::ComponentPackageReference, - virtual ::CIAO::Config_Handlers::Writer::Requirement, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::AssemblyConnectionDescription, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentPortEndpoint, - virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, - virtual ::CIAO::Config_Handlers::Writer::ExternalReferenceEndpoint, - virtual ::CIAO::Config_Handlers::Writer::AssemblyPropertyMapping, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentPropertyReference, - virtual ::CIAO::Config_Handlers::Writer::MonolithicImplementationDescription, - virtual ::CIAO::Config_Handlers::Writer::ImplementationRequirement, - virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, - virtual ::CIAO::Config_Handlers::Writer::NamedImplementationArtifact, - virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, - virtual ::CIAO::Config_Handlers::Writer::Capability, - virtual ::CIAO::Config_Handlers::Writer::SatisfierProperty, - virtual ::CIAO::Config_Handlers::Writer::SatisfierPropertyKind, - virtual ::CIAO::Config_Handlers::Writer::ImplementationDependency, - virtual ::XSCRT::Writer< ACE_TCHAR > + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, + virtual ::CIAO::Config_Handlers::Writer::Property, + virtual ::CIAO::Config_Handlers::Writer::Any, + virtual ::CIAO::Config_Handlers::Writer::DataType, + virtual ::CIAO::Config_Handlers::Writer::TCKind, + virtual ::CIAO::Config_Handlers::Writer::EnumType, + virtual ::CIAO::Config_Handlers::Writer::StructType, + virtual ::CIAO::Config_Handlers::Writer::StructMemberType, + virtual ::CIAO::Config_Handlers::Writer::ValueType, + virtual ::CIAO::Config_Handlers::Writer::ValueMemberType, + virtual ::CIAO::Config_Handlers::Writer::SequenceType, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::NamedValue, + virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, + virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, + virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, + virtual ::CIAO::Config_Handlers::Writer::ComponentAssemblyDescription, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentInstantiationDescription, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageDescription, + virtual ::CIAO::Config_Handlers::Writer::PackagedComponentImplementation, + virtual ::CIAO::Config_Handlers::Writer::PackageConfiguration, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageImport, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageReference, + virtual ::CIAO::Config_Handlers::Writer::Requirement, + virtual ::CIAO::Config_Handlers::Writer::AssemblyConnectionDescription, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentPortEndpoint, + virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, + virtual ::CIAO::Config_Handlers::Writer::ExternalReferenceEndpoint, + virtual ::CIAO::Config_Handlers::Writer::AssemblyPropertyMapping, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentPropertyReference, + virtual ::CIAO::Config_Handlers::Writer::MonolithicImplementationDescription, + virtual ::CIAO::Config_Handlers::Writer::ImplementationRequirement, + virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, + virtual ::CIAO::Config_Handlers::Writer::NamedImplementationArtifact, + virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, + virtual ::CIAO::Config_Handlers::Writer::Capability, + virtual ::CIAO::Config_Handlers::Writer::SatisfierProperty, + virtual ::CIAO::Config_Handlers::Writer::SatisfierPropertyKind, + virtual ::CIAO::Config_Handlers::Writer::ImplementationDependency, + virtual ::XSCRT::Writer< ACE_TCHAR > { W (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } }; @@ -456,61 +489,67 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () != "componentPackageDescription") - { - throw 1; - } + { + throw 1; + } struct W : virtual ::CIAO::Config_Handlers::Writer::ComponentPackageDescription, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, - virtual ::CIAO::Config_Handlers::Writer::Property, - virtual ::CIAO::Config_Handlers::Writer::Any, - virtual ::CIAO::Config_Handlers::Writer::DataType, - virtual ::CIAO::Config_Handlers::Writer::TCKind, - virtual ::CIAO::Config_Handlers::Writer::EnumType, - virtual ::CIAO::Config_Handlers::Writer::DataValue, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, - virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, - virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, - virtual ::CIAO::Config_Handlers::Writer::PackagedComponentImplementation, - virtual ::CIAO::Config_Handlers::Writer::ComponentImplementationDescription, - virtual ::CIAO::Config_Handlers::Writer::ComponentAssemblyDescription, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentInstantiationDescription, - virtual ::CIAO::Config_Handlers::Writer::PackageConfiguration, - virtual ::CIAO::Config_Handlers::Writer::ComponentPackageImport, - virtual ::CIAO::Config_Handlers::Writer::ComponentPackageReference, - virtual ::CIAO::Config_Handlers::Writer::Requirement, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::AssemblyConnectionDescription, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentPortEndpoint, - virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, - virtual ::CIAO::Config_Handlers::Writer::ExternalReferenceEndpoint, - virtual ::CIAO::Config_Handlers::Writer::AssemblyPropertyMapping, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentPropertyReference, - virtual ::CIAO::Config_Handlers::Writer::MonolithicImplementationDescription, - virtual ::CIAO::Config_Handlers::Writer::ImplementationRequirement, - virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, - virtual ::CIAO::Config_Handlers::Writer::NamedImplementationArtifact, - virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, - virtual ::CIAO::Config_Handlers::Writer::Capability, - virtual ::CIAO::Config_Handlers::Writer::SatisfierProperty, - virtual ::CIAO::Config_Handlers::Writer::SatisfierPropertyKind, - virtual ::CIAO::Config_Handlers::Writer::ImplementationDependency, - virtual ::XSCRT::Writer< ACE_TCHAR > + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, + virtual ::CIAO::Config_Handlers::Writer::Property, + virtual ::CIAO::Config_Handlers::Writer::Any, + virtual ::CIAO::Config_Handlers::Writer::DataType, + virtual ::CIAO::Config_Handlers::Writer::TCKind, + virtual ::CIAO::Config_Handlers::Writer::EnumType, + virtual ::CIAO::Config_Handlers::Writer::StructType, + virtual ::CIAO::Config_Handlers::Writer::StructMemberType, + virtual ::CIAO::Config_Handlers::Writer::ValueType, + virtual ::CIAO::Config_Handlers::Writer::ValueMemberType, + virtual ::CIAO::Config_Handlers::Writer::SequenceType, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::NamedValue, + virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, + virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, + virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, + virtual ::CIAO::Config_Handlers::Writer::PackagedComponentImplementation, + virtual ::CIAO::Config_Handlers::Writer::ComponentImplementationDescription, + virtual ::CIAO::Config_Handlers::Writer::ComponentAssemblyDescription, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentInstantiationDescription, + virtual ::CIAO::Config_Handlers::Writer::PackageConfiguration, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageImport, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageReference, + virtual ::CIAO::Config_Handlers::Writer::Requirement, + virtual ::CIAO::Config_Handlers::Writer::AssemblyConnectionDescription, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentPortEndpoint, + virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, + virtual ::CIAO::Config_Handlers::Writer::ExternalReferenceEndpoint, + virtual ::CIAO::Config_Handlers::Writer::AssemblyPropertyMapping, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentPropertyReference, + virtual ::CIAO::Config_Handlers::Writer::MonolithicImplementationDescription, + virtual ::CIAO::Config_Handlers::Writer::ImplementationRequirement, + virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, + virtual ::CIAO::Config_Handlers::Writer::NamedImplementationArtifact, + virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, + virtual ::CIAO::Config_Handlers::Writer::Capability, + virtual ::CIAO::Config_Handlers::Writer::SatisfierProperty, + virtual ::CIAO::Config_Handlers::Writer::SatisfierPropertyKind, + virtual ::CIAO::Config_Handlers::Writer::ImplementationDependency, + virtual ::XSCRT::Writer< ACE_TCHAR > { W (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } }; @@ -524,61 +563,67 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () != "packageConfiguration") - { - throw 1; - } + { + throw 1; + } struct W : virtual ::CIAO::Config_Handlers::Writer::PackageConfiguration, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentPackageDescription, - virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, - virtual ::CIAO::Config_Handlers::Writer::Property, - virtual ::CIAO::Config_Handlers::Writer::Any, - virtual ::CIAO::Config_Handlers::Writer::DataType, - virtual ::CIAO::Config_Handlers::Writer::TCKind, - virtual ::CIAO::Config_Handlers::Writer::EnumType, - virtual ::CIAO::Config_Handlers::Writer::DataValue, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, - virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, - virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, - virtual ::CIAO::Config_Handlers::Writer::PackagedComponentImplementation, - virtual ::CIAO::Config_Handlers::Writer::ComponentImplementationDescription, - virtual ::CIAO::Config_Handlers::Writer::ComponentAssemblyDescription, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentInstantiationDescription, - virtual ::CIAO::Config_Handlers::Writer::Requirement, - virtual ::CIAO::Config_Handlers::Writer::ComponentPackageReference, - virtual ::CIAO::Config_Handlers::Writer::ComponentPackageImport, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::AssemblyConnectionDescription, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentPortEndpoint, - virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, - virtual ::CIAO::Config_Handlers::Writer::ExternalReferenceEndpoint, - virtual ::CIAO::Config_Handlers::Writer::AssemblyPropertyMapping, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentPropertyReference, - virtual ::CIAO::Config_Handlers::Writer::MonolithicImplementationDescription, - virtual ::CIAO::Config_Handlers::Writer::ImplementationRequirement, - virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, - virtual ::CIAO::Config_Handlers::Writer::NamedImplementationArtifact, - virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, - virtual ::CIAO::Config_Handlers::Writer::Capability, - virtual ::CIAO::Config_Handlers::Writer::SatisfierProperty, - virtual ::CIAO::Config_Handlers::Writer::SatisfierPropertyKind, - virtual ::CIAO::Config_Handlers::Writer::ImplementationDependency, - virtual ::XSCRT::Writer< ACE_TCHAR > + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageDescription, + virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, + virtual ::CIAO::Config_Handlers::Writer::Property, + virtual ::CIAO::Config_Handlers::Writer::Any, + virtual ::CIAO::Config_Handlers::Writer::DataType, + virtual ::CIAO::Config_Handlers::Writer::TCKind, + virtual ::CIAO::Config_Handlers::Writer::EnumType, + virtual ::CIAO::Config_Handlers::Writer::StructType, + virtual ::CIAO::Config_Handlers::Writer::StructMemberType, + virtual ::CIAO::Config_Handlers::Writer::ValueType, + virtual ::CIAO::Config_Handlers::Writer::ValueMemberType, + virtual ::CIAO::Config_Handlers::Writer::SequenceType, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::NamedValue, + virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, + virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, + virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, + virtual ::CIAO::Config_Handlers::Writer::PackagedComponentImplementation, + virtual ::CIAO::Config_Handlers::Writer::ComponentImplementationDescription, + virtual ::CIAO::Config_Handlers::Writer::ComponentAssemblyDescription, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentInstantiationDescription, + virtual ::CIAO::Config_Handlers::Writer::Requirement, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageReference, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageImport, + virtual ::CIAO::Config_Handlers::Writer::AssemblyConnectionDescription, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentPortEndpoint, + virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, + virtual ::CIAO::Config_Handlers::Writer::ExternalReferenceEndpoint, + virtual ::CIAO::Config_Handlers::Writer::AssemblyPropertyMapping, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentPropertyReference, + virtual ::CIAO::Config_Handlers::Writer::MonolithicImplementationDescription, + virtual ::CIAO::Config_Handlers::Writer::ImplementationRequirement, + virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, + virtual ::CIAO::Config_Handlers::Writer::NamedImplementationArtifact, + virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, + virtual ::CIAO::Config_Handlers::Writer::Capability, + virtual ::CIAO::Config_Handlers::Writer::SatisfierProperty, + virtual ::CIAO::Config_Handlers::Writer::SatisfierPropertyKind, + virtual ::CIAO::Config_Handlers::Writer::ImplementationDependency, + virtual ::XSCRT::Writer< ACE_TCHAR > { W (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } }; @@ -592,62 +637,68 @@ namespace CIAO { ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ()); if (e.name () != "topLevelPackageDescription") - { - throw 1; - } + { + throw 1; + } struct W : virtual ::CIAO::Config_Handlers::Writer::TopLevelPackageDescription, - virtual ::CIAO::Config_Handlers::Writer::PackageConfiguration, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentPackageDescription, - virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, - virtual ::CIAO::Config_Handlers::Writer::Property, - virtual ::CIAO::Config_Handlers::Writer::Any, - virtual ::CIAO::Config_Handlers::Writer::DataType, - virtual ::CIAO::Config_Handlers::Writer::TCKind, - virtual ::CIAO::Config_Handlers::Writer::EnumType, - virtual ::CIAO::Config_Handlers::Writer::DataValue, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, - virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, - virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, - virtual ::CIAO::Config_Handlers::Writer::PackagedComponentImplementation, - virtual ::CIAO::Config_Handlers::Writer::ComponentImplementationDescription, - virtual ::CIAO::Config_Handlers::Writer::ComponentAssemblyDescription, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentInstantiationDescription, - virtual ::CIAO::Config_Handlers::Writer::Requirement, - virtual ::CIAO::Config_Handlers::Writer::ComponentPackageReference, - virtual ::CIAO::Config_Handlers::Writer::ComponentPackageImport, - virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::AssemblyConnectionDescription, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentPortEndpoint, - virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, - virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, - virtual ::CIAO::Config_Handlers::Writer::ExternalReferenceEndpoint, - virtual ::CIAO::Config_Handlers::Writer::AssemblyPropertyMapping, - virtual ::CIAO::Config_Handlers::Writer::SubcomponentPropertyReference, - virtual ::CIAO::Config_Handlers::Writer::MonolithicImplementationDescription, - virtual ::CIAO::Config_Handlers::Writer::ImplementationRequirement, - virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, - virtual ::CIAO::Config_Handlers::Writer::NamedImplementationArtifact, - virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, - virtual ::CIAO::Config_Handlers::Writer::Capability, - virtual ::CIAO::Config_Handlers::Writer::SatisfierProperty, - virtual ::CIAO::Config_Handlers::Writer::SatisfierPropertyKind, - virtual ::CIAO::Config_Handlers::Writer::ImplementationDependency, - virtual ::XSCRT::Writer< ACE_TCHAR > + virtual ::CIAO::Config_Handlers::Writer::PackageConfiguration, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageDescription, + virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, + virtual ::CIAO::Config_Handlers::Writer::Property, + virtual ::CIAO::Config_Handlers::Writer::Any, + virtual ::CIAO::Config_Handlers::Writer::DataType, + virtual ::CIAO::Config_Handlers::Writer::TCKind, + virtual ::CIAO::Config_Handlers::Writer::EnumType, + virtual ::CIAO::Config_Handlers::Writer::StructType, + virtual ::CIAO::Config_Handlers::Writer::StructMemberType, + virtual ::CIAO::Config_Handlers::Writer::ValueType, + virtual ::CIAO::Config_Handlers::Writer::ValueMemberType, + virtual ::CIAO::Config_Handlers::Writer::SequenceType, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, ACE_TCHAR >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::NamedValue, + virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, + virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, + virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, + virtual ::CIAO::Config_Handlers::Writer::PackagedComponentImplementation, + virtual ::CIAO::Config_Handlers::Writer::ComponentImplementationDescription, + virtual ::CIAO::Config_Handlers::Writer::ComponentAssemblyDescription, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentInstantiationDescription, + virtual ::CIAO::Config_Handlers::Writer::Requirement, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageReference, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageImport, + virtual ::CIAO::Config_Handlers::Writer::AssemblyConnectionDescription, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentPortEndpoint, + virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, + virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, + virtual ::CIAO::Config_Handlers::Writer::ExternalReferenceEndpoint, + virtual ::CIAO::Config_Handlers::Writer::AssemblyPropertyMapping, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentPropertyReference, + virtual ::CIAO::Config_Handlers::Writer::MonolithicImplementationDescription, + virtual ::CIAO::Config_Handlers::Writer::ImplementationRequirement, + virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, + virtual ::CIAO::Config_Handlers::Writer::NamedImplementationArtifact, + virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, + virtual ::CIAO::Config_Handlers::Writer::Capability, + virtual ::CIAO::Config_Handlers::Writer::SatisfierProperty, + virtual ::CIAO::Config_Handlers::Writer::SatisfierPropertyKind, + virtual ::CIAO::Config_Handlers::Writer::ImplementationDependency, + virtual ::XSCRT::Writer< ACE_TCHAR > { W (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } }; diff --git a/CIAO/tools/Config_Handlers/Deployment.hpp b/CIAO/tools/Config_Handlers/Deployment.hpp index ca6cf839a75..d0477b78113 100644 --- a/CIAO/tools/Config_Handlers/Deployment.hpp +++ b/CIAO/tools/Config_Handlers/Deployment.hpp @@ -9,17 +9,16 @@ * Will Otte */ - // Fix for Borland compilers, which seem to have a broken // include. #ifdef __BORLANDC__ # include #endif -#include "XSC_XML_Handlers_Export.h" #ifndef DEPLOYMENT_HPP #define DEPLOYMENT_HPP +#include "XSC_XML_Handlers_Export.h" // Forward declarations. // namespace CIAO diff --git a/CIAO/tools/Config_Handlers/DnC_Dump.cpp b/CIAO/tools/Config_Handlers/DnC_Dump.cpp index 8ee5a69e221..475b8894dab 100644 --- a/CIAO/tools/Config_Handlers/DnC_Dump.cpp +++ b/CIAO/tools/Config_Handlers/DnC_Dump.cpp @@ -2,7 +2,7 @@ #include "ace/Log_Msg.h" #include "tao/SystemException.h" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "DnC_Dump.h" #include "DnC_Dump_T.h" #include diff --git a/CIAO/tools/Config_Handlers/DnC_Dump.h b/CIAO/tools/Config_Handlers/DnC_Dump.h index ae8b587ff62..17fb49377de 100644 --- a/CIAO/tools/Config_Handlers/DnC_Dump.h +++ b/CIAO/tools/Config_Handlers/DnC_Dump.h @@ -12,8 +12,8 @@ #define DNC_DUMP_H #include /**/ "ace/pre.h" -#include "ciao/DeploymentC.h" -#include "ciao/Deployment_TargetDataC.h" +#include "DAnCE/Deployment/DeploymentC.h" +#include "DAnCE/Deployment/Deployment_TargetDataC.h" #include "Config_Handlers_Export.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) diff --git a/CIAO/tools/Config_Handlers/Dump_Obj.h b/CIAO/tools/Config_Handlers/Dump_Obj.h index d8e90351ad1..bb5d0139ce8 100644 --- a/CIAO/tools/Config_Handlers/Dump_Obj.h +++ b/CIAO/tools/Config_Handlers/Dump_Obj.h @@ -12,7 +12,7 @@ #define CIAO_DUMP_OBJ_H #include /**/ "ace/pre.h" -#include "ciao/DeploymentC.h" +#include "DAnCE/Deployment/DeploymentC.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) #pragma once diff --git a/CIAO/tools/Config_Handlers/ERE_Handler.cpp b/CIAO/tools/Config_Handlers/ERE_Handler.cpp index d64528cfdeb..17c9bd2b34e 100644 --- a/CIAO/tools/Config_Handlers/ERE_Handler.cpp +++ b/CIAO/tools/Config_Handlers/ERE_Handler.cpp @@ -2,7 +2,7 @@ #include "ERE_Handler.h" #include "Basic_Deployment_Data.hpp" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "ciao/CIAO_common.h" namespace CIAO { diff --git a/CIAO/tools/Config_Handlers/ESD_Handler.cpp b/CIAO/tools/Config_Handlers/ESD_Handler.cpp index 1ae8a526842..4bb1134ae44 100644 --- a/CIAO/tools/Config_Handlers/ESD_Handler.cpp +++ b/CIAO/tools/Config_Handlers/ESD_Handler.cpp @@ -2,7 +2,7 @@ #include "ESD_Handler.h" #include "Basic_Deployment_Data.hpp" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "cdp.hpp" namespace CIAO diff --git a/CIAO/tools/Config_Handlers/IDD_Handler.cpp b/CIAO/tools/Config_Handlers/IDD_Handler.cpp index 7c7c315f324..f82413cad6b 100644 --- a/CIAO/tools/Config_Handlers/IDD_Handler.cpp +++ b/CIAO/tools/Config_Handlers/IDD_Handler.cpp @@ -7,7 +7,7 @@ #include "Property_Handler.h" #include "Any_Handler.h" #include "Basic_Deployment_Data.hpp" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "cdp.hpp" namespace CIAO diff --git a/CIAO/tools/Config_Handlers/ID_Handler.cpp b/CIAO/tools/Config_Handlers/ID_Handler.cpp index 5d3cad169a6..b2e888338e0 100644 --- a/CIAO/tools/Config_Handlers/ID_Handler.cpp +++ b/CIAO/tools/Config_Handlers/ID_Handler.cpp @@ -2,7 +2,7 @@ #include "ID_Handler.h" #include "Basic_Deployment_Data.hpp" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "ciao/CIAO_common.h" namespace CIAO { diff --git a/CIAO/tools/Config_Handlers/IRDD_Handler.cpp b/CIAO/tools/Config_Handlers/IRDD_Handler.cpp index 34318ee8d4c..39a7ea09754 100644 --- a/CIAO/tools/Config_Handlers/IRDD_Handler.cpp +++ b/CIAO/tools/Config_Handlers/IRDD_Handler.cpp @@ -2,7 +2,7 @@ #include "IRDD_Handler.h" #include "Basic_Deployment_Data.hpp" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "Property_Handler.h" #include "ciao/CIAO_common.h" diff --git a/CIAO/tools/Config_Handlers/MDD_Handler.cpp b/CIAO/tools/Config_Handlers/MDD_Handler.cpp index c86d6dc1da1..b0c5f7cfe94 100644 --- a/CIAO/tools/Config_Handlers/MDD_Handler.cpp +++ b/CIAO/tools/Config_Handlers/MDD_Handler.cpp @@ -2,7 +2,7 @@ #include "MDD_Handler.h" #include "Basic_Deployment_Data.hpp" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "ADD_Handler.h" #include "Property_Handler.h" #include "Req_Handler.h" diff --git a/CIAO/tools/Config_Handlers/PCD_Handler.cpp b/CIAO/tools/Config_Handlers/PCD_Handler.cpp index 23b332d471e..071194d778a 100644 --- a/CIAO/tools/Config_Handlers/PCD_Handler.cpp +++ b/CIAO/tools/Config_Handlers/PCD_Handler.cpp @@ -7,7 +7,7 @@ #include "ERE_Handler.h" #include "CRDD_Handler.h" #include "Basic_Deployment_Data.hpp" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "ciao/CIAO_common.h" namespace CIAO diff --git a/CIAO/tools/Config_Handlers/PSPE_Handler.cpp b/CIAO/tools/Config_Handlers/PSPE_Handler.cpp index 24d55cecf36..0da66acefd4 100644 --- a/CIAO/tools/Config_Handlers/PSPE_Handler.cpp +++ b/CIAO/tools/Config_Handlers/PSPE_Handler.cpp @@ -3,7 +3,7 @@ #include "PSPE_Handler.h" #include "IDD_Handler.h" #include "Basic_Deployment_Data.hpp" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" namespace CIAO { diff --git a/CIAO/tools/Config_Handlers/Package_Handlers/CAD_Handler.cpp b/CIAO/tools/Config_Handlers/Package_Handlers/CAD_Handler.cpp index 7d24f381f73..8907ce0b0b1 100644 --- a/CIAO/tools/Config_Handlers/Package_Handlers/CAD_Handler.cpp +++ b/CIAO/tools/Config_Handlers/Package_Handlers/CAD_Handler.cpp @@ -3,7 +3,7 @@ #include "Package_Handlers/CAD_Handler.h" #include "Basic_Deployment_Data.hpp" #include "cid.hpp" -#include "ciao/DeploymentC.h" +#include "DAnCE/Deployment/DeploymentC.h" #include "Req_Handler.h" #include "CEPE_Handler.h" #include "ERE_Handler.h" diff --git a/CIAO/tools/Config_Handlers/Package_Handlers/CAD_Handler.h b/CIAO/tools/Config_Handlers/Package_Handlers/CAD_Handler.h index b4c0b790fc0..139c24936ce 100644 --- a/CIAO/tools/Config_Handlers/Package_Handlers/CAD_Handler.h +++ b/CIAO/tools/Config_Handlers/Package_Handlers/CAD_Handler.h @@ -11,7 +11,7 @@ #include /**/ "ace/pre.h" #include "Utils/XML_Helper.h" -#include "ciao/DeploymentC.h" +#include "DAnCE/Deployment/DeploymentC.h" #include "Package_Handlers/Packaging_Handlers_Export.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) diff --git a/CIAO/tools/Config_Handlers/Package_Handlers/CID_Handler.cpp b/CIAO/tools/Config_Handlers/Package_Handlers/CID_Handler.cpp index bb066b0e383..78d865eb366 100644 --- a/CIAO/tools/Config_Handlers/Package_Handlers/CID_Handler.cpp +++ b/CIAO/tools/Config_Handlers/Package_Handlers/CID_Handler.cpp @@ -10,7 +10,7 @@ #include "Req_Handler.h" #include "Basic_Deployment_Data.hpp" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "Utils/XML_Helper.h" #include "Utils/Exceptions.h" diff --git a/CIAO/tools/Config_Handlers/Package_Handlers/CPD_Handler.cpp b/CIAO/tools/Config_Handlers/Package_Handlers/CPD_Handler.cpp index ee68c3a627f..b857c893bf8 100644 --- a/CIAO/tools/Config_Handlers/Package_Handlers/CPD_Handler.cpp +++ b/CIAO/tools/Config_Handlers/Package_Handlers/CPD_Handler.cpp @@ -4,7 +4,7 @@ #include "Package_Handlers/CID_Handler.h" #include "Package_Handlers/Comp_Intf_Descr_Handler.h" #include "Basic_Deployment_Data.hpp" -#include "ciao/Deployment_Packaging_DataC.h" +#include "DAnCE/Deployment/Deployment_Packaging_DataC.h" #include "Deployment.hpp" #include "Utils/Exceptions.h" #include "Property_Handler.h" diff --git a/CIAO/tools/Config_Handlers/Package_Handlers/Comp_Intf_Descr_Handler.h b/CIAO/tools/Config_Handlers/Package_Handlers/Comp_Intf_Descr_Handler.h index e4eb2b0af58..02f07fbb438 100644 --- a/CIAO/tools/Config_Handlers/Package_Handlers/Comp_Intf_Descr_Handler.h +++ b/CIAO/tools/Config_Handlers/Package_Handlers/Comp_Intf_Descr_Handler.h @@ -11,7 +11,7 @@ #include /**/ "ace/pre.h" #include "Utils/XML_Helper.h" -#include "ciao/DeploymentC.h" +#include "DAnCE/Deployment/DeploymentC.h" #include "Package_Handlers/Packaging_Handlers_Export.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) diff --git a/CIAO/tools/Config_Handlers/Package_Handlers/NIA_Handler.h b/CIAO/tools/Config_Handlers/Package_Handlers/NIA_Handler.h index 2c4db4eddf2..2f3f2845343 100644 --- a/CIAO/tools/Config_Handlers/Package_Handlers/NIA_Handler.h +++ b/CIAO/tools/Config_Handlers/Package_Handlers/NIA_Handler.h @@ -10,7 +10,7 @@ #include /**/ "ace/pre.h" #include "Package_Handlers/Packaging_Handlers_Export.h" #include "Utils/Functors.h" -#include "ciao/Deployment_Packaging_DataC.h" +#include "DAnCE/Deployment/Deployment_Packaging_DataC.h" #include "iad.hpp" namespace Deployment diff --git a/CIAO/tools/Config_Handlers/Package_Handlers/PCD_Handler.cpp b/CIAO/tools/Config_Handlers/Package_Handlers/PCD_Handler.cpp index 6f0faebd255..93537901779 100644 --- a/CIAO/tools/Config_Handlers/Package_Handlers/PCD_Handler.cpp +++ b/CIAO/tools/Config_Handlers/Package_Handlers/PCD_Handler.cpp @@ -1,7 +1,7 @@ // $Id$ #include "tao/AnyTypeCode/AnyTypeCode_methods.h" #include "ciao/CIAO_common.h" -#include "ciao/Deployment_Packaging_DataC.h" +#include "DAnCE/Deployment/Deployment_Packaging_DataC.h" #include "Utils/XML_Helper.h" #include "Utils/XercesString.h" #include "Utils/Exceptions.h" @@ -37,14 +37,10 @@ namespace CIAO if (root == XStr ("Deployment:topLevelPackageDescription")) { - PackageConfiguration foo; - TopLevelPackageDescription tpd (foo); + TopLevelPackageDescription tpd = topLevelPackageDescription (dom); - tpd = topLevelPackageDescription (dom); - - PCD_Handler::package_config (tpd.package (), + PCD_Handler::package_config (*tpd.begin_basePackage (), toconfig); - } else if (root == XStr ("Deployment:packageConfiguration")) { @@ -75,10 +71,10 @@ namespace CIAO const PackageConfiguration *pcd; - if (desc.href_p ()) + if (desc.contentLocation_p ()) { // Take ownership of the resolved pcd - xsc_pcd.reset (PCD_Handler:: resolve_package_config (desc.href ().c_str ())); + xsc_pcd.reset (PCD_Handler:: resolve_package_config (desc.contentLocation ().c_str ())); pcd = xsc_pcd.get (); } else diff --git a/CIAO/tools/Config_Handlers/Package_Handlers/SID_Handler.cpp b/CIAO/tools/Config_Handlers/Package_Handlers/SID_Handler.cpp index 99c29bd0450..c89325ed467 100644 --- a/CIAO/tools/Config_Handlers/Package_Handlers/SID_Handler.cpp +++ b/CIAO/tools/Config_Handlers/Package_Handlers/SID_Handler.cpp @@ -2,7 +2,7 @@ #include "tao/AnyTypeCode/AnyTypeCode_methods.h" #include "Package_Handlers/SID_Handler.h" #include "cid.hpp" -#include "ciao/DeploymentC.h" +#include "DAnCE/Deployment/DeploymentC.h" #include "Package_Handlers/CPD_Handler.h" #include "Package_Handlers/PCD_Handler.h" #include "Req_Handler.h" diff --git a/CIAO/tools/Config_Handlers/Package_Handlers/test.cpp b/CIAO/tools/Config_Handlers/Package_Handlers/test.cpp index a8505419ffd..6812dc20114 100644 --- a/CIAO/tools/Config_Handlers/Package_Handlers/test.cpp +++ b/CIAO/tools/Config_Handlers/Package_Handlers/test.cpp @@ -4,7 +4,7 @@ #include "Deployment.hpp" #include "PCD_Handler.h" -#include "ciao/Deployment_Packaging_DataC.h" +#include "DAnCE/Deployment/Deployment_Packaging_DataC.h" #include "SID_Handler.h" #include "ace/Get_Opt.h" #include "Utils/XML_Helper.h" diff --git a/CIAO/tools/Config_Handlers/Property_Handler.cpp b/CIAO/tools/Config_Handlers/Property_Handler.cpp index 41129007618..ef077426a16 100644 --- a/CIAO/tools/Config_Handlers/Property_Handler.cpp +++ b/CIAO/tools/Config_Handlers/Property_Handler.cpp @@ -3,7 +3,7 @@ #include "Property_Handler.h" #include "Any_Handler.h" #include "Basic_Deployment_Data.hpp" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "ciao/CIAO_common.h" namespace CIAO { diff --git a/CIAO/tools/Config_Handlers/RDD_Handler.cpp b/CIAO/tools/Config_Handlers/RDD_Handler.cpp index 374c0e4993f..28ddc5ec7cf 100644 --- a/CIAO/tools/Config_Handlers/RDD_Handler.cpp +++ b/CIAO/tools/Config_Handlers/RDD_Handler.cpp @@ -2,7 +2,7 @@ #include "RDD_Handler.h" #include "Basic_Deployment_Data.hpp" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "Any_Handler.h" #include "ciao/CIAO_common.h" #include "Property_Handler.h" diff --git a/CIAO/tools/Config_Handlers/RT-CCM/CB_Handler.h b/CIAO/tools/Config_Handlers/RT-CCM/CB_Handler.h index 7272b830fb7..9c1363ab420 100644 --- a/CIAO/tools/Config_Handlers/RT-CCM/CB_Handler.h +++ b/CIAO/tools/Config_Handlers/RT-CCM/CB_Handler.h @@ -13,7 +13,7 @@ #include /**/ "ace/pre.h" #include "RT_CCM_Handlers_Export.h" -#include "ciao/CIAO_ServerResourcesC.h" +#include "DAnCE/Deployment/CIAO_ServerResourcesC.h" #include "IDREF_Base.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) diff --git a/CIAO/tools/Config_Handlers/RT-CCM/CIAOServerResources.cpp b/CIAO/tools/Config_Handlers/RT-CCM/CIAOServerResources.cpp index af9d71cfbee..9c626644188 100644 --- a/CIAO/tools/Config_Handlers/RT-CCM/CIAOServerResources.cpp +++ b/CIAO/tools/Config_Handlers/RT-CCM/CIAOServerResources.cpp @@ -3,12 +3,12 @@ * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte */ - + #include "CIAOServerResources.hpp" namespace CIAO @@ -16,12 +16,12 @@ namespace CIAO namespace Config_Handlers { // ServerResourcesDef - // + // ServerResourcesDef:: ServerResourcesDef (::CIAO::Config_Handlers::ORBConfigs const& orbConfigs__) - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), orbConfigs_ (new ::CIAO::Config_Handlers::ORBConfigs (orbConfigs__)), regulator__ () { @@ -63,7 +63,7 @@ namespace CIAO // ServerResourcesDef - // + // bool ServerResourcesDef:: cmdline_p () const { @@ -92,7 +92,7 @@ namespace CIAO } // ServerResourcesDef - // + // bool ServerResourcesDef:: svcconf_p () const { @@ -121,7 +121,7 @@ namespace CIAO } // ServerResourcesDef - // + // ::CIAO::Config_Handlers::ORBConfigs const& ServerResourcesDef:: orbConfigs () const { @@ -135,7 +135,7 @@ namespace CIAO } // ServerResourcesDef - // + // bool ServerResourcesDef:: id_p () const { @@ -171,12 +171,12 @@ namespace CIAO // ServerCmdlineOptions - // + // ServerCmdlineOptions:: ServerCmdlineOptions () - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), regulator__ () { } @@ -205,7 +205,7 @@ namespace CIAO // ServerCmdlineOptions - // + // ServerCmdlineOptions::arg_iterator ServerCmdlineOptions:: begin_arg () { @@ -244,12 +244,12 @@ namespace CIAO // ACESvcConf - // + // ACESvcConf:: ACESvcConf () - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), regulator__ () { } @@ -275,7 +275,7 @@ namespace CIAO // ACESvcConf - // + // bool ACESvcConf:: uri_p () const { @@ -305,12 +305,12 @@ namespace CIAO // ORBConfigs - // + // ORBConfigs:: ORBConfigs () - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), regulator__ () { } @@ -344,7 +344,7 @@ namespace CIAO // ORBConfigs - // + // bool ORBConfigs:: resources_p () const { @@ -373,7 +373,7 @@ namespace CIAO } // ORBConfigs - // + // ORBConfigs::policySet_iterator ORBConfigs:: begin_policySet () { @@ -412,12 +412,12 @@ namespace CIAO // ORBResources - // + // ORBResources:: ORBResources () - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), regulator__ () { } @@ -464,7 +464,7 @@ namespace CIAO // ORBResources - // + // ORBResources::threadpool_iterator ORBResources:: begin_threadpool () { @@ -502,7 +502,7 @@ namespace CIAO } // ORBResources - // + // ORBResources::threadpoolWithLanes_iterator ORBResources:: begin_threadpoolWithLanes () { @@ -540,7 +540,7 @@ namespace CIAO } // ORBResources - // + // ORBResources::connectionBands_iterator ORBResources:: begin_connectionBands () { @@ -579,11 +579,11 @@ namespace CIAO // Priority - // + // Priority:: Priority (::XMLSchema::int_ const& b__) - : + : Base__ (b__), regulator__ () { @@ -608,7 +608,7 @@ namespace CIAO // ThreadpoolDef - // + // ThreadpoolDef:: ThreadpoolDef (::XMLSchema::unsignedLong const& stacksize__, @@ -618,8 +618,8 @@ namespace CIAO ::XMLSchema::boolean const& allow_request_buffering__, ::XMLSchema::unsignedLong const& max_buffered_requests__, ::XMLSchema::unsignedLong const& max_request_buffered_size__) - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), stacksize_ (new ::XMLSchema::unsignedLong (stacksize__)), static_threads_ (new ::XMLSchema::unsignedLong (static_threads__)), dynamic_threads_ (new ::XMLSchema::unsignedLong (dynamic_threads__)), @@ -687,7 +687,7 @@ namespace CIAO // ThreadpoolDef - // + // ::XMLSchema::unsignedLong const& ThreadpoolDef:: stacksize () const { @@ -701,7 +701,7 @@ namespace CIAO } // ThreadpoolDef - // + // ::XMLSchema::unsignedLong const& ThreadpoolDef:: static_threads () const { @@ -715,7 +715,7 @@ namespace CIAO } // ThreadpoolDef - // + // ::XMLSchema::unsignedLong const& ThreadpoolDef:: dynamic_threads () const { @@ -729,7 +729,7 @@ namespace CIAO } // ThreadpoolDef - // + // ::CIAO::Config_Handlers::Priority const& ThreadpoolDef:: default_priority () const { @@ -743,7 +743,7 @@ namespace CIAO } // ThreadpoolDef - // + // ::XMLSchema::boolean const& ThreadpoolDef:: allow_request_buffering () const { @@ -757,7 +757,7 @@ namespace CIAO } // ThreadpoolDef - // + // ::XMLSchema::unsignedLong const& ThreadpoolDef:: max_buffered_requests () const { @@ -771,7 +771,7 @@ namespace CIAO } // ThreadpoolDef - // + // ::XMLSchema::unsignedLong const& ThreadpoolDef:: max_request_buffered_size () const { @@ -785,7 +785,7 @@ namespace CIAO } // ThreadpoolDef - // + // bool ThreadpoolDef:: id_p () const { @@ -821,7 +821,7 @@ namespace CIAO // ThreadpoolWithLanesDef - // + // ThreadpoolWithLanesDef:: ThreadpoolWithLanesDef (::XMLSchema::unsignedLong const& stacksize__, @@ -829,8 +829,8 @@ namespace CIAO ::XMLSchema::boolean const& allow_request_buffering__, ::XMLSchema::unsignedLong const& max_buffered_requests__, ::XMLSchema::unsignedLong const& max_request_buffered_size__) - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), stacksize_ (new ::XMLSchema::unsignedLong (stacksize__)), allow_borrowing_ (new ::XMLSchema::boolean (allow_borrowing__)), allow_request_buffering_ (new ::XMLSchema::boolean (allow_request_buffering__)), @@ -895,7 +895,7 @@ namespace CIAO // ThreadpoolWithLanesDef - // + // ThreadpoolWithLanesDef::threadpoolLane_iterator ThreadpoolWithLanesDef:: begin_threadpoolLane () { @@ -933,7 +933,7 @@ namespace CIAO } // ThreadpoolWithLanesDef - // + // ::XMLSchema::unsignedLong const& ThreadpoolWithLanesDef:: stacksize () const { @@ -947,7 +947,7 @@ namespace CIAO } // ThreadpoolWithLanesDef - // + // ::XMLSchema::boolean const& ThreadpoolWithLanesDef:: allow_borrowing () const { @@ -961,7 +961,7 @@ namespace CIAO } // ThreadpoolWithLanesDef - // + // ::XMLSchema::boolean const& ThreadpoolWithLanesDef:: allow_request_buffering () const { @@ -975,7 +975,7 @@ namespace CIAO } // ThreadpoolWithLanesDef - // + // ::XMLSchema::unsignedLong const& ThreadpoolWithLanesDef:: max_buffered_requests () const { @@ -989,7 +989,7 @@ namespace CIAO } // ThreadpoolWithLanesDef - // + // ::XMLSchema::unsignedLong const& ThreadpoolWithLanesDef:: max_request_buffered_size () const { @@ -1003,7 +1003,7 @@ namespace CIAO } // ThreadpoolWithLanesDef - // + // bool ThreadpoolWithLanesDef:: id_p () const { @@ -1039,14 +1039,14 @@ namespace CIAO // ThreadpoolLaneDef - // + // ThreadpoolLaneDef:: ThreadpoolLaneDef (::XMLSchema::unsignedLong const& static_threads__, ::XMLSchema::unsignedLong const& dynamic_threads__, ::CIAO::Config_Handlers::Priority const& priority__) - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), static_threads_ (new ::XMLSchema::unsignedLong (static_threads__)), dynamic_threads_ (new ::XMLSchema::unsignedLong (dynamic_threads__)), priority_ (new ::CIAO::Config_Handlers::Priority (priority__)), @@ -1085,7 +1085,7 @@ namespace CIAO // ThreadpoolLaneDef - // + // ::XMLSchema::unsignedLong const& ThreadpoolLaneDef:: static_threads () const { @@ -1099,7 +1099,7 @@ namespace CIAO } // ThreadpoolLaneDef - // + // ::XMLSchema::unsignedLong const& ThreadpoolLaneDef:: dynamic_threads () const { @@ -1113,7 +1113,7 @@ namespace CIAO } // ThreadpoolLaneDef - // + // ::CIAO::Config_Handlers::Priority const& ThreadpoolLaneDef:: priority () const { @@ -1128,12 +1128,12 @@ namespace CIAO // ConnectionBandsDef - // + // ConnectionBandsDef:: ConnectionBandsDef () - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), regulator__ () { } @@ -1168,7 +1168,7 @@ namespace CIAO // ConnectionBandsDef - // + // ConnectionBandsDef::band_iterator ConnectionBandsDef:: begin_band () { @@ -1206,7 +1206,7 @@ namespace CIAO } // ConnectionBandsDef - // + // bool ConnectionBandsDef:: id_p () const { @@ -1242,13 +1242,13 @@ namespace CIAO // PriorityBandDef - // + // PriorityBandDef:: PriorityBandDef (::XMLSchema::int_ const& low__, ::XMLSchema::int_ const& high__) - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), low_ (new ::XMLSchema::int_ (low__)), high_ (new ::XMLSchema::int_ (high__)), regulator__ () @@ -1281,7 +1281,7 @@ namespace CIAO // PriorityBandDef - // + // ::XMLSchema::int_ const& PriorityBandDef:: low () const { @@ -1295,7 +1295,7 @@ namespace CIAO } // PriorityBandDef - // + // ::XMLSchema::int_ const& PriorityBandDef:: high () const { @@ -1310,12 +1310,12 @@ namespace CIAO // PolicySet - // + // PolicySet:: PolicySet () - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), regulator__ () { } @@ -1368,7 +1368,7 @@ namespace CIAO // PolicySet - // + // PolicySet::priorityModel_iterator PolicySet:: begin_priorityModel () { @@ -1406,7 +1406,7 @@ namespace CIAO } // PolicySet - // + // PolicySet::threadpool_iterator PolicySet:: begin_threadpool () { @@ -1444,7 +1444,7 @@ namespace CIAO } // PolicySet - // + // PolicySet::priorityBandedConnection_iterator PolicySet:: begin_priorityBandedConnection () { @@ -1482,7 +1482,7 @@ namespace CIAO } // PolicySet - // + // bool PolicySet:: id_p () const { @@ -1518,7 +1518,7 @@ namespace CIAO // PriorityModel - // + // PriorityModel::Value PriorityModel:: integral () const @@ -1545,12 +1545,12 @@ namespace CIAO } // PriorityModelPolicyDef - // + // PriorityModelPolicyDef:: PriorityModelPolicyDef (::CIAO::Config_Handlers::PriorityModel const& priority_model__) - : - ::XSCRT::Type (), + : + ::XSCRT::Type (), priority_model_ (new ::CIAO::Config_Handlers::PriorityModel (priority_model__)), regulator__ () { @@ -1582,7 +1582,7 @@ namespace CIAO // PriorityModelPolicyDef - // + // ::CIAO::Config_Handlers::PriorityModel const& PriorityModelPolicyDef:: priority_model () const { @@ -1596,7 +1596,7 @@ namespace CIAO } // PriorityModelPolicyDef - // + // bool PriorityModelPolicyDef:: server_priority_p () const { @@ -1669,7 +1669,7 @@ namespace CIAO orbConfigs_->container (this); } - else + else { } } @@ -1684,7 +1684,7 @@ namespace CIAO id (t); } - else + else { } } @@ -1711,7 +1711,7 @@ namespace CIAO add_arg (t); } - else + else { } } @@ -1738,7 +1738,7 @@ namespace CIAO uri (t); } - else + else { } } @@ -1771,7 +1771,7 @@ namespace CIAO add_policySet (t); } - else + else { } } @@ -1810,7 +1810,7 @@ namespace CIAO add_connectionBands (t); } - else + else { } } @@ -1890,7 +1890,7 @@ namespace CIAO max_request_buffered_size_->container (this); } - else + else { } } @@ -1905,7 +1905,7 @@ namespace CIAO id (t); } - else + else { } } @@ -1962,7 +1962,7 @@ namespace CIAO max_request_buffered_size_->container (this); } - else + else { } } @@ -1977,7 +1977,7 @@ namespace CIAO id (t); } - else + else { } } @@ -2016,7 +2016,7 @@ namespace CIAO priority_->container (this); } - else + else { } } @@ -2043,7 +2043,7 @@ namespace CIAO add_band (t); } - else + else { } } @@ -2058,7 +2058,7 @@ namespace CIAO id (t); } - else + else { } } @@ -2091,7 +2091,7 @@ namespace CIAO high_->container (this); } - else + else { } } @@ -2130,7 +2130,7 @@ namespace CIAO add_priorityBandedConnection (t); } - else + else { } } @@ -2145,7 +2145,7 @@ namespace CIAO id (t); } - else + else { } } @@ -2162,7 +2162,7 @@ namespace CIAO if (v == "SERVER_DECLARED") v_ = SERVER_DECLARED_l; else if (v == "CLIENT_PROPAGATED") v_ = CLIENT_PROPAGATED_l; - else + else { } } @@ -2175,7 +2175,7 @@ namespace CIAO if (v == "SERVER_DECLARED") v_ = SERVER_DECLARED_l; else if (v == "CLIENT_PROPAGATED") v_ = CLIENT_PROPAGATED_l; - else + else { } } @@ -2204,7 +2204,7 @@ namespace CIAO priority_model_->container (this); } - else + else { } } @@ -2219,7 +2219,7 @@ namespace CIAO server_priority (t); } - else + else { } } @@ -4565,6 +4565,7 @@ namespace CIAO void Priority:: traverse (Type const& o) { + ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >::traverse (o); Traversal::Priority::traverse (o); } @@ -4983,7 +4984,7 @@ namespace CIAO if (o == ::CIAO::Config_Handlers::PriorityModel::SERVER_DECLARED) s = "SERVER_DECLARED"; else if (o == ::CIAO::Config_Handlers::PriorityModel::CLIENT_PROPAGATED) s = "CLIENT_PROPAGATED"; - else + else { } @@ -5071,7 +5072,7 @@ namespace CIAO virtual ::CIAO::Config_Handlers::Writer::PolicySet, virtual ::CIAO::Config_Handlers::Writer::PriorityModelPolicyDef, virtual ::CIAO::Config_Handlers::Writer::PriorityModel, - virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, + virtual ::XMLSchema::Writer::IDREF< ACE_TCHAR >, virtual ::XSCRT::Writer< ACE_TCHAR > { W (::XSCRT::XML::Element< ACE_TCHAR >& e) diff --git a/CIAO/tools/Config_Handlers/RT-CCM/CIAOServerResources.hpp b/CIAO/tools/Config_Handlers/RT-CCM/CIAOServerResources.hpp index 7493f703fb9..d08ff32fc10 100644 --- a/CIAO/tools/Config_Handlers/RT-CCM/CIAOServerResources.hpp +++ b/CIAO/tools/Config_Handlers/RT-CCM/CIAOServerResources.hpp @@ -9,17 +9,16 @@ * Will Otte */ - // Fix for Borland compilers, which seem to have a broken // include. #ifdef __BORLANDC__ # include #endif -#include "RT_CCM_Handlers_Export.h" #ifndef CIAOSERVER_RESOURCES_HPP #define CIAOSERVER_RESOURCES_HPP +#include "RT_CCM_Handlers_Export.h" // Forward declarations. // namespace CIAO @@ -57,7 +56,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // cmdline - // + // public: bool cmdline_p () const; ::CIAO::Config_Handlers::ServerCmdlineOptions const& cmdline () const; @@ -67,7 +66,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::ServerCmdlineOptions > cmdline_; // svcconf - // + // public: bool svcconf_p () const; ::CIAO::Config_Handlers::ACESvcConf const& svcconf () const; @@ -77,7 +76,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::ACESvcConf > svcconf_; // orbConfigs - // + // public: ::CIAO::Config_Handlers::ORBConfigs const& orbConfigs () const; void orbConfigs (::CIAO::Config_Handlers::ORBConfigs const& ); @@ -86,7 +85,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::ORBConfigs > orbConfigs_; // id - // + // public: bool id_p () const; ::XMLSchema::ID< ACE_TCHAR > const& id () const; @@ -116,7 +115,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // arg - // + // public: typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator arg_iterator; typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator arg_const_iterator; @@ -150,7 +149,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // uri - // + // public: bool uri_p () const; ::XMLSchema::string< ACE_TCHAR > const& uri () const; @@ -179,7 +178,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // resources - // + // public: bool resources_p () const; ::CIAO::Config_Handlers::ORBResources const& resources () const; @@ -189,7 +188,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::ORBResources > resources_; // policySet - // + // public: typedef ::std::list< ::CIAO::Config_Handlers::PolicySet >::iterator policySet_iterator; typedef ::std::list< ::CIAO::Config_Handlers::PolicySet >::const_iterator policySet_const_iterator; @@ -223,7 +222,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // threadpool - // + // public: typedef ::std::list< ::CIAO::Config_Handlers::ThreadpoolDef >::iterator threadpool_iterator; typedef ::std::list< ::CIAO::Config_Handlers::ThreadpoolDef >::const_iterator threadpool_const_iterator; @@ -238,7 +237,7 @@ namespace CIAO ::std::list< ::CIAO::Config_Handlers::ThreadpoolDef > threadpool_; // threadpoolWithLanes - // + // public: typedef ::std::list< ::CIAO::Config_Handlers::ThreadpoolWithLanesDef >::iterator threadpoolWithLanes_iterator; typedef ::std::list< ::CIAO::Config_Handlers::ThreadpoolWithLanesDef >::const_iterator threadpoolWithLanes_const_iterator; @@ -253,7 +252,7 @@ namespace CIAO ::std::list< ::CIAO::Config_Handlers::ThreadpoolWithLanesDef > threadpoolWithLanes_; // connectionBands - // + // public: typedef ::std::list< ::CIAO::Config_Handlers::ConnectionBandsDef >::iterator connectionBands_iterator; typedef ::std::list< ::CIAO::Config_Handlers::ConnectionBandsDef >::const_iterator connectionBands_const_iterator; @@ -306,7 +305,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // stacksize - // + // public: ::XMLSchema::unsignedLong const& stacksize () const; void stacksize (::XMLSchema::unsignedLong const& ); @@ -315,7 +314,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedLong > stacksize_; // static_threads - // + // public: ::XMLSchema::unsignedLong const& static_threads () const; void static_threads (::XMLSchema::unsignedLong const& ); @@ -324,7 +323,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedLong > static_threads_; // dynamic_threads - // + // public: ::XMLSchema::unsignedLong const& dynamic_threads () const; void dynamic_threads (::XMLSchema::unsignedLong const& ); @@ -333,7 +332,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedLong > dynamic_threads_; // default_priority - // + // public: ::CIAO::Config_Handlers::Priority const& default_priority () const; void default_priority (::CIAO::Config_Handlers::Priority const& ); @@ -342,7 +341,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::Priority > default_priority_; // allow_request_buffering - // + // public: ::XMLSchema::boolean const& allow_request_buffering () const; void allow_request_buffering (::XMLSchema::boolean const& ); @@ -351,7 +350,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::boolean > allow_request_buffering_; // max_buffered_requests - // + // public: ::XMLSchema::unsignedLong const& max_buffered_requests () const; void max_buffered_requests (::XMLSchema::unsignedLong const& ); @@ -360,7 +359,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedLong > max_buffered_requests_; // max_request_buffered_size - // + // public: ::XMLSchema::unsignedLong const& max_request_buffered_size () const; void max_request_buffered_size (::XMLSchema::unsignedLong const& ); @@ -369,7 +368,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedLong > max_request_buffered_size_; // id - // + // public: bool id_p () const; ::XMLSchema::ID< ACE_TCHAR > const& id () const; @@ -405,7 +404,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // threadpoolLane - // + // public: typedef ::std::list< ::CIAO::Config_Handlers::ThreadpoolLaneDef >::iterator threadpoolLane_iterator; typedef ::std::list< ::CIAO::Config_Handlers::ThreadpoolLaneDef >::const_iterator threadpoolLane_const_iterator; @@ -420,7 +419,7 @@ namespace CIAO ::std::list< ::CIAO::Config_Handlers::ThreadpoolLaneDef > threadpoolLane_; // stacksize - // + // public: ::XMLSchema::unsignedLong const& stacksize () const; void stacksize (::XMLSchema::unsignedLong const& ); @@ -429,7 +428,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedLong > stacksize_; // allow_borrowing - // + // public: ::XMLSchema::boolean const& allow_borrowing () const; void allow_borrowing (::XMLSchema::boolean const& ); @@ -438,7 +437,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::boolean > allow_borrowing_; // allow_request_buffering - // + // public: ::XMLSchema::boolean const& allow_request_buffering () const; void allow_request_buffering (::XMLSchema::boolean const& ); @@ -447,7 +446,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::boolean > allow_request_buffering_; // max_buffered_requests - // + // public: ::XMLSchema::unsignedLong const& max_buffered_requests () const; void max_buffered_requests (::XMLSchema::unsignedLong const& ); @@ -456,7 +455,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedLong > max_buffered_requests_; // max_request_buffered_size - // + // public: ::XMLSchema::unsignedLong const& max_request_buffered_size () const; void max_request_buffered_size (::XMLSchema::unsignedLong const& ); @@ -465,7 +464,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedLong > max_request_buffered_size_; // id - // + // public: bool id_p () const; ::XMLSchema::ID< ACE_TCHAR > const& id () const; @@ -499,7 +498,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // static_threads - // + // public: ::XMLSchema::unsignedLong const& static_threads () const; void static_threads (::XMLSchema::unsignedLong const& ); @@ -508,7 +507,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedLong > static_threads_; // dynamic_threads - // + // public: ::XMLSchema::unsignedLong const& dynamic_threads () const; void dynamic_threads (::XMLSchema::unsignedLong const& ); @@ -517,7 +516,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedLong > dynamic_threads_; // priority - // + // public: ::CIAO::Config_Handlers::Priority const& priority () const; void priority (::CIAO::Config_Handlers::Priority const& ); @@ -547,7 +546,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // band - // + // public: typedef ::std::list< ::CIAO::Config_Handlers::PriorityBandDef >::iterator band_iterator; typedef ::std::list< ::CIAO::Config_Handlers::PriorityBandDef >::const_iterator band_const_iterator; @@ -562,7 +561,7 @@ namespace CIAO ::std::list< ::CIAO::Config_Handlers::PriorityBandDef > band_; // id - // + // public: bool id_p () const; ::XMLSchema::ID< ACE_TCHAR > const& id () const; @@ -592,7 +591,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // low - // + // public: ::XMLSchema::int_ const& low () const; void low (::XMLSchema::int_ const& ); @@ -601,7 +600,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::int_ > low_; // high - // + // public: ::XMLSchema::int_ const& high () const; void high (::XMLSchema::int_ const& ); @@ -630,7 +629,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // priorityModel - // + // public: typedef ::std::list< ::CIAO::Config_Handlers::PriorityModelPolicyDef >::iterator priorityModel_iterator; typedef ::std::list< ::CIAO::Config_Handlers::PriorityModelPolicyDef >::const_iterator priorityModel_const_iterator; @@ -645,7 +644,7 @@ namespace CIAO ::std::list< ::CIAO::Config_Handlers::PriorityModelPolicyDef > priorityModel_; // threadpool - // + // public: typedef ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > >::iterator threadpool_iterator; typedef ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > >::const_iterator threadpool_const_iterator; @@ -660,7 +659,7 @@ namespace CIAO ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > > threadpool_; // priorityBandedConnection - // + // public: typedef ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > >::iterator priorityBandedConnection_iterator; typedef ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > >::const_iterator priorityBandedConnection_const_iterator; @@ -675,7 +674,7 @@ namespace CIAO ::std::list< ::XMLSchema::IDREF< ACE_TCHAR > > priorityBandedConnection_; // id - // + // public: bool id_p () const; ::XMLSchema::ID< ACE_TCHAR > const& id () const; @@ -710,17 +709,17 @@ namespace CIAO enum Value { - SERVER_DECLARED_l,CLIENT_PROPAGATED_l + SERVER_DECLARED_l,CLIENT_PROPAGATED_l, }; Value integral () const; - friend bool RT_CCM_Handlers_Export + friend bool RT_CCM_Handlers_Export operator== (PriorityModel const& a, PriorityModel const& b); - friend bool RT_CCM_Handlers_Export + friend bool RT_CCM_Handlers_Export operator!= (PriorityModel const& a, PriorityModel const& b); private: @@ -740,7 +739,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // priority_model - // + // public: ::CIAO::Config_Handlers::PriorityModel const& priority_model () const; void priority_model (::CIAO::Config_Handlers::PriorityModel const& ); @@ -749,7 +748,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::PriorityModel > priority_model_; // server_priority - // + // public: bool server_priority_p () const; ::CIAO::Config_Handlers::Priority const& server_priority () const; @@ -1590,13 +1589,13 @@ namespace CIAO { namespace Writer { - struct ServerResourcesDef : Traversal::ServerResourcesDef, + struct ServerResourcesDef : Traversal::ServerResourcesDef, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::ServerResourcesDef Type; ServerResourcesDef (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -1607,7 +1606,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void cmdline (Type &o) { @@ -1618,7 +1617,7 @@ namespace CIAO virtual void cmdline (Type const&); - virtual void + virtual void svcconf (Type &o) { @@ -1629,7 +1628,7 @@ namespace CIAO virtual void svcconf (Type const&); - virtual void + virtual void orbConfigs (Type &o) { @@ -1640,7 +1639,7 @@ namespace CIAO virtual void orbConfigs (Type const&); - virtual void + virtual void id (Type &o) { @@ -1655,13 +1654,13 @@ namespace CIAO ServerResourcesDef (); }; - struct ServerCmdlineOptions : Traversal::ServerCmdlineOptions, + struct ServerCmdlineOptions : Traversal::ServerCmdlineOptions, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::ServerCmdlineOptions Type; ServerCmdlineOptions (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -1672,7 +1671,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void arg_pre (Type &o) { @@ -1683,7 +1682,7 @@ namespace CIAO virtual void arg_pre (Type const&); - virtual void + virtual void arg_next (Type &o) { @@ -1694,7 +1693,7 @@ namespace CIAO virtual void arg_next (Type const&); - virtual void + virtual void arg_post (Type &o) { @@ -1709,13 +1708,13 @@ namespace CIAO ServerCmdlineOptions (); }; - struct ACESvcConf : Traversal::ACESvcConf, + struct ACESvcConf : Traversal::ACESvcConf, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::ACESvcConf Type; ACESvcConf (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -1726,7 +1725,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void uri (Type &o) { @@ -1741,13 +1740,13 @@ namespace CIAO ACESvcConf (); }; - struct ORBConfigs : Traversal::ORBConfigs, + struct ORBConfigs : Traversal::ORBConfigs, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::ORBConfigs Type; ORBConfigs (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -1758,7 +1757,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void resources (Type &o) { @@ -1769,7 +1768,7 @@ namespace CIAO virtual void resources (Type const&); - virtual void + virtual void policySet_pre (Type &o) { @@ -1780,7 +1779,7 @@ namespace CIAO virtual void policySet_pre (Type const&); - virtual void + virtual void policySet_next (Type &o) { @@ -1791,7 +1790,7 @@ namespace CIAO virtual void policySet_next (Type const&); - virtual void + virtual void policySet_post (Type &o) { @@ -1806,13 +1805,13 @@ namespace CIAO ORBConfigs (); }; - struct ORBResources : Traversal::ORBResources, + struct ORBResources : Traversal::ORBResources, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::ORBResources Type; ORBResources (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -1823,7 +1822,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void threadpool_pre (Type &o) { @@ -1834,7 +1833,7 @@ namespace CIAO virtual void threadpool_pre (Type const&); - virtual void + virtual void threadpool_next (Type &o) { @@ -1845,7 +1844,7 @@ namespace CIAO virtual void threadpool_next (Type const&); - virtual void + virtual void threadpool_post (Type &o) { @@ -1856,7 +1855,7 @@ namespace CIAO virtual void threadpool_post (Type const&); - virtual void + virtual void threadpoolWithLanes_pre (Type &o) { @@ -1867,7 +1866,7 @@ namespace CIAO virtual void threadpoolWithLanes_pre (Type const&); - virtual void + virtual void threadpoolWithLanes_next (Type &o) { @@ -1878,7 +1877,7 @@ namespace CIAO virtual void threadpoolWithLanes_next (Type const&); - virtual void + virtual void threadpoolWithLanes_post (Type &o) { @@ -1889,7 +1888,7 @@ namespace CIAO virtual void threadpoolWithLanes_post (Type const&); - virtual void + virtual void connectionBands_pre (Type &o) { @@ -1900,7 +1899,7 @@ namespace CIAO virtual void connectionBands_pre (Type const&); - virtual void + virtual void connectionBands_next (Type &o) { @@ -1911,7 +1910,7 @@ namespace CIAO virtual void connectionBands_next (Type const&); - virtual void + virtual void connectionBands_post (Type &o) { @@ -1926,13 +1925,14 @@ namespace CIAO ORBResources (); }; - struct Priority : Traversal::Priority, + struct Priority : Traversal::Priority, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, ACE_TCHAR >, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::Priority Type; Priority (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -1947,13 +1947,13 @@ namespace CIAO Priority (); }; - struct ThreadpoolDef : Traversal::ThreadpoolDef, + struct ThreadpoolDef : Traversal::ThreadpoolDef, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::ThreadpoolDef Type; ThreadpoolDef (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -1964,7 +1964,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void stacksize (Type &o) { @@ -1975,7 +1975,7 @@ namespace CIAO virtual void stacksize (Type const&); - virtual void + virtual void static_threads (Type &o) { @@ -1986,7 +1986,7 @@ namespace CIAO virtual void static_threads (Type const&); - virtual void + virtual void dynamic_threads (Type &o) { @@ -1997,7 +1997,7 @@ namespace CIAO virtual void dynamic_threads (Type const&); - virtual void + virtual void default_priority (Type &o) { @@ -2008,7 +2008,7 @@ namespace CIAO virtual void default_priority (Type const&); - virtual void + virtual void allow_request_buffering (Type &o) { @@ -2019,7 +2019,7 @@ namespace CIAO virtual void allow_request_buffering (Type const&); - virtual void + virtual void max_buffered_requests (Type &o) { @@ -2030,7 +2030,7 @@ namespace CIAO virtual void max_buffered_requests (Type const&); - virtual void + virtual void max_request_buffered_size (Type &o) { @@ -2041,7 +2041,7 @@ namespace CIAO virtual void max_request_buffered_size (Type const&); - virtual void + virtual void id (Type &o) { @@ -2056,13 +2056,13 @@ namespace CIAO ThreadpoolDef (); }; - struct ThreadpoolWithLanesDef : Traversal::ThreadpoolWithLanesDef, + struct ThreadpoolWithLanesDef : Traversal::ThreadpoolWithLanesDef, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::ThreadpoolWithLanesDef Type; ThreadpoolWithLanesDef (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -2073,7 +2073,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void threadpoolLane_pre (Type &o) { @@ -2084,7 +2084,7 @@ namespace CIAO virtual void threadpoolLane_pre (Type const&); - virtual void + virtual void threadpoolLane_next (Type &o) { @@ -2095,7 +2095,7 @@ namespace CIAO virtual void threadpoolLane_next (Type const&); - virtual void + virtual void threadpoolLane_post (Type &o) { @@ -2106,7 +2106,7 @@ namespace CIAO virtual void threadpoolLane_post (Type const&); - virtual void + virtual void stacksize (Type &o) { @@ -2117,7 +2117,7 @@ namespace CIAO virtual void stacksize (Type const&); - virtual void + virtual void allow_borrowing (Type &o) { @@ -2128,7 +2128,7 @@ namespace CIAO virtual void allow_borrowing (Type const&); - virtual void + virtual void allow_request_buffering (Type &o) { @@ -2139,7 +2139,7 @@ namespace CIAO virtual void allow_request_buffering (Type const&); - virtual void + virtual void max_buffered_requests (Type &o) { @@ -2150,7 +2150,7 @@ namespace CIAO virtual void max_buffered_requests (Type const&); - virtual void + virtual void max_request_buffered_size (Type &o) { @@ -2161,7 +2161,7 @@ namespace CIAO virtual void max_request_buffered_size (Type const&); - virtual void + virtual void id (Type &o) { @@ -2176,13 +2176,13 @@ namespace CIAO ThreadpoolWithLanesDef (); }; - struct ThreadpoolLaneDef : Traversal::ThreadpoolLaneDef, + struct ThreadpoolLaneDef : Traversal::ThreadpoolLaneDef, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::ThreadpoolLaneDef Type; ThreadpoolLaneDef (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -2193,7 +2193,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void static_threads (Type &o) { @@ -2204,7 +2204,7 @@ namespace CIAO virtual void static_threads (Type const&); - virtual void + virtual void dynamic_threads (Type &o) { @@ -2215,7 +2215,7 @@ namespace CIAO virtual void dynamic_threads (Type const&); - virtual void + virtual void priority (Type &o) { @@ -2230,13 +2230,13 @@ namespace CIAO ThreadpoolLaneDef (); }; - struct ConnectionBandsDef : Traversal::ConnectionBandsDef, + struct ConnectionBandsDef : Traversal::ConnectionBandsDef, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::ConnectionBandsDef Type; ConnectionBandsDef (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -2247,7 +2247,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void band_pre (Type &o) { @@ -2258,7 +2258,7 @@ namespace CIAO virtual void band_pre (Type const&); - virtual void + virtual void band_next (Type &o) { @@ -2269,7 +2269,7 @@ namespace CIAO virtual void band_next (Type const&); - virtual void + virtual void band_post (Type &o) { @@ -2280,7 +2280,7 @@ namespace CIAO virtual void band_post (Type const&); - virtual void + virtual void id (Type &o) { @@ -2295,13 +2295,13 @@ namespace CIAO ConnectionBandsDef (); }; - struct PriorityBandDef : Traversal::PriorityBandDef, + struct PriorityBandDef : Traversal::PriorityBandDef, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::PriorityBandDef Type; PriorityBandDef (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -2312,7 +2312,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void low (Type &o) { @@ -2323,7 +2323,7 @@ namespace CIAO virtual void low (Type const&); - virtual void + virtual void high (Type &o) { @@ -2338,13 +2338,13 @@ namespace CIAO PriorityBandDef (); }; - struct PolicySet : Traversal::PolicySet, + struct PolicySet : Traversal::PolicySet, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::PolicySet Type; PolicySet (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -2355,7 +2355,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void priorityModel_pre (Type &o) { @@ -2366,7 +2366,7 @@ namespace CIAO virtual void priorityModel_pre (Type const&); - virtual void + virtual void priorityModel_next (Type &o) { @@ -2377,7 +2377,7 @@ namespace CIAO virtual void priorityModel_next (Type const&); - virtual void + virtual void priorityModel_post (Type &o) { @@ -2388,7 +2388,7 @@ namespace CIAO virtual void priorityModel_post (Type const&); - virtual void + virtual void threadpool_pre (Type &o) { @@ -2399,7 +2399,7 @@ namespace CIAO virtual void threadpool_pre (Type const&); - virtual void + virtual void threadpool_next (Type &o) { @@ -2410,7 +2410,7 @@ namespace CIAO virtual void threadpool_next (Type const&); - virtual void + virtual void threadpool_post (Type &o) { @@ -2421,7 +2421,7 @@ namespace CIAO virtual void threadpool_post (Type const&); - virtual void + virtual void priorityBandedConnection_pre (Type &o) { @@ -2432,7 +2432,7 @@ namespace CIAO virtual void priorityBandedConnection_pre (Type const&); - virtual void + virtual void priorityBandedConnection_next (Type &o) { @@ -2443,7 +2443,7 @@ namespace CIAO virtual void priorityBandedConnection_next (Type const&); - virtual void + virtual void priorityBandedConnection_post (Type &o) { @@ -2454,7 +2454,7 @@ namespace CIAO virtual void priorityBandedConnection_post (Type const&); - virtual void + virtual void id (Type &o) { @@ -2469,12 +2469,12 @@ namespace CIAO PolicySet (); }; - struct PriorityModel : Traversal::PriorityModel, + struct PriorityModel : Traversal::PriorityModel, virtual ::XSCRT::Writer< ACE_TCHAR > { PriorityModel (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { this->traverse (const_cast (o)); @@ -2487,13 +2487,13 @@ namespace CIAO PriorityModel (); }; - struct PriorityModelPolicyDef : Traversal::PriorityModelPolicyDef, + struct PriorityModelPolicyDef : Traversal::PriorityModelPolicyDef, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::Config_Handlers::PriorityModelPolicyDef Type; PriorityModelPolicyDef (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void + virtual void traverse (Type &o) { @@ -2504,7 +2504,7 @@ namespace CIAO virtual void traverse (Type const&); - virtual void + virtual void priority_model (Type &o) { @@ -2515,7 +2515,7 @@ namespace CIAO virtual void priority_model (Type const&); - virtual void + virtual void server_priority (Type &o) { diff --git a/CIAO/tools/Config_Handlers/RT-CCM/CLA_Handler.h b/CIAO/tools/Config_Handlers/RT-CCM/CLA_Handler.h index 1c3469e617e..e8676b54772 100644 --- a/CIAO/tools/Config_Handlers/RT-CCM/CLA_Handler.h +++ b/CIAO/tools/Config_Handlers/RT-CCM/CLA_Handler.h @@ -14,7 +14,7 @@ #include /**/ "ace/pre.h" #include "RT_CCM_Handlers_Export.h" -#include "ciao/CIAO_ServerResourcesC.h" +#include "DAnCE/Deployment/CIAO_ServerResourcesC.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once diff --git a/CIAO/tools/Config_Handlers/RT-CCM/OC_Handler.h b/CIAO/tools/Config_Handlers/RT-CCM/OC_Handler.h index 8aa7db84e77..abcd2c0a3c5 100644 --- a/CIAO/tools/Config_Handlers/RT-CCM/OC_Handler.h +++ b/CIAO/tools/Config_Handlers/RT-CCM/OC_Handler.h @@ -15,7 +15,7 @@ #include /**/ "ace/pre.h" #include "RT_CCM_Handlers_Export.h" -#include "ciao/CIAO_ServerResourcesC.h" +#include "DAnCE/Deployment/CIAO_ServerResourcesC.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once diff --git a/CIAO/tools/Config_Handlers/RT-CCM/OR_Handler.h b/CIAO/tools/Config_Handlers/RT-CCM/OR_Handler.h index 2790e149320..5209aea7da4 100644 --- a/CIAO/tools/Config_Handlers/RT-CCM/OR_Handler.h +++ b/CIAO/tools/Config_Handlers/RT-CCM/OR_Handler.h @@ -14,7 +14,7 @@ #include /**/ "ace/pre.h" -#include "ciao/CIAO_ServerResourcesC.h" +#include "DAnCE/Deployment/CIAO_ServerResourcesC.h" #include "RT_CCM_Handlers_Export.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) diff --git a/CIAO/tools/Config_Handlers/RT-CCM/PM_Handler.h b/CIAO/tools/Config_Handlers/RT-CCM/PM_Handler.h index 6c35612536c..2063eec449a 100644 --- a/CIAO/tools/Config_Handlers/RT-CCM/PM_Handler.h +++ b/CIAO/tools/Config_Handlers/RT-CCM/PM_Handler.h @@ -12,7 +12,7 @@ #include /**/ "ace/pre.h" #include "RT_CCM_Handlers_Export.h" -#include "ciao/CIAO_ServerResourcesC.h" +#include "DAnCE/Deployment/CIAO_ServerResourcesC.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once diff --git a/CIAO/tools/Config_Handlers/RT-CCM/PS_Handler.h b/CIAO/tools/Config_Handlers/RT-CCM/PS_Handler.h index 5bd9b9237c2..5c3cb4ae996 100644 --- a/CIAO/tools/Config_Handlers/RT-CCM/PS_Handler.h +++ b/CIAO/tools/Config_Handlers/RT-CCM/PS_Handler.h @@ -12,7 +12,7 @@ #include /**/ "ace/pre.h" #include "RT_CCM_Handlers_Export.h" -#include "ciao/CIAO_ServerResourcesC.h" +#include "DAnCE/Deployment/CIAO_ServerResourcesC.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once diff --git a/CIAO/tools/Config_Handlers/RT-CCM/RT-CCM-Handlers.mpc b/CIAO/tools/Config_Handlers/RT-CCM/RT-CCM-Handlers.mpc index a280f95f60b..5061a0b9ea6 100644 --- a/CIAO/tools/Config_Handlers/RT-CCM/RT-CCM-Handlers.mpc +++ b/CIAO/tools/Config_Handlers/RT-CCM/RT-CCM-Handlers.mpc @@ -1,5 +1,23 @@ //$Id$ +project (RT_CCM_XML_Generation) : xscdefaults { + requires += xsc + + xscflags += --cxx-banner-file $(CIAO_ROOT)/docs/schema/xsc-banner.cpp + xscflags += --cxx-header-banner-file $(CIAO_ROOT)/docs/schema/xsc-banner.h + xscflags += --cxx-export-symbol RT_CCM_Handlers_Export + xscflags += --cxx-namespace-regex "%.*vanderbilt.*%CIAO/Config_Handlers%" + xscflags += --cxx-export-header RT_CCM_Handlers_Export.h + xscflags += --search-path "$(CIAO_ROOT)/docs/schema" + + custom_only = 1 + + XSC_Files { + gendir = . + $(CIAO_ROOT)/docs/schema/CIAOServerResources.xsd + } +} + project (RT_CCM_Config_Handlers) : acelib, ciao_deployment_stub, ciao_xml_utils { sharedname = RT_CCM_Config_Handlers dynamicflags = RT_CCM_HANDLERS_BUILD_DLL @@ -7,6 +25,8 @@ project (RT_CCM_Config_Handlers) : acelib, ciao_deployment_stub, ciao_xml_utils includes += $(CIAO_ROOT)/tools/Config_Handlers includes += $(CIAO_ROOT)/ciao + after += RT_CCM_XML_Generation + Source_Files { CIAOServerResources.cpp CLA_Handler.cpp diff --git a/CIAO/tools/Config_Handlers/RT-CCM/SRD_Handler.h b/CIAO/tools/Config_Handlers/RT-CCM/SRD_Handler.h index 3a5ad3128ed..e0347fcbb8a 100644 --- a/CIAO/tools/Config_Handlers/RT-CCM/SRD_Handler.h +++ b/CIAO/tools/Config_Handlers/RT-CCM/SRD_Handler.h @@ -14,7 +14,7 @@ #include /**/ "ace/pre.h" #include "RT_CCM_Handlers_Export.h" -#include "ciao/CIAO_ServerResourcesC.h" +#include "DAnCE/Deployment/CIAO_ServerResourcesC.h" #include "ace/Auto_Ptr.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) diff --git a/CIAO/tools/Config_Handlers/RT-CCM/TPL_Handler.h b/CIAO/tools/Config_Handlers/RT-CCM/TPL_Handler.h index 9a129302c05..dab5646e32b 100644 --- a/CIAO/tools/Config_Handlers/RT-CCM/TPL_Handler.h +++ b/CIAO/tools/Config_Handlers/RT-CCM/TPL_Handler.h @@ -14,7 +14,7 @@ #include /**/ "ace/pre.h" -#include "ciao/CIAO_ServerResourcesC.h" +#include "DAnCE/Deployment/CIAO_ServerResourcesC.h" #include "RT_CCM_Handlers_Export.h" diff --git a/CIAO/tools/Config_Handlers/RT-CCM/TP_Handler.h b/CIAO/tools/Config_Handlers/RT-CCM/TP_Handler.h index f0e27e2cef5..34172995405 100644 --- a/CIAO/tools/Config_Handlers/RT-CCM/TP_Handler.h +++ b/CIAO/tools/Config_Handlers/RT-CCM/TP_Handler.h @@ -14,7 +14,7 @@ #include /**/ "ace/pre.h" #include "RT_CCM_Handlers_Export.h" -#include "ciao/CIAO_ServerResourcesC.h" +#include "DAnCE/Deployment/CIAO_ServerResourcesC.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once diff --git a/CIAO/tools/Config_Handlers/Req_Handler.cpp b/CIAO/tools/Config_Handlers/Req_Handler.cpp index c20d5e428f2..76d0d5b7791 100644 --- a/CIAO/tools/Config_Handlers/Req_Handler.cpp +++ b/CIAO/tools/Config_Handlers/Req_Handler.cpp @@ -2,7 +2,7 @@ #include "Req_Handler.h" #include "Property_Handler.h" -#include "ciao/DeploymentC.h" +#include "DAnCE/Deployment/DeploymentC.h" #include "ciao/CIAO_common.h" namespace CIAO { diff --git a/CIAO/tools/Config_Handlers/STD_CID_Handler.cpp b/CIAO/tools/Config_Handlers/STD_CID_Handler.cpp index 4eeb7377b29..607c964d700 100644 --- a/CIAO/tools/Config_Handlers/STD_CID_Handler.cpp +++ b/CIAO/tools/Config_Handlers/STD_CID_Handler.cpp @@ -3,7 +3,7 @@ #include "STD_CPD_Handler.h" #include "STD_IAD_Handler.h" #include "Basic_Deployment_Data.hpp" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "Utils/XML_Helper.h" #include "Deployment.hpp" #include "Property_Handler.h" diff --git a/CIAO/tools/Config_Handlers/STD_CID_Handler.h b/CIAO/tools/Config_Handlers/STD_CID_Handler.h index c8fb2954a6f..475c1c1b471 100644 --- a/CIAO/tools/Config_Handlers/STD_CID_Handler.h +++ b/CIAO/tools/Config_Handlers/STD_CID_Handler.h @@ -16,7 +16,7 @@ #include "Utils/XML_Helper.h" #include "IDREF_Base.h" #include "Config_Handlers_Export.h" -#include "ciao/DeploymentC.h" +#include "DAnCE/Deployment/DeploymentC.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once diff --git a/CIAO/tools/Config_Handlers/STD_CPD_Handler.cpp b/CIAO/tools/Config_Handlers/STD_CPD_Handler.cpp index d79a4ea5d39..1ad0d109fa5 100644 --- a/CIAO/tools/Config_Handlers/STD_CPD_Handler.cpp +++ b/CIAO/tools/Config_Handlers/STD_CPD_Handler.cpp @@ -2,7 +2,7 @@ #include "STD_CPD_Handler.h" #include "STD_CID_Handler.h" #include "Basic_Deployment_Data.hpp" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "Deployment.hpp" namespace CIAO diff --git a/CIAO/tools/Config_Handlers/SatisfierProperty_Handler.cpp b/CIAO/tools/Config_Handlers/SatisfierProperty_Handler.cpp index 31f4d937a49..d01f0d7f6f4 100644 --- a/CIAO/tools/Config_Handlers/SatisfierProperty_Handler.cpp +++ b/CIAO/tools/Config_Handlers/SatisfierProperty_Handler.cpp @@ -3,7 +3,7 @@ #include "SatisfierProperty_Handler.h" #include "Any_Handler.h" #include "Basic_Deployment_Data.hpp" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "ciao/CIAO_common.h" #include "Utils/Exceptions.h" namespace CIAO diff --git a/CIAO/tools/Config_Handlers/XML_File_Intf.cpp b/CIAO/tools/Config_Handlers/XML_File_Intf.cpp index d7d55058b25..53e8ac1e801 100644 --- a/CIAO/tools/Config_Handlers/XML_File_Intf.cpp +++ b/CIAO/tools/Config_Handlers/XML_File_Intf.cpp @@ -4,7 +4,7 @@ #include "Utils/XML_Helper.h" #include "Deployment.hpp" #include "DP_Handler.h" -#include "ciao/Deployment_DataC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" #include "ciao/CIAO_common.h" diff --git a/CIAO/tools/Config_Handlers/ccd.cpp b/CIAO/tools/Config_Handlers/ccd.cpp index 66743f01e2e..3c561e8f1af 100644 --- a/CIAO/tools/Config_Handlers/ccd.cpp +++ b/CIAO/tools/Config_Handlers/ccd.cpp @@ -3,12 +3,12 @@ * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte */ - + #include "ccd.hpp" namespace CIAO @@ -16,26 +16,26 @@ namespace CIAO namespace Config_Handlers { // ComponentInterfaceDescription - // + // ComponentInterfaceDescription:: ComponentInterfaceDescription () - : - ::XSCRT::Type (), - regulator__ () + : + ::XSCRT::Type (), + regulator__ () { } ComponentInterfaceDescription:: ComponentInterfaceDescription (::CIAO::Config_Handlers::ComponentInterfaceDescription const& s) - : - ::XSCRT::Type (), - label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), - UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), - specificType_ (s.specificType_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.specificType_) : 0), - contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0), - href_ (s.href_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.href_) : 0), - regulator__ () + : + ::XSCRT::Type (), + label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), + UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), + specificType_ (s.specificType_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.specificType_) : 0), + contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0), + href_ (s.href_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.href_) : 0), + regulator__ () { if (label_.get ()) label_->container (this); if (UUID_.get ()) UUID_->container (this); @@ -121,7 +121,7 @@ namespace CIAO // ComponentInterfaceDescription - // + // bool ComponentInterfaceDescription:: label_p () const { @@ -138,19 +138,19 @@ namespace CIAO label (::XMLSchema::string< ACE_TCHAR > const& e) { if (label_.get ()) - { - *label_ = e; - } + { + *label_ = e; + } else - { - label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - label_->container (this); - } + { + label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + label_->container (this); + } } // ComponentInterfaceDescription - // + // bool ComponentInterfaceDescription:: UUID_p () const { @@ -167,19 +167,19 @@ namespace CIAO UUID (::XMLSchema::string< ACE_TCHAR > const& e) { if (UUID_.get ()) - { - *UUID_ = e; - } + { + *UUID_ = e; + } else - { - UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - UUID_->container (this); - } + { + UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + UUID_->container (this); + } } // ComponentInterfaceDescription - // + // bool ComponentInterfaceDescription:: specificType_p () const { @@ -196,19 +196,19 @@ namespace CIAO specificType (::XMLSchema::string< ACE_TCHAR > const& e) { if (specificType_.get ()) - { - *specificType_ = e; - } + { + *specificType_ = e; + } else - { - specificType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - specificType_->container (this); - } + { + specificType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + specificType_->container (this); + } } // ComponentInterfaceDescription - // + // ComponentInterfaceDescription::supportedType_iterator ComponentInterfaceDescription:: begin_supportedType () { @@ -246,7 +246,7 @@ namespace CIAO } // ComponentInterfaceDescription - // + // ComponentInterfaceDescription::idlFile_iterator ComponentInterfaceDescription:: begin_idlFile () { @@ -284,7 +284,7 @@ namespace CIAO } // ComponentInterfaceDescription - // + // ComponentInterfaceDescription::configProperty_iterator ComponentInterfaceDescription:: begin_configProperty () { @@ -322,7 +322,7 @@ namespace CIAO } // ComponentInterfaceDescription - // + // ComponentInterfaceDescription::port_iterator ComponentInterfaceDescription:: begin_port () { @@ -360,7 +360,7 @@ namespace CIAO } // ComponentInterfaceDescription - // + // ComponentInterfaceDescription::property_iterator ComponentInterfaceDescription:: begin_property () { @@ -398,7 +398,7 @@ namespace CIAO } // ComponentInterfaceDescription - // + // ComponentInterfaceDescription::infoProperty_iterator ComponentInterfaceDescription:: begin_infoProperty () { @@ -436,7 +436,7 @@ namespace CIAO } // ComponentInterfaceDescription - // + // bool ComponentInterfaceDescription:: contentLocation_p () const { @@ -453,19 +453,19 @@ namespace CIAO contentLocation (::XMLSchema::string< ACE_TCHAR > const& e) { if (contentLocation_.get ()) - { - *contentLocation_ = e; - } + { + *contentLocation_ = e; + } else - { - contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - contentLocation_->container (this); - } + { + contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + contentLocation_->container (this); + } } // ComponentInterfaceDescription - // + // bool ComponentInterfaceDescription:: href_p () const { @@ -488,15 +488,15 @@ namespace CIAO href (::XMLSchema::string< ACE_TCHAR > const& e) { if (href_.get ()) - { - *href_ = e; - } + { + *href_ = e; + } else - { - href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - href_->container (this); - } + { + href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + href_->container (this); + } } } } @@ -510,95 +510,95 @@ namespace CIAO ComponentInterfaceDescription:: ComponentInterfaceDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () + :Base__ (e), regulator__ () { ::XSCRT::Parser< ACE_TCHAR > p (e); while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "label") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + label (t); + } + + else if (n == "UUID") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + UUID (t); + } + + else if (n == "specificType") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + specificType (t); + } + + else if (n == "supportedType") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + add_supportedType (t); + } + + else if (n == "idlFile") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + add_idlFile (t); + } + + else if (n == "configProperty") + { + ::CIAO::Config_Handlers::Property t (e); + add_configProperty (t); + } + + else if (n == "port") + { + ::CIAO::Config_Handlers::ComponentPortDescription t (e); + add_port (t); + } + + else if (n == "property") + { + ::CIAO::Config_Handlers::ComponentPropertyDescription t (e); + add_property (t); + } + + else if (n == "infoProperty") { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - - if (n == "label") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - label (t); - } - - else if (n == "UUID") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - UUID (t); - } - - else if (n == "specificType") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - specificType (t); - } - - else if (n == "supportedType") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - add_supportedType (t); - } - - else if (n == "idlFile") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - add_idlFile (t); - } - - else if (n == "configProperty") - { - ::CIAO::Config_Handlers::Property t (e); - add_configProperty (t); - } - - else if (n == "port") - { - ::CIAO::Config_Handlers::ComponentPortDescription t (e); - add_port (t); - } - - else if (n == "property") - { - ::CIAO::Config_Handlers::ComponentPropertyDescription t (e); - add_property (t); - } - - else if (n == "infoProperty") - { - ::CIAO::Config_Handlers::Property t (e); - add_infoProperty (t); - } - - else if (n == "contentLocation") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - contentLocation (t); - } - - else - { - } + ::CIAO::Config_Handlers::Property t (e); + add_infoProperty (t); } + else if (n == "contentLocation") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + contentLocation (t); + } + + else + { + } + } + while (p.more_attributes ()) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); + if (n == "href") { - ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); - if (n == "href") - { - ::XMLSchema::string< ACE_TCHAR > t (a); - href (t); - } - - else - { - } + ::XMLSchema::string< ACE_TCHAR > t (a); + href (t); } + + else + { + } + } } } } @@ -777,17 +777,17 @@ namespace CIAO ComponentInterfaceDescription::Type::supportedType_iterator b (o.begin_supportedType()), e (o.end_supportedType()); if (b != e) + { + supportedType_pre (o); + for (; b != e;) { - supportedType_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) supportedType_next (o); - } - - supportedType_post (o); + dispatch (*b); + if (++b != e) supportedType_next (o); } + supportedType_post (o); + } + else supportedType_none (o); } @@ -799,17 +799,17 @@ namespace CIAO ComponentInterfaceDescription::Type::supportedType_const_iterator b (o.begin_supportedType()), e (o.end_supportedType()); if (b != e) + { + supportedType_pre (o); + for (; b != e;) { - supportedType_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) supportedType_next (o); - } - - supportedType_post (o); + dispatch (*b); + if (++b != e) supportedType_next (o); } + supportedType_post (o); + } + else supportedType_none (o); } @@ -861,17 +861,17 @@ namespace CIAO ComponentInterfaceDescription::Type::idlFile_iterator b (o.begin_idlFile()), e (o.end_idlFile()); if (b != e) + { + idlFile_pre (o); + for (; b != e;) { - idlFile_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) idlFile_next (o); - } - - idlFile_post (o); + dispatch (*b); + if (++b != e) idlFile_next (o); } + idlFile_post (o); + } + else idlFile_none (o); } @@ -883,17 +883,17 @@ namespace CIAO ComponentInterfaceDescription::Type::idlFile_const_iterator b (o.begin_idlFile()), e (o.end_idlFile()); if (b != e) + { + idlFile_pre (o); + for (; b != e;) { - idlFile_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) idlFile_next (o); - } - - idlFile_post (o); + dispatch (*b); + if (++b != e) idlFile_next (o); } + idlFile_post (o); + } + else idlFile_none (o); } @@ -945,17 +945,17 @@ namespace CIAO ComponentInterfaceDescription::Type::configProperty_iterator b (o.begin_configProperty()), e (o.end_configProperty()); if (b != e) + { + configProperty_pre (o); + for (; b != e;) { - configProperty_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) configProperty_next (o); - } - - configProperty_post (o); + dispatch (*b); + if (++b != e) configProperty_next (o); } + configProperty_post (o); + } + else configProperty_none (o); } @@ -967,17 +967,17 @@ namespace CIAO ComponentInterfaceDescription::Type::configProperty_const_iterator b (o.begin_configProperty()), e (o.end_configProperty()); if (b != e) + { + configProperty_pre (o); + for (; b != e;) { - configProperty_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) configProperty_next (o); - } - - configProperty_post (o); + dispatch (*b); + if (++b != e) configProperty_next (o); } + configProperty_post (o); + } + else configProperty_none (o); } @@ -1029,17 +1029,17 @@ namespace CIAO ComponentInterfaceDescription::Type::port_iterator b (o.begin_port()), e (o.end_port()); if (b != e) + { + port_pre (o); + for (; b != e;) { - port_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) port_next (o); - } - - port_post (o); + dispatch (*b); + if (++b != e) port_next (o); } + port_post (o); + } + else port_none (o); } @@ -1051,17 +1051,17 @@ namespace CIAO ComponentInterfaceDescription::Type::port_const_iterator b (o.begin_port()), e (o.end_port()); if (b != e) + { + port_pre (o); + for (; b != e;) { - port_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) port_next (o); - } - - port_post (o); + dispatch (*b); + if (++b != e) port_next (o); } + port_post (o); + } + else port_none (o); } @@ -1113,17 +1113,17 @@ namespace CIAO ComponentInterfaceDescription::Type::property_iterator b (o.begin_property()), e (o.end_property()); if (b != e) + { + property_pre (o); + for (; b != e;) { - property_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) property_next (o); - } - - property_post (o); + dispatch (*b); + if (++b != e) property_next (o); } + property_post (o); + } + else property_none (o); } @@ -1135,17 +1135,17 @@ namespace CIAO ComponentInterfaceDescription::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); if (b != e) + { + property_pre (o); + for (; b != e;) { - property_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) property_next (o); - } - - property_post (o); + dispatch (*b); + if (++b != e) property_next (o); } + property_post (o); + } + else property_none (o); } @@ -1197,17 +1197,17 @@ namespace CIAO ComponentInterfaceDescription::Type::infoProperty_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); if (b != e) + { + infoProperty_pre (o); + for (; b != e;) { - infoProperty_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) infoProperty_next (o); - } - - infoProperty_post (o); + dispatch (*b); + if (++b != e) infoProperty_next (o); } + infoProperty_post (o); + } + else infoProperty_none (o); } @@ -1219,17 +1219,17 @@ namespace CIAO ComponentInterfaceDescription::Type::infoProperty_const_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); if (b != e) + { + infoProperty_pre (o); + for (; b != e;) { - infoProperty_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) infoProperty_next (o); - } - - infoProperty_post (o); + dispatch (*b); + if (++b != e) infoProperty_next (o); } + infoProperty_post (o); + } + else infoProperty_none (o); } @@ -1342,7 +1342,7 @@ namespace CIAO ComponentInterfaceDescription:: ComponentInterfaceDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } diff --git a/CIAO/tools/Config_Handlers/ccd.hpp b/CIAO/tools/Config_Handlers/ccd.hpp index 0a95203fecf..11666f4f60d 100644 --- a/CIAO/tools/Config_Handlers/ccd.hpp +++ b/CIAO/tools/Config_Handlers/ccd.hpp @@ -1,14 +1,13 @@ /* $Id$ -* This code was generated by the XML Schema Compiler. -* -* Changes made to this code will most likely be overwritten -* when the handlers are recompiled. -* -* If you find errors or feel that there are bugfixes to be made, -* please contact the current XSC maintainer: -* Will Otte -*/ - + * This code was generated by the XML Schema Compiler. + * + * Changes made to this code will most likely be overwritten + * when the handlers are recompiled. + * + * If you find errors or feel that there are bugfixes to be made, + * please contact the current XSC maintainer: + * Will Otte + */ // Fix for Borland compilers, which seem to have a broken // include. @@ -16,18 +15,18 @@ # include #endif -#include "XSC_XML_Handlers_Export.h" #ifndef CCD_HPP #define CCD_HPP +#include "XSC_XML_Handlers_Export.h" // Forward declarations. // namespace CIAO { -namespace Config_Handlers -{ -class ComponentInterfaceDescription; -} + namespace Config_Handlers + { + class ComponentInterfaceDescription; + } } #include @@ -38,738 +37,738 @@ class ComponentInterfaceDescription; namespace CIAO { -namespace Config_Handlers -{ -class XSC_XML_Handlers_Export ComponentInterfaceDescription : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; - -// label -// -public: -bool label_p () const; -::XMLSchema::string< ACE_TCHAR > const& label () const; -void label (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; - -// UUID -// -public: -bool UUID_p () const; -::XMLSchema::string< ACE_TCHAR > const& UUID () const; -void UUID (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; - -// specificType -// -public: -bool specificType_p () const; -::XMLSchema::string< ACE_TCHAR > const& specificType () const; -void specificType (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > specificType_; - -// supportedType -// -public: -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator supportedType_iterator; -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator supportedType_const_iterator; -supportedType_iterator begin_supportedType (); -supportedType_iterator end_supportedType (); -supportedType_const_iterator begin_supportedType () const; -supportedType_const_iterator end_supportedType () const; -void add_supportedType (::XMLSchema::string< ACE_TCHAR > const& ); -size_t count_supportedType (void) const; - -protected: -::std::list< ::XMLSchema::string< ACE_TCHAR > > supportedType_; - -// idlFile -// -public: -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator idlFile_iterator; -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator idlFile_const_iterator; -idlFile_iterator begin_idlFile (); -idlFile_iterator end_idlFile (); -idlFile_const_iterator begin_idlFile () const; -idlFile_const_iterator end_idlFile () const; -void add_idlFile (::XMLSchema::string< ACE_TCHAR > const& ); -size_t count_idlFile (void) const; - -protected: -::std::list< ::XMLSchema::string< ACE_TCHAR > > idlFile_; - -// configProperty -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; -configProperty_iterator begin_configProperty (); -configProperty_iterator end_configProperty (); -configProperty_const_iterator begin_configProperty () const; -configProperty_const_iterator end_configProperty () const; -void add_configProperty (::CIAO::Config_Handlers::Property const& ); -size_t count_configProperty (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Property > configProperty_; - -// port -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::ComponentPortDescription >::iterator port_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::ComponentPortDescription >::const_iterator port_const_iterator; -port_iterator begin_port (); -port_iterator end_port (); -port_const_iterator begin_port () const; -port_const_iterator end_port () const; -void add_port (::CIAO::Config_Handlers::ComponentPortDescription const& ); -size_t count_port (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::ComponentPortDescription > port_; - -// property -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::ComponentPropertyDescription >::iterator property_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::ComponentPropertyDescription >::const_iterator property_const_iterator; -property_iterator begin_property (); -property_iterator end_property (); -property_const_iterator begin_property () const; -property_const_iterator end_property () const; -void add_property (::CIAO::Config_Handlers::ComponentPropertyDescription const& ); -size_t count_property (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::ComponentPropertyDescription > property_; - -// infoProperty -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator infoProperty_const_iterator; -infoProperty_iterator begin_infoProperty (); -infoProperty_iterator end_infoProperty (); -infoProperty_const_iterator begin_infoProperty () const; -infoProperty_const_iterator end_infoProperty () const; -void add_infoProperty (::CIAO::Config_Handlers::Property const& ); -size_t count_infoProperty (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Property > infoProperty_; - -// contentLocation -// -public: -bool contentLocation_p () const; -::XMLSchema::string< ACE_TCHAR > const& contentLocation () const; -void contentLocation (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > contentLocation_; - -// href -// -public: -bool href_p () const; -::XMLSchema::string< ACE_TCHAR > const& href () const; -::XMLSchema::string< ACE_TCHAR >& href (); -void href (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > href_; - -public: -ComponentInterfaceDescription (); - -ComponentInterfaceDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); -ComponentInterfaceDescription (ComponentInterfaceDescription const& s); - -ComponentInterfaceDescription& -operator= (ComponentInterfaceDescription const& s); - -private: -char regulator__; -}; -} + namespace Config_Handlers + { + class XSC_XML_Handlers_Export ComponentInterfaceDescription : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // label + // + public: + bool label_p () const; + ::XMLSchema::string< ACE_TCHAR > const& label () const; + void label (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; + + // UUID + // + public: + bool UUID_p () const; + ::XMLSchema::string< ACE_TCHAR > const& UUID () const; + void UUID (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; + + // specificType + // + public: + bool specificType_p () const; + ::XMLSchema::string< ACE_TCHAR > const& specificType () const; + void specificType (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > specificType_; + + // supportedType + // + public: + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator supportedType_iterator; + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator supportedType_const_iterator; + supportedType_iterator begin_supportedType (); + supportedType_iterator end_supportedType (); + supportedType_const_iterator begin_supportedType () const; + supportedType_const_iterator end_supportedType () const; + void add_supportedType (::XMLSchema::string< ACE_TCHAR > const& ); + size_t count_supportedType (void) const; + + protected: + ::std::list< ::XMLSchema::string< ACE_TCHAR > > supportedType_; + + // idlFile + // + public: + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator idlFile_iterator; + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator idlFile_const_iterator; + idlFile_iterator begin_idlFile (); + idlFile_iterator end_idlFile (); + idlFile_const_iterator begin_idlFile () const; + idlFile_const_iterator end_idlFile () const; + void add_idlFile (::XMLSchema::string< ACE_TCHAR > const& ); + size_t count_idlFile (void) const; + + protected: + ::std::list< ::XMLSchema::string< ACE_TCHAR > > idlFile_; + + // configProperty + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; + configProperty_iterator begin_configProperty (); + configProperty_iterator end_configProperty (); + configProperty_const_iterator begin_configProperty () const; + configProperty_const_iterator end_configProperty () const; + void add_configProperty (::CIAO::Config_Handlers::Property const& ); + size_t count_configProperty (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Property > configProperty_; + + // port + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::ComponentPortDescription >::iterator port_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::ComponentPortDescription >::const_iterator port_const_iterator; + port_iterator begin_port (); + port_iterator end_port (); + port_const_iterator begin_port () const; + port_const_iterator end_port () const; + void add_port (::CIAO::Config_Handlers::ComponentPortDescription const& ); + size_t count_port (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::ComponentPortDescription > port_; + + // property + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::ComponentPropertyDescription >::iterator property_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::ComponentPropertyDescription >::const_iterator property_const_iterator; + property_iterator begin_property (); + property_iterator end_property (); + property_const_iterator begin_property () const; + property_const_iterator end_property () const; + void add_property (::CIAO::Config_Handlers::ComponentPropertyDescription const& ); + size_t count_property (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::ComponentPropertyDescription > property_; + + // infoProperty + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator infoProperty_const_iterator; + infoProperty_iterator begin_infoProperty (); + infoProperty_iterator end_infoProperty (); + infoProperty_const_iterator begin_infoProperty () const; + infoProperty_const_iterator end_infoProperty () const; + void add_infoProperty (::CIAO::Config_Handlers::Property const& ); + size_t count_infoProperty (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Property > infoProperty_; + + // contentLocation + // + public: + bool contentLocation_p () const; + ::XMLSchema::string< ACE_TCHAR > const& contentLocation () const; + void contentLocation (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > contentLocation_; + + // href + // + public: + bool href_p () const; + ::XMLSchema::string< ACE_TCHAR > const& href () const; + ::XMLSchema::string< ACE_TCHAR >& href (); + void href (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > href_; + + public: + ComponentInterfaceDescription (); + + ComponentInterfaceDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); + ComponentInterfaceDescription (ComponentInterfaceDescription const& s); + + ComponentInterfaceDescription& + operator= (ComponentInterfaceDescription const& s); + + private: + char regulator__; + }; + } } namespace CIAO { -namespace Config_Handlers -{ -} + namespace Config_Handlers + { + } } #include "XMLSchema/Traversal.hpp" namespace CIAO { -namespace Config_Handlers -{ -namespace Traversal -{ -struct XSC_XML_Handlers_Export ComponentInterfaceDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentInterfaceDescription > -{ -virtual void -traverse (Type&); + namespace Config_Handlers + { + namespace Traversal + { + struct XSC_XML_Handlers_Export ComponentInterfaceDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentInterfaceDescription > + { + virtual void + traverse (Type&); -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -pre (Type&); + virtual void + pre (Type&); -virtual void -pre (Type const&); + virtual void + pre (Type const&); -virtual void -label (Type&); + virtual void + label (Type&); -virtual void -label (Type const&); + virtual void + label (Type const&); -virtual void -label_none (Type&); + virtual void + label_none (Type&); -virtual void -label_none (Type const&); + virtual void + label_none (Type const&); -virtual void -UUID (Type&); + virtual void + UUID (Type&); -virtual void -UUID (Type const&); + virtual void + UUID (Type const&); -virtual void -UUID_none (Type&); + virtual void + UUID_none (Type&); -virtual void -UUID_none (Type const&); + virtual void + UUID_none (Type const&); -virtual void -specificType (Type&); + virtual void + specificType (Type&); -virtual void -specificType (Type const&); + virtual void + specificType (Type const&); -virtual void -specificType_none (Type&); + virtual void + specificType_none (Type&); -virtual void -specificType_none (Type const&); + virtual void + specificType_none (Type const&); -virtual void -supportedType (Type&); + virtual void + supportedType (Type&); -virtual void -supportedType (Type const&); + virtual void + supportedType (Type const&); -virtual void -supportedType_pre (Type&); + virtual void + supportedType_pre (Type&); -virtual void -supportedType_pre (Type const&); + virtual void + supportedType_pre (Type const&); -virtual void -supportedType_next (Type&); + virtual void + supportedType_next (Type&); -virtual void -supportedType_next (Type const&); + virtual void + supportedType_next (Type const&); -virtual void -supportedType_post (Type&); + virtual void + supportedType_post (Type&); -virtual void -supportedType_post (Type const&); + virtual void + supportedType_post (Type const&); -virtual void -supportedType_none (Type&); + virtual void + supportedType_none (Type&); -virtual void -supportedType_none (Type const&); + virtual void + supportedType_none (Type const&); -virtual void -idlFile (Type&); + virtual void + idlFile (Type&); -virtual void -idlFile (Type const&); + virtual void + idlFile (Type const&); -virtual void -idlFile_pre (Type&); + virtual void + idlFile_pre (Type&); -virtual void -idlFile_pre (Type const&); + virtual void + idlFile_pre (Type const&); -virtual void -idlFile_next (Type&); + virtual void + idlFile_next (Type&); -virtual void -idlFile_next (Type const&); + virtual void + idlFile_next (Type const&); -virtual void -idlFile_post (Type&); + virtual void + idlFile_post (Type&); -virtual void -idlFile_post (Type const&); + virtual void + idlFile_post (Type const&); -virtual void -idlFile_none (Type&); + virtual void + idlFile_none (Type&); -virtual void -idlFile_none (Type const&); + virtual void + idlFile_none (Type const&); -virtual void -configProperty (Type&); + virtual void + configProperty (Type&); -virtual void -configProperty (Type const&); + virtual void + configProperty (Type const&); -virtual void -configProperty_pre (Type&); + virtual void + configProperty_pre (Type&); -virtual void -configProperty_pre (Type const&); + virtual void + configProperty_pre (Type const&); -virtual void -configProperty_next (Type&); + virtual void + configProperty_next (Type&); -virtual void -configProperty_next (Type const&); + virtual void + configProperty_next (Type const&); -virtual void -configProperty_post (Type&); + virtual void + configProperty_post (Type&); -virtual void -configProperty_post (Type const&); + virtual void + configProperty_post (Type const&); -virtual void -configProperty_none (Type&); + virtual void + configProperty_none (Type&); -virtual void -configProperty_none (Type const&); + virtual void + configProperty_none (Type const&); -virtual void -port (Type&); + virtual void + port (Type&); -virtual void -port (Type const&); + virtual void + port (Type const&); -virtual void -port_pre (Type&); + virtual void + port_pre (Type&); -virtual void -port_pre (Type const&); + virtual void + port_pre (Type const&); -virtual void -port_next (Type&); + virtual void + port_next (Type&); -virtual void -port_next (Type const&); + virtual void + port_next (Type const&); -virtual void -port_post (Type&); + virtual void + port_post (Type&); -virtual void -port_post (Type const&); + virtual void + port_post (Type const&); -virtual void -port_none (Type&); + virtual void + port_none (Type&); -virtual void -port_none (Type const&); + virtual void + port_none (Type const&); -virtual void -property (Type&); + virtual void + property (Type&); -virtual void -property (Type const&); + virtual void + property (Type const&); -virtual void -property_pre (Type&); + virtual void + property_pre (Type&); -virtual void -property_pre (Type const&); + virtual void + property_pre (Type const&); -virtual void -property_next (Type&); + virtual void + property_next (Type&); -virtual void -property_next (Type const&); + virtual void + property_next (Type const&); -virtual void -property_post (Type&); + virtual void + property_post (Type&); -virtual void -property_post (Type const&); + virtual void + property_post (Type const&); -virtual void -property_none (Type&); + virtual void + property_none (Type&); -virtual void -property_none (Type const&); + virtual void + property_none (Type const&); -virtual void -infoProperty (Type&); + virtual void + infoProperty (Type&); -virtual void -infoProperty (Type const&); + virtual void + infoProperty (Type const&); -virtual void -infoProperty_pre (Type&); + virtual void + infoProperty_pre (Type&); -virtual void -infoProperty_pre (Type const&); + virtual void + infoProperty_pre (Type const&); -virtual void -infoProperty_next (Type&); + virtual void + infoProperty_next (Type&); -virtual void -infoProperty_next (Type const&); + virtual void + infoProperty_next (Type const&); -virtual void -infoProperty_post (Type&); + virtual void + infoProperty_post (Type&); -virtual void -infoProperty_post (Type const&); + virtual void + infoProperty_post (Type const&); -virtual void -infoProperty_none (Type&); + virtual void + infoProperty_none (Type&); -virtual void -infoProperty_none (Type const&); + virtual void + infoProperty_none (Type const&); -virtual void -contentLocation (Type&); + virtual void + contentLocation (Type&); -virtual void -contentLocation (Type const&); + virtual void + contentLocation (Type const&); -virtual void -contentLocation_none (Type&); + virtual void + contentLocation_none (Type&); -virtual void -contentLocation_none (Type const&); + virtual void + contentLocation_none (Type const&); -virtual void -href (Type&); + virtual void + href (Type&); -virtual void -href (Type const&); + virtual void + href (Type const&); -virtual void -href_none (Type&); + virtual void + href_none (Type&); -virtual void -href_none (Type const&); + virtual void + href_none (Type const&); -virtual void -post (Type&); + virtual void + post (Type&); -virtual void -post (Type const&); -}; -} -} + virtual void + post (Type const&); + }; + } + } } #include "XMLSchema/Writer.hpp" namespace CIAO { -namespace Config_Handlers -{ -namespace Writer -{ -struct ComponentInterfaceDescription : Traversal::ComponentInterfaceDescription, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::ComponentInterfaceDescription Type; -ComponentInterfaceDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + namespace Config_Handlers + { + namespace Writer + { + struct ComponentInterfaceDescription : Traversal::ComponentInterfaceDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::ComponentInterfaceDescription Type; + ComponentInterfaceDescription (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -traverse (Type &o) -{ + virtual void + traverse (Type &o) + { -this->traverse (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -label (Type &o) -{ + virtual void + label (Type &o) + { -this->label (const_cast (o)); -} + this->label (const_cast (o)); + } -virtual void -label (Type const&); + virtual void + label (Type const&); -virtual void -UUID (Type &o) -{ + virtual void + UUID (Type &o) + { -this->UUID (const_cast (o)); -} + this->UUID (const_cast (o)); + } -virtual void -UUID (Type const&); + virtual void + UUID (Type const&); -virtual void -specificType (Type &o) -{ + virtual void + specificType (Type &o) + { -this->specificType (const_cast (o)); -} + this->specificType (const_cast (o)); + } -virtual void -specificType (Type const&); + virtual void + specificType (Type const&); -virtual void -supportedType_pre (Type &o) -{ + virtual void + supportedType_pre (Type &o) + { -this->supportedType_pre (const_cast (o)); -} + this->supportedType_pre (const_cast (o)); + } -virtual void -supportedType_pre (Type const&); + virtual void + supportedType_pre (Type const&); -virtual void -supportedType_next (Type &o) -{ + virtual void + supportedType_next (Type &o) + { -this->supportedType_next (const_cast (o)); -} + this->supportedType_next (const_cast (o)); + } -virtual void -supportedType_next (Type const&); + virtual void + supportedType_next (Type const&); -virtual void -supportedType_post (Type &o) -{ + virtual void + supportedType_post (Type &o) + { -this->supportedType_post (const_cast (o)); -} + this->supportedType_post (const_cast (o)); + } -virtual void -supportedType_post (Type const&); + virtual void + supportedType_post (Type const&); -virtual void -idlFile_pre (Type &o) -{ + virtual void + idlFile_pre (Type &o) + { -this->idlFile_pre (const_cast (o)); -} + this->idlFile_pre (const_cast (o)); + } -virtual void -idlFile_pre (Type const&); + virtual void + idlFile_pre (Type const&); -virtual void -idlFile_next (Type &o) -{ + virtual void + idlFile_next (Type &o) + { -this->idlFile_next (const_cast (o)); -} + this->idlFile_next (const_cast (o)); + } -virtual void -idlFile_next (Type const&); + virtual void + idlFile_next (Type const&); -virtual void -idlFile_post (Type &o) -{ + virtual void + idlFile_post (Type &o) + { -this->idlFile_post (const_cast (o)); -} + this->idlFile_post (const_cast (o)); + } -virtual void -idlFile_post (Type const&); + virtual void + idlFile_post (Type const&); -virtual void -configProperty_pre (Type &o) -{ + virtual void + configProperty_pre (Type &o) + { -this->configProperty_pre (const_cast (o)); -} + this->configProperty_pre (const_cast (o)); + } -virtual void -configProperty_pre (Type const&); + virtual void + configProperty_pre (Type const&); -virtual void -configProperty_next (Type &o) -{ + virtual void + configProperty_next (Type &o) + { -this->configProperty_next (const_cast (o)); -} + this->configProperty_next (const_cast (o)); + } -virtual void -configProperty_next (Type const&); + virtual void + configProperty_next (Type const&); -virtual void -configProperty_post (Type &o) -{ + virtual void + configProperty_post (Type &o) + { -this->configProperty_post (const_cast (o)); -} + this->configProperty_post (const_cast (o)); + } -virtual void -configProperty_post (Type const&); + virtual void + configProperty_post (Type const&); -virtual void -port_pre (Type &o) -{ + virtual void + port_pre (Type &o) + { -this->port_pre (const_cast (o)); -} + this->port_pre (const_cast (o)); + } -virtual void -port_pre (Type const&); + virtual void + port_pre (Type const&); -virtual void -port_next (Type &o) -{ + virtual void + port_next (Type &o) + { -this->port_next (const_cast (o)); -} + this->port_next (const_cast (o)); + } -virtual void -port_next (Type const&); + virtual void + port_next (Type const&); -virtual void -port_post (Type &o) -{ + virtual void + port_post (Type &o) + { -this->port_post (const_cast (o)); -} + this->port_post (const_cast (o)); + } -virtual void -port_post (Type const&); + virtual void + port_post (Type const&); -virtual void -property_pre (Type &o) -{ + virtual void + property_pre (Type &o) + { -this->property_pre (const_cast (o)); -} + this->property_pre (const_cast (o)); + } -virtual void -property_pre (Type const&); + virtual void + property_pre (Type const&); -virtual void -property_next (Type &o) -{ + virtual void + property_next (Type &o) + { -this->property_next (const_cast (o)); -} + this->property_next (const_cast (o)); + } -virtual void -property_next (Type const&); + virtual void + property_next (Type const&); -virtual void -property_post (Type &o) -{ + virtual void + property_post (Type &o) + { -this->property_post (const_cast (o)); -} + this->property_post (const_cast (o)); + } -virtual void -property_post (Type const&); + virtual void + property_post (Type const&); -virtual void -infoProperty_pre (Type &o) -{ + virtual void + infoProperty_pre (Type &o) + { -this->infoProperty_pre (const_cast (o)); -} + this->infoProperty_pre (const_cast (o)); + } -virtual void -infoProperty_pre (Type const&); + virtual void + infoProperty_pre (Type const&); -virtual void -infoProperty_next (Type &o) -{ + virtual void + infoProperty_next (Type &o) + { -this->infoProperty_next (const_cast (o)); -} + this->infoProperty_next (const_cast (o)); + } -virtual void -infoProperty_next (Type const&); + virtual void + infoProperty_next (Type const&); -virtual void -infoProperty_post (Type &o) -{ + virtual void + infoProperty_post (Type &o) + { -this->infoProperty_post (const_cast (o)); -} + this->infoProperty_post (const_cast (o)); + } -virtual void -infoProperty_post (Type const&); + virtual void + infoProperty_post (Type const&); -virtual void -contentLocation (Type &o) -{ + virtual void + contentLocation (Type &o) + { -this->contentLocation (const_cast (o)); -} + this->contentLocation (const_cast (o)); + } -virtual void -contentLocation (Type const&); + virtual void + contentLocation (Type const&); -virtual void -href (Type &o) -{ + virtual void + href (Type &o) + { -this->href (const_cast (o)); -} + this->href (const_cast (o)); + } -virtual void -href (Type const&); + virtual void + href (Type const&); -protected: -ComponentInterfaceDescription (); -}; -} -} + protected: + ComponentInterfaceDescription (); + }; + } + } } namespace CIAO { -namespace Config_Handlers -{ -} + namespace Config_Handlers + { + } } #endif // CCD_HPP diff --git a/CIAO/tools/Config_Handlers/cdd.cpp b/CIAO/tools/Config_Handlers/cdd.cpp index 081ff061ea8..bb540445af2 100644 --- a/CIAO/tools/Config_Handlers/cdd.cpp +++ b/CIAO/tools/Config_Handlers/cdd.cpp @@ -1,15 +1,14 @@ - /* $Id$ * This code was generated by the XML Schema Compiler. * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte */ - + #include "cdd.hpp" namespace CIAO @@ -17,23 +16,23 @@ namespace CIAO namespace Config_Handlers { // Domain - // + // Domain:: Domain () - : - ::XSCRT::Type (), - regulator__ () + : + ::XSCRT::Type (), + regulator__ () { } Domain:: Domain (::CIAO::Config_Handlers::Domain const& s) - : - ::XSCRT::Type (), - UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), - label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), - regulator__ () + : + ::XSCRT::Type (), + UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), + label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), + regulator__ () { if (UUID_.get ()) UUID_->container (this); if (label_.get ()) label_->container (this); @@ -97,7 +96,7 @@ namespace CIAO // Domain - // + // bool Domain:: UUID_p () const { @@ -114,19 +113,19 @@ namespace CIAO UUID (::XMLSchema::string< ACE_TCHAR > const& e) { if (UUID_.get ()) - { - *UUID_ = e; - } + { + *UUID_ = e; + } else - { - UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - UUID_->container (this); - } + { + UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + UUID_->container (this); + } } // Domain - // + // bool Domain:: label_p () const { @@ -143,19 +142,19 @@ namespace CIAO label (::XMLSchema::string< ACE_TCHAR > const& e) { if (label_.get ()) - { - *label_ = e; - } + { + *label_ = e; + } else - { - label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - label_->container (this); - } + { + label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + label_->container (this); + } } // Domain - // + // Domain::node_iterator Domain:: begin_node () { @@ -193,7 +192,7 @@ namespace CIAO } // Domain - // + // Domain::interconnect_iterator Domain:: begin_interconnect () { @@ -231,7 +230,7 @@ namespace CIAO } // Domain - // + // Domain::bridge_iterator Domain:: begin_bridge () { @@ -269,7 +268,7 @@ namespace CIAO } // Domain - // + // Domain::sharedResource_iterator Domain:: begin_sharedResource () { @@ -307,7 +306,7 @@ namespace CIAO } // Domain - // + // Domain::infoProperty_iterator Domain:: begin_infoProperty () { @@ -346,3047 +345,3047 @@ namespace CIAO // Bridge - // + // Bridge:: Bridge (::XMLSchema::string< ACE_TCHAR > const& name__) - : - ::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), -regulator__ () -{ -name_->container (this); -} + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + regulator__ () + { + name_->container (this); + } -Bridge:: -Bridge (::CIAO::Config_Handlers::Bridge const& s) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), -label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), -regulator__ () -{ -name_->container (this); -if (label_.get ()) label_->container (this); -{ -for (connect_const_iterator i (s.connect_.begin ());i != s.connect_.end ();++i) add_connect (*i); -} + Bridge:: + Bridge (::CIAO::Config_Handlers::Bridge const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), + regulator__ () + { + name_->container (this); + if (label_.get ()) label_->container (this); + { + for (connect_const_iterator i (s.connect_.begin ());i != s.connect_.end ();++i) add_connect (*i); + } -{ -for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); -} -} + { + for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); + } + } -::CIAO::Config_Handlers::Bridge& Bridge:: -operator= (::CIAO::Config_Handlers::Bridge const& s) -{ -name (s.name ()); + ::CIAO::Config_Handlers::Bridge& Bridge:: + operator= (::CIAO::Config_Handlers::Bridge const& s) + { + name (s.name ()); -if (s.label_.get ()) label (*(s.label_)); -else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + if (s.label_.get ()) label (*(s.label_)); + else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -connect_.clear (); -{ -for (connect_const_iterator i (s.connect_.begin ());i != s.connect_.end ();++i) add_connect (*i); -} + connect_.clear (); + { + for (connect_const_iterator i (s.connect_.begin ());i != s.connect_.end ();++i) add_connect (*i); + } -resource_.clear (); -{ -for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); -} + resource_.clear (); + { + for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); + } -return *this; -} + return *this; + } -// Bridge -// -::XMLSchema::string< ACE_TCHAR > const& Bridge:: -name () const -{ -return *name_; -} + // Bridge + // + ::XMLSchema::string< ACE_TCHAR > const& Bridge:: + name () const + { + return *name_; + } -void Bridge:: -name (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*name_ = e; -} + void Bridge:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -// Bridge -// -bool Bridge:: -label_p () const -{ -return label_.get () != 0; -} + // Bridge + // + bool Bridge:: + label_p () const + { + return label_.get () != 0; + } -::XMLSchema::string< ACE_TCHAR > const& Bridge:: -label () const -{ -return *label_; -} + ::XMLSchema::string< ACE_TCHAR > const& Bridge:: + label () const + { + return *label_; + } -void Bridge:: -label (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (label_.get ()) -{ -*label_ = e; -} + void Bridge:: + label (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (label_.get ()) + { + *label_ = e; + } -else -{ -label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -label_->container (this); -} -} + else + { + label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + label_->container (this); + } + } -// Bridge -// -Bridge::connect_iterator Bridge:: -begin_connect () -{ -return connect_.begin (); -} + // Bridge + // + Bridge::connect_iterator Bridge:: + begin_connect () + { + return connect_.begin (); + } -Bridge::connect_iterator Bridge:: -end_connect () -{ -return connect_.end (); -} + Bridge::connect_iterator Bridge:: + end_connect () + { + return connect_.end (); + } -Bridge::connect_const_iterator Bridge:: -begin_connect () const -{ -return connect_.begin (); -} + Bridge::connect_const_iterator Bridge:: + begin_connect () const + { + return connect_.begin (); + } -Bridge::connect_const_iterator Bridge:: -end_connect () const -{ -return connect_.end (); -} + Bridge::connect_const_iterator Bridge:: + end_connect () const + { + return connect_.end (); + } -void Bridge:: -add_connect (::CIAO::Config_Handlers::Interconnect const& e) -{ -connect_.push_back (e); -} + void Bridge:: + add_connect (::CIAO::Config_Handlers::Interconnect const& e) + { + connect_.push_back (e); + } -size_t Bridge:: -count_connect(void) const -{ -return connect_.size (); -} + size_t Bridge:: + count_connect(void) const + { + return connect_.size (); + } -// Bridge -// -Bridge::resource_iterator Bridge:: -begin_resource () -{ -return resource_.begin (); -} + // Bridge + // + Bridge::resource_iterator Bridge:: + begin_resource () + { + return resource_.begin (); + } -Bridge::resource_iterator Bridge:: -end_resource () -{ -return resource_.end (); -} + Bridge::resource_iterator Bridge:: + end_resource () + { + return resource_.end (); + } -Bridge::resource_const_iterator Bridge:: -begin_resource () const -{ -return resource_.begin (); -} + Bridge::resource_const_iterator Bridge:: + begin_resource () const + { + return resource_.begin (); + } -Bridge::resource_const_iterator Bridge:: -end_resource () const -{ -return resource_.end (); -} + Bridge::resource_const_iterator Bridge:: + end_resource () const + { + return resource_.end (); + } -void Bridge:: -add_resource (::CIAO::Config_Handlers::Resource const& e) -{ -resource_.push_back (e); -} + void Bridge:: + add_resource (::CIAO::Config_Handlers::Resource const& e) + { + resource_.push_back (e); + } -size_t Bridge:: -count_resource(void) const -{ -return resource_.size (); -} + size_t Bridge:: + count_resource(void) const + { + return resource_.size (); + } -// Interconnect -// + // Interconnect + // -Interconnect:: -Interconnect (::XMLSchema::string< ACE_TCHAR > const& name__) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), -regulator__ () -{ -name_->container (this); -} + Interconnect:: + Interconnect (::XMLSchema::string< ACE_TCHAR > const& name__) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + regulator__ () + { + name_->container (this); + } -Interconnect:: -Interconnect (::CIAO::Config_Handlers::Interconnect const& s) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), -label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), -regulator__ () -{ -name_->container (this); -if (label_.get ()) label_->container (this); -{ -for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); -} + Interconnect:: + Interconnect (::CIAO::Config_Handlers::Interconnect const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), + regulator__ () + { + name_->container (this); + if (label_.get ()) label_->container (this); + { + for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); + } -{ -for (connect_const_iterator i (s.connect_.begin ());i != s.connect_.end ();++i) add_connect (*i); -} + { + for (connect_const_iterator i (s.connect_.begin ());i != s.connect_.end ();++i) add_connect (*i); + } -{ -for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); -} -} + { + for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); + } + } -::CIAO::Config_Handlers::Interconnect& Interconnect:: -operator= (::CIAO::Config_Handlers::Interconnect const& s) -{ -name (s.name ()); + ::CIAO::Config_Handlers::Interconnect& Interconnect:: + operator= (::CIAO::Config_Handlers::Interconnect const& s) + { + name (s.name ()); -if (s.label_.get ()) label (*(s.label_)); -else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + if (s.label_.get ()) label (*(s.label_)); + else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -connection_.clear (); -{ -for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); -} + connection_.clear (); + { + for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); + } -connect_.clear (); -{ -for (connect_const_iterator i (s.connect_.begin ());i != s.connect_.end ();++i) add_connect (*i); -} + connect_.clear (); + { + for (connect_const_iterator i (s.connect_.begin ());i != s.connect_.end ();++i) add_connect (*i); + } -resource_.clear (); -{ -for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); -} + resource_.clear (); + { + for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); + } -return *this; -} + return *this; + } -// Interconnect -// -::XMLSchema::string< ACE_TCHAR > const& Interconnect:: -name () const -{ -return *name_; -} + // Interconnect + // + ::XMLSchema::string< ACE_TCHAR > const& Interconnect:: + name () const + { + return *name_; + } -void Interconnect:: -name (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*name_ = e; -} + void Interconnect:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -// Interconnect -// -bool Interconnect:: -label_p () const -{ -return label_.get () != 0; -} + // Interconnect + // + bool Interconnect:: + label_p () const + { + return label_.get () != 0; + } -::XMLSchema::string< ACE_TCHAR > const& Interconnect:: -label () const -{ -return *label_; -} + ::XMLSchema::string< ACE_TCHAR > const& Interconnect:: + label () const + { + return *label_; + } -void Interconnect:: -label (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (label_.get ()) -{ -*label_ = e; -} + void Interconnect:: + label (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (label_.get ()) + { + *label_ = e; + } -else -{ -label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -label_->container (this); -} -} + else + { + label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + label_->container (this); + } + } -// Interconnect -// -Interconnect::connection_iterator Interconnect:: -begin_connection () -{ -return connection_.begin (); -} + // Interconnect + // + Interconnect::connection_iterator Interconnect:: + begin_connection () + { + return connection_.begin (); + } -Interconnect::connection_iterator Interconnect:: -end_connection () -{ -return connection_.end (); -} + Interconnect::connection_iterator Interconnect:: + end_connection () + { + return connection_.end (); + } -Interconnect::connection_const_iterator Interconnect:: -begin_connection () const -{ -return connection_.begin (); -} + Interconnect::connection_const_iterator Interconnect:: + begin_connection () const + { + return connection_.begin (); + } -Interconnect::connection_const_iterator Interconnect:: -end_connection () const -{ -return connection_.end (); -} + Interconnect::connection_const_iterator Interconnect:: + end_connection () const + { + return connection_.end (); + } -void Interconnect:: -add_connection (::CIAO::Config_Handlers::Bridge const& e) -{ -connection_.push_back (e); -} + void Interconnect:: + add_connection (::CIAO::Config_Handlers::Bridge const& e) + { + connection_.push_back (e); + } -size_t Interconnect:: -count_connection(void) const -{ -return connection_.size (); -} + size_t Interconnect:: + count_connection(void) const + { + return connection_.size (); + } -// Interconnect -// -Interconnect::connect_iterator Interconnect:: -begin_connect () -{ -return connect_.begin (); -} + // Interconnect + // + Interconnect::connect_iterator Interconnect:: + begin_connect () + { + return connect_.begin (); + } -Interconnect::connect_iterator Interconnect:: -end_connect () -{ -return connect_.end (); -} + Interconnect::connect_iterator Interconnect:: + end_connect () + { + return connect_.end (); + } -Interconnect::connect_const_iterator Interconnect:: -begin_connect () const -{ -return connect_.begin (); -} + Interconnect::connect_const_iterator Interconnect:: + begin_connect () const + { + return connect_.begin (); + } -Interconnect::connect_const_iterator Interconnect:: -end_connect () const -{ -return connect_.end (); -} + Interconnect::connect_const_iterator Interconnect:: + end_connect () const + { + return connect_.end (); + } -void Interconnect:: -add_connect (::CIAO::Config_Handlers::Node const& e) -{ -connect_.push_back (e); -} + void Interconnect:: + add_connect (::CIAO::Config_Handlers::Node const& e) + { + connect_.push_back (e); + } -size_t Interconnect:: -count_connect(void) const -{ -return connect_.size (); -} + size_t Interconnect:: + count_connect(void) const + { + return connect_.size (); + } -// Interconnect -// -Interconnect::resource_iterator Interconnect:: -begin_resource () -{ -return resource_.begin (); -} + // Interconnect + // + Interconnect::resource_iterator Interconnect:: + begin_resource () + { + return resource_.begin (); + } -Interconnect::resource_iterator Interconnect:: -end_resource () -{ -return resource_.end (); -} + Interconnect::resource_iterator Interconnect:: + end_resource () + { + return resource_.end (); + } -Interconnect::resource_const_iterator Interconnect:: -begin_resource () const -{ -return resource_.begin (); -} + Interconnect::resource_const_iterator Interconnect:: + begin_resource () const + { + return resource_.begin (); + } -Interconnect::resource_const_iterator Interconnect:: -end_resource () const -{ -return resource_.end (); -} + Interconnect::resource_const_iterator Interconnect:: + end_resource () const + { + return resource_.end (); + } -void Interconnect:: -add_resource (::CIAO::Config_Handlers::Resource const& e) -{ -resource_.push_back (e); -} + void Interconnect:: + add_resource (::CIAO::Config_Handlers::Resource const& e) + { + resource_.push_back (e); + } -size_t Interconnect:: -count_resource(void) const -{ -return resource_.size (); -} + size_t Interconnect:: + count_resource(void) const + { + return resource_.size (); + } -// Node -// + // Node + // -Node:: -Node (::XMLSchema::string< ACE_TCHAR > const& name__) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), -regulator__ () -{ -name_->container (this); -} + Node:: + Node (::XMLSchema::string< ACE_TCHAR > const& name__) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + regulator__ () + { + name_->container (this); + } -Node:: -Node (::CIAO::Config_Handlers::Node const& s) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), -label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), -regulator__ () -{ -name_->container (this); -if (label_.get ()) label_->container (this); -{ -for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); -} + Node:: + Node (::CIAO::Config_Handlers::Node const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), + regulator__ () + { + name_->container (this); + if (label_.get ()) label_->container (this); + { + for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); + } -{ -for (sharedResource_const_iterator i (s.sharedResource_.begin ());i != s.sharedResource_.end ();++i) add_sharedResource (*i); -} + { + for (sharedResource_const_iterator i (s.sharedResource_.begin ());i != s.sharedResource_.end ();++i) add_sharedResource (*i); + } -{ -for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); -} -} + { + for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); + } + } -::CIAO::Config_Handlers::Node& Node:: -operator= (::CIAO::Config_Handlers::Node const& s) -{ -name (s.name ()); + ::CIAO::Config_Handlers::Node& Node:: + operator= (::CIAO::Config_Handlers::Node const& s) + { + name (s.name ()); -if (s.label_.get ()) label (*(s.label_)); -else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + if (s.label_.get ()) label (*(s.label_)); + else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -connection_.clear (); -{ -for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); -} + connection_.clear (); + { + for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); + } -sharedResource_.clear (); -{ -for (sharedResource_const_iterator i (s.sharedResource_.begin ());i != s.sharedResource_.end ();++i) add_sharedResource (*i); -} + sharedResource_.clear (); + { + for (sharedResource_const_iterator i (s.sharedResource_.begin ());i != s.sharedResource_.end ();++i) add_sharedResource (*i); + } -resource_.clear (); -{ -for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); -} + resource_.clear (); + { + for (resource_const_iterator i (s.resource_.begin ());i != s.resource_.end ();++i) add_resource (*i); + } -return *this; -} + return *this; + } -// Node -// -::XMLSchema::string< ACE_TCHAR > const& Node:: -name () const -{ -return *name_; -} + // Node + // + ::XMLSchema::string< ACE_TCHAR > const& Node:: + name () const + { + return *name_; + } -void Node:: -name (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*name_ = e; -} + void Node:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -// Node -// -bool Node:: -label_p () const -{ -return label_.get () != 0; -} + // Node + // + bool Node:: + label_p () const + { + return label_.get () != 0; + } -::XMLSchema::string< ACE_TCHAR > const& Node:: -label () const -{ -return *label_; -} + ::XMLSchema::string< ACE_TCHAR > const& Node:: + label () const + { + return *label_; + } -void Node:: -label (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (label_.get ()) -{ -*label_ = e; -} + void Node:: + label (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (label_.get ()) + { + *label_ = e; + } -else -{ -label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -label_->container (this); -} -} + else + { + label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + label_->container (this); + } + } -// Node -// -Node::connection_iterator Node:: -begin_connection () -{ -return connection_.begin (); -} + // Node + // + Node::connection_iterator Node:: + begin_connection () + { + return connection_.begin (); + } -Node::connection_iterator Node:: -end_connection () -{ -return connection_.end (); -} + Node::connection_iterator Node:: + end_connection () + { + return connection_.end (); + } -Node::connection_const_iterator Node:: -begin_connection () const -{ -return connection_.begin (); -} + Node::connection_const_iterator Node:: + begin_connection () const + { + return connection_.begin (); + } -Node::connection_const_iterator Node:: -end_connection () const -{ -return connection_.end (); -} + Node::connection_const_iterator Node:: + end_connection () const + { + return connection_.end (); + } -void Node:: -add_connection (::CIAO::Config_Handlers::Interconnect const& e) -{ -connection_.push_back (e); -} + void Node:: + add_connection (::CIAO::Config_Handlers::Interconnect const& e) + { + connection_.push_back (e); + } -size_t Node:: -count_connection(void) const -{ -return connection_.size (); -} + size_t Node:: + count_connection(void) const + { + return connection_.size (); + } -// Node -// -Node::sharedResource_iterator Node:: -begin_sharedResource () -{ -return sharedResource_.begin (); -} + // Node + // + Node::sharedResource_iterator Node:: + begin_sharedResource () + { + return sharedResource_.begin (); + } -Node::sharedResource_iterator Node:: -end_sharedResource () -{ -return sharedResource_.end (); -} + Node::sharedResource_iterator Node:: + end_sharedResource () + { + return sharedResource_.end (); + } -Node::sharedResource_const_iterator Node:: -begin_sharedResource () const -{ -return sharedResource_.begin (); -} + Node::sharedResource_const_iterator Node:: + begin_sharedResource () const + { + return sharedResource_.begin (); + } -Node::sharedResource_const_iterator Node:: -end_sharedResource () const -{ -return sharedResource_.end (); -} + Node::sharedResource_const_iterator Node:: + end_sharedResource () const + { + return sharedResource_.end (); + } -void Node:: -add_sharedResource (::CIAO::Config_Handlers::SharedResource const& e) -{ -sharedResource_.push_back (e); -} + void Node:: + add_sharedResource (::CIAO::Config_Handlers::SharedResource const& e) + { + sharedResource_.push_back (e); + } -size_t Node:: -count_sharedResource(void) const -{ -return sharedResource_.size (); -} + size_t Node:: + count_sharedResource(void) const + { + return sharedResource_.size (); + } -// Node -// -Node::resource_iterator Node:: -begin_resource () -{ -return resource_.begin (); -} + // Node + // + Node::resource_iterator Node:: + begin_resource () + { + return resource_.begin (); + } -Node::resource_iterator Node:: -end_resource () -{ -return resource_.end (); -} + Node::resource_iterator Node:: + end_resource () + { + return resource_.end (); + } -Node::resource_const_iterator Node:: -begin_resource () const -{ -return resource_.begin (); -} + Node::resource_const_iterator Node:: + begin_resource () const + { + return resource_.begin (); + } -Node::resource_const_iterator Node:: -end_resource () const -{ -return resource_.end (); -} + Node::resource_const_iterator Node:: + end_resource () const + { + return resource_.end (); + } -void Node:: -add_resource (::CIAO::Config_Handlers::Resource const& e) -{ -resource_.push_back (e); -} + void Node:: + add_resource (::CIAO::Config_Handlers::Resource const& e) + { + resource_.push_back (e); + } -size_t Node:: -count_resource(void) const -{ -return resource_.size (); -} + size_t Node:: + count_resource(void) const + { + return resource_.size (); + } -// SharedResource -// - -SharedResource:: -SharedResource (::XMLSchema::string< ACE_TCHAR > const& name__, -::XMLSchema::string< ACE_TCHAR > const& resourceType__, -::CIAO::Config_Handlers::Node const& node__, -::CIAO::Config_Handlers::SatisfierProperty const& property__) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), -resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (resourceType__)), -node_ (new ::CIAO::Config_Handlers::Node (node__)), -property_ (new ::CIAO::Config_Handlers::SatisfierProperty (property__)), -regulator__ () -{ -name_->container (this); -resourceType_->container (this); -node_->container (this); -property_->container (this); -} + // SharedResource + // + + SharedResource:: + SharedResource (::XMLSchema::string< ACE_TCHAR > const& name__, + ::XMLSchema::string< ACE_TCHAR > const& resourceType__, + ::CIAO::Config_Handlers::Node const& node__, + ::CIAO::Config_Handlers::SatisfierProperty const& property__) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (resourceType__)), + node_ (new ::CIAO::Config_Handlers::Node (node__)), + property_ (new ::CIAO::Config_Handlers::SatisfierProperty (property__)), + regulator__ () + { + name_->container (this); + resourceType_->container (this); + node_->container (this); + property_->container (this); + } -SharedResource:: -SharedResource (::CIAO::Config_Handlers::SharedResource const& s) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), -resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceType_)), -node_ (new ::CIAO::Config_Handlers::Node (*s.node_)), -property_ (new ::CIAO::Config_Handlers::SatisfierProperty (*s.property_)), -regulator__ () -{ -name_->container (this); -resourceType_->container (this); -node_->container (this); -property_->container (this); -} + SharedResource:: + SharedResource (::CIAO::Config_Handlers::SharedResource const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + resourceType_ (new ::XMLSchema::string< ACE_TCHAR > (*s.resourceType_)), + node_ (new ::CIAO::Config_Handlers::Node (*s.node_)), + property_ (new ::CIAO::Config_Handlers::SatisfierProperty (*s.property_)), + regulator__ () + { + name_->container (this); + resourceType_->container (this); + node_->container (this); + property_->container (this); + } -::CIAO::Config_Handlers::SharedResource& SharedResource:: -operator= (::CIAO::Config_Handlers::SharedResource const& s) -{ -name (s.name ()); + ::CIAO::Config_Handlers::SharedResource& SharedResource:: + operator= (::CIAO::Config_Handlers::SharedResource const& s) + { + name (s.name ()); -resourceType (s.resourceType ()); + resourceType (s.resourceType ()); -node (s.node ()); + node (s.node ()); -property (s.property ()); + property (s.property ()); -return *this; -} + return *this; + } -// SharedResource -// -::XMLSchema::string< ACE_TCHAR > const& SharedResource:: -name () const -{ -return *name_; -} + // SharedResource + // + ::XMLSchema::string< ACE_TCHAR > const& SharedResource:: + name () const + { + return *name_; + } -void SharedResource:: -name (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*name_ = e; -} + void SharedResource:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -// SharedResource -// -::XMLSchema::string< ACE_TCHAR > const& SharedResource:: -resourceType () const -{ -return *resourceType_; -} + // SharedResource + // + ::XMLSchema::string< ACE_TCHAR > const& SharedResource:: + resourceType () const + { + return *resourceType_; + } -void SharedResource:: -resourceType (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*resourceType_ = e; -} + void SharedResource:: + resourceType (::XMLSchema::string< ACE_TCHAR > const& e) + { + *resourceType_ = e; + } -// SharedResource -// -::CIAO::Config_Handlers::Node const& SharedResource:: -node () const -{ -return *node_; -} + // SharedResource + // + ::CIAO::Config_Handlers::Node const& SharedResource:: + node () const + { + return *node_; + } -void SharedResource:: -node (::CIAO::Config_Handlers::Node const& e) -{ -*node_ = e; -} + void SharedResource:: + node (::CIAO::Config_Handlers::Node const& e) + { + *node_ = e; + } -// SharedResource -// -::CIAO::Config_Handlers::SatisfierProperty const& SharedResource:: -property () const -{ -return *property_; -} + // SharedResource + // + ::CIAO::Config_Handlers::SatisfierProperty const& SharedResource:: + property () const + { + return *property_; + } -void SharedResource:: -property (::CIAO::Config_Handlers::SatisfierProperty const& e) -{ -*property_ = e; -} -} + void SharedResource:: + property (::CIAO::Config_Handlers::SatisfierProperty const& e) + { + *property_ = e; + } + } } namespace CIAO { -namespace Config_Handlers -{ -// Domain -// - -Domain:: -Domain (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ - -::XSCRT::Parser< ACE_TCHAR > p (e); - -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - -if (n == "UUID") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -UUID (t); -} - -else if (n == "label") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -label (t); -} - -else if (n == "node") -{ -::CIAO::Config_Handlers::Node t (e); -add_node (t); -} - -else if (n == "interconnect") -{ -::CIAO::Config_Handlers::Interconnect t (e); -add_interconnect (t); -} - -else if (n == "bridge") -{ -::CIAO::Config_Handlers::Bridge t (e); -add_bridge (t); -} - -else if (n == "sharedResource") -{ -::CIAO::Config_Handlers::SharedResource t (e); -add_sharedResource (t); -} - -else if (n == "infoProperty") -{ -::CIAO::Config_Handlers::Property t (e); -add_infoProperty (t); -} - -else -{ -} -} -} - -// Bridge -// - -Bridge:: -Bridge (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ - -::XSCRT::Parser< ACE_TCHAR > p (e); - -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - -if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); -} - -else if (n == "label") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -label (t); -} - -else if (n == "connect") -{ -::CIAO::Config_Handlers::Interconnect t (e); -add_connect (t); -} - -else if (n == "resource") -{ -::CIAO::Config_Handlers::Resource t (e); -add_resource (t); -} - -else -{ -} -} -} - -// Interconnect -// - -Interconnect:: -Interconnect (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ - -::XSCRT::Parser< ACE_TCHAR > p (e); - -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - -if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); -} + namespace Config_Handlers + { + // Domain + // -else if (n == "label") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -label (t); -} + Domain:: + Domain (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -else if (n == "connection") -{ -::CIAO::Config_Handlers::Bridge t (e); -add_connection (t); -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -else if (n == "connect") -{ -::CIAO::Config_Handlers::Node t (e); -add_connect (t); -} + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -else if (n == "resource") -{ -::CIAO::Config_Handlers::Resource t (e); -add_resource (t); -} + if (n == "UUID") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + UUID (t); + } -else -{ -} -} -} + else if (n == "label") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + label (t); + } -// Node -// + else if (n == "node") + { + ::CIAO::Config_Handlers::Node t (e); + add_node (t); + } -Node:: -Node (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + else if (n == "interconnect") + { + ::CIAO::Config_Handlers::Interconnect t (e); + add_interconnect (t); + } -::XSCRT::Parser< ACE_TCHAR > p (e); + else if (n == "bridge") + { + ::CIAO::Config_Handlers::Bridge t (e); + add_bridge (t); + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + else if (n == "sharedResource") + { + ::CIAO::Config_Handlers::SharedResource t (e); + add_sharedResource (t); + } -if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); -} + else if (n == "infoProperty") + { + ::CIAO::Config_Handlers::Property t (e); + add_infoProperty (t); + } -else if (n == "label") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -label (t); -} + else + { + } + } + } -else if (n == "connection") -{ -::CIAO::Config_Handlers::Interconnect t (e); -add_connection (t); -} + // Bridge + // -else if (n == "sharedResource") -{ -::CIAO::Config_Handlers::SharedResource t (e); -add_sharedResource (t); -} + Bridge:: + Bridge (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -else if (n == "resource") -{ -::CIAO::Config_Handlers::Resource t (e); -add_resource (t); -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -else -{ -} -} -} + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -// SharedResource -// + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -SharedResource:: -SharedResource (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + else if (n == "label") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + label (t); + } -::XSCRT::Parser< ACE_TCHAR > p (e); + else if (n == "connect") + { + ::CIAO::Config_Handlers::Interconnect t (e); + add_connect (t); + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + else if (n == "resource") + { + ::CIAO::Config_Handlers::Resource t (e); + add_resource (t); + } -if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); -} + else + { + } + } + } -else if (n == "resourceType") -{ -resourceType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -resourceType_->container (this); -} + // Interconnect + // -else if (n == "node") -{ -node_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Node > (new ::CIAO::Config_Handlers::Node (e)); -node_->container (this); -} + Interconnect:: + Interconnect (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -else if (n == "property") -{ -property_ = ::std::auto_ptr< ::CIAO::Config_Handlers::SatisfierProperty > (new ::CIAO::Config_Handlers::SatisfierProperty (e)); -property_->container (this); -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -else -{ -} -} -} -} -} + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -namespace CIAO -{ -namespace Config_Handlers -{ -} -} + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -#include "XMLSchema/TypeInfo.hpp" + else if (n == "label") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + label (t); + } -namespace CIAO -{ -namespace Config_Handlers -{ -namespace -{ -::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); + else if (n == "connection") + { + ::CIAO::Config_Handlers::Bridge t (e); + add_connection (t); + } -struct DomainTypeInfoInitializer -{ -DomainTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (Domain)); -::XSCRT::ExtendedTypeInfo nf (id); + else if (n == "connect") + { + ::CIAO::Config_Handlers::Node t (e); + add_connect (t); + } -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + else if (n == "resource") + { + ::CIAO::Config_Handlers::Resource t (e); + add_resource (t); + } -DomainTypeInfoInitializer DomainTypeInfoInitializer_; + else + { + } + } + } -struct BridgeTypeInfoInitializer -{ -BridgeTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (Bridge)); -::XSCRT::ExtendedTypeInfo nf (id); + // Node + // -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + Node:: + Node (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -BridgeTypeInfoInitializer BridgeTypeInfoInitializer_; + ::XSCRT::Parser< ACE_TCHAR > p (e); -struct InterconnectTypeInfoInitializer -{ -InterconnectTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (Interconnect)); -::XSCRT::ExtendedTypeInfo nf (id); + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -InterconnectTypeInfoInitializer InterconnectTypeInfoInitializer_; + else if (n == "label") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + label (t); + } -struct NodeTypeInfoInitializer -{ -NodeTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (Node)); -::XSCRT::ExtendedTypeInfo nf (id); + else if (n == "connection") + { + ::CIAO::Config_Handlers::Interconnect t (e); + add_connection (t); + } -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + else if (n == "sharedResource") + { + ::CIAO::Config_Handlers::SharedResource t (e); + add_sharedResource (t); + } -NodeTypeInfoInitializer NodeTypeInfoInitializer_; + else if (n == "resource") + { + ::CIAO::Config_Handlers::Resource t (e); + add_resource (t); + } -struct SharedResourceTypeInfoInitializer -{ -SharedResourceTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (SharedResource)); -::XSCRT::ExtendedTypeInfo nf (id); + else + { + } + } + } -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + // SharedResource + // -SharedResourceTypeInfoInitializer SharedResourceTypeInfoInitializer_; -} -} -} + SharedResource:: + SharedResource (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -namespace CIAO -{ -namespace Config_Handlers -{ -namespace Traversal -{ -// Domain -// -// + ::XSCRT::Parser< ACE_TCHAR > p (e); -void Domain:: -traverse (Type& o) -{ -pre (o); -if (o.UUID_p ()) UUID (o); -else UUID_none (o); -if (o.label_p ()) label (o); -else label_none (o); -node (o); -interconnect (o); -bridge (o); -sharedResource (o); -infoProperty (o); -post (o); -} + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -void Domain:: -traverse (Type const& o) -{ -pre (o); -if (o.UUID_p ()) UUID (o); -else UUID_none (o); -if (o.label_p ()) label (o); -else label_none (o); -node (o); -interconnect (o); -bridge (o); -sharedResource (o); -infoProperty (o); -post (o); -} + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -void Domain:: -pre (Type&) -{ -} + else if (n == "resourceType") + { + resourceType_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + resourceType_->container (this); + } -void Domain:: -pre (Type const&) -{ -} + else if (n == "node") + { + node_ = ::std::auto_ptr< ::CIAO::Config_Handlers::Node > (new ::CIAO::Config_Handlers::Node (e)); + node_->container (this); + } -void Domain:: -UUID (Type& o) -{ -dispatch (o.UUID ()); -} + else if (n == "property") + { + property_ = ::std::auto_ptr< ::CIAO::Config_Handlers::SatisfierProperty > (new ::CIAO::Config_Handlers::SatisfierProperty (e)); + property_->container (this); + } -void Domain:: -UUID (Type const& o) -{ -dispatch (o.UUID ()); + else + { + } + } + } + } } -void Domain:: -UUID_none (Type&) +namespace CIAO { + namespace Config_Handlers + { + } } -void Domain:: -UUID_none (Type const&) -{ -} +#include "XMLSchema/TypeInfo.hpp" -void Domain:: -label (Type& o) +namespace CIAO { -dispatch (o.label ()); -} + namespace Config_Handlers + { + namespace + { + ::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); -void Domain:: -label (Type const& o) -{ -dispatch (o.label ()); -} + struct DomainTypeInfoInitializer + { + DomainTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (Domain)); + ::XSCRT::ExtendedTypeInfo nf (id); -void Domain:: -label_none (Type&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void Domain:: -label_none (Type const&) -{ -} + DomainTypeInfoInitializer DomainTypeInfoInitializer_; -void Domain:: -node (Type& o) -{ -// VC6 anathema strikes again -// -Domain::Type::node_iterator b (o.begin_node()), e (o.end_node()); + struct BridgeTypeInfoInitializer + { + BridgeTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (Bridge)); + ::XSCRT::ExtendedTypeInfo nf (id); -if (b != e) -{ -node_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) node_next (o); -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -node_post (o); -} -} + BridgeTypeInfoInitializer BridgeTypeInfoInitializer_; -void Domain:: -node (Type const& o) -{ -// VC6 anathema strikes again -// -Domain::Type::node_const_iterator b (o.begin_node()), e (o.end_node()); + struct InterconnectTypeInfoInitializer + { + InterconnectTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (Interconnect)); + ::XSCRT::ExtendedTypeInfo nf (id); -if (b != e) -{ -node_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) node_next (o); -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -node_post (o); -} -} + InterconnectTypeInfoInitializer InterconnectTypeInfoInitializer_; -void Domain:: -node_pre (Type&) -{ -} + struct NodeTypeInfoInitializer + { + NodeTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (Node)); + ::XSCRT::ExtendedTypeInfo nf (id); -void Domain:: -node_pre (Type const&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void Domain:: -node_next (Type&) -{ -} + NodeTypeInfoInitializer NodeTypeInfoInitializer_; -void Domain:: -node_next (Type const&) -{ -} + struct SharedResourceTypeInfoInitializer + { + SharedResourceTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (SharedResource)); + ::XSCRT::ExtendedTypeInfo nf (id); -void Domain:: -node_post (Type&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void Domain:: -node_post (Type const&) -{ + SharedResourceTypeInfoInitializer SharedResourceTypeInfoInitializer_; + } + } } -void Domain:: -interconnect (Type& o) -{ -// VC6 anathema strikes again -// -Domain::Type::interconnect_iterator b (o.begin_interconnect()), e (o.end_interconnect()); - -if (b != e) -{ -interconnect_pre (o); -for (; b != e;) +namespace CIAO { -dispatch (*b); -if (++b != e) interconnect_next (o); -} + namespace Config_Handlers + { + namespace Traversal + { + // Domain + // + // -interconnect_post (o); -} + void Domain:: + traverse (Type& o) + { + pre (o); + if (o.UUID_p ()) UUID (o); + else UUID_none (o); + if (o.label_p ()) label (o); + else label_none (o); + node (o); + interconnect (o); + bridge (o); + sharedResource (o); + infoProperty (o); + post (o); + } -else interconnect_none (o); -} + void Domain:: + traverse (Type const& o) + { + pre (o); + if (o.UUID_p ()) UUID (o); + else UUID_none (o); + if (o.label_p ()) label (o); + else label_none (o); + node (o); + interconnect (o); + bridge (o); + sharedResource (o); + infoProperty (o); + post (o); + } -void Domain:: -interconnect (Type const& o) -{ -// VC6 anathema strikes again -// -Domain::Type::interconnect_const_iterator b (o.begin_interconnect()), e (o.end_interconnect()); + void Domain:: + pre (Type&) + { + } -if (b != e) -{ -interconnect_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) interconnect_next (o); -} + void Domain:: + pre (Type const&) + { + } -interconnect_post (o); -} + void Domain:: + UUID (Type& o) + { + dispatch (o.UUID ()); + } -else interconnect_none (o); -} + void Domain:: + UUID (Type const& o) + { + dispatch (o.UUID ()); + } -void Domain:: -interconnect_pre (Type&) -{ -} + void Domain:: + UUID_none (Type&) + { + } -void Domain:: -interconnect_pre (Type const&) -{ -} + void Domain:: + UUID_none (Type const&) + { + } -void Domain:: -interconnect_next (Type&) -{ -} + void Domain:: + label (Type& o) + { + dispatch (o.label ()); + } -void Domain:: -interconnect_next (Type const&) -{ -} + void Domain:: + label (Type const& o) + { + dispatch (o.label ()); + } -void Domain:: -interconnect_post (Type&) -{ -} + void Domain:: + label_none (Type&) + { + } -void Domain:: -interconnect_post (Type const&) -{ -} + void Domain:: + label_none (Type const&) + { + } -void Domain:: -interconnect_none (Type&) -{ -} + void Domain:: + node (Type& o) + { + // VC6 anathema strikes again + // + Domain::Type::node_iterator b (o.begin_node()), e (o.end_node()); -void Domain:: -interconnect_none (Type const&) -{ -} + if (b != e) + { + node_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) node_next (o); + } + + node_post (o); + } + } -void Domain:: -bridge (Type& o) -{ -// VC6 anathema strikes again -// -Domain::Type::bridge_iterator b (o.begin_bridge()), e (o.end_bridge()); + void Domain:: + node (Type const& o) + { + // VC6 anathema strikes again + // + Domain::Type::node_const_iterator b (o.begin_node()), e (o.end_node()); -if (b != e) -{ -bridge_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) bridge_next (o); -} + if (b != e) + { + node_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) node_next (o); + } + + node_post (o); + } + } -bridge_post (o); -} + void Domain:: + node_pre (Type&) + { + } -else bridge_none (o); -} + void Domain:: + node_pre (Type const&) + { + } -void Domain:: -bridge (Type const& o) -{ -// VC6 anathema strikes again -// -Domain::Type::bridge_const_iterator b (o.begin_bridge()), e (o.end_bridge()); + void Domain:: + node_next (Type&) + { + } -if (b != e) -{ -bridge_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) bridge_next (o); -} + void Domain:: + node_next (Type const&) + { + } -bridge_post (o); -} + void Domain:: + node_post (Type&) + { + } -else bridge_none (o); -} + void Domain:: + node_post (Type const&) + { + } -void Domain:: -bridge_pre (Type&) -{ -} + void Domain:: + interconnect (Type& o) + { + // VC6 anathema strikes again + // + Domain::Type::interconnect_iterator b (o.begin_interconnect()), e (o.end_interconnect()); -void Domain:: -bridge_pre (Type const&) -{ -} + if (b != e) + { + interconnect_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) interconnect_next (o); + } + + interconnect_post (o); + } -void Domain:: -bridge_next (Type&) -{ -} + else interconnect_none (o); + } -void Domain:: -bridge_next (Type const&) -{ -} + void Domain:: + interconnect (Type const& o) + { + // VC6 anathema strikes again + // + Domain::Type::interconnect_const_iterator b (o.begin_interconnect()), e (o.end_interconnect()); -void Domain:: -bridge_post (Type&) -{ -} + if (b != e) + { + interconnect_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) interconnect_next (o); + } + + interconnect_post (o); + } -void Domain:: -bridge_post (Type const&) -{ -} + else interconnect_none (o); + } -void Domain:: -bridge_none (Type&) -{ -} + void Domain:: + interconnect_pre (Type&) + { + } -void Domain:: -bridge_none (Type const&) -{ -} + void Domain:: + interconnect_pre (Type const&) + { + } -void Domain:: -sharedResource (Type& o) -{ -// VC6 anathema strikes again -// -Domain::Type::sharedResource_iterator b (o.begin_sharedResource()), e (o.end_sharedResource()); + void Domain:: + interconnect_next (Type&) + { + } -if (b != e) -{ -sharedResource_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) sharedResource_next (o); -} + void Domain:: + interconnect_next (Type const&) + { + } -sharedResource_post (o); -} + void Domain:: + interconnect_post (Type&) + { + } -else sharedResource_none (o); -} + void Domain:: + interconnect_post (Type const&) + { + } -void Domain:: -sharedResource (Type const& o) -{ -// VC6 anathema strikes again -// -Domain::Type::sharedResource_const_iterator b (o.begin_sharedResource()), e (o.end_sharedResource()); + void Domain:: + interconnect_none (Type&) + { + } -if (b != e) -{ -sharedResource_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) sharedResource_next (o); -} + void Domain:: + interconnect_none (Type const&) + { + } -sharedResource_post (o); -} + void Domain:: + bridge (Type& o) + { + // VC6 anathema strikes again + // + Domain::Type::bridge_iterator b (o.begin_bridge()), e (o.end_bridge()); -else sharedResource_none (o); -} + if (b != e) + { + bridge_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) bridge_next (o); + } + + bridge_post (o); + } -void Domain:: -sharedResource_pre (Type&) -{ -} + else bridge_none (o); + } -void Domain:: -sharedResource_pre (Type const&) -{ -} + void Domain:: + bridge (Type const& o) + { + // VC6 anathema strikes again + // + Domain::Type::bridge_const_iterator b (o.begin_bridge()), e (o.end_bridge()); -void Domain:: -sharedResource_next (Type&) -{ -} + if (b != e) + { + bridge_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) bridge_next (o); + } + + bridge_post (o); + } -void Domain:: -sharedResource_next (Type const&) -{ -} + else bridge_none (o); + } -void Domain:: -sharedResource_post (Type&) -{ -} + void Domain:: + bridge_pre (Type&) + { + } -void Domain:: -sharedResource_post (Type const&) -{ -} + void Domain:: + bridge_pre (Type const&) + { + } -void Domain:: -sharedResource_none (Type&) -{ -} + void Domain:: + bridge_next (Type&) + { + } -void Domain:: -sharedResource_none (Type const&) -{ -} + void Domain:: + bridge_next (Type const&) + { + } -void Domain:: -infoProperty (Type& o) -{ -// VC6 anathema strikes again -// -Domain::Type::infoProperty_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); + void Domain:: + bridge_post (Type&) + { + } -if (b != e) -{ -infoProperty_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) infoProperty_next (o); -} + void Domain:: + bridge_post (Type const&) + { + } -infoProperty_post (o); -} + void Domain:: + bridge_none (Type&) + { + } -else infoProperty_none (o); -} + void Domain:: + bridge_none (Type const&) + { + } -void Domain:: -infoProperty (Type const& o) -{ -// VC6 anathema strikes again -// -Domain::Type::infoProperty_const_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); + void Domain:: + sharedResource (Type& o) + { + // VC6 anathema strikes again + // + Domain::Type::sharedResource_iterator b (o.begin_sharedResource()), e (o.end_sharedResource()); -if (b != e) -{ -infoProperty_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) infoProperty_next (o); -} + if (b != e) + { + sharedResource_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) sharedResource_next (o); + } + + sharedResource_post (o); + } -infoProperty_post (o); -} + else sharedResource_none (o); + } -else infoProperty_none (o); -} + void Domain:: + sharedResource (Type const& o) + { + // VC6 anathema strikes again + // + Domain::Type::sharedResource_const_iterator b (o.begin_sharedResource()), e (o.end_sharedResource()); -void Domain:: -infoProperty_pre (Type&) -{ -} + if (b != e) + { + sharedResource_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) sharedResource_next (o); + } + + sharedResource_post (o); + } -void Domain:: -infoProperty_pre (Type const&) -{ -} + else sharedResource_none (o); + } -void Domain:: -infoProperty_next (Type&) -{ -} + void Domain:: + sharedResource_pre (Type&) + { + } -void Domain:: -infoProperty_next (Type const&) -{ -} + void Domain:: + sharedResource_pre (Type const&) + { + } -void Domain:: -infoProperty_post (Type&) -{ -} + void Domain:: + sharedResource_next (Type&) + { + } -void Domain:: -infoProperty_post (Type const&) -{ -} + void Domain:: + sharedResource_next (Type const&) + { + } -void Domain:: -infoProperty_none (Type&) -{ -} + void Domain:: + sharedResource_post (Type&) + { + } -void Domain:: -infoProperty_none (Type const&) -{ -} + void Domain:: + sharedResource_post (Type const&) + { + } -void Domain:: -post (Type&) -{ -} + void Domain:: + sharedResource_none (Type&) + { + } -void Domain:: -post (Type const&) -{ -} + void Domain:: + sharedResource_none (Type const&) + { + } -// Bridge -// -// + void Domain:: + infoProperty (Type& o) + { + // VC6 anathema strikes again + // + Domain::Type::infoProperty_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); -void Bridge:: -traverse (Type& o) -{ -pre (o); -name (o); -if (o.label_p ()) label (o); -else label_none (o); -connect (o); -resource (o); -post (o); -} + if (b != e) + { + infoProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) infoProperty_next (o); + } + + infoProperty_post (o); + } -void Bridge:: -traverse (Type const& o) -{ -pre (o); -name (o); -if (o.label_p ()) label (o); -else label_none (o); -connect (o); -resource (o); -post (o); -} + else infoProperty_none (o); + } -void Bridge:: -pre (Type&) -{ -} + void Domain:: + infoProperty (Type const& o) + { + // VC6 anathema strikes again + // + Domain::Type::infoProperty_const_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); -void Bridge:: -pre (Type const&) -{ -} + if (b != e) + { + infoProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) infoProperty_next (o); + } + + infoProperty_post (o); + } -void Bridge:: -name (Type& o) -{ -dispatch (o.name ()); -} + else infoProperty_none (o); + } -void Bridge:: -name (Type const& o) -{ -dispatch (o.name ()); -} + void Domain:: + infoProperty_pre (Type&) + { + } -void Bridge:: -label (Type& o) -{ -dispatch (o.label ()); -} + void Domain:: + infoProperty_pre (Type const&) + { + } -void Bridge:: -label (Type const& o) -{ -dispatch (o.label ()); -} + void Domain:: + infoProperty_next (Type&) + { + } -void Bridge:: -label_none (Type&) -{ -} + void Domain:: + infoProperty_next (Type const&) + { + } -void Bridge:: -label_none (Type const&) -{ -} + void Domain:: + infoProperty_post (Type&) + { + } -void Bridge:: -connect (Type& o) -{ -// VC6 anathema strikes again -// -Bridge::Type::connect_iterator b (o.begin_connect()), e (o.end_connect()); + void Domain:: + infoProperty_post (Type const&) + { + } -if (b != e) -{ -connect_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) connect_next (o); -} + void Domain:: + infoProperty_none (Type&) + { + } -connect_post (o); -} -} + void Domain:: + infoProperty_none (Type const&) + { + } -void Bridge:: -connect (Type const& o) -{ -// VC6 anathema strikes again -// -Bridge::Type::connect_const_iterator b (o.begin_connect()), e (o.end_connect()); + void Domain:: + post (Type&) + { + } -if (b != e) -{ -connect_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) connect_next (o); -} + void Domain:: + post (Type const&) + { + } -connect_post (o); -} -} + // Bridge + // + // -void Bridge:: -connect_pre (Type&) -{ -} + void Bridge:: + traverse (Type& o) + { + pre (o); + name (o); + if (o.label_p ()) label (o); + else label_none (o); + connect (o); + resource (o); + post (o); + } -void Bridge:: -connect_pre (Type const&) -{ -} + void Bridge:: + traverse (Type const& o) + { + pre (o); + name (o); + if (o.label_p ()) label (o); + else label_none (o); + connect (o); + resource (o); + post (o); + } -void Bridge:: -connect_next (Type&) -{ -} + void Bridge:: + pre (Type&) + { + } -void Bridge:: -connect_next (Type const&) -{ -} + void Bridge:: + pre (Type const&) + { + } -void Bridge:: -connect_post (Type&) -{ -} + void Bridge:: + name (Type& o) + { + dispatch (o.name ()); + } -void Bridge:: -connect_post (Type const&) -{ -} + void Bridge:: + name (Type const& o) + { + dispatch (o.name ()); + } -void Bridge:: -resource (Type& o) -{ -// VC6 anathema strikes again -// -Bridge::Type::resource_iterator b (o.begin_resource()), e (o.end_resource()); + void Bridge:: + label (Type& o) + { + dispatch (o.label ()); + } -if (b != e) -{ -resource_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) resource_next (o); -} + void Bridge:: + label (Type const& o) + { + dispatch (o.label ()); + } -resource_post (o); -} + void Bridge:: + label_none (Type&) + { + } -else resource_none (o); -} + void Bridge:: + label_none (Type const&) + { + } -void Bridge:: -resource (Type const& o) -{ -// VC6 anathema strikes again -// -Bridge::Type::resource_const_iterator b (o.begin_resource()), e (o.end_resource()); + void Bridge:: + connect (Type& o) + { + // VC6 anathema strikes again + // + Bridge::Type::connect_iterator b (o.begin_connect()), e (o.end_connect()); -if (b != e) -{ -resource_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) resource_next (o); -} + if (b != e) + { + connect_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) connect_next (o); + } + + connect_post (o); + } + } -resource_post (o); -} + void Bridge:: + connect (Type const& o) + { + // VC6 anathema strikes again + // + Bridge::Type::connect_const_iterator b (o.begin_connect()), e (o.end_connect()); -else resource_none (o); -} + if (b != e) + { + connect_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) connect_next (o); + } + + connect_post (o); + } + } -void Bridge:: -resource_pre (Type&) -{ -} + void Bridge:: + connect_pre (Type&) + { + } -void Bridge:: -resource_pre (Type const&) -{ -} + void Bridge:: + connect_pre (Type const&) + { + } -void Bridge:: -resource_next (Type&) -{ -} + void Bridge:: + connect_next (Type&) + { + } -void Bridge:: -resource_next (Type const&) -{ -} + void Bridge:: + connect_next (Type const&) + { + } -void Bridge:: -resource_post (Type&) -{ -} + void Bridge:: + connect_post (Type&) + { + } -void Bridge:: -resource_post (Type const&) -{ -} + void Bridge:: + connect_post (Type const&) + { + } -void Bridge:: -resource_none (Type&) -{ -} + void Bridge:: + resource (Type& o) + { + // VC6 anathema strikes again + // + Bridge::Type::resource_iterator b (o.begin_resource()), e (o.end_resource()); -void Bridge:: -resource_none (Type const&) -{ -} + if (b != e) + { + resource_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) resource_next (o); + } + + resource_post (o); + } -void Bridge:: -post (Type&) -{ -} + else resource_none (o); + } -void Bridge:: -post (Type const&) -{ -} + void Bridge:: + resource (Type const& o) + { + // VC6 anathema strikes again + // + Bridge::Type::resource_const_iterator b (o.begin_resource()), e (o.end_resource()); -// Interconnect -// -// + if (b != e) + { + resource_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) resource_next (o); + } + + resource_post (o); + } -void Interconnect:: -traverse (Type& o) -{ -pre (o); -name (o); -if (o.label_p ()) label (o); -else label_none (o); -connection (o); -connect (o); -resource (o); -post (o); -} + else resource_none (o); + } -void Interconnect:: -traverse (Type const& o) -{ -pre (o); -name (o); -if (o.label_p ()) label (o); -else label_none (o); -connection (o); -connect (o); -resource (o); -post (o); -} + void Bridge:: + resource_pre (Type&) + { + } -void Interconnect:: -pre (Type&) -{ -} + void Bridge:: + resource_pre (Type const&) + { + } -void Interconnect:: -pre (Type const&) -{ -} + void Bridge:: + resource_next (Type&) + { + } -void Interconnect:: -name (Type& o) -{ -dispatch (o.name ()); -} + void Bridge:: + resource_next (Type const&) + { + } -void Interconnect:: -name (Type const& o) -{ -dispatch (o.name ()); -} + void Bridge:: + resource_post (Type&) + { + } -void Interconnect:: -label (Type& o) -{ -dispatch (o.label ()); -} + void Bridge:: + resource_post (Type const&) + { + } -void Interconnect:: -label (Type const& o) -{ -dispatch (o.label ()); -} + void Bridge:: + resource_none (Type&) + { + } -void Interconnect:: -label_none (Type&) -{ -} + void Bridge:: + resource_none (Type const&) + { + } -void Interconnect:: -label_none (Type const&) -{ -} + void Bridge:: + post (Type&) + { + } -void Interconnect:: -connection (Type& o) -{ -// VC6 anathema strikes again -// -Interconnect::Type::connection_iterator b (o.begin_connection()), e (o.end_connection()); + void Bridge:: + post (Type const&) + { + } -if (b != e) -{ -connection_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) connection_next (o); -} + // Interconnect + // + // -connection_post (o); -} + void Interconnect:: + traverse (Type& o) + { + pre (o); + name (o); + if (o.label_p ()) label (o); + else label_none (o); + connection (o); + connect (o); + resource (o); + post (o); + } -else connection_none (o); -} + void Interconnect:: + traverse (Type const& o) + { + pre (o); + name (o); + if (o.label_p ()) label (o); + else label_none (o); + connection (o); + connect (o); + resource (o); + post (o); + } -void Interconnect:: -connection (Type const& o) -{ -// VC6 anathema strikes again -// -Interconnect::Type::connection_const_iterator b (o.begin_connection()), e (o.end_connection()); + void Interconnect:: + pre (Type&) + { + } -if (b != e) -{ -connection_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) connection_next (o); -} + void Interconnect:: + pre (Type const&) + { + } -connection_post (o); -} + void Interconnect:: + name (Type& o) + { + dispatch (o.name ()); + } -else connection_none (o); -} + void Interconnect:: + name (Type const& o) + { + dispatch (o.name ()); + } -void Interconnect:: -connection_pre (Type&) -{ -} + void Interconnect:: + label (Type& o) + { + dispatch (o.label ()); + } -void Interconnect:: -connection_pre (Type const&) -{ -} + void Interconnect:: + label (Type const& o) + { + dispatch (o.label ()); + } -void Interconnect:: -connection_next (Type&) -{ -} + void Interconnect:: + label_none (Type&) + { + } -void Interconnect:: -connection_next (Type const&) -{ -} + void Interconnect:: + label_none (Type const&) + { + } -void Interconnect:: -connection_post (Type&) -{ -} + void Interconnect:: + connection (Type& o) + { + // VC6 anathema strikes again + // + Interconnect::Type::connection_iterator b (o.begin_connection()), e (o.end_connection()); -void Interconnect:: -connection_post (Type const&) -{ -} + if (b != e) + { + connection_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) connection_next (o); + } + + connection_post (o); + } -void Interconnect:: -connection_none (Type&) -{ -} + else connection_none (o); + } -void Interconnect:: -connection_none (Type const&) -{ -} + void Interconnect:: + connection (Type const& o) + { + // VC6 anathema strikes again + // + Interconnect::Type::connection_const_iterator b (o.begin_connection()), e (o.end_connection()); -void Interconnect:: -connect (Type& o) -{ -// VC6 anathema strikes again -// -Interconnect::Type::connect_iterator b (o.begin_connect()), e (o.end_connect()); + if (b != e) + { + connection_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) connection_next (o); + } + + connection_post (o); + } -if (b != e) -{ -connect_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) connect_next (o); -} + else connection_none (o); + } -connect_post (o); -} -} + void Interconnect:: + connection_pre (Type&) + { + } -void Interconnect:: -connect (Type const& o) -{ -// VC6 anathema strikes again -// -Interconnect::Type::connect_const_iterator b (o.begin_connect()), e (o.end_connect()); + void Interconnect:: + connection_pre (Type const&) + { + } -if (b != e) -{ -connect_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) connect_next (o); -} + void Interconnect:: + connection_next (Type&) + { + } -connect_post (o); -} -} + void Interconnect:: + connection_next (Type const&) + { + } -void Interconnect:: -connect_pre (Type&) -{ -} + void Interconnect:: + connection_post (Type&) + { + } -void Interconnect:: -connect_pre (Type const&) -{ -} + void Interconnect:: + connection_post (Type const&) + { + } -void Interconnect:: -connect_next (Type&) -{ -} + void Interconnect:: + connection_none (Type&) + { + } -void Interconnect:: -connect_next (Type const&) -{ -} + void Interconnect:: + connection_none (Type const&) + { + } -void Interconnect:: -connect_post (Type&) -{ -} + void Interconnect:: + connect (Type& o) + { + // VC6 anathema strikes again + // + Interconnect::Type::connect_iterator b (o.begin_connect()), e (o.end_connect()); -void Interconnect:: -connect_post (Type const&) -{ -} + if (b != e) + { + connect_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) connect_next (o); + } + + connect_post (o); + } + } -void Interconnect:: -resource (Type& o) -{ -// VC6 anathema strikes again -// -Interconnect::Type::resource_iterator b (o.begin_resource()), e (o.end_resource()); + void Interconnect:: + connect (Type const& o) + { + // VC6 anathema strikes again + // + Interconnect::Type::connect_const_iterator b (o.begin_connect()), e (o.end_connect()); -if (b != e) -{ -resource_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) resource_next (o); -} + if (b != e) + { + connect_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) connect_next (o); + } + + connect_post (o); + } + } -resource_post (o); -} + void Interconnect:: + connect_pre (Type&) + { + } -else resource_none (o); -} + void Interconnect:: + connect_pre (Type const&) + { + } -void Interconnect:: -resource (Type const& o) -{ -// VC6 anathema strikes again -// -Interconnect::Type::resource_const_iterator b (o.begin_resource()), e (o.end_resource()); + void Interconnect:: + connect_next (Type&) + { + } -if (b != e) -{ -resource_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) resource_next (o); -} + void Interconnect:: + connect_next (Type const&) + { + } -resource_post (o); -} + void Interconnect:: + connect_post (Type&) + { + } -else resource_none (o); -} + void Interconnect:: + connect_post (Type const&) + { + } -void Interconnect:: -resource_pre (Type&) -{ -} + void Interconnect:: + resource (Type& o) + { + // VC6 anathema strikes again + // + Interconnect::Type::resource_iterator b (o.begin_resource()), e (o.end_resource()); -void Interconnect:: -resource_pre (Type const&) -{ -} + if (b != e) + { + resource_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) resource_next (o); + } + + resource_post (o); + } -void Interconnect:: -resource_next (Type&) -{ -} + else resource_none (o); + } -void Interconnect:: -resource_next (Type const&) -{ -} + void Interconnect:: + resource (Type const& o) + { + // VC6 anathema strikes again + // + Interconnect::Type::resource_const_iterator b (o.begin_resource()), e (o.end_resource()); -void Interconnect:: -resource_post (Type&) -{ -} + if (b != e) + { + resource_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) resource_next (o); + } + + resource_post (o); + } -void Interconnect:: -resource_post (Type const&) -{ -} + else resource_none (o); + } -void Interconnect:: -resource_none (Type&) -{ -} + void Interconnect:: + resource_pre (Type&) + { + } -void Interconnect:: -resource_none (Type const&) -{ -} + void Interconnect:: + resource_pre (Type const&) + { + } -void Interconnect:: -post (Type&) -{ -} + void Interconnect:: + resource_next (Type&) + { + } -void Interconnect:: -post (Type const&) -{ -} + void Interconnect:: + resource_next (Type const&) + { + } -// Node -// -// + void Interconnect:: + resource_post (Type&) + { + } -void Node:: -traverse (Type& o) -{ -pre (o); -name (o); -if (o.label_p ()) label (o); -else label_none (o); -connection (o); -sharedResource (o); -resource (o); -post (o); -} + void Interconnect:: + resource_post (Type const&) + { + } -void Node:: -traverse (Type const& o) -{ -pre (o); -name (o); -if (o.label_p ()) label (o); -else label_none (o); -connection (o); -sharedResource (o); -resource (o); -post (o); -} + void Interconnect:: + resource_none (Type&) + { + } -void Node:: -pre (Type&) -{ -} + void Interconnect:: + resource_none (Type const&) + { + } -void Node:: -pre (Type const&) -{ -} + void Interconnect:: + post (Type&) + { + } -void Node:: -name (Type& o) -{ -dispatch (o.name ()); -} + void Interconnect:: + post (Type const&) + { + } -void Node:: -name (Type const& o) -{ -dispatch (o.name ()); -} + // Node + // + // -void Node:: -label (Type& o) -{ -dispatch (o.label ()); -} + void Node:: + traverse (Type& o) + { + pre (o); + name (o); + if (o.label_p ()) label (o); + else label_none (o); + connection (o); + sharedResource (o); + resource (o); + post (o); + } -void Node:: -label (Type const& o) -{ -dispatch (o.label ()); -} + void Node:: + traverse (Type const& o) + { + pre (o); + name (o); + if (o.label_p ()) label (o); + else label_none (o); + connection (o); + sharedResource (o); + resource (o); + post (o); + } -void Node:: -label_none (Type&) -{ -} + void Node:: + pre (Type&) + { + } -void Node:: -label_none (Type const&) -{ -} + void Node:: + pre (Type const&) + { + } -void Node:: -connection (Type& o) -{ -// VC6 anathema strikes again -// -Node::Type::connection_iterator b (o.begin_connection()), e (o.end_connection()); + void Node:: + name (Type& o) + { + dispatch (o.name ()); + } -if (b != e) -{ -connection_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) connection_next (o); -} + void Node:: + name (Type const& o) + { + dispatch (o.name ()); + } -connection_post (o); -} + void Node:: + label (Type& o) + { + dispatch (o.label ()); + } -else connection_none (o); -} + void Node:: + label (Type const& o) + { + dispatch (o.label ()); + } -void Node:: -connection (Type const& o) -{ -// VC6 anathema strikes again -// -Node::Type::connection_const_iterator b (o.begin_connection()), e (o.end_connection()); + void Node:: + label_none (Type&) + { + } -if (b != e) -{ -connection_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) connection_next (o); -} + void Node:: + label_none (Type const&) + { + } -connection_post (o); -} + void Node:: + connection (Type& o) + { + // VC6 anathema strikes again + // + Node::Type::connection_iterator b (o.begin_connection()), e (o.end_connection()); -else connection_none (o); -} + if (b != e) + { + connection_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) connection_next (o); + } + + connection_post (o); + } -void Node:: -connection_pre (Type&) -{ -} + else connection_none (o); + } -void Node:: -connection_pre (Type const&) -{ -} + void Node:: + connection (Type const& o) + { + // VC6 anathema strikes again + // + Node::Type::connection_const_iterator b (o.begin_connection()), e (o.end_connection()); -void Node:: -connection_next (Type&) -{ -} + if (b != e) + { + connection_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) connection_next (o); + } + + connection_post (o); + } -void Node:: -connection_next (Type const&) -{ -} + else connection_none (o); + } -void Node:: -connection_post (Type&) -{ -} + void Node:: + connection_pre (Type&) + { + } -void Node:: -connection_post (Type const&) -{ -} + void Node:: + connection_pre (Type const&) + { + } -void Node:: -connection_none (Type&) -{ -} + void Node:: + connection_next (Type&) + { + } -void Node:: -connection_none (Type const&) -{ -} + void Node:: + connection_next (Type const&) + { + } -void Node:: -sharedResource (Type& o) -{ -// VC6 anathema strikes again -// -Node::Type::sharedResource_iterator b (o.begin_sharedResource()), e (o.end_sharedResource()); + void Node:: + connection_post (Type&) + { + } -if (b != e) -{ -sharedResource_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) sharedResource_next (o); -} + void Node:: + connection_post (Type const&) + { + } -sharedResource_post (o); -} + void Node:: + connection_none (Type&) + { + } -else sharedResource_none (o); -} + void Node:: + connection_none (Type const&) + { + } -void Node:: -sharedResource (Type const& o) -{ -// VC6 anathema strikes again -// -Node::Type::sharedResource_const_iterator b (o.begin_sharedResource()), e (o.end_sharedResource()); + void Node:: + sharedResource (Type& o) + { + // VC6 anathema strikes again + // + Node::Type::sharedResource_iterator b (o.begin_sharedResource()), e (o.end_sharedResource()); -if (b != e) -{ -sharedResource_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) sharedResource_next (o); -} + if (b != e) + { + sharedResource_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) sharedResource_next (o); + } + + sharedResource_post (o); + } -sharedResource_post (o); -} + else sharedResource_none (o); + } -else sharedResource_none (o); -} + void Node:: + sharedResource (Type const& o) + { + // VC6 anathema strikes again + // + Node::Type::sharedResource_const_iterator b (o.begin_sharedResource()), e (o.end_sharedResource()); -void Node:: -sharedResource_pre (Type&) -{ -} + if (b != e) + { + sharedResource_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) sharedResource_next (o); + } + + sharedResource_post (o); + } -void Node:: -sharedResource_pre (Type const&) -{ -} + else sharedResource_none (o); + } -void Node:: -sharedResource_next (Type&) -{ -} + void Node:: + sharedResource_pre (Type&) + { + } -void Node:: -sharedResource_next (Type const&) -{ -} + void Node:: + sharedResource_pre (Type const&) + { + } -void Node:: -sharedResource_post (Type&) -{ -} + void Node:: + sharedResource_next (Type&) + { + } -void Node:: -sharedResource_post (Type const&) -{ -} + void Node:: + sharedResource_next (Type const&) + { + } -void Node:: -sharedResource_none (Type&) -{ -} + void Node:: + sharedResource_post (Type&) + { + } -void Node:: -sharedResource_none (Type const&) -{ -} + void Node:: + sharedResource_post (Type const&) + { + } -void Node:: -resource (Type& o) -{ -// VC6 anathema strikes again -// -Node::Type::resource_iterator b (o.begin_resource()), e (o.end_resource()); + void Node:: + sharedResource_none (Type&) + { + } -if (b != e) -{ -resource_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) resource_next (o); -} + void Node:: + sharedResource_none (Type const&) + { + } -resource_post (o); -} + void Node:: + resource (Type& o) + { + // VC6 anathema strikes again + // + Node::Type::resource_iterator b (o.begin_resource()), e (o.end_resource()); -else resource_none (o); -} + if (b != e) + { + resource_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) resource_next (o); + } + + resource_post (o); + } -void Node:: -resource (Type const& o) -{ -// VC6 anathema strikes again -// -Node::Type::resource_const_iterator b (o.begin_resource()), e (o.end_resource()); + else resource_none (o); + } -if (b != e) -{ -resource_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) resource_next (o); -} + void Node:: + resource (Type const& o) + { + // VC6 anathema strikes again + // + Node::Type::resource_const_iterator b (o.begin_resource()), e (o.end_resource()); -resource_post (o); -} + if (b != e) + { + resource_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) resource_next (o); + } + + resource_post (o); + } -else resource_none (o); -} + else resource_none (o); + } -void Node:: -resource_pre (Type&) -{ -} + void Node:: + resource_pre (Type&) + { + } -void Node:: -resource_pre (Type const&) -{ -} + void Node:: + resource_pre (Type const&) + { + } -void Node:: -resource_next (Type&) -{ -} + void Node:: + resource_next (Type&) + { + } -void Node:: -resource_next (Type const&) -{ -} + void Node:: + resource_next (Type const&) + { + } -void Node:: -resource_post (Type&) -{ -} + void Node:: + resource_post (Type&) + { + } -void Node:: -resource_post (Type const&) -{ -} + void Node:: + resource_post (Type const&) + { + } -void Node:: -resource_none (Type&) -{ -} + void Node:: + resource_none (Type&) + { + } -void Node:: -resource_none (Type const&) -{ -} + void Node:: + resource_none (Type const&) + { + } -void Node:: -post (Type&) -{ -} + void Node:: + post (Type&) + { + } -void Node:: -post (Type const&) -{ -} + void Node:: + post (Type const&) + { + } -// SharedResource -// -// + // SharedResource + // + // -void SharedResource:: -traverse (Type& o) -{ -pre (o); -name (o); -resourceType (o); -node (o); -property (o); -post (o); -} + void SharedResource:: + traverse (Type& o) + { + pre (o); + name (o); + resourceType (o); + node (o); + property (o); + post (o); + } -void SharedResource:: -traverse (Type const& o) -{ -pre (o); -name (o); -resourceType (o); -node (o); -property (o); -post (o); -} + void SharedResource:: + traverse (Type const& o) + { + pre (o); + name (o); + resourceType (o); + node (o); + property (o); + post (o); + } -void SharedResource:: -pre (Type&) -{ -} + void SharedResource:: + pre (Type&) + { + } -void SharedResource:: -pre (Type const&) -{ -} + void SharedResource:: + pre (Type const&) + { + } -void SharedResource:: -name (Type& o) -{ -dispatch (o.name ()); -} + void SharedResource:: + name (Type& o) + { + dispatch (o.name ()); + } -void SharedResource:: -name (Type const& o) -{ -dispatch (o.name ()); -} + void SharedResource:: + name (Type const& o) + { + dispatch (o.name ()); + } -void SharedResource:: -resourceType (Type& o) -{ -dispatch (o.resourceType ()); -} + void SharedResource:: + resourceType (Type& o) + { + dispatch (o.resourceType ()); + } -void SharedResource:: -resourceType (Type const& o) -{ -dispatch (o.resourceType ()); -} + void SharedResource:: + resourceType (Type const& o) + { + dispatch (o.resourceType ()); + } -void SharedResource:: -node (Type& o) -{ -dispatch (o.node ()); -} + void SharedResource:: + node (Type& o) + { + dispatch (o.node ()); + } -void SharedResource:: -node (Type const& o) -{ -dispatch (o.node ()); -} + void SharedResource:: + node (Type const& o) + { + dispatch (o.node ()); + } -void SharedResource:: -property (Type& o) -{ -dispatch (o.property ()); -} + void SharedResource:: + property (Type& o) + { + dispatch (o.property ()); + } -void SharedResource:: -property (Type const& o) -{ -dispatch (o.property ()); -} + void SharedResource:: + property (Type const& o) + { + dispatch (o.property ()); + } -void SharedResource:: -post (Type&) -{ -} + void SharedResource:: + post (Type&) + { + } -void SharedResource:: -post (Type const&) -{ -} -} -} + void SharedResource:: + post (Type const&) + { + } + } + } } namespace CIAO { -namespace Config_Handlers -{ -namespace Writer -{ -// Domain -// -// + namespace Config_Handlers + { + namespace Writer + { + // Domain + // + // -Domain:: -Domain (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + Domain:: + Domain (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -Domain:: -Domain () -{ -} + Domain:: + Domain () + { + } -void Domain:: -traverse (Type const& o) -{ -Traversal::Domain::traverse (o); -} + void Domain:: + traverse (Type const& o) + { + Traversal::Domain::traverse (o); + } -void Domain:: -UUID (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("UUID", top_ ())); -Traversal::Domain::UUID (o); -pop_ (); -} + void Domain:: + UUID (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("UUID", top_ ())); + Traversal::Domain::UUID (o); + pop_ (); + } -void Domain:: -label (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); -Traversal::Domain::label (o); -pop_ (); -} + void Domain:: + label (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); + Traversal::Domain::label (o); + pop_ (); + } -void Domain:: -node_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("node", top_ ())); -} + void Domain:: + node_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("node", top_ ())); + } -void Domain:: -node_next (Type const& o) -{ -node_post (o); -node_pre (o); -} + void Domain:: + node_next (Type const& o) + { + node_post (o); + node_pre (o); + } -void Domain:: -node_post (Type const&) -{ -pop_ (); -} + void Domain:: + node_post (Type const&) + { + pop_ (); + } -void Domain:: -interconnect_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("interconnect", top_ ())); -} + void Domain:: + interconnect_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("interconnect", top_ ())); + } -void Domain:: -interconnect_next (Type const& o) -{ -interconnect_post (o); -interconnect_pre (o); -} + void Domain:: + interconnect_next (Type const& o) + { + interconnect_post (o); + interconnect_pre (o); + } -void Domain:: -interconnect_post (Type const&) -{ -pop_ (); -} + void Domain:: + interconnect_post (Type const&) + { + pop_ (); + } -void Domain:: -bridge_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("bridge", top_ ())); -} + void Domain:: + bridge_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("bridge", top_ ())); + } -void Domain:: -bridge_next (Type const& o) -{ -bridge_post (o); -bridge_pre (o); -} + void Domain:: + bridge_next (Type const& o) + { + bridge_post (o); + bridge_pre (o); + } -void Domain:: -bridge_post (Type const&) -{ -pop_ (); -} + void Domain:: + bridge_post (Type const&) + { + pop_ (); + } -void Domain:: -sharedResource_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("sharedResource", top_ ())); -} + void Domain:: + sharedResource_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("sharedResource", top_ ())); + } -void Domain:: -sharedResource_next (Type const& o) -{ -sharedResource_post (o); -sharedResource_pre (o); -} + void Domain:: + sharedResource_next (Type const& o) + { + sharedResource_post (o); + sharedResource_pre (o); + } -void Domain:: -sharedResource_post (Type const&) -{ -pop_ (); -} + void Domain:: + sharedResource_post (Type const&) + { + pop_ (); + } -void Domain:: -infoProperty_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("infoProperty", top_ ())); -} + void Domain:: + infoProperty_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("infoProperty", top_ ())); + } -void Domain:: -infoProperty_next (Type const& o) -{ -infoProperty_post (o); -infoProperty_pre (o); -} + void Domain:: + infoProperty_next (Type const& o) + { + infoProperty_post (o); + infoProperty_pre (o); + } -void Domain:: -infoProperty_post (Type const&) -{ -pop_ (); -} + void Domain:: + infoProperty_post (Type const&) + { + pop_ (); + } -// Bridge -// -// + // Bridge + // + // -Bridge:: -Bridge (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + Bridge:: + Bridge (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -Bridge:: -Bridge () -{ -} + Bridge:: + Bridge () + { + } -void Bridge:: -traverse (Type const& o) -{ -Traversal::Bridge::traverse (o); -} + void Bridge:: + traverse (Type const& o) + { + Traversal::Bridge::traverse (o); + } -void Bridge:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::Bridge::name (o); -pop_ (); -} + void Bridge:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::Bridge::name (o); + pop_ (); + } -void Bridge:: -label (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); -Traversal::Bridge::label (o); -pop_ (); -} + void Bridge:: + label (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); + Traversal::Bridge::label (o); + pop_ (); + } -void Bridge:: -connect_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("connect", top_ ())); -} + void Bridge:: + connect_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("connect", top_ ())); + } -void Bridge:: -connect_next (Type const& o) -{ -connect_post (o); -connect_pre (o); -} + void Bridge:: + connect_next (Type const& o) + { + connect_post (o); + connect_pre (o); + } -void Bridge:: -connect_post (Type const&) -{ -pop_ (); -} + void Bridge:: + connect_post (Type const&) + { + pop_ (); + } -void Bridge:: -resource_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resource", top_ ())); -} + void Bridge:: + resource_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resource", top_ ())); + } -void Bridge:: -resource_next (Type const& o) -{ -resource_post (o); -resource_pre (o); -} + void Bridge:: + resource_next (Type const& o) + { + resource_post (o); + resource_pre (o); + } -void Bridge:: -resource_post (Type const&) -{ -pop_ (); -} + void Bridge:: + resource_post (Type const&) + { + pop_ (); + } -// Interconnect -// -// + // Interconnect + // + // -Interconnect:: -Interconnect (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + Interconnect:: + Interconnect (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -Interconnect:: -Interconnect () -{ -} + Interconnect:: + Interconnect () + { + } -void Interconnect:: -traverse (Type const& o) -{ -Traversal::Interconnect::traverse (o); -} + void Interconnect:: + traverse (Type const& o) + { + Traversal::Interconnect::traverse (o); + } -void Interconnect:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::Interconnect::name (o); -pop_ (); -} + void Interconnect:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::Interconnect::name (o); + pop_ (); + } -void Interconnect:: -label (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); -Traversal::Interconnect::label (o); -pop_ (); -} + void Interconnect:: + label (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); + Traversal::Interconnect::label (o); + pop_ (); + } -void Interconnect:: -connection_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("connection", top_ ())); -} + void Interconnect:: + connection_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("connection", top_ ())); + } -void Interconnect:: -connection_next (Type const& o) -{ -connection_post (o); -connection_pre (o); -} + void Interconnect:: + connection_next (Type const& o) + { + connection_post (o); + connection_pre (o); + } -void Interconnect:: -connection_post (Type const&) -{ -pop_ (); -} + void Interconnect:: + connection_post (Type const&) + { + pop_ (); + } -void Interconnect:: -connect_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("connect", top_ ())); -} + void Interconnect:: + connect_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("connect", top_ ())); + } -void Interconnect:: -connect_next (Type const& o) -{ -connect_post (o); -connect_pre (o); -} + void Interconnect:: + connect_next (Type const& o) + { + connect_post (o); + connect_pre (o); + } -void Interconnect:: -connect_post (Type const&) -{ -pop_ (); -} + void Interconnect:: + connect_post (Type const&) + { + pop_ (); + } -void Interconnect:: -resource_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resource", top_ ())); -} + void Interconnect:: + resource_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resource", top_ ())); + } -void Interconnect:: -resource_next (Type const& o) -{ -resource_post (o); -resource_pre (o); -} + void Interconnect:: + resource_next (Type const& o) + { + resource_post (o); + resource_pre (o); + } -void Interconnect:: -resource_post (Type const&) -{ -pop_ (); -} + void Interconnect:: + resource_post (Type const&) + { + pop_ (); + } -// Node -// -// + // Node + // + // -Node:: -Node (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + Node:: + Node (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -Node:: -Node () -{ -} + Node:: + Node () + { + } -void Node:: -traverse (Type const& o) -{ -Traversal::Node::traverse (o); -} + void Node:: + traverse (Type const& o) + { + Traversal::Node::traverse (o); + } -void Node:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::Node::name (o); -pop_ (); -} + void Node:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::Node::name (o); + pop_ (); + } -void Node:: -label (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); -Traversal::Node::label (o); -pop_ (); -} + void Node:: + label (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); + Traversal::Node::label (o); + pop_ (); + } -void Node:: -connection_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("connection", top_ ())); -} + void Node:: + connection_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("connection", top_ ())); + } -void Node:: -connection_next (Type const& o) -{ -connection_post (o); -connection_pre (o); -} + void Node:: + connection_next (Type const& o) + { + connection_post (o); + connection_pre (o); + } -void Node:: -connection_post (Type const&) -{ -pop_ (); -} + void Node:: + connection_post (Type const&) + { + pop_ (); + } -void Node:: -sharedResource_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("sharedResource", top_ ())); -} + void Node:: + sharedResource_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("sharedResource", top_ ())); + } -void Node:: -sharedResource_next (Type const& o) -{ -sharedResource_post (o); -sharedResource_pre (o); -} + void Node:: + sharedResource_next (Type const& o) + { + sharedResource_post (o); + sharedResource_pre (o); + } -void Node:: -sharedResource_post (Type const&) -{ -pop_ (); -} + void Node:: + sharedResource_post (Type const&) + { + pop_ (); + } -void Node:: -resource_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resource", top_ ())); -} + void Node:: + resource_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resource", top_ ())); + } -void Node:: -resource_next (Type const& o) -{ -resource_post (o); -resource_pre (o); -} + void Node:: + resource_next (Type const& o) + { + resource_post (o); + resource_pre (o); + } -void Node:: -resource_post (Type const&) -{ -pop_ (); -} + void Node:: + resource_post (Type const&) + { + pop_ (); + } -// SharedResource -// -// + // SharedResource + // + // -SharedResource:: -SharedResource (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + SharedResource:: + SharedResource (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -SharedResource:: -SharedResource () -{ -} + SharedResource:: + SharedResource () + { + } -void SharedResource:: -traverse (Type const& o) -{ -Traversal::SharedResource::traverse (o); -} + void SharedResource:: + traverse (Type const& o) + { + Traversal::SharedResource::traverse (o); + } -void SharedResource:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::SharedResource::name (o); -pop_ (); -} + void SharedResource:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::SharedResource::name (o); + pop_ (); + } -void SharedResource:: -resourceType (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceType", top_ ())); -Traversal::SharedResource::resourceType (o); -pop_ (); -} + void SharedResource:: + resourceType (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("resourceType", top_ ())); + Traversal::SharedResource::resourceType (o); + pop_ (); + } -void SharedResource:: -node (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("node", top_ ())); -Traversal::SharedResource::node (o); -pop_ (); -} + void SharedResource:: + node (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("node", top_ ())); + Traversal::SharedResource::node (o); + pop_ (); + } -void SharedResource:: -property (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); -Traversal::SharedResource::property (o); -pop_ (); -} -} -} + void SharedResource:: + property (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("property", top_ ())); + Traversal::SharedResource::property (o); + pop_ (); + } + } + } } namespace CIAO { -namespace Config_Handlers -{ -} + namespace Config_Handlers + { + } } diff --git a/CIAO/tools/Config_Handlers/cdd.hpp b/CIAO/tools/Config_Handlers/cdd.hpp index f2e599d1b9d..0c40584010d 100644 --- a/CIAO/tools/Config_Handlers/cdd.hpp +++ b/CIAO/tools/Config_Handlers/cdd.hpp @@ -1,14 +1,13 @@ /* $Id$ -* This code was generated by the XML Schema Compiler. -* -* Changes made to this code will most likely be overwritten -* when the handlers are recompiled. -* -* If you find errors or feel that there are bugfixes to be made, -* please contact the current XSC maintainer: -* Will Otte -*/ - + * This code was generated by the XML Schema Compiler. + * + * Changes made to this code will most likely be overwritten + * when the handlers are recompiled. + * + * If you find errors or feel that there are bugfixes to be made, + * please contact the current XSC maintainer: + * Will Otte + */ // Fix for Borland compilers, which seem to have a broken // include. @@ -16,22 +15,22 @@ # include #endif -#include "XSC_XML_Handlers_Export.h" #ifndef CDD_HPP #define CDD_HPP +#include "XSC_XML_Handlers_Export.h" // Forward declarations. // namespace CIAO { -namespace Config_Handlers -{ -class Domain; -class Bridge; -class Interconnect; -class Node; -class SharedResource; -} + namespace Config_Handlers + { + class Domain; + class Bridge; + class Interconnect; + class Node; + class SharedResource; + } } #include @@ -42,1694 +41,1694 @@ class SharedResource; namespace CIAO { -namespace Config_Handlers -{ -class XSC_XML_Handlers_Export Domain : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; - -// UUID -// -public: -bool UUID_p () const; -::XMLSchema::string< ACE_TCHAR > const& UUID () const; -void UUID (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; - -// label -// -public: -bool label_p () const; -::XMLSchema::string< ACE_TCHAR > const& label () const; -void label (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; - -// node -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Node >::iterator node_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Node >::const_iterator node_const_iterator; -node_iterator begin_node (); -node_iterator end_node (); -node_const_iterator begin_node () const; -node_const_iterator end_node () const; -void add_node (::CIAO::Config_Handlers::Node const& ); -size_t count_node (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Node > node_; - -// interconnect -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::iterator interconnect_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::const_iterator interconnect_const_iterator; -interconnect_iterator begin_interconnect (); -interconnect_iterator end_interconnect (); -interconnect_const_iterator begin_interconnect () const; -interconnect_const_iterator end_interconnect () const; -void add_interconnect (::CIAO::Config_Handlers::Interconnect const& ); -size_t count_interconnect (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Interconnect > interconnect_; - -// bridge -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Bridge >::iterator bridge_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Bridge >::const_iterator bridge_const_iterator; -bridge_iterator begin_bridge (); -bridge_iterator end_bridge (); -bridge_const_iterator begin_bridge () const; -bridge_const_iterator end_bridge () const; -void add_bridge (::CIAO::Config_Handlers::Bridge const& ); -size_t count_bridge (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Bridge > bridge_; - -// sharedResource -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::SharedResource >::iterator sharedResource_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::SharedResource >::const_iterator sharedResource_const_iterator; -sharedResource_iterator begin_sharedResource (); -sharedResource_iterator end_sharedResource (); -sharedResource_const_iterator begin_sharedResource () const; -sharedResource_const_iterator end_sharedResource () const; -void add_sharedResource (::CIAO::Config_Handlers::SharedResource const& ); -size_t count_sharedResource (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::SharedResource > sharedResource_; - -// infoProperty -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator infoProperty_const_iterator; -infoProperty_iterator begin_infoProperty (); -infoProperty_iterator end_infoProperty (); -infoProperty_const_iterator begin_infoProperty () const; -infoProperty_const_iterator end_infoProperty () const; -void add_infoProperty (::CIAO::Config_Handlers::Property const& ); -size_t count_infoProperty (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Property > infoProperty_; - -public: -Domain (); - -Domain (::XSCRT::XML::Element< ACE_TCHAR > const&); -Domain (Domain const& s); - -Domain& -operator= (Domain const& s); - -private: -char regulator__; -}; - - -class XSC_XML_Handlers_Export Bridge : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; - -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - -// label -// -public: -bool label_p () const; -::XMLSchema::string< ACE_TCHAR > const& label () const; -void label (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; - -// connect -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::iterator connect_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::const_iterator connect_const_iterator; -connect_iterator begin_connect (); -connect_iterator end_connect (); -connect_const_iterator begin_connect () const; -connect_const_iterator end_connect () const; -void add_connect (::CIAO::Config_Handlers::Interconnect const& ); -size_t count_connect (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Interconnect > connect_; - -// resource -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Resource >::iterator resource_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Resource >::const_iterator resource_const_iterator; -resource_iterator begin_resource (); -resource_iterator end_resource (); -resource_const_iterator begin_resource () const; -resource_const_iterator end_resource () const; -void add_resource (::CIAO::Config_Handlers::Resource const& ); -size_t count_resource (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Resource > resource_; - -public: -Bridge (::XMLSchema::string< ACE_TCHAR > const& name__); - -Bridge (::XSCRT::XML::Element< ACE_TCHAR > const&); -Bridge (Bridge const& s); - -Bridge& -operator= (Bridge const& s); - -private: -char regulator__; -}; - - -class XSC_XML_Handlers_Export Interconnect : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; - -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - -// label -// -public: -bool label_p () const; -::XMLSchema::string< ACE_TCHAR > const& label () const; -void label (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; - -// connection -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Bridge >::iterator connection_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Bridge >::const_iterator connection_const_iterator; -connection_iterator begin_connection (); -connection_iterator end_connection (); -connection_const_iterator begin_connection () const; -connection_const_iterator end_connection () const; -void add_connection (::CIAO::Config_Handlers::Bridge const& ); -size_t count_connection (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Bridge > connection_; - -// connect -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Node >::iterator connect_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Node >::const_iterator connect_const_iterator; -connect_iterator begin_connect (); -connect_iterator end_connect (); -connect_const_iterator begin_connect () const; -connect_const_iterator end_connect () const; -void add_connect (::CIAO::Config_Handlers::Node const& ); -size_t count_connect (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Node > connect_; - -// resource -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Resource >::iterator resource_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Resource >::const_iterator resource_const_iterator; -resource_iterator begin_resource (); -resource_iterator end_resource (); -resource_const_iterator begin_resource () const; -resource_const_iterator end_resource () const; -void add_resource (::CIAO::Config_Handlers::Resource const& ); -size_t count_resource (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Resource > resource_; - -public: -Interconnect (::XMLSchema::string< ACE_TCHAR > const& name__); - -Interconnect (::XSCRT::XML::Element< ACE_TCHAR > const&); -Interconnect (Interconnect const& s); - -Interconnect& -operator= (Interconnect const& s); - -private: -char regulator__; -}; - - -class XSC_XML_Handlers_Export Node : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; - -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - -// label -// -public: -bool label_p () const; -::XMLSchema::string< ACE_TCHAR > const& label () const; -void label (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; - -// connection -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::iterator connection_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::const_iterator connection_const_iterator; -connection_iterator begin_connection (); -connection_iterator end_connection (); -connection_const_iterator begin_connection () const; -connection_const_iterator end_connection () const; -void add_connection (::CIAO::Config_Handlers::Interconnect const& ); -size_t count_connection (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Interconnect > connection_; - -// sharedResource -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::SharedResource >::iterator sharedResource_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::SharedResource >::const_iterator sharedResource_const_iterator; -sharedResource_iterator begin_sharedResource (); -sharedResource_iterator end_sharedResource (); -sharedResource_const_iterator begin_sharedResource () const; -sharedResource_const_iterator end_sharedResource () const; -void add_sharedResource (::CIAO::Config_Handlers::SharedResource const& ); -size_t count_sharedResource (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::SharedResource > sharedResource_; - -// resource -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Resource >::iterator resource_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Resource >::const_iterator resource_const_iterator; -resource_iterator begin_resource (); -resource_iterator end_resource (); -resource_const_iterator begin_resource () const; -resource_const_iterator end_resource () const; -void add_resource (::CIAO::Config_Handlers::Resource const& ); -size_t count_resource (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Resource > resource_; - -public: -Node (::XMLSchema::string< ACE_TCHAR > const& name__); - -Node (::XSCRT::XML::Element< ACE_TCHAR > const&); -Node (Node const& s); - -Node& -operator= (Node const& s); - -private: -char regulator__; -}; - - -class XSC_XML_Handlers_Export SharedResource : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; - -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - -// resourceType -// -public: -::XMLSchema::string< ACE_TCHAR > const& resourceType () const; -void resourceType (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceType_; - -// node -// -public: -::CIAO::Config_Handlers::Node const& node () const; -void node (::CIAO::Config_Handlers::Node const& ); - -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::Node > node_; - -// property -// -public: -::CIAO::Config_Handlers::SatisfierProperty const& property () const; -void property (::CIAO::Config_Handlers::SatisfierProperty const& ); - -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::SatisfierProperty > property_; - -public: -SharedResource (::XMLSchema::string< ACE_TCHAR > const& name__, -::XMLSchema::string< ACE_TCHAR > const& resourceType__, -::CIAO::Config_Handlers::Node const& node__, -::CIAO::Config_Handlers::SatisfierProperty const& property__); - -SharedResource (::XSCRT::XML::Element< ACE_TCHAR > const&); -SharedResource (SharedResource const& s); - -SharedResource& -operator= (SharedResource const& s); - -private: -char regulator__; -}; -} + namespace Config_Handlers + { + class XSC_XML_Handlers_Export Domain : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // UUID + // + public: + bool UUID_p () const; + ::XMLSchema::string< ACE_TCHAR > const& UUID () const; + void UUID (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; + + // label + // + public: + bool label_p () const; + ::XMLSchema::string< ACE_TCHAR > const& label () const; + void label (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; + + // node + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Node >::iterator node_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Node >::const_iterator node_const_iterator; + node_iterator begin_node (); + node_iterator end_node (); + node_const_iterator begin_node () const; + node_const_iterator end_node () const; + void add_node (::CIAO::Config_Handlers::Node const& ); + size_t count_node (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Node > node_; + + // interconnect + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::iterator interconnect_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::const_iterator interconnect_const_iterator; + interconnect_iterator begin_interconnect (); + interconnect_iterator end_interconnect (); + interconnect_const_iterator begin_interconnect () const; + interconnect_const_iterator end_interconnect () const; + void add_interconnect (::CIAO::Config_Handlers::Interconnect const& ); + size_t count_interconnect (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Interconnect > interconnect_; + + // bridge + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Bridge >::iterator bridge_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Bridge >::const_iterator bridge_const_iterator; + bridge_iterator begin_bridge (); + bridge_iterator end_bridge (); + bridge_const_iterator begin_bridge () const; + bridge_const_iterator end_bridge () const; + void add_bridge (::CIAO::Config_Handlers::Bridge const& ); + size_t count_bridge (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Bridge > bridge_; + + // sharedResource + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::SharedResource >::iterator sharedResource_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::SharedResource >::const_iterator sharedResource_const_iterator; + sharedResource_iterator begin_sharedResource (); + sharedResource_iterator end_sharedResource (); + sharedResource_const_iterator begin_sharedResource () const; + sharedResource_const_iterator end_sharedResource () const; + void add_sharedResource (::CIAO::Config_Handlers::SharedResource const& ); + size_t count_sharedResource (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::SharedResource > sharedResource_; + + // infoProperty + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator infoProperty_const_iterator; + infoProperty_iterator begin_infoProperty (); + infoProperty_iterator end_infoProperty (); + infoProperty_const_iterator begin_infoProperty () const; + infoProperty_const_iterator end_infoProperty () const; + void add_infoProperty (::CIAO::Config_Handlers::Property const& ); + size_t count_infoProperty (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Property > infoProperty_; + + public: + Domain (); + + Domain (::XSCRT::XML::Element< ACE_TCHAR > const&); + Domain (Domain const& s); + + Domain& + operator= (Domain const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export Bridge : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // label + // + public: + bool label_p () const; + ::XMLSchema::string< ACE_TCHAR > const& label () const; + void label (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; + + // connect + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::iterator connect_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::const_iterator connect_const_iterator; + connect_iterator begin_connect (); + connect_iterator end_connect (); + connect_const_iterator begin_connect () const; + connect_const_iterator end_connect () const; + void add_connect (::CIAO::Config_Handlers::Interconnect const& ); + size_t count_connect (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Interconnect > connect_; + + // resource + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Resource >::iterator resource_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Resource >::const_iterator resource_const_iterator; + resource_iterator begin_resource (); + resource_iterator end_resource (); + resource_const_iterator begin_resource () const; + resource_const_iterator end_resource () const; + void add_resource (::CIAO::Config_Handlers::Resource const& ); + size_t count_resource (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Resource > resource_; + + public: + Bridge (::XMLSchema::string< ACE_TCHAR > const& name__); + + Bridge (::XSCRT::XML::Element< ACE_TCHAR > const&); + Bridge (Bridge const& s); + + Bridge& + operator= (Bridge const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export Interconnect : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // label + // + public: + bool label_p () const; + ::XMLSchema::string< ACE_TCHAR > const& label () const; + void label (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; + + // connection + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Bridge >::iterator connection_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Bridge >::const_iterator connection_const_iterator; + connection_iterator begin_connection (); + connection_iterator end_connection (); + connection_const_iterator begin_connection () const; + connection_const_iterator end_connection () const; + void add_connection (::CIAO::Config_Handlers::Bridge const& ); + size_t count_connection (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Bridge > connection_; + + // connect + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Node >::iterator connect_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Node >::const_iterator connect_const_iterator; + connect_iterator begin_connect (); + connect_iterator end_connect (); + connect_const_iterator begin_connect () const; + connect_const_iterator end_connect () const; + void add_connect (::CIAO::Config_Handlers::Node const& ); + size_t count_connect (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Node > connect_; + + // resource + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Resource >::iterator resource_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Resource >::const_iterator resource_const_iterator; + resource_iterator begin_resource (); + resource_iterator end_resource (); + resource_const_iterator begin_resource () const; + resource_const_iterator end_resource () const; + void add_resource (::CIAO::Config_Handlers::Resource const& ); + size_t count_resource (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Resource > resource_; + + public: + Interconnect (::XMLSchema::string< ACE_TCHAR > const& name__); + + Interconnect (::XSCRT::XML::Element< ACE_TCHAR > const&); + Interconnect (Interconnect const& s); + + Interconnect& + operator= (Interconnect const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export Node : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // label + // + public: + bool label_p () const; + ::XMLSchema::string< ACE_TCHAR > const& label () const; + void label (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; + + // connection + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::iterator connection_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Interconnect >::const_iterator connection_const_iterator; + connection_iterator begin_connection (); + connection_iterator end_connection (); + connection_const_iterator begin_connection () const; + connection_const_iterator end_connection () const; + void add_connection (::CIAO::Config_Handlers::Interconnect const& ); + size_t count_connection (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Interconnect > connection_; + + // sharedResource + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::SharedResource >::iterator sharedResource_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::SharedResource >::const_iterator sharedResource_const_iterator; + sharedResource_iterator begin_sharedResource (); + sharedResource_iterator end_sharedResource (); + sharedResource_const_iterator begin_sharedResource () const; + sharedResource_const_iterator end_sharedResource () const; + void add_sharedResource (::CIAO::Config_Handlers::SharedResource const& ); + size_t count_sharedResource (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::SharedResource > sharedResource_; + + // resource + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Resource >::iterator resource_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Resource >::const_iterator resource_const_iterator; + resource_iterator begin_resource (); + resource_iterator end_resource (); + resource_const_iterator begin_resource () const; + resource_const_iterator end_resource () const; + void add_resource (::CIAO::Config_Handlers::Resource const& ); + size_t count_resource (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Resource > resource_; + + public: + Node (::XMLSchema::string< ACE_TCHAR > const& name__); + + Node (::XSCRT::XML::Element< ACE_TCHAR > const&); + Node (Node const& s); + + Node& + operator= (Node const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export SharedResource : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // resourceType + // + public: + ::XMLSchema::string< ACE_TCHAR > const& resourceType () const; + void resourceType (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > resourceType_; + + // node + // + public: + ::CIAO::Config_Handlers::Node const& node () const; + void node (::CIAO::Config_Handlers::Node const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::Node > node_; + + // property + // + public: + ::CIAO::Config_Handlers::SatisfierProperty const& property () const; + void property (::CIAO::Config_Handlers::SatisfierProperty const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::SatisfierProperty > property_; + + public: + SharedResource (::XMLSchema::string< ACE_TCHAR > const& name__, + ::XMLSchema::string< ACE_TCHAR > const& resourceType__, + ::CIAO::Config_Handlers::Node const& node__, + ::CIAO::Config_Handlers::SatisfierProperty const& property__); + + SharedResource (::XSCRT::XML::Element< ACE_TCHAR > const&); + SharedResource (SharedResource const& s); + + SharedResource& + operator= (SharedResource const& s); + + private: + char regulator__; + }; + } } namespace CIAO { -namespace Config_Handlers -{ -} + namespace Config_Handlers + { + } } #include "XMLSchema/Traversal.hpp" namespace CIAO { -namespace Config_Handlers -{ -namespace Traversal -{ -struct XSC_XML_Handlers_Export Domain : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Domain > -{ -virtual void -traverse (Type&); + namespace Config_Handlers + { + namespace Traversal + { + struct XSC_XML_Handlers_Export Domain : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Domain > + { + virtual void + traverse (Type&); -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -pre (Type&); + virtual void + pre (Type&); -virtual void -pre (Type const&); + virtual void + pre (Type const&); -virtual void -UUID (Type&); + virtual void + UUID (Type&); -virtual void -UUID (Type const&); + virtual void + UUID (Type const&); -virtual void -UUID_none (Type&); + virtual void + UUID_none (Type&); -virtual void -UUID_none (Type const&); + virtual void + UUID_none (Type const&); -virtual void -label (Type&); + virtual void + label (Type&); -virtual void -label (Type const&); + virtual void + label (Type const&); -virtual void -label_none (Type&); + virtual void + label_none (Type&); -virtual void -label_none (Type const&); + virtual void + label_none (Type const&); -virtual void -node (Type&); + virtual void + node (Type&); -virtual void -node (Type const&); + virtual void + node (Type const&); -virtual void -node_pre (Type&); + virtual void + node_pre (Type&); -virtual void -node_pre (Type const&); + virtual void + node_pre (Type const&); -virtual void -node_next (Type&); + virtual void + node_next (Type&); -virtual void -node_next (Type const&); + virtual void + node_next (Type const&); -virtual void -node_post (Type&); + virtual void + node_post (Type&); -virtual void -node_post (Type const&); + virtual void + node_post (Type const&); -virtual void -interconnect (Type&); + virtual void + interconnect (Type&); -virtual void -interconnect (Type const&); + virtual void + interconnect (Type const&); -virtual void -interconnect_pre (Type&); + virtual void + interconnect_pre (Type&); -virtual void -interconnect_pre (Type const&); + virtual void + interconnect_pre (Type const&); -virtual void -interconnect_next (Type&); + virtual void + interconnect_next (Type&); -virtual void -interconnect_next (Type const&); + virtual void + interconnect_next (Type const&); -virtual void -interconnect_post (Type&); + virtual void + interconnect_post (Type&); -virtual void -interconnect_post (Type const&); + virtual void + interconnect_post (Type const&); -virtual void -interconnect_none (Type&); + virtual void + interconnect_none (Type&); -virtual void -interconnect_none (Type const&); + virtual void + interconnect_none (Type const&); -virtual void -bridge (Type&); + virtual void + bridge (Type&); -virtual void -bridge (Type const&); + virtual void + bridge (Type const&); -virtual void -bridge_pre (Type&); + virtual void + bridge_pre (Type&); -virtual void -bridge_pre (Type const&); + virtual void + bridge_pre (Type const&); -virtual void -bridge_next (Type&); + virtual void + bridge_next (Type&); -virtual void -bridge_next (Type const&); + virtual void + bridge_next (Type const&); -virtual void -bridge_post (Type&); + virtual void + bridge_post (Type&); -virtual void -bridge_post (Type const&); + virtual void + bridge_post (Type const&); -virtual void -bridge_none (Type&); + virtual void + bridge_none (Type&); -virtual void -bridge_none (Type const&); + virtual void + bridge_none (Type const&); -virtual void -sharedResource (Type&); + virtual void + sharedResource (Type&); -virtual void -sharedResource (Type const&); + virtual void + sharedResource (Type const&); -virtual void -sharedResource_pre (Type&); + virtual void + sharedResource_pre (Type&); -virtual void -sharedResource_pre (Type const&); + virtual void + sharedResource_pre (Type const&); -virtual void -sharedResource_next (Type&); + virtual void + sharedResource_next (Type&); -virtual void -sharedResource_next (Type const&); + virtual void + sharedResource_next (Type const&); -virtual void -sharedResource_post (Type&); + virtual void + sharedResource_post (Type&); -virtual void -sharedResource_post (Type const&); + virtual void + sharedResource_post (Type const&); -virtual void -sharedResource_none (Type&); + virtual void + sharedResource_none (Type&); -virtual void -sharedResource_none (Type const&); + virtual void + sharedResource_none (Type const&); -virtual void -infoProperty (Type&); + virtual void + infoProperty (Type&); -virtual void -infoProperty (Type const&); + virtual void + infoProperty (Type const&); -virtual void -infoProperty_pre (Type&); + virtual void + infoProperty_pre (Type&); -virtual void -infoProperty_pre (Type const&); + virtual void + infoProperty_pre (Type const&); -virtual void -infoProperty_next (Type&); + virtual void + infoProperty_next (Type&); -virtual void -infoProperty_next (Type const&); + virtual void + infoProperty_next (Type const&); -virtual void -infoProperty_post (Type&); + virtual void + infoProperty_post (Type&); -virtual void -infoProperty_post (Type const&); + virtual void + infoProperty_post (Type const&); -virtual void -infoProperty_none (Type&); + virtual void + infoProperty_none (Type&); -virtual void -infoProperty_none (Type const&); + virtual void + infoProperty_none (Type const&); -virtual void -post (Type&); + virtual void + post (Type&); -virtual void -post (Type const&); -}; + virtual void + post (Type const&); + }; -struct XSC_XML_Handlers_Export Bridge : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Bridge > -{ -virtual void -traverse (Type&); + struct XSC_XML_Handlers_Export Bridge : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Bridge > + { + virtual void + traverse (Type&); -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -pre (Type&); + virtual void + pre (Type&); -virtual void -pre (Type const&); + virtual void + pre (Type const&); -virtual void -name (Type&); + virtual void + name (Type&); -virtual void -name (Type const&); + virtual void + name (Type const&); -virtual void -label (Type&); + virtual void + label (Type&); -virtual void -label (Type const&); + virtual void + label (Type const&); -virtual void -label_none (Type&); + virtual void + label_none (Type&); -virtual void -label_none (Type const&); + virtual void + label_none (Type const&); -virtual void -connect (Type&); + virtual void + connect (Type&); -virtual void -connect (Type const&); + virtual void + connect (Type const&); -virtual void -connect_pre (Type&); + virtual void + connect_pre (Type&); -virtual void -connect_pre (Type const&); + virtual void + connect_pre (Type const&); -virtual void -connect_next (Type&); + virtual void + connect_next (Type&); -virtual void -connect_next (Type const&); + virtual void + connect_next (Type const&); -virtual void -connect_post (Type&); + virtual void + connect_post (Type&); -virtual void -connect_post (Type const&); + virtual void + connect_post (Type const&); -virtual void -resource (Type&); + virtual void + resource (Type&); -virtual void -resource (Type const&); + virtual void + resource (Type const&); -virtual void -resource_pre (Type&); + virtual void + resource_pre (Type&); -virtual void -resource_pre (Type const&); + virtual void + resource_pre (Type const&); -virtual void -resource_next (Type&); + virtual void + resource_next (Type&); -virtual void -resource_next (Type const&); + virtual void + resource_next (Type const&); -virtual void -resource_post (Type&); + virtual void + resource_post (Type&); -virtual void -resource_post (Type const&); + virtual void + resource_post (Type const&); -virtual void -resource_none (Type&); + virtual void + resource_none (Type&); -virtual void -resource_none (Type const&); + virtual void + resource_none (Type const&); -virtual void -post (Type&); + virtual void + post (Type&); -virtual void -post (Type const&); -}; + virtual void + post (Type const&); + }; -struct XSC_XML_Handlers_Export Interconnect : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Interconnect > -{ -virtual void -traverse (Type&); + struct XSC_XML_Handlers_Export Interconnect : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Interconnect > + { + virtual void + traverse (Type&); -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -pre (Type&); + virtual void + pre (Type&); -virtual void -pre (Type const&); + virtual void + pre (Type const&); -virtual void -name (Type&); + virtual void + name (Type&); -virtual void -name (Type const&); + virtual void + name (Type const&); -virtual void -label (Type&); + virtual void + label (Type&); -virtual void -label (Type const&); + virtual void + label (Type const&); -virtual void -label_none (Type&); + virtual void + label_none (Type&); -virtual void -label_none (Type const&); + virtual void + label_none (Type const&); -virtual void -connection (Type&); + virtual void + connection (Type&); -virtual void -connection (Type const&); + virtual void + connection (Type const&); -virtual void -connection_pre (Type&); + virtual void + connection_pre (Type&); -virtual void -connection_pre (Type const&); + virtual void + connection_pre (Type const&); -virtual void -connection_next (Type&); + virtual void + connection_next (Type&); -virtual void -connection_next (Type const&); + virtual void + connection_next (Type const&); -virtual void -connection_post (Type&); + virtual void + connection_post (Type&); -virtual void -connection_post (Type const&); + virtual void + connection_post (Type const&); -virtual void -connection_none (Type&); + virtual void + connection_none (Type&); -virtual void -connection_none (Type const&); + virtual void + connection_none (Type const&); -virtual void -connect (Type&); + virtual void + connect (Type&); -virtual void -connect (Type const&); + virtual void + connect (Type const&); -virtual void -connect_pre (Type&); + virtual void + connect_pre (Type&); -virtual void -connect_pre (Type const&); + virtual void + connect_pre (Type const&); -virtual void -connect_next (Type&); + virtual void + connect_next (Type&); -virtual void -connect_next (Type const&); + virtual void + connect_next (Type const&); -virtual void -connect_post (Type&); + virtual void + connect_post (Type&); -virtual void -connect_post (Type const&); + virtual void + connect_post (Type const&); -virtual void -resource (Type&); + virtual void + resource (Type&); -virtual void -resource (Type const&); + virtual void + resource (Type const&); -virtual void -resource_pre (Type&); + virtual void + resource_pre (Type&); -virtual void -resource_pre (Type const&); + virtual void + resource_pre (Type const&); -virtual void -resource_next (Type&); + virtual void + resource_next (Type&); -virtual void -resource_next (Type const&); + virtual void + resource_next (Type const&); -virtual void -resource_post (Type&); + virtual void + resource_post (Type&); -virtual void -resource_post (Type const&); + virtual void + resource_post (Type const&); -virtual void -resource_none (Type&); + virtual void + resource_none (Type&); -virtual void -resource_none (Type const&); + virtual void + resource_none (Type const&); -virtual void -post (Type&); + virtual void + post (Type&); -virtual void -post (Type const&); -}; + virtual void + post (Type const&); + }; -struct XSC_XML_Handlers_Export Node : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Node > -{ -virtual void -traverse (Type&); + struct XSC_XML_Handlers_Export Node : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Node > + { + virtual void + traverse (Type&); -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -pre (Type&); + virtual void + pre (Type&); -virtual void -pre (Type const&); + virtual void + pre (Type const&); -virtual void -name (Type&); + virtual void + name (Type&); -virtual void -name (Type const&); + virtual void + name (Type const&); -virtual void -label (Type&); + virtual void + label (Type&); -virtual void -label (Type const&); + virtual void + label (Type const&); -virtual void -label_none (Type&); + virtual void + label_none (Type&); -virtual void -label_none (Type const&); + virtual void + label_none (Type const&); -virtual void -connection (Type&); + virtual void + connection (Type&); -virtual void -connection (Type const&); + virtual void + connection (Type const&); -virtual void -connection_pre (Type&); + virtual void + connection_pre (Type&); -virtual void -connection_pre (Type const&); + virtual void + connection_pre (Type const&); -virtual void -connection_next (Type&); + virtual void + connection_next (Type&); -virtual void -connection_next (Type const&); + virtual void + connection_next (Type const&); -virtual void -connection_post (Type&); + virtual void + connection_post (Type&); -virtual void -connection_post (Type const&); + virtual void + connection_post (Type const&); -virtual void -connection_none (Type&); + virtual void + connection_none (Type&); -virtual void -connection_none (Type const&); + virtual void + connection_none (Type const&); -virtual void -sharedResource (Type&); + virtual void + sharedResource (Type&); -virtual void -sharedResource (Type const&); + virtual void + sharedResource (Type const&); -virtual void -sharedResource_pre (Type&); + virtual void + sharedResource_pre (Type&); -virtual void -sharedResource_pre (Type const&); + virtual void + sharedResource_pre (Type const&); -virtual void -sharedResource_next (Type&); + virtual void + sharedResource_next (Type&); -virtual void -sharedResource_next (Type const&); + virtual void + sharedResource_next (Type const&); -virtual void -sharedResource_post (Type&); + virtual void + sharedResource_post (Type&); -virtual void -sharedResource_post (Type const&); + virtual void + sharedResource_post (Type const&); -virtual void -sharedResource_none (Type&); + virtual void + sharedResource_none (Type&); -virtual void -sharedResource_none (Type const&); + virtual void + sharedResource_none (Type const&); -virtual void -resource (Type&); + virtual void + resource (Type&); -virtual void -resource (Type const&); + virtual void + resource (Type const&); -virtual void -resource_pre (Type&); + virtual void + resource_pre (Type&); -virtual void -resource_pre (Type const&); + virtual void + resource_pre (Type const&); -virtual void -resource_next (Type&); + virtual void + resource_next (Type&); -virtual void -resource_next (Type const&); + virtual void + resource_next (Type const&); -virtual void -resource_post (Type&); + virtual void + resource_post (Type&); -virtual void -resource_post (Type const&); + virtual void + resource_post (Type const&); -virtual void -resource_none (Type&); + virtual void + resource_none (Type&); -virtual void -resource_none (Type const&); + virtual void + resource_none (Type const&); -virtual void -post (Type&); + virtual void + post (Type&); -virtual void -post (Type const&); -}; + virtual void + post (Type const&); + }; -struct XSC_XML_Handlers_Export SharedResource : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SharedResource > -{ -virtual void -traverse (Type&); + struct XSC_XML_Handlers_Export SharedResource : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SharedResource > + { + virtual void + traverse (Type&); -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -pre (Type&); + virtual void + pre (Type&); -virtual void -pre (Type const&); + virtual void + pre (Type const&); -virtual void -name (Type&); + virtual void + name (Type&); -virtual void -name (Type const&); + virtual void + name (Type const&); -virtual void -resourceType (Type&); + virtual void + resourceType (Type&); -virtual void -resourceType (Type const&); + virtual void + resourceType (Type const&); -virtual void -node (Type&); + virtual void + node (Type&); -virtual void -node (Type const&); + virtual void + node (Type const&); -virtual void -property (Type&); + virtual void + property (Type&); -virtual void -property (Type const&); + virtual void + property (Type const&); -virtual void -post (Type&); + virtual void + post (Type&); -virtual void -post (Type const&); -}; -} -} + virtual void + post (Type const&); + }; + } + } } #include "XMLSchema/Writer.hpp" namespace CIAO { -namespace Config_Handlers -{ -namespace Writer -{ -struct Domain : Traversal::Domain, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::Domain Type; -Domain (::XSCRT::XML::Element< ACE_TCHAR >&); + namespace Config_Handlers + { + namespace Writer + { + struct Domain : Traversal::Domain, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::Domain Type; + Domain (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -traverse (Type &o) -{ + virtual void + traverse (Type &o) + { -this->traverse (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -UUID (Type &o) -{ + virtual void + UUID (Type &o) + { -this->UUID (const_cast (o)); -} + this->UUID (const_cast (o)); + } -virtual void -UUID (Type const&); + virtual void + UUID (Type const&); -virtual void -label (Type &o) -{ + virtual void + label (Type &o) + { -this->label (const_cast (o)); -} + this->label (const_cast (o)); + } -virtual void -label (Type const&); + virtual void + label (Type const&); -virtual void -node_pre (Type &o) -{ + virtual void + node_pre (Type &o) + { -this->node_pre (const_cast (o)); -} + this->node_pre (const_cast (o)); + } -virtual void -node_pre (Type const&); + virtual void + node_pre (Type const&); -virtual void -node_next (Type &o) -{ + virtual void + node_next (Type &o) + { -this->node_next (const_cast (o)); -} + this->node_next (const_cast (o)); + } -virtual void -node_next (Type const&); + virtual void + node_next (Type const&); -virtual void -node_post (Type &o) -{ + virtual void + node_post (Type &o) + { -this->node_post (const_cast (o)); -} + this->node_post (const_cast (o)); + } -virtual void -node_post (Type const&); + virtual void + node_post (Type const&); -virtual void -interconnect_pre (Type &o) -{ + virtual void + interconnect_pre (Type &o) + { -this->interconnect_pre (const_cast (o)); -} + this->interconnect_pre (const_cast (o)); + } -virtual void -interconnect_pre (Type const&); + virtual void + interconnect_pre (Type const&); -virtual void -interconnect_next (Type &o) -{ + virtual void + interconnect_next (Type &o) + { -this->interconnect_next (const_cast (o)); -} + this->interconnect_next (const_cast (o)); + } -virtual void -interconnect_next (Type const&); + virtual void + interconnect_next (Type const&); -virtual void -interconnect_post (Type &o) -{ + virtual void + interconnect_post (Type &o) + { -this->interconnect_post (const_cast (o)); -} + this->interconnect_post (const_cast (o)); + } -virtual void -interconnect_post (Type const&); + virtual void + interconnect_post (Type const&); -virtual void -bridge_pre (Type &o) -{ + virtual void + bridge_pre (Type &o) + { -this->bridge_pre (const_cast (o)); -} + this->bridge_pre (const_cast (o)); + } -virtual void -bridge_pre (Type const&); + virtual void + bridge_pre (Type const&); -virtual void -bridge_next (Type &o) -{ + virtual void + bridge_next (Type &o) + { -this->bridge_next (const_cast (o)); -} + this->bridge_next (const_cast (o)); + } -virtual void -bridge_next (Type const&); + virtual void + bridge_next (Type const&); -virtual void -bridge_post (Type &o) -{ + virtual void + bridge_post (Type &o) + { -this->bridge_post (const_cast (o)); -} + this->bridge_post (const_cast (o)); + } -virtual void -bridge_post (Type const&); + virtual void + bridge_post (Type const&); -virtual void -sharedResource_pre (Type &o) -{ + virtual void + sharedResource_pre (Type &o) + { -this->sharedResource_pre (const_cast (o)); -} + this->sharedResource_pre (const_cast (o)); + } -virtual void -sharedResource_pre (Type const&); + virtual void + sharedResource_pre (Type const&); -virtual void -sharedResource_next (Type &o) -{ + virtual void + sharedResource_next (Type &o) + { -this->sharedResource_next (const_cast (o)); -} + this->sharedResource_next (const_cast (o)); + } -virtual void -sharedResource_next (Type const&); + virtual void + sharedResource_next (Type const&); -virtual void -sharedResource_post (Type &o) -{ + virtual void + sharedResource_post (Type &o) + { -this->sharedResource_post (const_cast (o)); -} + this->sharedResource_post (const_cast (o)); + } -virtual void -sharedResource_post (Type const&); + virtual void + sharedResource_post (Type const&); -virtual void -infoProperty_pre (Type &o) -{ + virtual void + infoProperty_pre (Type &o) + { -this->infoProperty_pre (const_cast (o)); -} + this->infoProperty_pre (const_cast (o)); + } -virtual void -infoProperty_pre (Type const&); + virtual void + infoProperty_pre (Type const&); -virtual void -infoProperty_next (Type &o) -{ + virtual void + infoProperty_next (Type &o) + { -this->infoProperty_next (const_cast (o)); -} + this->infoProperty_next (const_cast (o)); + } -virtual void -infoProperty_next (Type const&); + virtual void + infoProperty_next (Type const&); -virtual void -infoProperty_post (Type &o) -{ + virtual void + infoProperty_post (Type &o) + { -this->infoProperty_post (const_cast (o)); -} + this->infoProperty_post (const_cast (o)); + } -virtual void -infoProperty_post (Type const&); + virtual void + infoProperty_post (Type const&); -protected: -Domain (); -}; + protected: + Domain (); + }; -struct Bridge : Traversal::Bridge, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::Bridge Type; -Bridge (::XSCRT::XML::Element< ACE_TCHAR >&); + struct Bridge : Traversal::Bridge, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::Bridge Type; + Bridge (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -traverse (Type &o) -{ + virtual void + traverse (Type &o) + { -this->traverse (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -name (Type &o) -{ + virtual void + name (Type &o) + { -this->name (const_cast (o)); -} + this->name (const_cast (o)); + } -virtual void -name (Type const&); + virtual void + name (Type const&); -virtual void -label (Type &o) -{ + virtual void + label (Type &o) + { -this->label (const_cast (o)); -} + this->label (const_cast (o)); + } -virtual void -label (Type const&); + virtual void + label (Type const&); -virtual void -connect_pre (Type &o) -{ + virtual void + connect_pre (Type &o) + { -this->connect_pre (const_cast (o)); -} + this->connect_pre (const_cast (o)); + } -virtual void -connect_pre (Type const&); + virtual void + connect_pre (Type const&); -virtual void -connect_next (Type &o) -{ + virtual void + connect_next (Type &o) + { -this->connect_next (const_cast (o)); -} + this->connect_next (const_cast (o)); + } -virtual void -connect_next (Type const&); + virtual void + connect_next (Type const&); -virtual void -connect_post (Type &o) -{ + virtual void + connect_post (Type &o) + { -this->connect_post (const_cast (o)); -} + this->connect_post (const_cast (o)); + } -virtual void -connect_post (Type const&); + virtual void + connect_post (Type const&); -virtual void -resource_pre (Type &o) -{ + virtual void + resource_pre (Type &o) + { -this->resource_pre (const_cast (o)); -} + this->resource_pre (const_cast (o)); + } -virtual void -resource_pre (Type const&); + virtual void + resource_pre (Type const&); -virtual void -resource_next (Type &o) -{ + virtual void + resource_next (Type &o) + { -this->resource_next (const_cast (o)); -} + this->resource_next (const_cast (o)); + } -virtual void -resource_next (Type const&); + virtual void + resource_next (Type const&); -virtual void -resource_post (Type &o) -{ + virtual void + resource_post (Type &o) + { -this->resource_post (const_cast (o)); -} + this->resource_post (const_cast (o)); + } -virtual void -resource_post (Type const&); + virtual void + resource_post (Type const&); -protected: -Bridge (); -}; + protected: + Bridge (); + }; -struct Interconnect : Traversal::Interconnect, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::Interconnect Type; -Interconnect (::XSCRT::XML::Element< ACE_TCHAR >&); + struct Interconnect : Traversal::Interconnect, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::Interconnect Type; + Interconnect (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -traverse (Type &o) -{ + virtual void + traverse (Type &o) + { -this->traverse (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -name (Type &o) -{ + virtual void + name (Type &o) + { -this->name (const_cast (o)); -} + this->name (const_cast (o)); + } -virtual void -name (Type const&); + virtual void + name (Type const&); -virtual void -label (Type &o) -{ + virtual void + label (Type &o) + { -this->label (const_cast (o)); -} + this->label (const_cast (o)); + } -virtual void -label (Type const&); + virtual void + label (Type const&); -virtual void -connection_pre (Type &o) -{ + virtual void + connection_pre (Type &o) + { -this->connection_pre (const_cast (o)); -} + this->connection_pre (const_cast (o)); + } -virtual void -connection_pre (Type const&); + virtual void + connection_pre (Type const&); -virtual void -connection_next (Type &o) -{ + virtual void + connection_next (Type &o) + { -this->connection_next (const_cast (o)); -} + this->connection_next (const_cast (o)); + } -virtual void -connection_next (Type const&); + virtual void + connection_next (Type const&); -virtual void -connection_post (Type &o) -{ + virtual void + connection_post (Type &o) + { -this->connection_post (const_cast (o)); -} + this->connection_post (const_cast (o)); + } -virtual void -connection_post (Type const&); + virtual void + connection_post (Type const&); -virtual void -connect_pre (Type &o) -{ + virtual void + connect_pre (Type &o) + { -this->connect_pre (const_cast (o)); -} + this->connect_pre (const_cast (o)); + } -virtual void -connect_pre (Type const&); + virtual void + connect_pre (Type const&); -virtual void -connect_next (Type &o) -{ + virtual void + connect_next (Type &o) + { -this->connect_next (const_cast (o)); -} + this->connect_next (const_cast (o)); + } -virtual void -connect_next (Type const&); + virtual void + connect_next (Type const&); -virtual void -connect_post (Type &o) -{ + virtual void + connect_post (Type &o) + { -this->connect_post (const_cast (o)); -} + this->connect_post (const_cast (o)); + } -virtual void -connect_post (Type const&); + virtual void + connect_post (Type const&); -virtual void -resource_pre (Type &o) -{ + virtual void + resource_pre (Type &o) + { -this->resource_pre (const_cast (o)); -} + this->resource_pre (const_cast (o)); + } -virtual void -resource_pre (Type const&); + virtual void + resource_pre (Type const&); -virtual void -resource_next (Type &o) -{ + virtual void + resource_next (Type &o) + { -this->resource_next (const_cast (o)); -} + this->resource_next (const_cast (o)); + } -virtual void -resource_next (Type const&); + virtual void + resource_next (Type const&); -virtual void -resource_post (Type &o) -{ + virtual void + resource_post (Type &o) + { -this->resource_post (const_cast (o)); -} + this->resource_post (const_cast (o)); + } -virtual void -resource_post (Type const&); + virtual void + resource_post (Type const&); -protected: -Interconnect (); -}; + protected: + Interconnect (); + }; -struct Node : Traversal::Node, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::Node Type; -Node (::XSCRT::XML::Element< ACE_TCHAR >&); + struct Node : Traversal::Node, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::Node Type; + Node (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -traverse (Type &o) -{ + virtual void + traverse (Type &o) + { -this->traverse (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -name (Type &o) -{ + virtual void + name (Type &o) + { -this->name (const_cast (o)); -} + this->name (const_cast (o)); + } -virtual void -name (Type const&); + virtual void + name (Type const&); -virtual void -label (Type &o) -{ + virtual void + label (Type &o) + { -this->label (const_cast (o)); -} + this->label (const_cast (o)); + } -virtual void -label (Type const&); + virtual void + label (Type const&); -virtual void -connection_pre (Type &o) -{ + virtual void + connection_pre (Type &o) + { -this->connection_pre (const_cast (o)); -} + this->connection_pre (const_cast (o)); + } -virtual void -connection_pre (Type const&); + virtual void + connection_pre (Type const&); -virtual void -connection_next (Type &o) -{ + virtual void + connection_next (Type &o) + { -this->connection_next (const_cast (o)); -} + this->connection_next (const_cast (o)); + } -virtual void -connection_next (Type const&); + virtual void + connection_next (Type const&); -virtual void -connection_post (Type &o) -{ + virtual void + connection_post (Type &o) + { -this->connection_post (const_cast (o)); -} + this->connection_post (const_cast (o)); + } -virtual void -connection_post (Type const&); + virtual void + connection_post (Type const&); -virtual void -sharedResource_pre (Type &o) -{ + virtual void + sharedResource_pre (Type &o) + { -this->sharedResource_pre (const_cast (o)); -} + this->sharedResource_pre (const_cast (o)); + } -virtual void -sharedResource_pre (Type const&); + virtual void + sharedResource_pre (Type const&); -virtual void -sharedResource_next (Type &o) -{ + virtual void + sharedResource_next (Type &o) + { -this->sharedResource_next (const_cast (o)); -} + this->sharedResource_next (const_cast (o)); + } -virtual void -sharedResource_next (Type const&); + virtual void + sharedResource_next (Type const&); -virtual void -sharedResource_post (Type &o) -{ + virtual void + sharedResource_post (Type &o) + { -this->sharedResource_post (const_cast (o)); -} + this->sharedResource_post (const_cast (o)); + } -virtual void -sharedResource_post (Type const&); + virtual void + sharedResource_post (Type const&); -virtual void -resource_pre (Type &o) -{ + virtual void + resource_pre (Type &o) + { -this->resource_pre (const_cast (o)); -} + this->resource_pre (const_cast (o)); + } -virtual void -resource_pre (Type const&); + virtual void + resource_pre (Type const&); -virtual void -resource_next (Type &o) -{ + virtual void + resource_next (Type &o) + { -this->resource_next (const_cast (o)); -} + this->resource_next (const_cast (o)); + } -virtual void -resource_next (Type const&); + virtual void + resource_next (Type const&); -virtual void -resource_post (Type &o) -{ + virtual void + resource_post (Type &o) + { -this->resource_post (const_cast (o)); -} + this->resource_post (const_cast (o)); + } -virtual void -resource_post (Type const&); + virtual void + resource_post (Type const&); -protected: -Node (); -}; + protected: + Node (); + }; -struct SharedResource : Traversal::SharedResource, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::SharedResource Type; -SharedResource (::XSCRT::XML::Element< ACE_TCHAR >&); + struct SharedResource : Traversal::SharedResource, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::SharedResource Type; + SharedResource (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -traverse (Type &o) -{ + virtual void + traverse (Type &o) + { -this->traverse (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -name (Type &o) -{ + virtual void + name (Type &o) + { -this->name (const_cast (o)); -} + this->name (const_cast (o)); + } -virtual void -name (Type const&); + virtual void + name (Type const&); -virtual void -resourceType (Type &o) -{ + virtual void + resourceType (Type &o) + { -this->resourceType (const_cast (o)); -} + this->resourceType (const_cast (o)); + } -virtual void -resourceType (Type const&); + virtual void + resourceType (Type const&); -virtual void -node (Type &o) -{ + virtual void + node (Type &o) + { -this->node (const_cast (o)); -} + this->node (const_cast (o)); + } -virtual void -node (Type const&); + virtual void + node (Type const&); -virtual void -property (Type &o) -{ + virtual void + property (Type &o) + { -this->property (const_cast (o)); -} + this->property (const_cast (o)); + } -virtual void -property (Type const&); + virtual void + property (Type const&); -protected: -SharedResource (); -}; -} -} + protected: + SharedResource (); + }; + } + } } namespace CIAO { -namespace Config_Handlers -{ -} + namespace Config_Handlers + { + } } #endif // CDD_HPP diff --git a/CIAO/tools/Config_Handlers/cdp.cpp b/CIAO/tools/Config_Handlers/cdp.cpp index 0ba7c13577d..8603731cd5e 100644 --- a/CIAO/tools/Config_Handlers/cdp.cpp +++ b/CIAO/tools/Config_Handlers/cdp.cpp @@ -3,12 +3,12 @@ * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte */ - + #include "cdp.hpp" namespace CIAO @@ -16,24 +16,24 @@ namespace CIAO namespace Config_Handlers { // DeploymentPlan - // + // DeploymentPlan:: DeploymentPlan () - : - ::XSCRT::Type (), - regulator__ () + : + ::XSCRT::Type (), + regulator__ () { } DeploymentPlan:: DeploymentPlan (::CIAO::Config_Handlers::DeploymentPlan const& s) - : - ::XSCRT::Type (), - label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), - UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), - realizes_ (s.realizes_.get () ? new ::CIAO::Config_Handlers::ComponentInterfaceDescription (*s.realizes_) : 0), - regulator__ () + : + ::XSCRT::Type (), + label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), + UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), + realizes_ (s.realizes_.get () ? new ::CIAO::Config_Handlers::ComponentInterfaceDescription (*s.realizes_) : 0), + regulator__ () { if (label_.get ()) label_->container (this); if (UUID_.get ()) UUID_->container (this); @@ -110,7 +110,7 @@ namespace CIAO // DeploymentPlan - // + // bool DeploymentPlan:: label_p () const { @@ -127,19 +127,19 @@ namespace CIAO label (::XMLSchema::string< ACE_TCHAR > const& e) { if (label_.get ()) - { - *label_ = e; - } + { + *label_ = e; + } else - { - label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - label_->container (this); - } + { + label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + label_->container (this); + } } // DeploymentPlan - // + // bool DeploymentPlan:: UUID_p () const { @@ -156,19 +156,19 @@ namespace CIAO UUID (::XMLSchema::string< ACE_TCHAR > const& e) { if (UUID_.get ()) - { - *UUID_ = e; - } + { + *UUID_ = e; + } else - { - UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - UUID_->container (this); - } + { + UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + UUID_->container (this); + } } // DeploymentPlan - // + // bool DeploymentPlan:: realizes_p () const { @@ -185,19 +185,19 @@ namespace CIAO realizes (::CIAO::Config_Handlers::ComponentInterfaceDescription const& e) { if (realizes_.get ()) - { - *realizes_ = e; - } + { + *realizes_ = e; + } else - { - realizes_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (new ::CIAO::Config_Handlers::ComponentInterfaceDescription (e)); - realizes_->container (this); - } + { + realizes_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (new ::CIAO::Config_Handlers::ComponentInterfaceDescription (e)); + realizes_->container (this); + } } // DeploymentPlan - // + // DeploymentPlan::implementation_iterator DeploymentPlan:: begin_implementation () { @@ -235,7 +235,7 @@ namespace CIAO } // DeploymentPlan - // + // DeploymentPlan::instance_iterator DeploymentPlan:: begin_instance () { @@ -273,7 +273,7 @@ namespace CIAO } // DeploymentPlan - // + // DeploymentPlan::connection_iterator DeploymentPlan:: begin_connection () { @@ -311,7 +311,7 @@ namespace CIAO } // DeploymentPlan - // + // DeploymentPlan::dependsOn_iterator DeploymentPlan:: begin_dependsOn () { @@ -349,7 +349,7 @@ namespace CIAO } // DeploymentPlan - // + // DeploymentPlan::artifact_iterator DeploymentPlan:: begin_artifact () { @@ -387,7 +387,7 @@ namespace CIAO } // DeploymentPlan - // + // DeploymentPlan::infoProperty_iterator DeploymentPlan:: begin_infoProperty () { @@ -435,74 +435,74 @@ namespace CIAO DeploymentPlan:: DeploymentPlan (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () + :Base__ (e), regulator__ () { ::XSCRT::Parser< ACE_TCHAR > p (e); while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "label") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + label (t); + } + + else if (n == "UUID") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + UUID (t); + } + + else if (n == "realizes") + { + ::CIAO::Config_Handlers::ComponentInterfaceDescription t (e); + realizes (t); + } + + else if (n == "implementation") + { + ::CIAO::Config_Handlers::MonolithicDeploymentDescription t (e); + add_implementation (t); + } + + else if (n == "instance") + { + ::CIAO::Config_Handlers::InstanceDeploymentDescription t (e); + add_instance (t); + } + + else if (n == "connection") + { + ::CIAO::Config_Handlers::PlanConnectionDescription t (e); + add_connection (t); + } + + else if (n == "dependsOn") + { + ::CIAO::Config_Handlers::ImplementationDependency t (e); + add_dependsOn (t); + } + + else if (n == "artifact") + { + ::CIAO::Config_Handlers::ArtifactDeploymentDescription t (e); + add_artifact (t); + } + + else if (n == "infoProperty") + { + ::CIAO::Config_Handlers::Property t (e); + add_infoProperty (t); + } + + else { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - - if (n == "label") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - label (t); - } - - else if (n == "UUID") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - UUID (t); - } - - else if (n == "realizes") - { - ::CIAO::Config_Handlers::ComponentInterfaceDescription t (e); - realizes (t); - } - - else if (n == "implementation") - { - ::CIAO::Config_Handlers::MonolithicDeploymentDescription t (e); - add_implementation (t); - } - - else if (n == "instance") - { - ::CIAO::Config_Handlers::InstanceDeploymentDescription t (e); - add_instance (t); - } - - else if (n == "connection") - { - ::CIAO::Config_Handlers::PlanConnectionDescription t (e); - add_connection (t); - } - - else if (n == "dependsOn") - { - ::CIAO::Config_Handlers::ImplementationDependency t (e); - add_dependsOn (t); - } - - else if (n == "artifact") - { - ::CIAO::Config_Handlers::ArtifactDeploymentDescription t (e); - add_artifact (t); - } - - else if (n == "infoProperty") - { - ::CIAO::Config_Handlers::Property t (e); - add_infoProperty (t); - } - - else - { - } } + } } } } @@ -673,16 +673,16 @@ namespace CIAO DeploymentPlan::Type::implementation_iterator b (o.begin_implementation()), e (o.end_implementation()); if (b != e) + { + implementation_pre (o); + for (; b != e;) { - implementation_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) implementation_next (o); - } - - implementation_post (o); + dispatch (*b); + if (++b != e) implementation_next (o); } + + implementation_post (o); + } } void DeploymentPlan:: @@ -693,16 +693,16 @@ namespace CIAO DeploymentPlan::Type::implementation_const_iterator b (o.begin_implementation()), e (o.end_implementation()); if (b != e) + { + implementation_pre (o); + for (; b != e;) { - implementation_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) implementation_next (o); - } - - implementation_post (o); + dispatch (*b); + if (++b != e) implementation_next (o); } + + implementation_post (o); + } } void DeploymentPlan:: @@ -743,17 +743,17 @@ namespace CIAO DeploymentPlan::Type::instance_iterator b (o.begin_instance()), e (o.end_instance()); if (b != e) + { + instance_pre (o); + for (; b != e;) { - instance_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) instance_next (o); - } - - instance_post (o); + dispatch (*b); + if (++b != e) instance_next (o); } + instance_post (o); + } + else instance_none (o); } @@ -765,17 +765,17 @@ namespace CIAO DeploymentPlan::Type::instance_const_iterator b (o.begin_instance()), e (o.end_instance()); if (b != e) + { + instance_pre (o); + for (; b != e;) { - instance_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) instance_next (o); - } - - instance_post (o); + dispatch (*b); + if (++b != e) instance_next (o); } + instance_post (o); + } + else instance_none (o); } @@ -827,17 +827,17 @@ namespace CIAO DeploymentPlan::Type::connection_iterator b (o.begin_connection()), e (o.end_connection()); if (b != e) + { + connection_pre (o); + for (; b != e;) { - connection_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) connection_next (o); - } - - connection_post (o); + dispatch (*b); + if (++b != e) connection_next (o); } + connection_post (o); + } + else connection_none (o); } @@ -849,17 +849,17 @@ namespace CIAO DeploymentPlan::Type::connection_const_iterator b (o.begin_connection()), e (o.end_connection()); if (b != e) + { + connection_pre (o); + for (; b != e;) { - connection_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) connection_next (o); - } - - connection_post (o); + dispatch (*b); + if (++b != e) connection_next (o); } + connection_post (o); + } + else connection_none (o); } @@ -911,17 +911,17 @@ namespace CIAO DeploymentPlan::Type::dependsOn_iterator b (o.begin_dependsOn()), e (o.end_dependsOn()); if (b != e) + { + dependsOn_pre (o); + for (; b != e;) { - dependsOn_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) dependsOn_next (o); - } - - dependsOn_post (o); + dispatch (*b); + if (++b != e) dependsOn_next (o); } + dependsOn_post (o); + } + else dependsOn_none (o); } @@ -933,17 +933,17 @@ namespace CIAO DeploymentPlan::Type::dependsOn_const_iterator b (o.begin_dependsOn()), e (o.end_dependsOn()); if (b != e) + { + dependsOn_pre (o); + for (; b != e;) { - dependsOn_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) dependsOn_next (o); - } - - dependsOn_post (o); + dispatch (*b); + if (++b != e) dependsOn_next (o); } + dependsOn_post (o); + } + else dependsOn_none (o); } @@ -995,17 +995,17 @@ namespace CIAO DeploymentPlan::Type::artifact_iterator b (o.begin_artifact()), e (o.end_artifact()); if (b != e) + { + artifact_pre (o); + for (; b != e;) { - artifact_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) artifact_next (o); - } - - artifact_post (o); + dispatch (*b); + if (++b != e) artifact_next (o); } + artifact_post (o); + } + else artifact_none (o); } @@ -1017,17 +1017,17 @@ namespace CIAO DeploymentPlan::Type::artifact_const_iterator b (o.begin_artifact()), e (o.end_artifact()); if (b != e) + { + artifact_pre (o); + for (; b != e;) { - artifact_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) artifact_next (o); - } - - artifact_post (o); + dispatch (*b); + if (++b != e) artifact_next (o); } + artifact_post (o); + } + else artifact_none (o); } @@ -1079,17 +1079,17 @@ namespace CIAO DeploymentPlan::Type::infoProperty_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); if (b != e) + { + infoProperty_pre (o); + for (; b != e;) { - infoProperty_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) infoProperty_next (o); - } - - infoProperty_post (o); + dispatch (*b); + if (++b != e) infoProperty_next (o); } + infoProperty_post (o); + } + else infoProperty_none (o); } @@ -1101,17 +1101,17 @@ namespace CIAO DeploymentPlan::Type::infoProperty_const_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); if (b != e) + { + infoProperty_pre (o); + for (; b != e;) { - infoProperty_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) infoProperty_next (o); - } - - infoProperty_post (o); + dispatch (*b); + if (++b != e) infoProperty_next (o); } + infoProperty_post (o); + } + else infoProperty_none (o); } @@ -1180,7 +1180,7 @@ namespace CIAO DeploymentPlan:: DeploymentPlan (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } diff --git a/CIAO/tools/Config_Handlers/cdp.hpp b/CIAO/tools/Config_Handlers/cdp.hpp index f6033db9fca..8e51bc512ed 100644 --- a/CIAO/tools/Config_Handlers/cdp.hpp +++ b/CIAO/tools/Config_Handlers/cdp.hpp @@ -9,18 +9,16 @@ * Will Otte */ - // Fix for Borland compilers, which seem to have a broken // include. #ifdef __BORLANDC__ # include #endif -#include "XSC_XML_Handlers_Export.h" - #ifndef CDP_HPP #define CDP_HPP +#include "XSC_XML_Handlers_Export.h" // Forward declarations. // namespace CIAO @@ -47,38 +45,38 @@ namespace CIAO typedef ::XSCRT::Type Base__; // label - // - public: + // + public: bool label_p () const; ::XMLSchema::string< ACE_TCHAR > const& label () const; void label (::XMLSchema::string< ACE_TCHAR > const& ); - protected: + protected: ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; // UUID - // - public: + // + public: bool UUID_p () const; ::XMLSchema::string< ACE_TCHAR > const& UUID () const; void UUID (::XMLSchema::string< ACE_TCHAR > const& ); - protected: + protected: ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; // realizes - // - public: + // + public: bool realizes_p () const; ::CIAO::Config_Handlers::ComponentInterfaceDescription const& realizes () const; void realizes (::CIAO::Config_Handlers::ComponentInterfaceDescription const& ); - protected: + protected: ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > realizes_; // implementation - // - public: + // + public: typedef ::std::list< ::CIAO::Config_Handlers::MonolithicDeploymentDescription >::iterator implementation_iterator; typedef ::std::list< ::CIAO::Config_Handlers::MonolithicDeploymentDescription >::const_iterator implementation_const_iterator; implementation_iterator begin_implementation (); @@ -88,12 +86,12 @@ namespace CIAO void add_implementation (::CIAO::Config_Handlers::MonolithicDeploymentDescription const& ); size_t count_implementation (void) const; - protected: + protected: ::std::list< ::CIAO::Config_Handlers::MonolithicDeploymentDescription > implementation_; // instance - // - public: + // + public: typedef ::std::list< ::CIAO::Config_Handlers::InstanceDeploymentDescription >::iterator instance_iterator; typedef ::std::list< ::CIAO::Config_Handlers::InstanceDeploymentDescription >::const_iterator instance_const_iterator; instance_iterator begin_instance (); @@ -103,12 +101,12 @@ namespace CIAO void add_instance (::CIAO::Config_Handlers::InstanceDeploymentDescription const& ); size_t count_instance (void) const; - protected: + protected: ::std::list< ::CIAO::Config_Handlers::InstanceDeploymentDescription > instance_; // connection - // - public: + // + public: typedef ::std::list< ::CIAO::Config_Handlers::PlanConnectionDescription >::iterator connection_iterator; typedef ::std::list< ::CIAO::Config_Handlers::PlanConnectionDescription >::const_iterator connection_const_iterator; connection_iterator begin_connection (); @@ -118,12 +116,12 @@ namespace CIAO void add_connection (::CIAO::Config_Handlers::PlanConnectionDescription const& ); size_t count_connection (void) const; - protected: + protected: ::std::list< ::CIAO::Config_Handlers::PlanConnectionDescription > connection_; // dependsOn - // - public: + // + public: typedef ::std::list< ::CIAO::Config_Handlers::ImplementationDependency >::iterator dependsOn_iterator; typedef ::std::list< ::CIAO::Config_Handlers::ImplementationDependency >::const_iterator dependsOn_const_iterator; dependsOn_iterator begin_dependsOn (); @@ -133,12 +131,12 @@ namespace CIAO void add_dependsOn (::CIAO::Config_Handlers::ImplementationDependency const& ); size_t count_dependsOn (void) const; - protected: + protected: ::std::list< ::CIAO::Config_Handlers::ImplementationDependency > dependsOn_; // artifact - // - public: + // + public: typedef ::std::list< ::CIAO::Config_Handlers::ArtifactDeploymentDescription >::iterator artifact_iterator; typedef ::std::list< ::CIAO::Config_Handlers::ArtifactDeploymentDescription >::const_iterator artifact_const_iterator; artifact_iterator begin_artifact (); @@ -148,12 +146,12 @@ namespace CIAO void add_artifact (::CIAO::Config_Handlers::ArtifactDeploymentDescription const& ); size_t count_artifact (void) const; - protected: + protected: ::std::list< ::CIAO::Config_Handlers::ArtifactDeploymentDescription > artifact_; // infoProperty - // - public: + // + public: typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator infoProperty_const_iterator; infoProperty_iterator begin_infoProperty (); @@ -163,10 +161,10 @@ namespace CIAO void add_infoProperty (::CIAO::Config_Handlers::Property const& ); size_t count_infoProperty (void) const; - protected: + protected: ::std::list< ::CIAO::Config_Handlers::Property > infoProperty_; - public: + public: DeploymentPlan (); DeploymentPlan (::XSCRT::XML::Element< ACE_TCHAR > const&); @@ -175,7 +173,7 @@ namespace CIAO DeploymentPlan& operator= (DeploymentPlan const& s); - private: + private: char regulator__; }; } @@ -198,233 +196,233 @@ namespace CIAO { struct XSC_XML_Handlers_Export DeploymentPlan : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::DeploymentPlan > { - virtual void - traverse (Type&); + virtual void + traverse (Type&); - virtual void - traverse (Type const&); + virtual void + traverse (Type const&); - virtual void - pre (Type&); + virtual void + pre (Type&); - virtual void - pre (Type const&); + virtual void + pre (Type const&); - virtual void - label (Type&); + virtual void + label (Type&); - virtual void - label (Type const&); + virtual void + label (Type const&); - virtual void - label_none (Type&); + virtual void + label_none (Type&); - virtual void - label_none (Type const&); + virtual void + label_none (Type const&); - virtual void - UUID (Type&); + virtual void + UUID (Type&); - virtual void - UUID (Type const&); + virtual void + UUID (Type const&); - virtual void - UUID_none (Type&); + virtual void + UUID_none (Type&); - virtual void - UUID_none (Type const&); + virtual void + UUID_none (Type const&); - virtual void - realizes (Type&); + virtual void + realizes (Type&); - virtual void - realizes (Type const&); + virtual void + realizes (Type const&); - virtual void - realizes_none (Type&); + virtual void + realizes_none (Type&); - virtual void - realizes_none (Type const&); + virtual void + realizes_none (Type const&); - virtual void - implementation (Type&); + virtual void + implementation (Type&); - virtual void - implementation (Type const&); + virtual void + implementation (Type const&); - virtual void - implementation_pre (Type&); + virtual void + implementation_pre (Type&); - virtual void - implementation_pre (Type const&); + virtual void + implementation_pre (Type const&); - virtual void - implementation_next (Type&); + virtual void + implementation_next (Type&); - virtual void - implementation_next (Type const&); + virtual void + implementation_next (Type const&); - virtual void - implementation_post (Type&); + virtual void + implementation_post (Type&); - virtual void - implementation_post (Type const&); + virtual void + implementation_post (Type const&); - virtual void - instance (Type&); + virtual void + instance (Type&); - virtual void - instance (Type const&); + virtual void + instance (Type const&); - virtual void - instance_pre (Type&); + virtual void + instance_pre (Type&); - virtual void - instance_pre (Type const&); + virtual void + instance_pre (Type const&); - virtual void - instance_next (Type&); + virtual void + instance_next (Type&); - virtual void - instance_next (Type const&); + virtual void + instance_next (Type const&); - virtual void - instance_post (Type&); + virtual void + instance_post (Type&); - virtual void - instance_post (Type const&); + virtual void + instance_post (Type const&); - virtual void - instance_none (Type&); + virtual void + instance_none (Type&); - virtual void - instance_none (Type const&); + virtual void + instance_none (Type const&); - virtual void - connection (Type&); + virtual void + connection (Type&); - virtual void - connection (Type const&); + virtual void + connection (Type const&); - virtual void - connection_pre (Type&); + virtual void + connection_pre (Type&); - virtual void - connection_pre (Type const&); + virtual void + connection_pre (Type const&); - virtual void - connection_next (Type&); + virtual void + connection_next (Type&); - virtual void - connection_next (Type const&); + virtual void + connection_next (Type const&); - virtual void - connection_post (Type&); + virtual void + connection_post (Type&); - virtual void - connection_post (Type const&); + virtual void + connection_post (Type const&); - virtual void - connection_none (Type&); + virtual void + connection_none (Type&); - virtual void - connection_none (Type const&); + virtual void + connection_none (Type const&); - virtual void - dependsOn (Type&); + virtual void + dependsOn (Type&); - virtual void - dependsOn (Type const&); + virtual void + dependsOn (Type const&); - virtual void - dependsOn_pre (Type&); + virtual void + dependsOn_pre (Type&); - virtual void - dependsOn_pre (Type const&); + virtual void + dependsOn_pre (Type const&); - virtual void - dependsOn_next (Type&); + virtual void + dependsOn_next (Type&); - virtual void - dependsOn_next (Type const&); + virtual void + dependsOn_next (Type const&); - virtual void - dependsOn_post (Type&); + virtual void + dependsOn_post (Type&); - virtual void - dependsOn_post (Type const&); + virtual void + dependsOn_post (Type const&); - virtual void - dependsOn_none (Type&); + virtual void + dependsOn_none (Type&); - virtual void - dependsOn_none (Type const&); + virtual void + dependsOn_none (Type const&); - virtual void - artifact (Type&); + virtual void + artifact (Type&); - virtual void - artifact (Type const&); + virtual void + artifact (Type const&); - virtual void - artifact_pre (Type&); + virtual void + artifact_pre (Type&); - virtual void - artifact_pre (Type const&); + virtual void + artifact_pre (Type const&); - virtual void - artifact_next (Type&); + virtual void + artifact_next (Type&); - virtual void - artifact_next (Type const&); + virtual void + artifact_next (Type const&); - virtual void - artifact_post (Type&); + virtual void + artifact_post (Type&); - virtual void - artifact_post (Type const&); + virtual void + artifact_post (Type const&); - virtual void - artifact_none (Type&); + virtual void + artifact_none (Type&); - virtual void - artifact_none (Type const&); + virtual void + artifact_none (Type const&); - virtual void - infoProperty (Type&); + virtual void + infoProperty (Type&); - virtual void - infoProperty (Type const&); + virtual void + infoProperty (Type const&); - virtual void - infoProperty_pre (Type&); + virtual void + infoProperty_pre (Type&); - virtual void - infoProperty_pre (Type const&); + virtual void + infoProperty_pre (Type const&); - virtual void - infoProperty_next (Type&); + virtual void + infoProperty_next (Type&); - virtual void - infoProperty_next (Type const&); + virtual void + infoProperty_next (Type const&); - virtual void - infoProperty_post (Type&); + virtual void + infoProperty_post (Type&); - virtual void - infoProperty_post (Type const&); + virtual void + infoProperty_post (Type const&); - virtual void - infoProperty_none (Type&); + virtual void + infoProperty_none (Type&); - virtual void - infoProperty_none (Type const&); + virtual void + infoProperty_none (Type const&); - virtual void - post (Type&); + virtual void + post (Type&); - virtual void - post (Type const&); + virtual void + post (Type const&); }; } } @@ -438,256 +436,256 @@ namespace CIAO { namespace Writer { - struct DeploymentPlan : Traversal::DeploymentPlan, - virtual ::XSCRT::Writer< ACE_TCHAR > + struct DeploymentPlan : Traversal::DeploymentPlan, + virtual ::XSCRT::Writer< ACE_TCHAR > { - typedef ::CIAO::Config_Handlers::DeploymentPlan Type; - DeploymentPlan (::XSCRT::XML::Element< ACE_TCHAR >&); + typedef ::CIAO::Config_Handlers::DeploymentPlan Type; + DeploymentPlan (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - traverse (Type &o) - { + virtual void + traverse (Type &o) + { - this->traverse (const_cast (o)); - } + this->traverse (const_cast (o)); + } - virtual void - traverse (Type const&); + virtual void + traverse (Type const&); - virtual void - label (Type &o) - { + virtual void + label (Type &o) + { - this->label (const_cast (o)); - } + this->label (const_cast (o)); + } - virtual void - label (Type const&); + virtual void + label (Type const&); - virtual void - UUID (Type &o) - { + virtual void + UUID (Type &o) + { - this->UUID (const_cast (o)); - } + this->UUID (const_cast (o)); + } - virtual void - UUID (Type const&); + virtual void + UUID (Type const&); - virtual void - realizes (Type &o) - { + virtual void + realizes (Type &o) + { - this->realizes (const_cast (o)); - } + this->realizes (const_cast (o)); + } - virtual void - realizes (Type const&); + virtual void + realizes (Type const&); - virtual void - implementation_pre (Type &o) - { + virtual void + implementation_pre (Type &o) + { - this->implementation_pre (const_cast (o)); - } + this->implementation_pre (const_cast (o)); + } - virtual void - implementation_pre (Type const&); + virtual void + implementation_pre (Type const&); - virtual void - implementation_next (Type &o) - { + virtual void + implementation_next (Type &o) + { - this->implementation_next (const_cast (o)); - } + this->implementation_next (const_cast (o)); + } - virtual void - implementation_next (Type const&); + virtual void + implementation_next (Type const&); - virtual void - implementation_post (Type &o) - { + virtual void + implementation_post (Type &o) + { - this->implementation_post (const_cast (o)); - } + this->implementation_post (const_cast (o)); + } - virtual void - implementation_post (Type const&); + virtual void + implementation_post (Type const&); - virtual void - instance_pre (Type &o) - { + virtual void + instance_pre (Type &o) + { - this->instance_pre (const_cast (o)); - } + this->instance_pre (const_cast (o)); + } - virtual void - instance_pre (Type const&); + virtual void + instance_pre (Type const&); - virtual void - instance_next (Type &o) - { + virtual void + instance_next (Type &o) + { - this->instance_next (const_cast (o)); - } + this->instance_next (const_cast (o)); + } - virtual void - instance_next (Type const&); + virtual void + instance_next (Type const&); - virtual void - instance_post (Type &o) - { + virtual void + instance_post (Type &o) + { - this->instance_post (const_cast (o)); - } + this->instance_post (const_cast (o)); + } - virtual void - instance_post (Type const&); + virtual void + instance_post (Type const&); - virtual void - connection_pre (Type &o) - { + virtual void + connection_pre (Type &o) + { - this->connection_pre (const_cast (o)); - } + this->connection_pre (const_cast (o)); + } - virtual void - connection_pre (Type const&); + virtual void + connection_pre (Type const&); - virtual void - connection_next (Type &o) - { + virtual void + connection_next (Type &o) + { - this->connection_next (const_cast (o)); - } + this->connection_next (const_cast (o)); + } - virtual void - connection_next (Type const&); + virtual void + connection_next (Type const&); - virtual void - connection_post (Type &o) - { + virtual void + connection_post (Type &o) + { - this->connection_post (const_cast (o)); - } + this->connection_post (const_cast (o)); + } - virtual void - connection_post (Type const&); + virtual void + connection_post (Type const&); - virtual void - dependsOn_pre (Type &o) - { + virtual void + dependsOn_pre (Type &o) + { - this->dependsOn_pre (const_cast (o)); - } + this->dependsOn_pre (const_cast (o)); + } - virtual void - dependsOn_pre (Type const&); + virtual void + dependsOn_pre (Type const&); - virtual void - dependsOn_next (Type &o) - { + virtual void + dependsOn_next (Type &o) + { - this->dependsOn_next (const_cast (o)); - } + this->dependsOn_next (const_cast (o)); + } - virtual void - dependsOn_next (Type const&); + virtual void + dependsOn_next (Type const&); - virtual void - dependsOn_post (Type &o) - { + virtual void + dependsOn_post (Type &o) + { - this->dependsOn_post (const_cast (o)); - } + this->dependsOn_post (const_cast (o)); + } - virtual void - dependsOn_post (Type const&); + virtual void + dependsOn_post (Type const&); - virtual void - artifact_pre (Type &o) - { + virtual void + artifact_pre (Type &o) + { - this->artifact_pre (const_cast (o)); - } + this->artifact_pre (const_cast (o)); + } - virtual void - artifact_pre (Type const&); + virtual void + artifact_pre (Type const&); - virtual void - artifact_next (Type &o) - { + virtual void + artifact_next (Type &o) + { - this->artifact_next (const_cast (o)); - } + this->artifact_next (const_cast (o)); + } - virtual void - artifact_next (Type const&); + virtual void + artifact_next (Type const&); - virtual void - artifact_post (Type &o) - { + virtual void + artifact_post (Type &o) + { - this->artifact_post (const_cast (o)); - } + this->artifact_post (const_cast (o)); + } - virtual void - artifact_post (Type const&); + virtual void + artifact_post (Type const&); - virtual void - infoProperty_pre (Type &o) - { + virtual void + infoProperty_pre (Type &o) + { - this->infoProperty_pre (const_cast (o)); - } + this->infoProperty_pre (const_cast (o)); + } - virtual void - infoProperty_pre (Type const&); + virtual void + infoProperty_pre (Type const&); - virtual void - infoProperty_next (Type &o) - { + virtual void + infoProperty_next (Type &o) + { - this->infoProperty_next (const_cast (o)); - } + this->infoProperty_next (const_cast (o)); + } - virtual void - infoProperty_next (Type const&); + virtual void + infoProperty_next (Type const&); - virtual void - infoProperty_post (Type &o) - { + virtual void + infoProperty_post (Type &o) + { - this->infoProperty_post (const_cast (o)); - } + this->infoProperty_post (const_cast (o)); + } - virtual void - infoProperty_post (Type const&); + virtual void + infoProperty_post (Type const&); - protected: - DeploymentPlan (); + protected: + DeploymentPlan (); }; } } diff --git a/CIAO/tools/Config_Handlers/cid.cpp b/CIAO/tools/Config_Handlers/cid.cpp index 5cfd51e40d5..be8b8f9c8e5 100644 --- a/CIAO/tools/Config_Handlers/cid.cpp +++ b/CIAO/tools/Config_Handlers/cid.cpp @@ -3,12 +3,12 @@ * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte */ - + #include "cid.hpp" namespace CIAO @@ -16,29 +16,29 @@ namespace CIAO namespace Config_Handlers { // SubcomponentInstantiationDescription - // + // SubcomponentInstantiationDescription:: SubcomponentInstantiationDescription (::XMLSchema::string< ACE_TCHAR > const& name__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - regulator__ () + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + regulator__ () { name_->container (this); } SubcomponentInstantiationDescription:: SubcomponentInstantiationDescription (::CIAO::Config_Handlers::SubcomponentInstantiationDescription const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), - basePackage_ (s.basePackage_.get () ? new ::CIAO::Config_Handlers::ComponentPackageDescription (*s.basePackage_) : 0), - specializedConfig_ (s.specializedConfig_.get () ? new ::CIAO::Config_Handlers::PackageConfiguration (*s.specializedConfig_) : 0), - referencedPackage_ (s.referencedPackage_.get () ? new ::CIAO::Config_Handlers::ComponentPackageReference (*s.referencedPackage_) : 0), - importedPackage_ (s.importedPackage_.get () ? new ::CIAO::Config_Handlers::ComponentPackageImport (*s.importedPackage_) : 0), - id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0), - regulator__ () + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + basePackage_ (s.basePackage_.get () ? new ::CIAO::Config_Handlers::ComponentPackageDescription (*s.basePackage_) : 0), + specializedConfig_ (s.specializedConfig_.get () ? new ::CIAO::Config_Handlers::PackageConfiguration (*s.specializedConfig_) : 0), + referencedPackage_ (s.referencedPackage_.get () ? new ::CIAO::Config_Handlers::ComponentPackageReference (*s.referencedPackage_) : 0), + importedPackage_ (s.importedPackage_.get () ? new ::CIAO::Config_Handlers::ComponentPackageImport (*s.importedPackage_) : 0), + id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0), + regulator__ () { name_->container (this); if (basePackage_.get ()) basePackage_->container (this); @@ -91,7 +91,7 @@ namespace CIAO // SubcomponentInstantiationDescription - // + // ::XMLSchema::string< ACE_TCHAR > const& SubcomponentInstantiationDescription:: name () const { @@ -105,7 +105,7 @@ namespace CIAO } // SubcomponentInstantiationDescription - // + // bool SubcomponentInstantiationDescription:: basePackage_p () const { @@ -122,19 +122,19 @@ namespace CIAO basePackage (::CIAO::Config_Handlers::ComponentPackageDescription const& e) { if (basePackage_.get ()) - { - *basePackage_ = e; - } + { + *basePackage_ = e; + } else - { - basePackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageDescription > (new ::CIAO::Config_Handlers::ComponentPackageDescription (e)); - basePackage_->container (this); - } + { + basePackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageDescription > (new ::CIAO::Config_Handlers::ComponentPackageDescription (e)); + basePackage_->container (this); + } } // SubcomponentInstantiationDescription - // + // bool SubcomponentInstantiationDescription:: specializedConfig_p () const { @@ -151,19 +151,19 @@ namespace CIAO specializedConfig (::CIAO::Config_Handlers::PackageConfiguration const& e) { if (specializedConfig_.get ()) - { - *specializedConfig_ = e; - } + { + *specializedConfig_ = e; + } else - { - specializedConfig_ = ::std::auto_ptr< ::CIAO::Config_Handlers::PackageConfiguration > (new ::CIAO::Config_Handlers::PackageConfiguration (e)); - specializedConfig_->container (this); - } + { + specializedConfig_ = ::std::auto_ptr< ::CIAO::Config_Handlers::PackageConfiguration > (new ::CIAO::Config_Handlers::PackageConfiguration (e)); + specializedConfig_->container (this); + } } // SubcomponentInstantiationDescription - // + // SubcomponentInstantiationDescription::selectRequirement_iterator SubcomponentInstantiationDescription:: begin_selectRequirement () { @@ -201,7 +201,7 @@ namespace CIAO } // SubcomponentInstantiationDescription - // + // SubcomponentInstantiationDescription::configProperty_iterator SubcomponentInstantiationDescription:: begin_configProperty () { @@ -239,7 +239,7 @@ namespace CIAO } // SubcomponentInstantiationDescription - // + // bool SubcomponentInstantiationDescription:: referencedPackage_p () const { @@ -256,19 +256,19 @@ namespace CIAO referencedPackage (::CIAO::Config_Handlers::ComponentPackageReference const& e) { if (referencedPackage_.get ()) - { - *referencedPackage_ = e; - } + { + *referencedPackage_ = e; + } else - { - referencedPackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageReference > (new ::CIAO::Config_Handlers::ComponentPackageReference (e)); - referencedPackage_->container (this); - } + { + referencedPackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageReference > (new ::CIAO::Config_Handlers::ComponentPackageReference (e)); + referencedPackage_->container (this); + } } // SubcomponentInstantiationDescription - // + // bool SubcomponentInstantiationDescription:: importedPackage_p () const { @@ -285,19 +285,19 @@ namespace CIAO importedPackage (::CIAO::Config_Handlers::ComponentPackageImport const& e) { if (importedPackage_.get ()) - { - *importedPackage_ = e; - } + { + *importedPackage_ = e; + } else - { - importedPackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageImport > (new ::CIAO::Config_Handlers::ComponentPackageImport (e)); - importedPackage_->container (this); - } + { + importedPackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageImport > (new ::CIAO::Config_Handlers::ComponentPackageImport (e)); + importedPackage_->container (this); + } } // SubcomponentInstantiationDescription - // + // bool SubcomponentInstantiationDescription:: id_p () const { @@ -320,3805 +320,3805 @@ namespace CIAO id (::XMLSchema::ID< ACE_TCHAR > const& e) { if (id_.get ()) - { - *id_ = e; - } + { + *id_ = e; + } else - { - id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e)); - id_->container (this); - } + { + id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e)); + id_->container (this); + } } // SubcomponentPropertyReference - // + // SubcomponentPropertyReference:: SubcomponentPropertyReference (::XMLSchema::string< ACE_TCHAR > const& propertyName__, ::XMLSchema::IDREF< ACE_TCHAR > const& instance__) - : - ::XSCRT::Type (), -propertyName_ (new ::XMLSchema::string< ACE_TCHAR > (propertyName__)), -instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (instance__)), -regulator__ () -{ -propertyName_->container (this); -instance_->container (this); -} - -SubcomponentPropertyReference:: -SubcomponentPropertyReference (::CIAO::Config_Handlers::SubcomponentPropertyReference const& s) -: -::XSCRT::Type (), -propertyName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.propertyName_)), -instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (*s.instance_)), -regulator__ () -{ -propertyName_->container (this); -instance_->container (this); -} + : + ::XSCRT::Type (), + propertyName_ (new ::XMLSchema::string< ACE_TCHAR > (propertyName__)), + instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (instance__)), + regulator__ () + { + propertyName_->container (this); + instance_->container (this); + } -::CIAO::Config_Handlers::SubcomponentPropertyReference& SubcomponentPropertyReference:: -operator= (::CIAO::Config_Handlers::SubcomponentPropertyReference const& s) -{ -propertyName (s.propertyName ()); + SubcomponentPropertyReference:: + SubcomponentPropertyReference (::CIAO::Config_Handlers::SubcomponentPropertyReference const& s) + : + ::XSCRT::Type (), + propertyName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.propertyName_)), + instance_ (new ::XMLSchema::IDREF< ACE_TCHAR > (*s.instance_)), + regulator__ () + { + propertyName_->container (this); + instance_->container (this); + } -instance (s.instance ()); + ::CIAO::Config_Handlers::SubcomponentPropertyReference& SubcomponentPropertyReference:: + operator= (::CIAO::Config_Handlers::SubcomponentPropertyReference const& s) + { + propertyName (s.propertyName ()); -return *this; -} + instance (s.instance ()); + return *this; + } -// SubcomponentPropertyReference -// -::XMLSchema::string< ACE_TCHAR > const& SubcomponentPropertyReference:: -propertyName () const -{ -return *propertyName_; -} -void SubcomponentPropertyReference:: -propertyName (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*propertyName_ = e; -} + // SubcomponentPropertyReference + // + ::XMLSchema::string< ACE_TCHAR > const& SubcomponentPropertyReference:: + propertyName () const + { + return *propertyName_; + } -// SubcomponentPropertyReference -// -::XMLSchema::IDREF< ACE_TCHAR > const& SubcomponentPropertyReference:: -instance () const -{ -return *instance_; -} + void SubcomponentPropertyReference:: + propertyName (::XMLSchema::string< ACE_TCHAR > const& e) + { + *propertyName_ = e; + } -void SubcomponentPropertyReference:: -instance (::XMLSchema::IDREF< ACE_TCHAR > const& e) -{ -*instance_ = e; -} + // SubcomponentPropertyReference + // + ::XMLSchema::IDREF< ACE_TCHAR > const& SubcomponentPropertyReference:: + instance () const + { + return *instance_; + } + void SubcomponentPropertyReference:: + instance (::XMLSchema::IDREF< ACE_TCHAR > const& e) + { + *instance_ = e; + } -// AssemblyPropertyMapping -// -AssemblyPropertyMapping:: -AssemblyPropertyMapping (::XMLSchema::string< ACE_TCHAR > const& name__, -::XMLSchema::string< ACE_TCHAR > const& externalName__) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), -externalName_ (new ::XMLSchema::string< ACE_TCHAR > (externalName__)), -regulator__ () -{ -name_->container (this); -externalName_->container (this); -} + // AssemblyPropertyMapping + // -AssemblyPropertyMapping:: -AssemblyPropertyMapping (::CIAO::Config_Handlers::AssemblyPropertyMapping const& s) -: -::XSCRT::Type (), -name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), -externalName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.externalName_)), -regulator__ () -{ -name_->container (this); -externalName_->container (this); -{ -for (delegatesTo_const_iterator i (s.delegatesTo_.begin ());i != s.delegatesTo_.end ();++i) add_delegatesTo (*i); -} -} + AssemblyPropertyMapping:: + AssemblyPropertyMapping (::XMLSchema::string< ACE_TCHAR > const& name__, + ::XMLSchema::string< ACE_TCHAR > const& externalName__) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + externalName_ (new ::XMLSchema::string< ACE_TCHAR > (externalName__)), + regulator__ () + { + name_->container (this); + externalName_->container (this); + } -::CIAO::Config_Handlers::AssemblyPropertyMapping& AssemblyPropertyMapping:: -operator= (::CIAO::Config_Handlers::AssemblyPropertyMapping const& s) -{ -name (s.name ()); + AssemblyPropertyMapping:: + AssemblyPropertyMapping (::CIAO::Config_Handlers::AssemblyPropertyMapping const& s) + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + externalName_ (new ::XMLSchema::string< ACE_TCHAR > (*s.externalName_)), + regulator__ () + { + name_->container (this); + externalName_->container (this); + { + for (delegatesTo_const_iterator i (s.delegatesTo_.begin ());i != s.delegatesTo_.end ();++i) add_delegatesTo (*i); + } + } -externalName (s.externalName ()); + ::CIAO::Config_Handlers::AssemblyPropertyMapping& AssemblyPropertyMapping:: + operator= (::CIAO::Config_Handlers::AssemblyPropertyMapping const& s) + { + name (s.name ()); -delegatesTo_.clear (); -{ -for (delegatesTo_const_iterator i (s.delegatesTo_.begin ());i != s.delegatesTo_.end ();++i) add_delegatesTo (*i); -} + externalName (s.externalName ()); -return *this; -} + delegatesTo_.clear (); + { + for (delegatesTo_const_iterator i (s.delegatesTo_.begin ());i != s.delegatesTo_.end ();++i) add_delegatesTo (*i); + } + return *this; + } -// AssemblyPropertyMapping -// -::XMLSchema::string< ACE_TCHAR > const& AssemblyPropertyMapping:: -name () const -{ -return *name_; -} -void AssemblyPropertyMapping:: -name (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*name_ = e; -} + // AssemblyPropertyMapping + // + ::XMLSchema::string< ACE_TCHAR > const& AssemblyPropertyMapping:: + name () const + { + return *name_; + } -// AssemblyPropertyMapping -// -::XMLSchema::string< ACE_TCHAR > const& AssemblyPropertyMapping:: -externalName () const -{ -return *externalName_; -} + void AssemblyPropertyMapping:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -void AssemblyPropertyMapping:: -externalName (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*externalName_ = e; -} + // AssemblyPropertyMapping + // + ::XMLSchema::string< ACE_TCHAR > const& AssemblyPropertyMapping:: + externalName () const + { + return *externalName_; + } -// AssemblyPropertyMapping -// -AssemblyPropertyMapping::delegatesTo_iterator AssemblyPropertyMapping:: -begin_delegatesTo () -{ -return delegatesTo_.begin (); -} + void AssemblyPropertyMapping:: + externalName (::XMLSchema::string< ACE_TCHAR > const& e) + { + *externalName_ = e; + } -AssemblyPropertyMapping::delegatesTo_iterator AssemblyPropertyMapping:: -end_delegatesTo () -{ -return delegatesTo_.end (); -} + // AssemblyPropertyMapping + // + AssemblyPropertyMapping::delegatesTo_iterator AssemblyPropertyMapping:: + begin_delegatesTo () + { + return delegatesTo_.begin (); + } -AssemblyPropertyMapping::delegatesTo_const_iterator AssemblyPropertyMapping:: -begin_delegatesTo () const -{ -return delegatesTo_.begin (); -} + AssemblyPropertyMapping::delegatesTo_iterator AssemblyPropertyMapping:: + end_delegatesTo () + { + return delegatesTo_.end (); + } -AssemblyPropertyMapping::delegatesTo_const_iterator AssemblyPropertyMapping:: -end_delegatesTo () const -{ -return delegatesTo_.end (); -} + AssemblyPropertyMapping::delegatesTo_const_iterator AssemblyPropertyMapping:: + begin_delegatesTo () const + { + return delegatesTo_.begin (); + } -void AssemblyPropertyMapping:: -add_delegatesTo (::CIAO::Config_Handlers::SubcomponentPropertyReference const& e) -{ -delegatesTo_.push_back (e); -} + AssemblyPropertyMapping::delegatesTo_const_iterator AssemblyPropertyMapping:: + end_delegatesTo () const + { + return delegatesTo_.end (); + } -size_t AssemblyPropertyMapping:: -count_delegatesTo(void) const -{ -return delegatesTo_.size (); -} + void AssemblyPropertyMapping:: + add_delegatesTo (::CIAO::Config_Handlers::SubcomponentPropertyReference const& e) + { + delegatesTo_.push_back (e); + } + size_t AssemblyPropertyMapping:: + count_delegatesTo(void) const + { + return delegatesTo_.size (); + } -// ComponentAssemblyDescription -// -ComponentAssemblyDescription:: -ComponentAssemblyDescription () -: -::XSCRT::Type (), -regulator__ () -{ -} + // ComponentAssemblyDescription + // -ComponentAssemblyDescription:: -ComponentAssemblyDescription (::CIAO::Config_Handlers::ComponentAssemblyDescription const& s) -: -::XSCRT::Type (), -regulator__ () -{ -{ -for (instance_const_iterator i (s.instance_.begin ());i != s.instance_.end ();++i) add_instance (*i); -} + ComponentAssemblyDescription:: + ComponentAssemblyDescription () + : + ::XSCRT::Type (), + regulator__ () + { + } -{ -for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); -} + ComponentAssemblyDescription:: + ComponentAssemblyDescription (::CIAO::Config_Handlers::ComponentAssemblyDescription const& s) + : + ::XSCRT::Type (), + regulator__ () + { + { + for (instance_const_iterator i (s.instance_.begin ());i != s.instance_.end ();++i) add_instance (*i); + } -{ -for (externalProperty_const_iterator i (s.externalProperty_.begin ());i != s.externalProperty_.end ();++i) add_externalProperty (*i); -} -} + { + for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); + } -::CIAO::Config_Handlers::ComponentAssemblyDescription& ComponentAssemblyDescription:: -operator= (::CIAO::Config_Handlers::ComponentAssemblyDescription const& s) -{ -instance_.clear (); -{ -for (instance_const_iterator i (s.instance_.begin ());i != s.instance_.end ();++i) add_instance (*i); -} + { + for (externalProperty_const_iterator i (s.externalProperty_.begin ());i != s.externalProperty_.end ();++i) add_externalProperty (*i); + } + } -connection_.clear (); -{ -for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); -} + ::CIAO::Config_Handlers::ComponentAssemblyDescription& ComponentAssemblyDescription:: + operator= (::CIAO::Config_Handlers::ComponentAssemblyDescription const& s) + { + instance_.clear (); + { + for (instance_const_iterator i (s.instance_.begin ());i != s.instance_.end ();++i) add_instance (*i); + } -externalProperty_.clear (); -{ -for (externalProperty_const_iterator i (s.externalProperty_.begin ());i != s.externalProperty_.end ();++i) add_externalProperty (*i); -} + connection_.clear (); + { + for (connection_const_iterator i (s.connection_.begin ());i != s.connection_.end ();++i) add_connection (*i); + } -return *this; -} + externalProperty_.clear (); + { + for (externalProperty_const_iterator i (s.externalProperty_.begin ());i != s.externalProperty_.end ();++i) add_externalProperty (*i); + } + return *this; + } -// ComponentAssemblyDescription -// -ComponentAssemblyDescription::instance_iterator ComponentAssemblyDescription:: -begin_instance () -{ -return instance_.begin (); -} -ComponentAssemblyDescription::instance_iterator ComponentAssemblyDescription:: -end_instance () -{ -return instance_.end (); -} + // ComponentAssemblyDescription + // + ComponentAssemblyDescription::instance_iterator ComponentAssemblyDescription:: + begin_instance () + { + return instance_.begin (); + } -ComponentAssemblyDescription::instance_const_iterator ComponentAssemblyDescription:: -begin_instance () const -{ -return instance_.begin (); -} + ComponentAssemblyDescription::instance_iterator ComponentAssemblyDescription:: + end_instance () + { + return instance_.end (); + } -ComponentAssemblyDescription::instance_const_iterator ComponentAssemblyDescription:: -end_instance () const -{ -return instance_.end (); -} + ComponentAssemblyDescription::instance_const_iterator ComponentAssemblyDescription:: + begin_instance () const + { + return instance_.begin (); + } -void ComponentAssemblyDescription:: -add_instance (::CIAO::Config_Handlers::SubcomponentInstantiationDescription const& e) -{ -instance_.push_back (e); -} + ComponentAssemblyDescription::instance_const_iterator ComponentAssemblyDescription:: + end_instance () const + { + return instance_.end (); + } -size_t ComponentAssemblyDescription:: -count_instance(void) const -{ -return instance_.size (); -} + void ComponentAssemblyDescription:: + add_instance (::CIAO::Config_Handlers::SubcomponentInstantiationDescription const& e) + { + instance_.push_back (e); + } -// ComponentAssemblyDescription -// -ComponentAssemblyDescription::connection_iterator ComponentAssemblyDescription:: -begin_connection () -{ -return connection_.begin (); -} + size_t ComponentAssemblyDescription:: + count_instance(void) const + { + return instance_.size (); + } -ComponentAssemblyDescription::connection_iterator ComponentAssemblyDescription:: -end_connection () -{ -return connection_.end (); -} + // ComponentAssemblyDescription + // + ComponentAssemblyDescription::connection_iterator ComponentAssemblyDescription:: + begin_connection () + { + return connection_.begin (); + } -ComponentAssemblyDescription::connection_const_iterator ComponentAssemblyDescription:: -begin_connection () const -{ -return connection_.begin (); -} + ComponentAssemblyDescription::connection_iterator ComponentAssemblyDescription:: + end_connection () + { + return connection_.end (); + } -ComponentAssemblyDescription::connection_const_iterator ComponentAssemblyDescription:: -end_connection () const -{ -return connection_.end (); -} + ComponentAssemblyDescription::connection_const_iterator ComponentAssemblyDescription:: + begin_connection () const + { + return connection_.begin (); + } -void ComponentAssemblyDescription:: -add_connection (::CIAO::Config_Handlers::AssemblyConnectionDescription const& e) -{ -connection_.push_back (e); -} + ComponentAssemblyDescription::connection_const_iterator ComponentAssemblyDescription:: + end_connection () const + { + return connection_.end (); + } -size_t ComponentAssemblyDescription:: -count_connection(void) const -{ -return connection_.size (); -} + void ComponentAssemblyDescription:: + add_connection (::CIAO::Config_Handlers::AssemblyConnectionDescription const& e) + { + connection_.push_back (e); + } -// ComponentAssemblyDescription -// -ComponentAssemblyDescription::externalProperty_iterator ComponentAssemblyDescription:: -begin_externalProperty () -{ -return externalProperty_.begin (); -} + size_t ComponentAssemblyDescription:: + count_connection(void) const + { + return connection_.size (); + } -ComponentAssemblyDescription::externalProperty_iterator ComponentAssemblyDescription:: -end_externalProperty () -{ -return externalProperty_.end (); -} + // ComponentAssemblyDescription + // + ComponentAssemblyDescription::externalProperty_iterator ComponentAssemblyDescription:: + begin_externalProperty () + { + return externalProperty_.begin (); + } -ComponentAssemblyDescription::externalProperty_const_iterator ComponentAssemblyDescription:: -begin_externalProperty () const -{ -return externalProperty_.begin (); -} + ComponentAssemblyDescription::externalProperty_iterator ComponentAssemblyDescription:: + end_externalProperty () + { + return externalProperty_.end (); + } -ComponentAssemblyDescription::externalProperty_const_iterator ComponentAssemblyDescription:: -end_externalProperty () const -{ -return externalProperty_.end (); -} + ComponentAssemblyDescription::externalProperty_const_iterator ComponentAssemblyDescription:: + begin_externalProperty () const + { + return externalProperty_.begin (); + } -void ComponentAssemblyDescription:: -add_externalProperty (::CIAO::Config_Handlers::AssemblyPropertyMapping const& e) -{ -externalProperty_.push_back (e); -} + ComponentAssemblyDescription::externalProperty_const_iterator ComponentAssemblyDescription:: + end_externalProperty () const + { + return externalProperty_.end (); + } -size_t ComponentAssemblyDescription:: -count_externalProperty(void) const -{ -return externalProperty_.size (); -} + void ComponentAssemblyDescription:: + add_externalProperty (::CIAO::Config_Handlers::AssemblyPropertyMapping const& e) + { + externalProperty_.push_back (e); + } + size_t ComponentAssemblyDescription:: + count_externalProperty(void) const + { + return externalProperty_.size (); + } -// MonolithicImplementationDescription -// -MonolithicImplementationDescription:: -MonolithicImplementationDescription () -: -::XSCRT::Type (), -regulator__ () -{ -} + // MonolithicImplementationDescription + // -MonolithicImplementationDescription:: -MonolithicImplementationDescription (::CIAO::Config_Handlers::MonolithicImplementationDescription const& s) -: -::XSCRT::Type (), -regulator__ () -{ -{ -for (nodeExecParameter_const_iterator i (s.nodeExecParameter_.begin ());i != s.nodeExecParameter_.end ();++i) add_nodeExecParameter (*i); -} + MonolithicImplementationDescription:: + MonolithicImplementationDescription () + : + ::XSCRT::Type (), + regulator__ () + { + } -{ -for (componentExecParameter_const_iterator i (s.componentExecParameter_.begin ());i != s.componentExecParameter_.end ();++i) add_componentExecParameter (*i); -} + MonolithicImplementationDescription:: + MonolithicImplementationDescription (::CIAO::Config_Handlers::MonolithicImplementationDescription const& s) + : + ::XSCRT::Type (), + regulator__ () + { + { + for (nodeExecParameter_const_iterator i (s.nodeExecParameter_.begin ());i != s.nodeExecParameter_.end ();++i) add_nodeExecParameter (*i); + } -{ -for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); -} + { + for (componentExecParameter_const_iterator i (s.componentExecParameter_.begin ());i != s.componentExecParameter_.end ();++i) add_componentExecParameter (*i); + } -{ -for (primaryArtifact_const_iterator i (s.primaryArtifact_.begin ());i != s.primaryArtifact_.end ();++i) add_primaryArtifact (*i); -} -} + { + for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); + } -::CIAO::Config_Handlers::MonolithicImplementationDescription& MonolithicImplementationDescription:: -operator= (::CIAO::Config_Handlers::MonolithicImplementationDescription const& s) -{ -nodeExecParameter_.clear (); -{ -for (nodeExecParameter_const_iterator i (s.nodeExecParameter_.begin ());i != s.nodeExecParameter_.end ();++i) add_nodeExecParameter (*i); -} + { + for (primaryArtifact_const_iterator i (s.primaryArtifact_.begin ());i != s.primaryArtifact_.end ();++i) add_primaryArtifact (*i); + } + } -componentExecParameter_.clear (); -{ -for (componentExecParameter_const_iterator i (s.componentExecParameter_.begin ());i != s.componentExecParameter_.end ();++i) add_componentExecParameter (*i); -} + ::CIAO::Config_Handlers::MonolithicImplementationDescription& MonolithicImplementationDescription:: + operator= (::CIAO::Config_Handlers::MonolithicImplementationDescription const& s) + { + nodeExecParameter_.clear (); + { + for (nodeExecParameter_const_iterator i (s.nodeExecParameter_.begin ());i != s.nodeExecParameter_.end ();++i) add_nodeExecParameter (*i); + } -deployRequirement_.clear (); -{ -for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); -} + componentExecParameter_.clear (); + { + for (componentExecParameter_const_iterator i (s.componentExecParameter_.begin ());i != s.componentExecParameter_.end ();++i) add_componentExecParameter (*i); + } -primaryArtifact_.clear (); -{ -for (primaryArtifact_const_iterator i (s.primaryArtifact_.begin ());i != s.primaryArtifact_.end ();++i) add_primaryArtifact (*i); -} + deployRequirement_.clear (); + { + for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); + } -return *this; -} + primaryArtifact_.clear (); + { + for (primaryArtifact_const_iterator i (s.primaryArtifact_.begin ());i != s.primaryArtifact_.end ();++i) add_primaryArtifact (*i); + } + return *this; + } -// MonolithicImplementationDescription -// -MonolithicImplementationDescription::nodeExecParameter_iterator MonolithicImplementationDescription:: -begin_nodeExecParameter () -{ -return nodeExecParameter_.begin (); -} -MonolithicImplementationDescription::nodeExecParameter_iterator MonolithicImplementationDescription:: -end_nodeExecParameter () -{ -return nodeExecParameter_.end (); -} + // MonolithicImplementationDescription + // + MonolithicImplementationDescription::nodeExecParameter_iterator MonolithicImplementationDescription:: + begin_nodeExecParameter () + { + return nodeExecParameter_.begin (); + } -MonolithicImplementationDescription::nodeExecParameter_const_iterator MonolithicImplementationDescription:: -begin_nodeExecParameter () const -{ -return nodeExecParameter_.begin (); -} + MonolithicImplementationDescription::nodeExecParameter_iterator MonolithicImplementationDescription:: + end_nodeExecParameter () + { + return nodeExecParameter_.end (); + } -MonolithicImplementationDescription::nodeExecParameter_const_iterator MonolithicImplementationDescription:: -end_nodeExecParameter () const -{ -return nodeExecParameter_.end (); -} + MonolithicImplementationDescription::nodeExecParameter_const_iterator MonolithicImplementationDescription:: + begin_nodeExecParameter () const + { + return nodeExecParameter_.begin (); + } -void MonolithicImplementationDescription:: -add_nodeExecParameter (::CIAO::Config_Handlers::Property const& e) -{ -nodeExecParameter_.push_back (e); -} + MonolithicImplementationDescription::nodeExecParameter_const_iterator MonolithicImplementationDescription:: + end_nodeExecParameter () const + { + return nodeExecParameter_.end (); + } -size_t MonolithicImplementationDescription:: -count_nodeExecParameter(void) const -{ -return nodeExecParameter_.size (); -} + void MonolithicImplementationDescription:: + add_nodeExecParameter (::CIAO::Config_Handlers::Property const& e) + { + nodeExecParameter_.push_back (e); + } -// MonolithicImplementationDescription -// -MonolithicImplementationDescription::componentExecParameter_iterator MonolithicImplementationDescription:: -begin_componentExecParameter () -{ -return componentExecParameter_.begin (); -} + size_t MonolithicImplementationDescription:: + count_nodeExecParameter(void) const + { + return nodeExecParameter_.size (); + } -MonolithicImplementationDescription::componentExecParameter_iterator MonolithicImplementationDescription:: -end_componentExecParameter () -{ -return componentExecParameter_.end (); -} + // MonolithicImplementationDescription + // + MonolithicImplementationDescription::componentExecParameter_iterator MonolithicImplementationDescription:: + begin_componentExecParameter () + { + return componentExecParameter_.begin (); + } -MonolithicImplementationDescription::componentExecParameter_const_iterator MonolithicImplementationDescription:: -begin_componentExecParameter () const -{ -return componentExecParameter_.begin (); -} + MonolithicImplementationDescription::componentExecParameter_iterator MonolithicImplementationDescription:: + end_componentExecParameter () + { + return componentExecParameter_.end (); + } -MonolithicImplementationDescription::componentExecParameter_const_iterator MonolithicImplementationDescription:: -end_componentExecParameter () const -{ -return componentExecParameter_.end (); -} + MonolithicImplementationDescription::componentExecParameter_const_iterator MonolithicImplementationDescription:: + begin_componentExecParameter () const + { + return componentExecParameter_.begin (); + } -void MonolithicImplementationDescription:: -add_componentExecParameter (::CIAO::Config_Handlers::Property const& e) -{ -componentExecParameter_.push_back (e); -} + MonolithicImplementationDescription::componentExecParameter_const_iterator MonolithicImplementationDescription:: + end_componentExecParameter () const + { + return componentExecParameter_.end (); + } -size_t MonolithicImplementationDescription:: -count_componentExecParameter(void) const -{ -return componentExecParameter_.size (); -} + void MonolithicImplementationDescription:: + add_componentExecParameter (::CIAO::Config_Handlers::Property const& e) + { + componentExecParameter_.push_back (e); + } -// MonolithicImplementationDescription -// -MonolithicImplementationDescription::deployRequirement_iterator MonolithicImplementationDescription:: -begin_deployRequirement () -{ -return deployRequirement_.begin (); -} + size_t MonolithicImplementationDescription:: + count_componentExecParameter(void) const + { + return componentExecParameter_.size (); + } -MonolithicImplementationDescription::deployRequirement_iterator MonolithicImplementationDescription:: -end_deployRequirement () -{ -return deployRequirement_.end (); -} + // MonolithicImplementationDescription + // + MonolithicImplementationDescription::deployRequirement_iterator MonolithicImplementationDescription:: + begin_deployRequirement () + { + return deployRequirement_.begin (); + } -MonolithicImplementationDescription::deployRequirement_const_iterator MonolithicImplementationDescription:: -begin_deployRequirement () const -{ -return deployRequirement_.begin (); -} + MonolithicImplementationDescription::deployRequirement_iterator MonolithicImplementationDescription:: + end_deployRequirement () + { + return deployRequirement_.end (); + } -MonolithicImplementationDescription::deployRequirement_const_iterator MonolithicImplementationDescription:: -end_deployRequirement () const -{ -return deployRequirement_.end (); -} + MonolithicImplementationDescription::deployRequirement_const_iterator MonolithicImplementationDescription:: + begin_deployRequirement () const + { + return deployRequirement_.begin (); + } -void MonolithicImplementationDescription:: -add_deployRequirement (::CIAO::Config_Handlers::ImplementationRequirement const& e) -{ -deployRequirement_.push_back (e); -} + MonolithicImplementationDescription::deployRequirement_const_iterator MonolithicImplementationDescription:: + end_deployRequirement () const + { + return deployRequirement_.end (); + } -size_t MonolithicImplementationDescription:: -count_deployRequirement(void) const -{ -return deployRequirement_.size (); -} + void MonolithicImplementationDescription:: + add_deployRequirement (::CIAO::Config_Handlers::ImplementationRequirement const& e) + { + deployRequirement_.push_back (e); + } -// MonolithicImplementationDescription -// -MonolithicImplementationDescription::primaryArtifact_iterator MonolithicImplementationDescription:: -begin_primaryArtifact () -{ -return primaryArtifact_.begin (); -} + size_t MonolithicImplementationDescription:: + count_deployRequirement(void) const + { + return deployRequirement_.size (); + } -MonolithicImplementationDescription::primaryArtifact_iterator MonolithicImplementationDescription:: -end_primaryArtifact () -{ -return primaryArtifact_.end (); -} + // MonolithicImplementationDescription + // + MonolithicImplementationDescription::primaryArtifact_iterator MonolithicImplementationDescription:: + begin_primaryArtifact () + { + return primaryArtifact_.begin (); + } -MonolithicImplementationDescription::primaryArtifact_const_iterator MonolithicImplementationDescription:: -begin_primaryArtifact () const -{ -return primaryArtifact_.begin (); -} + MonolithicImplementationDescription::primaryArtifact_iterator MonolithicImplementationDescription:: + end_primaryArtifact () + { + return primaryArtifact_.end (); + } -MonolithicImplementationDescription::primaryArtifact_const_iterator MonolithicImplementationDescription:: -end_primaryArtifact () const -{ -return primaryArtifact_.end (); -} + MonolithicImplementationDescription::primaryArtifact_const_iterator MonolithicImplementationDescription:: + begin_primaryArtifact () const + { + return primaryArtifact_.begin (); + } -void MonolithicImplementationDescription:: -add_primaryArtifact (::CIAO::Config_Handlers::NamedImplementationArtifact const& e) -{ -primaryArtifact_.push_back (e); -} + MonolithicImplementationDescription::primaryArtifact_const_iterator MonolithicImplementationDescription:: + end_primaryArtifact () const + { + return primaryArtifact_.end (); + } -size_t MonolithicImplementationDescription:: -count_primaryArtifact(void) const -{ -return primaryArtifact_.size (); -} + void MonolithicImplementationDescription:: + add_primaryArtifact (::CIAO::Config_Handlers::NamedImplementationArtifact const& e) + { + primaryArtifact_.push_back (e); + } + size_t MonolithicImplementationDescription:: + count_primaryArtifact(void) const + { + return primaryArtifact_.size (); + } -// ComponentImplementationDescription -// -ComponentImplementationDescription:: -ComponentImplementationDescription () -: -::XSCRT::Type (), -regulator__ () -{ -} + // ComponentImplementationDescription + // -ComponentImplementationDescription:: -ComponentImplementationDescription (::CIAO::Config_Handlers::ComponentImplementationDescription const& s) -: -::XSCRT::Type (), -label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), -UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), -implements_ (s.implements_.get () ? new ::CIAO::Config_Handlers::ComponentInterfaceDescription (*s.implements_) : 0), -assemblyImpl_ (s.assemblyImpl_.get () ? new ::CIAO::Config_Handlers::ComponentAssemblyDescription (*s.assemblyImpl_) : 0), -monolithicImpl_ (s.monolithicImpl_.get () ? new ::CIAO::Config_Handlers::MonolithicImplementationDescription (*s.monolithicImpl_) : 0), -contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0), -href_ (s.href_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.href_) : 0), -regulator__ () -{ -if (label_.get ()) label_->container (this); -if (UUID_.get ()) UUID_->container (this); -if (implements_.get ()) implements_->container (this); -if (assemblyImpl_.get ()) assemblyImpl_->container (this); -if (monolithicImpl_.get ()) monolithicImpl_->container (this); -{ -for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); -} + ComponentImplementationDescription:: + ComponentImplementationDescription () + : + ::XSCRT::Type (), + regulator__ () + { + } -{ -for (capability_const_iterator i (s.capability_.begin ());i != s.capability_.end ();++i) add_capability (*i); -} + ComponentImplementationDescription:: + ComponentImplementationDescription (::CIAO::Config_Handlers::ComponentImplementationDescription const& s) + : + ::XSCRT::Type (), + label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), + UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), + implements_ (s.implements_.get () ? new ::CIAO::Config_Handlers::ComponentInterfaceDescription (*s.implements_) : 0), + assemblyImpl_ (s.assemblyImpl_.get () ? new ::CIAO::Config_Handlers::ComponentAssemblyDescription (*s.assemblyImpl_) : 0), + monolithicImpl_ (s.monolithicImpl_.get () ? new ::CIAO::Config_Handlers::MonolithicImplementationDescription (*s.monolithicImpl_) : 0), + contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0), + href_ (s.href_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.href_) : 0), + regulator__ () + { + if (label_.get ()) label_->container (this); + if (UUID_.get ()) UUID_->container (this); + if (implements_.get ()) implements_->container (this); + if (assemblyImpl_.get ()) assemblyImpl_->container (this); + if (monolithicImpl_.get ()) monolithicImpl_->container (this); + { + for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); + } -{ -for (dependsOn_const_iterator i (s.dependsOn_.begin ());i != s.dependsOn_.end ();++i) add_dependsOn (*i); -} + { + for (capability_const_iterator i (s.capability_.begin ());i != s.capability_.end ();++i) add_capability (*i); + } -{ -for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i); -} + { + for (dependsOn_const_iterator i (s.dependsOn_.begin ());i != s.dependsOn_.end ();++i) add_dependsOn (*i); + } -if (contentLocation_.get ()) contentLocation_->container (this); -if (href_.get ()) href_->container (this); -} + { + for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i); + } -::CIAO::Config_Handlers::ComponentImplementationDescription& ComponentImplementationDescription:: -operator= (::CIAO::Config_Handlers::ComponentImplementationDescription const& s) -{ -if (s.label_.get ()) label (*(s.label_)); -else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + if (contentLocation_.get ()) contentLocation_->container (this); + if (href_.get ()) href_->container (this); + } -if (s.UUID_.get ()) UUID (*(s.UUID_)); -else UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + ::CIAO::Config_Handlers::ComponentImplementationDescription& ComponentImplementationDescription:: + operator= (::CIAO::Config_Handlers::ComponentImplementationDescription const& s) + { + if (s.label_.get ()) label (*(s.label_)); + else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -if (s.implements_.get ()) implements (*(s.implements_)); -else implements_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (0); + if (s.UUID_.get ()) UUID (*(s.UUID_)); + else UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -if (s.assemblyImpl_.get ()) assemblyImpl (*(s.assemblyImpl_)); -else assemblyImpl_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentAssemblyDescription > (0); + if (s.implements_.get ()) implements (*(s.implements_)); + else implements_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (0); -if (s.monolithicImpl_.get ()) monolithicImpl (*(s.monolithicImpl_)); -else monolithicImpl_ = ::std::auto_ptr< ::CIAO::Config_Handlers::MonolithicImplementationDescription > (0); + if (s.assemblyImpl_.get ()) assemblyImpl (*(s.assemblyImpl_)); + else assemblyImpl_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentAssemblyDescription > (0); -configProperty_.clear (); -{ -for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); -} + if (s.monolithicImpl_.get ()) monolithicImpl (*(s.monolithicImpl_)); + else monolithicImpl_ = ::std::auto_ptr< ::CIAO::Config_Handlers::MonolithicImplementationDescription > (0); -capability_.clear (); -{ -for (capability_const_iterator i (s.capability_.begin ());i != s.capability_.end ();++i) add_capability (*i); -} + configProperty_.clear (); + { + for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); + } -dependsOn_.clear (); -{ -for (dependsOn_const_iterator i (s.dependsOn_.begin ());i != s.dependsOn_.end ();++i) add_dependsOn (*i); -} + capability_.clear (); + { + for (capability_const_iterator i (s.capability_.begin ());i != s.capability_.end ();++i) add_capability (*i); + } -infoProperty_.clear (); -{ -for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i); -} + dependsOn_.clear (); + { + for (dependsOn_const_iterator i (s.dependsOn_.begin ());i != s.dependsOn_.end ();++i) add_dependsOn (*i); + } -if (s.contentLocation_.get ()) contentLocation (*(s.contentLocation_)); -else contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + infoProperty_.clear (); + { + for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i); + } -if (s.href_.get ()) href (*(s.href_)); -else href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + if (s.contentLocation_.get ()) contentLocation (*(s.contentLocation_)); + else contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -return *this; -} + if (s.href_.get ()) href (*(s.href_)); + else href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + return *this; + } -// ComponentImplementationDescription -// -bool ComponentImplementationDescription:: -label_p () const -{ -return label_.get () != 0; -} -::XMLSchema::string< ACE_TCHAR > const& ComponentImplementationDescription:: -label () const -{ -return *label_; -} + // ComponentImplementationDescription + // + bool ComponentImplementationDescription:: + label_p () const + { + return label_.get () != 0; + } -void ComponentImplementationDescription:: -label (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (label_.get ()) -{ -*label_ = e; -} + ::XMLSchema::string< ACE_TCHAR > const& ComponentImplementationDescription:: + label () const + { + return *label_; + } -else -{ -label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -label_->container (this); -} -} + void ComponentImplementationDescription:: + label (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (label_.get ()) + { + *label_ = e; + } -// ComponentImplementationDescription -// -bool ComponentImplementationDescription:: -UUID_p () const -{ -return UUID_.get () != 0; -} + else + { + label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + label_->container (this); + } + } -::XMLSchema::string< ACE_TCHAR > const& ComponentImplementationDescription:: -UUID () const -{ -return *UUID_; -} + // ComponentImplementationDescription + // + bool ComponentImplementationDescription:: + UUID_p () const + { + return UUID_.get () != 0; + } -void ComponentImplementationDescription:: -UUID (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (UUID_.get ()) -{ -*UUID_ = e; -} + ::XMLSchema::string< ACE_TCHAR > const& ComponentImplementationDescription:: + UUID () const + { + return *UUID_; + } -else -{ -UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -UUID_->container (this); -} -} + void ComponentImplementationDescription:: + UUID (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (UUID_.get ()) + { + *UUID_ = e; + } -// ComponentImplementationDescription -// -bool ComponentImplementationDescription:: -implements_p () const -{ -return implements_.get () != 0; -} + else + { + UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + UUID_->container (this); + } + } -::CIAO::Config_Handlers::ComponentInterfaceDescription const& ComponentImplementationDescription:: -implements () const -{ -return *implements_; -} + // ComponentImplementationDescription + // + bool ComponentImplementationDescription:: + implements_p () const + { + return implements_.get () != 0; + } -void ComponentImplementationDescription:: -implements (::CIAO::Config_Handlers::ComponentInterfaceDescription const& e) -{ -if (implements_.get ()) -{ -*implements_ = e; -} + ::CIAO::Config_Handlers::ComponentInterfaceDescription const& ComponentImplementationDescription:: + implements () const + { + return *implements_; + } -else -{ -implements_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (new ::CIAO::Config_Handlers::ComponentInterfaceDescription (e)); -implements_->container (this); -} -} + void ComponentImplementationDescription:: + implements (::CIAO::Config_Handlers::ComponentInterfaceDescription const& e) + { + if (implements_.get ()) + { + *implements_ = e; + } -// ComponentImplementationDescription -// -bool ComponentImplementationDescription:: -assemblyImpl_p () const -{ -return assemblyImpl_.get () != 0; -} - -::CIAO::Config_Handlers::ComponentAssemblyDescription const& ComponentImplementationDescription:: -assemblyImpl () const -{ -return *assemblyImpl_; -} - -void ComponentImplementationDescription:: -assemblyImpl (::CIAO::Config_Handlers::ComponentAssemblyDescription const& e) -{ -if (assemblyImpl_.get ()) -{ -*assemblyImpl_ = e; -} - -else -{ -assemblyImpl_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentAssemblyDescription > (new ::CIAO::Config_Handlers::ComponentAssemblyDescription (e)); -assemblyImpl_->container (this); -} -} - -// ComponentImplementationDescription -// -bool ComponentImplementationDescription:: -monolithicImpl_p () const -{ -return monolithicImpl_.get () != 0; -} - -::CIAO::Config_Handlers::MonolithicImplementationDescription const& ComponentImplementationDescription:: -monolithicImpl () const -{ -return *monolithicImpl_; -} - -void ComponentImplementationDescription:: -monolithicImpl (::CIAO::Config_Handlers::MonolithicImplementationDescription const& e) -{ -if (monolithicImpl_.get ()) -{ -*monolithicImpl_ = e; -} - -else -{ -monolithicImpl_ = ::std::auto_ptr< ::CIAO::Config_Handlers::MonolithicImplementationDescription > (new ::CIAO::Config_Handlers::MonolithicImplementationDescription (e)); -monolithicImpl_->container (this); -} -} - -// ComponentImplementationDescription -// -ComponentImplementationDescription::configProperty_iterator ComponentImplementationDescription:: -begin_configProperty () -{ -return configProperty_.begin (); -} - -ComponentImplementationDescription::configProperty_iterator ComponentImplementationDescription:: -end_configProperty () -{ -return configProperty_.end (); -} - -ComponentImplementationDescription::configProperty_const_iterator ComponentImplementationDescription:: -begin_configProperty () const -{ -return configProperty_.begin (); -} - -ComponentImplementationDescription::configProperty_const_iterator ComponentImplementationDescription:: -end_configProperty () const -{ -return configProperty_.end (); -} - -void ComponentImplementationDescription:: -add_configProperty (::CIAO::Config_Handlers::Property const& e) -{ -configProperty_.push_back (e); -} - -size_t ComponentImplementationDescription:: -count_configProperty(void) const -{ -return configProperty_.size (); -} - -// ComponentImplementationDescription -// -ComponentImplementationDescription::capability_iterator ComponentImplementationDescription:: -begin_capability () -{ -return capability_.begin (); -} - -ComponentImplementationDescription::capability_iterator ComponentImplementationDescription:: -end_capability () -{ -return capability_.end (); -} - -ComponentImplementationDescription::capability_const_iterator ComponentImplementationDescription:: -begin_capability () const -{ -return capability_.begin (); -} - -ComponentImplementationDescription::capability_const_iterator ComponentImplementationDescription:: -end_capability () const -{ -return capability_.end (); -} - -void ComponentImplementationDescription:: -add_capability (::CIAO::Config_Handlers::Capability const& e) -{ -capability_.push_back (e); -} - -size_t ComponentImplementationDescription:: -count_capability(void) const -{ -return capability_.size (); -} - -// ComponentImplementationDescription -// -ComponentImplementationDescription::dependsOn_iterator ComponentImplementationDescription:: -begin_dependsOn () -{ -return dependsOn_.begin (); -} - -ComponentImplementationDescription::dependsOn_iterator ComponentImplementationDescription:: -end_dependsOn () -{ -return dependsOn_.end (); -} - -ComponentImplementationDescription::dependsOn_const_iterator ComponentImplementationDescription:: -begin_dependsOn () const -{ -return dependsOn_.begin (); -} - -ComponentImplementationDescription::dependsOn_const_iterator ComponentImplementationDescription:: -end_dependsOn () const -{ -return dependsOn_.end (); -} - -void ComponentImplementationDescription:: -add_dependsOn (::CIAO::Config_Handlers::ImplementationDependency const& e) -{ -dependsOn_.push_back (e); -} - -size_t ComponentImplementationDescription:: -count_dependsOn(void) const -{ -return dependsOn_.size (); -} - -// ComponentImplementationDescription -// -ComponentImplementationDescription::infoProperty_iterator ComponentImplementationDescription:: -begin_infoProperty () -{ -return infoProperty_.begin (); -} - -ComponentImplementationDescription::infoProperty_iterator ComponentImplementationDescription:: -end_infoProperty () -{ -return infoProperty_.end (); -} - -ComponentImplementationDescription::infoProperty_const_iterator ComponentImplementationDescription:: -begin_infoProperty () const -{ -return infoProperty_.begin (); -} + else + { + implements_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (new ::CIAO::Config_Handlers::ComponentInterfaceDescription (e)); + implements_->container (this); + } + } -ComponentImplementationDescription::infoProperty_const_iterator ComponentImplementationDescription:: -end_infoProperty () const -{ -return infoProperty_.end (); -} + // ComponentImplementationDescription + // + bool ComponentImplementationDescription:: + assemblyImpl_p () const + { + return assemblyImpl_.get () != 0; + } -void ComponentImplementationDescription:: -add_infoProperty (::CIAO::Config_Handlers::Property const& e) -{ -infoProperty_.push_back (e); -} + ::CIAO::Config_Handlers::ComponentAssemblyDescription const& ComponentImplementationDescription:: + assemblyImpl () const + { + return *assemblyImpl_; + } -size_t ComponentImplementationDescription:: -count_infoProperty(void) const -{ -return infoProperty_.size (); -} + void ComponentImplementationDescription:: + assemblyImpl (::CIAO::Config_Handlers::ComponentAssemblyDescription const& e) + { + if (assemblyImpl_.get ()) + { + *assemblyImpl_ = e; + } -// ComponentImplementationDescription -// -bool ComponentImplementationDescription:: -contentLocation_p () const -{ -return contentLocation_.get () != 0; -} + else + { + assemblyImpl_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentAssemblyDescription > (new ::CIAO::Config_Handlers::ComponentAssemblyDescription (e)); + assemblyImpl_->container (this); + } + } -::XMLSchema::string< ACE_TCHAR > const& ComponentImplementationDescription:: -contentLocation () const -{ -return *contentLocation_; -} + // ComponentImplementationDescription + // + bool ComponentImplementationDescription:: + monolithicImpl_p () const + { + return monolithicImpl_.get () != 0; + } -void ComponentImplementationDescription:: -contentLocation (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (contentLocation_.get ()) -{ -*contentLocation_ = e; -} + ::CIAO::Config_Handlers::MonolithicImplementationDescription const& ComponentImplementationDescription:: + monolithicImpl () const + { + return *monolithicImpl_; + } -else -{ -contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -contentLocation_->container (this); -} -} + void ComponentImplementationDescription:: + monolithicImpl (::CIAO::Config_Handlers::MonolithicImplementationDescription const& e) + { + if (monolithicImpl_.get ()) + { + *monolithicImpl_ = e; + } -// ComponentImplementationDescription -// -bool ComponentImplementationDescription:: -href_p () const -{ -return href_.get () != 0; -} + else + { + monolithicImpl_ = ::std::auto_ptr< ::CIAO::Config_Handlers::MonolithicImplementationDescription > (new ::CIAO::Config_Handlers::MonolithicImplementationDescription (e)); + monolithicImpl_->container (this); + } + } -::XMLSchema::string< ACE_TCHAR > const& ComponentImplementationDescription:: -href () const -{ -return *href_; -} + // ComponentImplementationDescription + // + ComponentImplementationDescription::configProperty_iterator ComponentImplementationDescription:: + begin_configProperty () + { + return configProperty_.begin (); + } -::XMLSchema::string< ACE_TCHAR >& ComponentImplementationDescription:: -href () -{ -return *href_; -} + ComponentImplementationDescription::configProperty_iterator ComponentImplementationDescription:: + end_configProperty () + { + return configProperty_.end (); + } -void ComponentImplementationDescription:: -href (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (href_.get ()) -{ -*href_ = e; -} + ComponentImplementationDescription::configProperty_const_iterator ComponentImplementationDescription:: + begin_configProperty () const + { + return configProperty_.begin (); + } -else -{ -href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -href_->container (this); -} -} -} -} + ComponentImplementationDescription::configProperty_const_iterator ComponentImplementationDescription:: + end_configProperty () const + { + return configProperty_.end (); + } -namespace CIAO -{ -namespace Config_Handlers -{ -// SubcomponentInstantiationDescription -// + void ComponentImplementationDescription:: + add_configProperty (::CIAO::Config_Handlers::Property const& e) + { + configProperty_.push_back (e); + } -SubcomponentInstantiationDescription:: -SubcomponentInstantiationDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + size_t ComponentImplementationDescription:: + count_configProperty(void) const + { + return configProperty_.size (); + } -::XSCRT::Parser< ACE_TCHAR > p (e); + // ComponentImplementationDescription + // + ComponentImplementationDescription::capability_iterator ComponentImplementationDescription:: + begin_capability () + { + return capability_.begin (); + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + ComponentImplementationDescription::capability_iterator ComponentImplementationDescription:: + end_capability () + { + return capability_.end (); + } -if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); -} + ComponentImplementationDescription::capability_const_iterator ComponentImplementationDescription:: + begin_capability () const + { + return capability_.begin (); + } -else if (n == "basePackage") -{ -::CIAO::Config_Handlers::ComponentPackageDescription t (e); -basePackage (t); -} + ComponentImplementationDescription::capability_const_iterator ComponentImplementationDescription:: + end_capability () const + { + return capability_.end (); + } -else if (n == "specializedConfig") -{ -::CIAO::Config_Handlers::PackageConfiguration t (e); -specializedConfig (t); -} + void ComponentImplementationDescription:: + add_capability (::CIAO::Config_Handlers::Capability const& e) + { + capability_.push_back (e); + } -else if (n == "selectRequirement") -{ -::CIAO::Config_Handlers::Requirement t (e); -add_selectRequirement (t); -} + size_t ComponentImplementationDescription:: + count_capability(void) const + { + return capability_.size (); + } -else if (n == "configProperty") -{ -::CIAO::Config_Handlers::Property t (e); -add_configProperty (t); -} + // ComponentImplementationDescription + // + ComponentImplementationDescription::dependsOn_iterator ComponentImplementationDescription:: + begin_dependsOn () + { + return dependsOn_.begin (); + } -else if (n == "referencedPackage") -{ -::CIAO::Config_Handlers::ComponentPackageReference t (e); -referencedPackage (t); -} + ComponentImplementationDescription::dependsOn_iterator ComponentImplementationDescription:: + end_dependsOn () + { + return dependsOn_.end (); + } -else if (n == "importedPackage") -{ -::CIAO::Config_Handlers::ComponentPackageImport t (e); -importedPackage (t); -} + ComponentImplementationDescription::dependsOn_const_iterator ComponentImplementationDescription:: + begin_dependsOn () const + { + return dependsOn_.begin (); + } -else -{ -} -} + ComponentImplementationDescription::dependsOn_const_iterator ComponentImplementationDescription:: + end_dependsOn () const + { + return dependsOn_.end (); + } -while (p.more_attributes ()) -{ -::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); -if (n == "id") -{ -::XMLSchema::ID< ACE_TCHAR > t (a); -id (t); -} + void ComponentImplementationDescription:: + add_dependsOn (::CIAO::Config_Handlers::ImplementationDependency const& e) + { + dependsOn_.push_back (e); + } -else -{ -} -} -} + size_t ComponentImplementationDescription:: + count_dependsOn(void) const + { + return dependsOn_.size (); + } -// SubcomponentPropertyReference -// + // ComponentImplementationDescription + // + ComponentImplementationDescription::infoProperty_iterator ComponentImplementationDescription:: + begin_infoProperty () + { + return infoProperty_.begin (); + } -SubcomponentPropertyReference:: -SubcomponentPropertyReference (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + ComponentImplementationDescription::infoProperty_iterator ComponentImplementationDescription:: + end_infoProperty () + { + return infoProperty_.end (); + } -::XSCRT::Parser< ACE_TCHAR > p (e); + ComponentImplementationDescription::infoProperty_const_iterator ComponentImplementationDescription:: + begin_infoProperty () const + { + return infoProperty_.begin (); + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + ComponentImplementationDescription::infoProperty_const_iterator ComponentImplementationDescription:: + end_infoProperty () const + { + return infoProperty_.end (); + } -if (n == "propertyName") -{ -propertyName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -propertyName_->container (this); -} + void ComponentImplementationDescription:: + add_infoProperty (::CIAO::Config_Handlers::Property const& e) + { + infoProperty_.push_back (e); + } -else if (n == "instance") -{ -instance_ = ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > (new ::XMLSchema::IDREF< ACE_TCHAR > (e)); -instance_->container (this); -} + size_t ComponentImplementationDescription:: + count_infoProperty(void) const + { + return infoProperty_.size (); + } -else -{ -} -} -} + // ComponentImplementationDescription + // + bool ComponentImplementationDescription:: + contentLocation_p () const + { + return contentLocation_.get () != 0; + } -// AssemblyPropertyMapping -// + ::XMLSchema::string< ACE_TCHAR > const& ComponentImplementationDescription:: + contentLocation () const + { + return *contentLocation_; + } -AssemblyPropertyMapping:: -AssemblyPropertyMapping (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + void ComponentImplementationDescription:: + contentLocation (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (contentLocation_.get ()) + { + *contentLocation_ = e; + } -::XSCRT::Parser< ACE_TCHAR > p (e); + else + { + contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + contentLocation_->container (this); + } + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + // ComponentImplementationDescription + // + bool ComponentImplementationDescription:: + href_p () const + { + return href_.get () != 0; + } -if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); -} + ::XMLSchema::string< ACE_TCHAR > const& ComponentImplementationDescription:: + href () const + { + return *href_; + } -else if (n == "externalName") -{ -externalName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -externalName_->container (this); -} + ::XMLSchema::string< ACE_TCHAR >& ComponentImplementationDescription:: + href () + { + return *href_; + } -else if (n == "delegatesTo") -{ -::CIAO::Config_Handlers::SubcomponentPropertyReference t (e); -add_delegatesTo (t); -} + void ComponentImplementationDescription:: + href (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (href_.get ()) + { + *href_ = e; + } -else -{ -} -} + else + { + href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + href_->container (this); + } + } + } } -// ComponentAssemblyDescription -// - -ComponentAssemblyDescription:: -ComponentAssemblyDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () +namespace CIAO { + namespace Config_Handlers + { + // SubcomponentInstantiationDescription + // -::XSCRT::Parser< ACE_TCHAR > p (e); - -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + SubcomponentInstantiationDescription:: + SubcomponentInstantiationDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -if (n == "instance") -{ -::CIAO::Config_Handlers::SubcomponentInstantiationDescription t (e); -add_instance (t); -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -else if (n == "connection") -{ -::CIAO::Config_Handlers::AssemblyConnectionDescription t (e); -add_connection (t); -} + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -else if (n == "externalProperty") -{ -::CIAO::Config_Handlers::AssemblyPropertyMapping t (e); -add_externalProperty (t); -} + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -else -{ -} -} -} + else if (n == "basePackage") + { + ::CIAO::Config_Handlers::ComponentPackageDescription t (e); + basePackage (t); + } -// MonolithicImplementationDescription -// + else if (n == "specializedConfig") + { + ::CIAO::Config_Handlers::PackageConfiguration t (e); + specializedConfig (t); + } -MonolithicImplementationDescription:: -MonolithicImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + else if (n == "selectRequirement") + { + ::CIAO::Config_Handlers::Requirement t (e); + add_selectRequirement (t); + } -::XSCRT::Parser< ACE_TCHAR > p (e); + else if (n == "configProperty") + { + ::CIAO::Config_Handlers::Property t (e); + add_configProperty (t); + } -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + else if (n == "referencedPackage") + { + ::CIAO::Config_Handlers::ComponentPackageReference t (e); + referencedPackage (t); + } -if (n == "nodeExecParameter") -{ -::CIAO::Config_Handlers::Property t (e); -add_nodeExecParameter (t); -} + else if (n == "importedPackage") + { + ::CIAO::Config_Handlers::ComponentPackageImport t (e); + importedPackage (t); + } -else if (n == "componentExecParameter") -{ -::CIAO::Config_Handlers::Property t (e); -add_componentExecParameter (t); -} + else + { + } + } -else if (n == "deployRequirement") -{ -::CIAO::Config_Handlers::ImplementationRequirement t (e); -add_deployRequirement (t); -} + while (p.more_attributes ()) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); + if (n == "id") + { + ::XMLSchema::ID< ACE_TCHAR > t (a); + id (t); + } -else if (n == "primaryArtifact") -{ -::CIAO::Config_Handlers::NamedImplementationArtifact t (e); -add_primaryArtifact (t); -} + else + { + } + } + } -else -{ -} -} -} + // SubcomponentPropertyReference + // -// ComponentImplementationDescription -// + SubcomponentPropertyReference:: + SubcomponentPropertyReference (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -ComponentImplementationDescription:: -ComponentImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ + ::XSCRT::Parser< ACE_TCHAR > p (e); -::XSCRT::Parser< ACE_TCHAR > p (e); + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + if (n == "propertyName") + { + propertyName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + propertyName_->container (this); + } -if (n == "label") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -label (t); -} + else if (n == "instance") + { + instance_ = ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > (new ::XMLSchema::IDREF< ACE_TCHAR > (e)); + instance_->container (this); + } -else if (n == "UUID") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -UUID (t); -} + else + { + } + } + } -else if (n == "implements") -{ -::CIAO::Config_Handlers::ComponentInterfaceDescription t (e); -implements (t); -} + // AssemblyPropertyMapping + // -else if (n == "assemblyImpl") -{ -::CIAO::Config_Handlers::ComponentAssemblyDescription t (e); -assemblyImpl (t); -} + AssemblyPropertyMapping:: + AssemblyPropertyMapping (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -else if (n == "monolithicImpl") -{ -::CIAO::Config_Handlers::MonolithicImplementationDescription t (e); -monolithicImpl (t); -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -else if (n == "configProperty") -{ -::CIAO::Config_Handlers::Property t (e); -add_configProperty (t); -} + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -else if (n == "capability") -{ -::CIAO::Config_Handlers::Capability t (e); -add_capability (t); -} + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } -else if (n == "dependsOn") -{ -::CIAO::Config_Handlers::ImplementationDependency t (e); -add_dependsOn (t); -} + else if (n == "externalName") + { + externalName_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + externalName_->container (this); + } -else if (n == "infoProperty") -{ -::CIAO::Config_Handlers::Property t (e); -add_infoProperty (t); -} + else if (n == "delegatesTo") + { + ::CIAO::Config_Handlers::SubcomponentPropertyReference t (e); + add_delegatesTo (t); + } -else if (n == "contentLocation") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -contentLocation (t); -} + else + { + } + } + } -else -{ -} -} + // ComponentAssemblyDescription + // -while (p.more_attributes ()) -{ -::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); -if (n == "href") -{ -::XMLSchema::string< ACE_TCHAR > t (a); -href (t); -} + ComponentAssemblyDescription:: + ComponentAssemblyDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -else -{ -} -} -} -} -} + ::XSCRT::Parser< ACE_TCHAR > p (e); -namespace CIAO -{ -namespace Config_Handlers -{ -} -} + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -#include "XMLSchema/TypeInfo.hpp" + if (n == "instance") + { + ::CIAO::Config_Handlers::SubcomponentInstantiationDescription t (e); + add_instance (t); + } -namespace CIAO -{ -namespace Config_Handlers -{ -namespace -{ -::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); + else if (n == "connection") + { + ::CIAO::Config_Handlers::AssemblyConnectionDescription t (e); + add_connection (t); + } -struct SubcomponentInstantiationDescriptionTypeInfoInitializer -{ -SubcomponentInstantiationDescriptionTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (SubcomponentInstantiationDescription)); -::XSCRT::ExtendedTypeInfo nf (id); + else if (n == "externalProperty") + { + ::CIAO::Config_Handlers::AssemblyPropertyMapping t (e); + add_externalProperty (t); + } -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + else + { + } + } + } -SubcomponentInstantiationDescriptionTypeInfoInitializer SubcomponentInstantiationDescriptionTypeInfoInitializer_; + // MonolithicImplementationDescription + // -struct SubcomponentPropertyReferenceTypeInfoInitializer -{ -SubcomponentPropertyReferenceTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (SubcomponentPropertyReference)); -::XSCRT::ExtendedTypeInfo nf (id); + MonolithicImplementationDescription:: + MonolithicImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + ::XSCRT::Parser< ACE_TCHAR > p (e); -SubcomponentPropertyReferenceTypeInfoInitializer SubcomponentPropertyReferenceTypeInfoInitializer_; + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -struct AssemblyPropertyMappingTypeInfoInitializer -{ -AssemblyPropertyMappingTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (AssemblyPropertyMapping)); -::XSCRT::ExtendedTypeInfo nf (id); + if (n == "nodeExecParameter") + { + ::CIAO::Config_Handlers::Property t (e); + add_nodeExecParameter (t); + } -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + else if (n == "componentExecParameter") + { + ::CIAO::Config_Handlers::Property t (e); + add_componentExecParameter (t); + } -AssemblyPropertyMappingTypeInfoInitializer AssemblyPropertyMappingTypeInfoInitializer_; + else if (n == "deployRequirement") + { + ::CIAO::Config_Handlers::ImplementationRequirement t (e); + add_deployRequirement (t); + } -struct ComponentAssemblyDescriptionTypeInfoInitializer -{ -ComponentAssemblyDescriptionTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (ComponentAssemblyDescription)); -::XSCRT::ExtendedTypeInfo nf (id); + else if (n == "primaryArtifact") + { + ::CIAO::Config_Handlers::NamedImplementationArtifact t (e); + add_primaryArtifact (t); + } -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + else + { + } + } + } -ComponentAssemblyDescriptionTypeInfoInitializer ComponentAssemblyDescriptionTypeInfoInitializer_; + // ComponentImplementationDescription + // -struct MonolithicImplementationDescriptionTypeInfoInitializer -{ -MonolithicImplementationDescriptionTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (MonolithicImplementationDescription)); -::XSCRT::ExtendedTypeInfo nf (id); + ComponentImplementationDescription:: + ComponentImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + ::XSCRT::Parser< ACE_TCHAR > p (e); -MonolithicImplementationDescriptionTypeInfoInitializer MonolithicImplementationDescriptionTypeInfoInitializer_; + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); -struct ComponentImplementationDescriptionTypeInfoInitializer -{ -ComponentImplementationDescriptionTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (ComponentImplementationDescription)); -::XSCRT::ExtendedTypeInfo nf (id); + if (n == "label") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + label (t); + } -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; + else if (n == "UUID") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + UUID (t); + } -ComponentImplementationDescriptionTypeInfoInitializer ComponentImplementationDescriptionTypeInfoInitializer_; -} -} -} + else if (n == "implements") + { + ::CIAO::Config_Handlers::ComponentInterfaceDescription t (e); + implements (t); + } -namespace CIAO -{ -namespace Config_Handlers -{ -namespace Traversal -{ -// SubcomponentInstantiationDescription -// -// + else if (n == "assemblyImpl") + { + ::CIAO::Config_Handlers::ComponentAssemblyDescription t (e); + assemblyImpl (t); + } -void SubcomponentInstantiationDescription:: -traverse (Type& o) -{ -pre (o); -name (o); -if (o.basePackage_p ()) basePackage (o); -else basePackage_none (o); -if (o.specializedConfig_p ()) specializedConfig (o); -else specializedConfig_none (o); -selectRequirement (o); -configProperty (o); -if (o.referencedPackage_p ()) referencedPackage (o); -else referencedPackage_none (o); -if (o.importedPackage_p ()) importedPackage (o); -else importedPackage_none (o); -if (o.id_p ()) id (o); -else id_none (o); -post (o); -} + else if (n == "monolithicImpl") + { + ::CIAO::Config_Handlers::MonolithicImplementationDescription t (e); + monolithicImpl (t); + } -void SubcomponentInstantiationDescription:: -traverse (Type const& o) -{ -pre (o); -name (o); -if (o.basePackage_p ()) basePackage (o); -else basePackage_none (o); -if (o.specializedConfig_p ()) specializedConfig (o); -else specializedConfig_none (o); -selectRequirement (o); -configProperty (o); -if (o.referencedPackage_p ()) referencedPackage (o); -else referencedPackage_none (o); -if (o.importedPackage_p ()) importedPackage (o); -else importedPackage_none (o); -if (o.id_p ()) id (o); -else id_none (o); -post (o); -} + else if (n == "configProperty") + { + ::CIAO::Config_Handlers::Property t (e); + add_configProperty (t); + } -void SubcomponentInstantiationDescription:: -pre (Type&) -{ -} + else if (n == "capability") + { + ::CIAO::Config_Handlers::Capability t (e); + add_capability (t); + } -void SubcomponentInstantiationDescription:: -pre (Type const&) -{ -} + else if (n == "dependsOn") + { + ::CIAO::Config_Handlers::ImplementationDependency t (e); + add_dependsOn (t); + } -void SubcomponentInstantiationDescription:: -name (Type& o) -{ -dispatch (o.name ()); -} + else if (n == "infoProperty") + { + ::CIAO::Config_Handlers::Property t (e); + add_infoProperty (t); + } -void SubcomponentInstantiationDescription:: -name (Type const& o) -{ -dispatch (o.name ()); -} + else if (n == "contentLocation") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + contentLocation (t); + } -void SubcomponentInstantiationDescription:: -basePackage (Type& o) -{ -dispatch (o.basePackage ()); -} + else + { + } + } -void SubcomponentInstantiationDescription:: -basePackage (Type const& o) -{ -dispatch (o.basePackage ()); -} + while (p.more_attributes ()) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); + if (n == "href") + { + ::XMLSchema::string< ACE_TCHAR > t (a); + href (t); + } -void SubcomponentInstantiationDescription:: -basePackage_none (Type&) -{ + else + { + } + } + } + } } -void SubcomponentInstantiationDescription:: -basePackage_none (Type const&) +namespace CIAO { + namespace Config_Handlers + { + } } -void SubcomponentInstantiationDescription:: -specializedConfig (Type& o) -{ -dispatch (o.specializedConfig ()); -} +#include "XMLSchema/TypeInfo.hpp" -void SubcomponentInstantiationDescription:: -specializedConfig (Type const& o) +namespace CIAO { -dispatch (o.specializedConfig ()); -} + namespace Config_Handlers + { + namespace + { + ::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); -void SubcomponentInstantiationDescription:: -specializedConfig_none (Type&) -{ -} + struct SubcomponentInstantiationDescriptionTypeInfoInitializer + { + SubcomponentInstantiationDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (SubcomponentInstantiationDescription)); + ::XSCRT::ExtendedTypeInfo nf (id); -void SubcomponentInstantiationDescription:: -specializedConfig_none (Type const&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void SubcomponentInstantiationDescription:: -selectRequirement (Type& o) -{ -// VC6 anathema strikes again -// -SubcomponentInstantiationDescription::Type::selectRequirement_iterator b (o.begin_selectRequirement()), e (o.end_selectRequirement()); + SubcomponentInstantiationDescriptionTypeInfoInitializer SubcomponentInstantiationDescriptionTypeInfoInitializer_; -if (b != e) -{ -selectRequirement_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) selectRequirement_next (o); -} + struct SubcomponentPropertyReferenceTypeInfoInitializer + { + SubcomponentPropertyReferenceTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (SubcomponentPropertyReference)); + ::XSCRT::ExtendedTypeInfo nf (id); -selectRequirement_post (o); -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -else selectRequirement_none (o); -} + SubcomponentPropertyReferenceTypeInfoInitializer SubcomponentPropertyReferenceTypeInfoInitializer_; -void SubcomponentInstantiationDescription:: -selectRequirement (Type const& o) -{ -// VC6 anathema strikes again -// -SubcomponentInstantiationDescription::Type::selectRequirement_const_iterator b (o.begin_selectRequirement()), e (o.end_selectRequirement()); + struct AssemblyPropertyMappingTypeInfoInitializer + { + AssemblyPropertyMappingTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (AssemblyPropertyMapping)); + ::XSCRT::ExtendedTypeInfo nf (id); -if (b != e) -{ -selectRequirement_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) selectRequirement_next (o); -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -selectRequirement_post (o); -} + AssemblyPropertyMappingTypeInfoInitializer AssemblyPropertyMappingTypeInfoInitializer_; -else selectRequirement_none (o); -} + struct ComponentAssemblyDescriptionTypeInfoInitializer + { + ComponentAssemblyDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ComponentAssemblyDescription)); + ::XSCRT::ExtendedTypeInfo nf (id); -void SubcomponentInstantiationDescription:: -selectRequirement_pre (Type&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void SubcomponentInstantiationDescription:: -selectRequirement_pre (Type const&) -{ -} + ComponentAssemblyDescriptionTypeInfoInitializer ComponentAssemblyDescriptionTypeInfoInitializer_; -void SubcomponentInstantiationDescription:: -selectRequirement_next (Type&) -{ -} + struct MonolithicImplementationDescriptionTypeInfoInitializer + { + MonolithicImplementationDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (MonolithicImplementationDescription)); + ::XSCRT::ExtendedTypeInfo nf (id); -void SubcomponentInstantiationDescription:: -selectRequirement_next (Type const&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void SubcomponentInstantiationDescription:: -selectRequirement_post (Type&) -{ -} + MonolithicImplementationDescriptionTypeInfoInitializer MonolithicImplementationDescriptionTypeInfoInitializer_; -void SubcomponentInstantiationDescription:: -selectRequirement_post (Type const&) -{ -} + struct ComponentImplementationDescriptionTypeInfoInitializer + { + ComponentImplementationDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ComponentImplementationDescription)); + ::XSCRT::ExtendedTypeInfo nf (id); -void SubcomponentInstantiationDescription:: -selectRequirement_none (Type&) -{ -} + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; -void SubcomponentInstantiationDescription:: -selectRequirement_none (Type const&) -{ + ComponentImplementationDescriptionTypeInfoInitializer ComponentImplementationDescriptionTypeInfoInitializer_; + } + } } -void SubcomponentInstantiationDescription:: -configProperty (Type& o) +namespace CIAO { -// VC6 anathema strikes again -// -SubcomponentInstantiationDescription::Type::configProperty_iterator b (o.begin_configProperty()), e (o.end_configProperty()); + namespace Config_Handlers + { + namespace Traversal + { + // SubcomponentInstantiationDescription + // + // -if (b != e) -{ -configProperty_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) configProperty_next (o); -} + void SubcomponentInstantiationDescription:: + traverse (Type& o) + { + pre (o); + name (o); + if (o.basePackage_p ()) basePackage (o); + else basePackage_none (o); + if (o.specializedConfig_p ()) specializedConfig (o); + else specializedConfig_none (o); + selectRequirement (o); + configProperty (o); + if (o.referencedPackage_p ()) referencedPackage (o); + else referencedPackage_none (o); + if (o.importedPackage_p ()) importedPackage (o); + else importedPackage_none (o); + if (o.id_p ()) id (o); + else id_none (o); + post (o); + } -configProperty_post (o); -} + void SubcomponentInstantiationDescription:: + traverse (Type const& o) + { + pre (o); + name (o); + if (o.basePackage_p ()) basePackage (o); + else basePackage_none (o); + if (o.specializedConfig_p ()) specializedConfig (o); + else specializedConfig_none (o); + selectRequirement (o); + configProperty (o); + if (o.referencedPackage_p ()) referencedPackage (o); + else referencedPackage_none (o); + if (o.importedPackage_p ()) importedPackage (o); + else importedPackage_none (o); + if (o.id_p ()) id (o); + else id_none (o); + post (o); + } -else configProperty_none (o); -} + void SubcomponentInstantiationDescription:: + pre (Type&) + { + } -void SubcomponentInstantiationDescription:: -configProperty (Type const& o) -{ -// VC6 anathema strikes again -// -SubcomponentInstantiationDescription::Type::configProperty_const_iterator b (o.begin_configProperty()), e (o.end_configProperty()); + void SubcomponentInstantiationDescription:: + pre (Type const&) + { + } -if (b != e) -{ -configProperty_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) configProperty_next (o); -} + void SubcomponentInstantiationDescription:: + name (Type& o) + { + dispatch (o.name ()); + } -configProperty_post (o); -} + void SubcomponentInstantiationDescription:: + name (Type const& o) + { + dispatch (o.name ()); + } -else configProperty_none (o); -} + void SubcomponentInstantiationDescription:: + basePackage (Type& o) + { + dispatch (o.basePackage ()); + } -void SubcomponentInstantiationDescription:: -configProperty_pre (Type&) -{ -} + void SubcomponentInstantiationDescription:: + basePackage (Type const& o) + { + dispatch (o.basePackage ()); + } -void SubcomponentInstantiationDescription:: -configProperty_pre (Type const&) -{ -} + void SubcomponentInstantiationDescription:: + basePackage_none (Type&) + { + } -void SubcomponentInstantiationDescription:: -configProperty_next (Type&) -{ -} + void SubcomponentInstantiationDescription:: + basePackage_none (Type const&) + { + } -void SubcomponentInstantiationDescription:: -configProperty_next (Type const&) -{ -} + void SubcomponentInstantiationDescription:: + specializedConfig (Type& o) + { + dispatch (o.specializedConfig ()); + } -void SubcomponentInstantiationDescription:: -configProperty_post (Type&) -{ -} + void SubcomponentInstantiationDescription:: + specializedConfig (Type const& o) + { + dispatch (o.specializedConfig ()); + } -void SubcomponentInstantiationDescription:: -configProperty_post (Type const&) -{ -} + void SubcomponentInstantiationDescription:: + specializedConfig_none (Type&) + { + } -void SubcomponentInstantiationDescription:: -configProperty_none (Type&) -{ -} + void SubcomponentInstantiationDescription:: + specializedConfig_none (Type const&) + { + } -void SubcomponentInstantiationDescription:: -configProperty_none (Type const&) -{ -} + void SubcomponentInstantiationDescription:: + selectRequirement (Type& o) + { + // VC6 anathema strikes again + // + SubcomponentInstantiationDescription::Type::selectRequirement_iterator b (o.begin_selectRequirement()), e (o.end_selectRequirement()); -void SubcomponentInstantiationDescription:: -referencedPackage (Type& o) -{ -dispatch (o.referencedPackage ()); -} + if (b != e) + { + selectRequirement_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) selectRequirement_next (o); + } + + selectRequirement_post (o); + } -void SubcomponentInstantiationDescription:: -referencedPackage (Type const& o) -{ -dispatch (o.referencedPackage ()); -} + else selectRequirement_none (o); + } -void SubcomponentInstantiationDescription:: -referencedPackage_none (Type&) -{ -} + void SubcomponentInstantiationDescription:: + selectRequirement (Type const& o) + { + // VC6 anathema strikes again + // + SubcomponentInstantiationDescription::Type::selectRequirement_const_iterator b (o.begin_selectRequirement()), e (o.end_selectRequirement()); + + if (b != e) + { + selectRequirement_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) selectRequirement_next (o); + } + + selectRequirement_post (o); + } -void SubcomponentInstantiationDescription:: -referencedPackage_none (Type const&) -{ -} + else selectRequirement_none (o); + } -void SubcomponentInstantiationDescription:: -importedPackage (Type& o) -{ -dispatch (o.importedPackage ()); -} + void SubcomponentInstantiationDescription:: + selectRequirement_pre (Type&) + { + } -void SubcomponentInstantiationDescription:: -importedPackage (Type const& o) -{ -dispatch (o.importedPackage ()); -} + void SubcomponentInstantiationDescription:: + selectRequirement_pre (Type const&) + { + } -void SubcomponentInstantiationDescription:: -importedPackage_none (Type&) -{ -} + void SubcomponentInstantiationDescription:: + selectRequirement_next (Type&) + { + } -void SubcomponentInstantiationDescription:: -importedPackage_none (Type const&) -{ -} + void SubcomponentInstantiationDescription:: + selectRequirement_next (Type const&) + { + } -void SubcomponentInstantiationDescription:: -id (Type& o) -{ -dispatch (o.id ()); -} + void SubcomponentInstantiationDescription:: + selectRequirement_post (Type&) + { + } -void SubcomponentInstantiationDescription:: -id (Type const& o) -{ -dispatch (o.id ()); -} + void SubcomponentInstantiationDescription:: + selectRequirement_post (Type const&) + { + } -void SubcomponentInstantiationDescription:: -id_none (Type&) -{ -} + void SubcomponentInstantiationDescription:: + selectRequirement_none (Type&) + { + } -void SubcomponentInstantiationDescription:: -id_none (Type const&) -{ -} + void SubcomponentInstantiationDescription:: + selectRequirement_none (Type const&) + { + } -void SubcomponentInstantiationDescription:: -post (Type&) -{ -} + void SubcomponentInstantiationDescription:: + configProperty (Type& o) + { + // VC6 anathema strikes again + // + SubcomponentInstantiationDescription::Type::configProperty_iterator b (o.begin_configProperty()), e (o.end_configProperty()); -void SubcomponentInstantiationDescription:: -post (Type const&) -{ -} + if (b != e) + { + configProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) configProperty_next (o); + } + + configProperty_post (o); + } -// SubcomponentPropertyReference -// -// + else configProperty_none (o); + } -void SubcomponentPropertyReference:: -traverse (Type& o) -{ -pre (o); -propertyName (o); -instance (o); -post (o); -} + void SubcomponentInstantiationDescription:: + configProperty (Type const& o) + { + // VC6 anathema strikes again + // + SubcomponentInstantiationDescription::Type::configProperty_const_iterator b (o.begin_configProperty()), e (o.end_configProperty()); -void SubcomponentPropertyReference:: -traverse (Type const& o) -{ -pre (o); -propertyName (o); -instance (o); -post (o); -} + if (b != e) + { + configProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) configProperty_next (o); + } + + configProperty_post (o); + } -void SubcomponentPropertyReference:: -pre (Type&) -{ -} + else configProperty_none (o); + } -void SubcomponentPropertyReference:: -pre (Type const&) -{ -} + void SubcomponentInstantiationDescription:: + configProperty_pre (Type&) + { + } -void SubcomponentPropertyReference:: -propertyName (Type& o) -{ -dispatch (o.propertyName ()); -} + void SubcomponentInstantiationDescription:: + configProperty_pre (Type const&) + { + } -void SubcomponentPropertyReference:: -propertyName (Type const& o) -{ -dispatch (o.propertyName ()); -} + void SubcomponentInstantiationDescription:: + configProperty_next (Type&) + { + } -void SubcomponentPropertyReference:: -instance (Type& o) -{ -dispatch (o.instance ()); -} + void SubcomponentInstantiationDescription:: + configProperty_next (Type const&) + { + } -void SubcomponentPropertyReference:: -instance (Type const& o) -{ -dispatch (o.instance ()); -} + void SubcomponentInstantiationDescription:: + configProperty_post (Type&) + { + } -void SubcomponentPropertyReference:: -post (Type&) -{ -} + void SubcomponentInstantiationDescription:: + configProperty_post (Type const&) + { + } -void SubcomponentPropertyReference:: -post (Type const&) -{ -} + void SubcomponentInstantiationDescription:: + configProperty_none (Type&) + { + } -// AssemblyPropertyMapping -// -// + void SubcomponentInstantiationDescription:: + configProperty_none (Type const&) + { + } -void AssemblyPropertyMapping:: -traverse (Type& o) -{ -pre (o); -name (o); -externalName (o); -delegatesTo (o); -post (o); -} + void SubcomponentInstantiationDescription:: + referencedPackage (Type& o) + { + dispatch (o.referencedPackage ()); + } -void AssemblyPropertyMapping:: -traverse (Type const& o) -{ -pre (o); -name (o); -externalName (o); -delegatesTo (o); -post (o); -} + void SubcomponentInstantiationDescription:: + referencedPackage (Type const& o) + { + dispatch (o.referencedPackage ()); + } -void AssemblyPropertyMapping:: -pre (Type&) -{ -} + void SubcomponentInstantiationDescription:: + referencedPackage_none (Type&) + { + } -void AssemblyPropertyMapping:: -pre (Type const&) -{ -} + void SubcomponentInstantiationDescription:: + referencedPackage_none (Type const&) + { + } -void AssemblyPropertyMapping:: -name (Type& o) -{ -dispatch (o.name ()); -} + void SubcomponentInstantiationDescription:: + importedPackage (Type& o) + { + dispatch (o.importedPackage ()); + } -void AssemblyPropertyMapping:: -name (Type const& o) -{ -dispatch (o.name ()); -} + void SubcomponentInstantiationDescription:: + importedPackage (Type const& o) + { + dispatch (o.importedPackage ()); + } -void AssemblyPropertyMapping:: -externalName (Type& o) -{ -dispatch (o.externalName ()); -} + void SubcomponentInstantiationDescription:: + importedPackage_none (Type&) + { + } -void AssemblyPropertyMapping:: -externalName (Type const& o) -{ -dispatch (o.externalName ()); -} + void SubcomponentInstantiationDescription:: + importedPackage_none (Type const&) + { + } -void AssemblyPropertyMapping:: -delegatesTo (Type& o) -{ -// VC6 anathema strikes again -// -AssemblyPropertyMapping::Type::delegatesTo_iterator b (o.begin_delegatesTo()), e (o.end_delegatesTo()); + void SubcomponentInstantiationDescription:: + id (Type& o) + { + dispatch (o.id ()); + } -if (b != e) -{ -delegatesTo_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) delegatesTo_next (o); -} + void SubcomponentInstantiationDescription:: + id (Type const& o) + { + dispatch (o.id ()); + } -delegatesTo_post (o); -} -} + void SubcomponentInstantiationDescription:: + id_none (Type&) + { + } -void AssemblyPropertyMapping:: -delegatesTo (Type const& o) -{ -// VC6 anathema strikes again -// -AssemblyPropertyMapping::Type::delegatesTo_const_iterator b (o.begin_delegatesTo()), e (o.end_delegatesTo()); + void SubcomponentInstantiationDescription:: + id_none (Type const&) + { + } -if (b != e) -{ -delegatesTo_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) delegatesTo_next (o); -} + void SubcomponentInstantiationDescription:: + post (Type&) + { + } -delegatesTo_post (o); -} -} + void SubcomponentInstantiationDescription:: + post (Type const&) + { + } -void AssemblyPropertyMapping:: -delegatesTo_pre (Type&) -{ -} + // SubcomponentPropertyReference + // + // -void AssemblyPropertyMapping:: -delegatesTo_pre (Type const&) -{ -} + void SubcomponentPropertyReference:: + traverse (Type& o) + { + pre (o); + propertyName (o); + instance (o); + post (o); + } -void AssemblyPropertyMapping:: -delegatesTo_next (Type&) -{ -} + void SubcomponentPropertyReference:: + traverse (Type const& o) + { + pre (o); + propertyName (o); + instance (o); + post (o); + } -void AssemblyPropertyMapping:: -delegatesTo_next (Type const&) -{ -} + void SubcomponentPropertyReference:: + pre (Type&) + { + } -void AssemblyPropertyMapping:: -delegatesTo_post (Type&) -{ -} + void SubcomponentPropertyReference:: + pre (Type const&) + { + } -void AssemblyPropertyMapping:: -delegatesTo_post (Type const&) -{ -} + void SubcomponentPropertyReference:: + propertyName (Type& o) + { + dispatch (o.propertyName ()); + } -void AssemblyPropertyMapping:: -post (Type&) -{ -} + void SubcomponentPropertyReference:: + propertyName (Type const& o) + { + dispatch (o.propertyName ()); + } -void AssemblyPropertyMapping:: -post (Type const&) -{ -} + void SubcomponentPropertyReference:: + instance (Type& o) + { + dispatch (o.instance ()); + } -// ComponentAssemblyDescription -// -// + void SubcomponentPropertyReference:: + instance (Type const& o) + { + dispatch (o.instance ()); + } -void ComponentAssemblyDescription:: -traverse (Type& o) -{ -pre (o); -instance (o); -connection (o); -externalProperty (o); -post (o); -} + void SubcomponentPropertyReference:: + post (Type&) + { + } -void ComponentAssemblyDescription:: -traverse (Type const& o) -{ -pre (o); -instance (o); -connection (o); -externalProperty (o); -post (o); -} + void SubcomponentPropertyReference:: + post (Type const&) + { + } -void ComponentAssemblyDescription:: -pre (Type&) -{ -} + // AssemblyPropertyMapping + // + // -void ComponentAssemblyDescription:: -pre (Type const&) -{ -} + void AssemblyPropertyMapping:: + traverse (Type& o) + { + pre (o); + name (o); + externalName (o); + delegatesTo (o); + post (o); + } -void ComponentAssemblyDescription:: -instance (Type& o) -{ -// VC6 anathema strikes again -// -ComponentAssemblyDescription::Type::instance_iterator b (o.begin_instance()), e (o.end_instance()); + void AssemblyPropertyMapping:: + traverse (Type const& o) + { + pre (o); + name (o); + externalName (o); + delegatesTo (o); + post (o); + } -if (b != e) -{ -instance_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) instance_next (o); -} + void AssemblyPropertyMapping:: + pre (Type&) + { + } -instance_post (o); -} -} + void AssemblyPropertyMapping:: + pre (Type const&) + { + } -void ComponentAssemblyDescription:: -instance (Type const& o) -{ -// VC6 anathema strikes again -// -ComponentAssemblyDescription::Type::instance_const_iterator b (o.begin_instance()), e (o.end_instance()); + void AssemblyPropertyMapping:: + name (Type& o) + { + dispatch (o.name ()); + } -if (b != e) -{ -instance_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) instance_next (o); -} + void AssemblyPropertyMapping:: + name (Type const& o) + { + dispatch (o.name ()); + } -instance_post (o); -} -} + void AssemblyPropertyMapping:: + externalName (Type& o) + { + dispatch (o.externalName ()); + } -void ComponentAssemblyDescription:: -instance_pre (Type&) -{ -} + void AssemblyPropertyMapping:: + externalName (Type const& o) + { + dispatch (o.externalName ()); + } -void ComponentAssemblyDescription:: -instance_pre (Type const&) -{ -} + void AssemblyPropertyMapping:: + delegatesTo (Type& o) + { + // VC6 anathema strikes again + // + AssemblyPropertyMapping::Type::delegatesTo_iterator b (o.begin_delegatesTo()), e (o.end_delegatesTo()); -void ComponentAssemblyDescription:: -instance_next (Type&) -{ -} + if (b != e) + { + delegatesTo_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) delegatesTo_next (o); + } + + delegatesTo_post (o); + } + } -void ComponentAssemblyDescription:: -instance_next (Type const&) -{ -} + void AssemblyPropertyMapping:: + delegatesTo (Type const& o) + { + // VC6 anathema strikes again + // + AssemblyPropertyMapping::Type::delegatesTo_const_iterator b (o.begin_delegatesTo()), e (o.end_delegatesTo()); -void ComponentAssemblyDescription:: -instance_post (Type&) -{ -} + if (b != e) + { + delegatesTo_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) delegatesTo_next (o); + } + + delegatesTo_post (o); + } + } -void ComponentAssemblyDescription:: -instance_post (Type const&) -{ -} + void AssemblyPropertyMapping:: + delegatesTo_pre (Type&) + { + } -void ComponentAssemblyDescription:: -connection (Type& o) -{ -// VC6 anathema strikes again -// -ComponentAssemblyDescription::Type::connection_iterator b (o.begin_connection()), e (o.end_connection()); + void AssemblyPropertyMapping:: + delegatesTo_pre (Type const&) + { + } -if (b != e) -{ -connection_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) connection_next (o); -} + void AssemblyPropertyMapping:: + delegatesTo_next (Type&) + { + } -connection_post (o); -} + void AssemblyPropertyMapping:: + delegatesTo_next (Type const&) + { + } -else connection_none (o); -} + void AssemblyPropertyMapping:: + delegatesTo_post (Type&) + { + } -void ComponentAssemblyDescription:: -connection (Type const& o) -{ -// VC6 anathema strikes again -// -ComponentAssemblyDescription::Type::connection_const_iterator b (o.begin_connection()), e (o.end_connection()); + void AssemblyPropertyMapping:: + delegatesTo_post (Type const&) + { + } -if (b != e) -{ -connection_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) connection_next (o); -} + void AssemblyPropertyMapping:: + post (Type&) + { + } + + void AssemblyPropertyMapping:: + post (Type const&) + { + } -connection_post (o); -} + // ComponentAssemblyDescription + // + // -else connection_none (o); -} + void ComponentAssemblyDescription:: + traverse (Type& o) + { + pre (o); + instance (o); + connection (o); + externalProperty (o); + post (o); + } -void ComponentAssemblyDescription:: -connection_pre (Type&) -{ -} + void ComponentAssemblyDescription:: + traverse (Type const& o) + { + pre (o); + instance (o); + connection (o); + externalProperty (o); + post (o); + } -void ComponentAssemblyDescription:: -connection_pre (Type const&) -{ -} + void ComponentAssemblyDescription:: + pre (Type&) + { + } -void ComponentAssemblyDescription:: -connection_next (Type&) -{ -} + void ComponentAssemblyDescription:: + pre (Type const&) + { + } -void ComponentAssemblyDescription:: -connection_next (Type const&) -{ -} + void ComponentAssemblyDescription:: + instance (Type& o) + { + // VC6 anathema strikes again + // + ComponentAssemblyDescription::Type::instance_iterator b (o.begin_instance()), e (o.end_instance()); -void ComponentAssemblyDescription:: -connection_post (Type&) -{ -} + if (b != e) + { + instance_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) instance_next (o); + } + + instance_post (o); + } + } -void ComponentAssemblyDescription:: -connection_post (Type const&) -{ -} + void ComponentAssemblyDescription:: + instance (Type const& o) + { + // VC6 anathema strikes again + // + ComponentAssemblyDescription::Type::instance_const_iterator b (o.begin_instance()), e (o.end_instance()); -void ComponentAssemblyDescription:: -connection_none (Type&) -{ -} + if (b != e) + { + instance_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) instance_next (o); + } + + instance_post (o); + } + } -void ComponentAssemblyDescription:: -connection_none (Type const&) -{ -} + void ComponentAssemblyDescription:: + instance_pre (Type&) + { + } -void ComponentAssemblyDescription:: -externalProperty (Type& o) -{ -// VC6 anathema strikes again -// -ComponentAssemblyDescription::Type::externalProperty_iterator b (o.begin_externalProperty()), e (o.end_externalProperty()); + void ComponentAssemblyDescription:: + instance_pre (Type const&) + { + } -if (b != e) -{ -externalProperty_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) externalProperty_next (o); -} + void ComponentAssemblyDescription:: + instance_next (Type&) + { + } -externalProperty_post (o); -} + void ComponentAssemblyDescription:: + instance_next (Type const&) + { + } -else externalProperty_none (o); -} + void ComponentAssemblyDescription:: + instance_post (Type&) + { + } -void ComponentAssemblyDescription:: -externalProperty (Type const& o) -{ -// VC6 anathema strikes again -// -ComponentAssemblyDescription::Type::externalProperty_const_iterator b (o.begin_externalProperty()), e (o.end_externalProperty()); + void ComponentAssemblyDescription:: + instance_post (Type const&) + { + } -if (b != e) -{ -externalProperty_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) externalProperty_next (o); -} + void ComponentAssemblyDescription:: + connection (Type& o) + { + // VC6 anathema strikes again + // + ComponentAssemblyDescription::Type::connection_iterator b (o.begin_connection()), e (o.end_connection()); -externalProperty_post (o); -} + if (b != e) + { + connection_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) connection_next (o); + } + + connection_post (o); + } -else externalProperty_none (o); -} + else connection_none (o); + } -void ComponentAssemblyDescription:: -externalProperty_pre (Type&) -{ -} + void ComponentAssemblyDescription:: + connection (Type const& o) + { + // VC6 anathema strikes again + // + ComponentAssemblyDescription::Type::connection_const_iterator b (o.begin_connection()), e (o.end_connection()); -void ComponentAssemblyDescription:: -externalProperty_pre (Type const&) -{ -} + if (b != e) + { + connection_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) connection_next (o); + } + + connection_post (o); + } -void ComponentAssemblyDescription:: -externalProperty_next (Type&) -{ -} + else connection_none (o); + } -void ComponentAssemblyDescription:: -externalProperty_next (Type const&) -{ -} + void ComponentAssemblyDescription:: + connection_pre (Type&) + { + } -void ComponentAssemblyDescription:: -externalProperty_post (Type&) -{ -} + void ComponentAssemblyDescription:: + connection_pre (Type const&) + { + } -void ComponentAssemblyDescription:: -externalProperty_post (Type const&) -{ -} + void ComponentAssemblyDescription:: + connection_next (Type&) + { + } -void ComponentAssemblyDescription:: -externalProperty_none (Type&) -{ -} + void ComponentAssemblyDescription:: + connection_next (Type const&) + { + } -void ComponentAssemblyDescription:: -externalProperty_none (Type const&) -{ -} + void ComponentAssemblyDescription:: + connection_post (Type&) + { + } -void ComponentAssemblyDescription:: -post (Type&) -{ -} + void ComponentAssemblyDescription:: + connection_post (Type const&) + { + } -void ComponentAssemblyDescription:: -post (Type const&) -{ -} + void ComponentAssemblyDescription:: + connection_none (Type&) + { + } -// MonolithicImplementationDescription -// -// + void ComponentAssemblyDescription:: + connection_none (Type const&) + { + } -void MonolithicImplementationDescription:: -traverse (Type& o) -{ -pre (o); -nodeExecParameter (o); -componentExecParameter (o); -deployRequirement (o); -primaryArtifact (o); -post (o); -} + void ComponentAssemblyDescription:: + externalProperty (Type& o) + { + // VC6 anathema strikes again + // + ComponentAssemblyDescription::Type::externalProperty_iterator b (o.begin_externalProperty()), e (o.end_externalProperty()); -void MonolithicImplementationDescription:: -traverse (Type const& o) -{ -pre (o); -nodeExecParameter (o); -componentExecParameter (o); -deployRequirement (o); -primaryArtifact (o); -post (o); -} + if (b != e) + { + externalProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) externalProperty_next (o); + } + + externalProperty_post (o); + } -void MonolithicImplementationDescription:: -pre (Type&) -{ -} + else externalProperty_none (o); + } -void MonolithicImplementationDescription:: -pre (Type const&) -{ -} + void ComponentAssemblyDescription:: + externalProperty (Type const& o) + { + // VC6 anathema strikes again + // + ComponentAssemblyDescription::Type::externalProperty_const_iterator b (o.begin_externalProperty()), e (o.end_externalProperty()); -void MonolithicImplementationDescription:: -nodeExecParameter (Type& o) -{ -// VC6 anathema strikes again -// -MonolithicImplementationDescription::Type::nodeExecParameter_iterator b (o.begin_nodeExecParameter()), e (o.end_nodeExecParameter()); + if (b != e) + { + externalProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) externalProperty_next (o); + } + + externalProperty_post (o); + } -if (b != e) -{ -nodeExecParameter_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) nodeExecParameter_next (o); -} + else externalProperty_none (o); + } -nodeExecParameter_post (o); -} + void ComponentAssemblyDescription:: + externalProperty_pre (Type&) + { + } -else nodeExecParameter_none (o); -} + void ComponentAssemblyDescription:: + externalProperty_pre (Type const&) + { + } -void MonolithicImplementationDescription:: -nodeExecParameter (Type const& o) -{ -// VC6 anathema strikes again -// -MonolithicImplementationDescription::Type::nodeExecParameter_const_iterator b (o.begin_nodeExecParameter()), e (o.end_nodeExecParameter()); + void ComponentAssemblyDescription:: + externalProperty_next (Type&) + { + } -if (b != e) -{ -nodeExecParameter_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) nodeExecParameter_next (o); -} + void ComponentAssemblyDescription:: + externalProperty_next (Type const&) + { + } -nodeExecParameter_post (o); -} + void ComponentAssemblyDescription:: + externalProperty_post (Type&) + { + } -else nodeExecParameter_none (o); -} + void ComponentAssemblyDescription:: + externalProperty_post (Type const&) + { + } -void MonolithicImplementationDescription:: -nodeExecParameter_pre (Type&) -{ -} + void ComponentAssemblyDescription:: + externalProperty_none (Type&) + { + } -void MonolithicImplementationDescription:: -nodeExecParameter_pre (Type const&) -{ -} + void ComponentAssemblyDescription:: + externalProperty_none (Type const&) + { + } -void MonolithicImplementationDescription:: -nodeExecParameter_next (Type&) -{ -} + void ComponentAssemblyDescription:: + post (Type&) + { + } -void MonolithicImplementationDescription:: -nodeExecParameter_next (Type const&) -{ -} + void ComponentAssemblyDescription:: + post (Type const&) + { + } -void MonolithicImplementationDescription:: -nodeExecParameter_post (Type&) -{ -} + // MonolithicImplementationDescription + // + // -void MonolithicImplementationDescription:: -nodeExecParameter_post (Type const&) -{ -} + void MonolithicImplementationDescription:: + traverse (Type& o) + { + pre (o); + nodeExecParameter (o); + componentExecParameter (o); + deployRequirement (o); + primaryArtifact (o); + post (o); + } -void MonolithicImplementationDescription:: -nodeExecParameter_none (Type&) -{ -} + void MonolithicImplementationDescription:: + traverse (Type const& o) + { + pre (o); + nodeExecParameter (o); + componentExecParameter (o); + deployRequirement (o); + primaryArtifact (o); + post (o); + } -void MonolithicImplementationDescription:: -nodeExecParameter_none (Type const&) -{ -} + void MonolithicImplementationDescription:: + pre (Type&) + { + } -void MonolithicImplementationDescription:: -componentExecParameter (Type& o) -{ -// VC6 anathema strikes again -// -MonolithicImplementationDescription::Type::componentExecParameter_iterator b (o.begin_componentExecParameter()), e (o.end_componentExecParameter()); + void MonolithicImplementationDescription:: + pre (Type const&) + { + } -if (b != e) -{ -componentExecParameter_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) componentExecParameter_next (o); -} + void MonolithicImplementationDescription:: + nodeExecParameter (Type& o) + { + // VC6 anathema strikes again + // + MonolithicImplementationDescription::Type::nodeExecParameter_iterator b (o.begin_nodeExecParameter()), e (o.end_nodeExecParameter()); -componentExecParameter_post (o); -} + if (b != e) + { + nodeExecParameter_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) nodeExecParameter_next (o); + } + + nodeExecParameter_post (o); + } -else componentExecParameter_none (o); -} + else nodeExecParameter_none (o); + } -void MonolithicImplementationDescription:: -componentExecParameter (Type const& o) -{ -// VC6 anathema strikes again -// -MonolithicImplementationDescription::Type::componentExecParameter_const_iterator b (o.begin_componentExecParameter()), e (o.end_componentExecParameter()); + void MonolithicImplementationDescription:: + nodeExecParameter (Type const& o) + { + // VC6 anathema strikes again + // + MonolithicImplementationDescription::Type::nodeExecParameter_const_iterator b (o.begin_nodeExecParameter()), e (o.end_nodeExecParameter()); -if (b != e) -{ -componentExecParameter_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) componentExecParameter_next (o); -} + if (b != e) + { + nodeExecParameter_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) nodeExecParameter_next (o); + } + + nodeExecParameter_post (o); + } -componentExecParameter_post (o); -} + else nodeExecParameter_none (o); + } -else componentExecParameter_none (o); -} + void MonolithicImplementationDescription:: + nodeExecParameter_pre (Type&) + { + } -void MonolithicImplementationDescription:: -componentExecParameter_pre (Type&) -{ -} + void MonolithicImplementationDescription:: + nodeExecParameter_pre (Type const&) + { + } -void MonolithicImplementationDescription:: -componentExecParameter_pre (Type const&) -{ -} + void MonolithicImplementationDescription:: + nodeExecParameter_next (Type&) + { + } -void MonolithicImplementationDescription:: -componentExecParameter_next (Type&) -{ -} + void MonolithicImplementationDescription:: + nodeExecParameter_next (Type const&) + { + } -void MonolithicImplementationDescription:: -componentExecParameter_next (Type const&) -{ -} + void MonolithicImplementationDescription:: + nodeExecParameter_post (Type&) + { + } -void MonolithicImplementationDescription:: -componentExecParameter_post (Type&) -{ -} + void MonolithicImplementationDescription:: + nodeExecParameter_post (Type const&) + { + } -void MonolithicImplementationDescription:: -componentExecParameter_post (Type const&) -{ -} + void MonolithicImplementationDescription:: + nodeExecParameter_none (Type&) + { + } -void MonolithicImplementationDescription:: -componentExecParameter_none (Type&) -{ -} + void MonolithicImplementationDescription:: + nodeExecParameter_none (Type const&) + { + } -void MonolithicImplementationDescription:: -componentExecParameter_none (Type const&) -{ -} + void MonolithicImplementationDescription:: + componentExecParameter (Type& o) + { + // VC6 anathema strikes again + // + MonolithicImplementationDescription::Type::componentExecParameter_iterator b (o.begin_componentExecParameter()), e (o.end_componentExecParameter()); -void MonolithicImplementationDescription:: -deployRequirement (Type& o) -{ -// VC6 anathema strikes again -// -MonolithicImplementationDescription::Type::deployRequirement_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); + if (b != e) + { + componentExecParameter_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) componentExecParameter_next (o); + } + + componentExecParameter_post (o); + } -if (b != e) -{ -deployRequirement_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) deployRequirement_next (o); -} + else componentExecParameter_none (o); + } -deployRequirement_post (o); -} + void MonolithicImplementationDescription:: + componentExecParameter (Type const& o) + { + // VC6 anathema strikes again + // + MonolithicImplementationDescription::Type::componentExecParameter_const_iterator b (o.begin_componentExecParameter()), e (o.end_componentExecParameter()); -else deployRequirement_none (o); -} + if (b != e) + { + componentExecParameter_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) componentExecParameter_next (o); + } + + componentExecParameter_post (o); + } -void MonolithicImplementationDescription:: -deployRequirement (Type const& o) -{ -// VC6 anathema strikes again -// -MonolithicImplementationDescription::Type::deployRequirement_const_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); + else componentExecParameter_none (o); + } -if (b != e) -{ -deployRequirement_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) deployRequirement_next (o); -} + void MonolithicImplementationDescription:: + componentExecParameter_pre (Type&) + { + } -deployRequirement_post (o); -} + void MonolithicImplementationDescription:: + componentExecParameter_pre (Type const&) + { + } -else deployRequirement_none (o); -} + void MonolithicImplementationDescription:: + componentExecParameter_next (Type&) + { + } -void MonolithicImplementationDescription:: -deployRequirement_pre (Type&) -{ -} + void MonolithicImplementationDescription:: + componentExecParameter_next (Type const&) + { + } -void MonolithicImplementationDescription:: -deployRequirement_pre (Type const&) -{ -} + void MonolithicImplementationDescription:: + componentExecParameter_post (Type&) + { + } -void MonolithicImplementationDescription:: -deployRequirement_next (Type&) -{ -} + void MonolithicImplementationDescription:: + componentExecParameter_post (Type const&) + { + } -void MonolithicImplementationDescription:: -deployRequirement_next (Type const&) -{ -} + void MonolithicImplementationDescription:: + componentExecParameter_none (Type&) + { + } -void MonolithicImplementationDescription:: -deployRequirement_post (Type&) -{ -} + void MonolithicImplementationDescription:: + componentExecParameter_none (Type const&) + { + } -void MonolithicImplementationDescription:: -deployRequirement_post (Type const&) -{ -} + void MonolithicImplementationDescription:: + deployRequirement (Type& o) + { + // VC6 anathema strikes again + // + MonolithicImplementationDescription::Type::deployRequirement_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); -void MonolithicImplementationDescription:: -deployRequirement_none (Type&) -{ -} + if (b != e) + { + deployRequirement_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) deployRequirement_next (o); + } + + deployRequirement_post (o); + } -void MonolithicImplementationDescription:: -deployRequirement_none (Type const&) -{ -} + else deployRequirement_none (o); + } -void MonolithicImplementationDescription:: -primaryArtifact (Type& o) -{ -// VC6 anathema strikes again -// -MonolithicImplementationDescription::Type::primaryArtifact_iterator b (o.begin_primaryArtifact()), e (o.end_primaryArtifact()); + void MonolithicImplementationDescription:: + deployRequirement (Type const& o) + { + // VC6 anathema strikes again + // + MonolithicImplementationDescription::Type::deployRequirement_const_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); -if (b != e) -{ -primaryArtifact_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) primaryArtifact_next (o); -} + if (b != e) + { + deployRequirement_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) deployRequirement_next (o); + } + + deployRequirement_post (o); + } -primaryArtifact_post (o); -} -} + else deployRequirement_none (o); + } -void MonolithicImplementationDescription:: -primaryArtifact (Type const& o) -{ -// VC6 anathema strikes again -// -MonolithicImplementationDescription::Type::primaryArtifact_const_iterator b (o.begin_primaryArtifact()), e (o.end_primaryArtifact()); + void MonolithicImplementationDescription:: + deployRequirement_pre (Type&) + { + } -if (b != e) -{ -primaryArtifact_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) primaryArtifact_next (o); -} + void MonolithicImplementationDescription:: + deployRequirement_pre (Type const&) + { + } -primaryArtifact_post (o); -} -} + void MonolithicImplementationDescription:: + deployRequirement_next (Type&) + { + } -void MonolithicImplementationDescription:: -primaryArtifact_pre (Type&) -{ -} + void MonolithicImplementationDescription:: + deployRequirement_next (Type const&) + { + } -void MonolithicImplementationDescription:: -primaryArtifact_pre (Type const&) -{ -} + void MonolithicImplementationDescription:: + deployRequirement_post (Type&) + { + } -void MonolithicImplementationDescription:: -primaryArtifact_next (Type&) -{ -} + void MonolithicImplementationDescription:: + deployRequirement_post (Type const&) + { + } -void MonolithicImplementationDescription:: -primaryArtifact_next (Type const&) -{ -} + void MonolithicImplementationDescription:: + deployRequirement_none (Type&) + { + } -void MonolithicImplementationDescription:: -primaryArtifact_post (Type&) -{ -} + void MonolithicImplementationDescription:: + deployRequirement_none (Type const&) + { + } -void MonolithicImplementationDescription:: -primaryArtifact_post (Type const&) -{ -} + void MonolithicImplementationDescription:: + primaryArtifact (Type& o) + { + // VC6 anathema strikes again + // + MonolithicImplementationDescription::Type::primaryArtifact_iterator b (o.begin_primaryArtifact()), e (o.end_primaryArtifact()); -void MonolithicImplementationDescription:: -post (Type&) -{ -} + if (b != e) + { + primaryArtifact_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) primaryArtifact_next (o); + } + + primaryArtifact_post (o); + } + } -void MonolithicImplementationDescription:: -post (Type const&) -{ -} + void MonolithicImplementationDescription:: + primaryArtifact (Type const& o) + { + // VC6 anathema strikes again + // + MonolithicImplementationDescription::Type::primaryArtifact_const_iterator b (o.begin_primaryArtifact()), e (o.end_primaryArtifact()); -// ComponentImplementationDescription -// -// + if (b != e) + { + primaryArtifact_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) primaryArtifact_next (o); + } + + primaryArtifact_post (o); + } + } -void ComponentImplementationDescription:: -traverse (Type& o) -{ -pre (o); -if (o.label_p ()) label (o); -else label_none (o); -if (o.UUID_p ()) UUID (o); -else UUID_none (o); -if (o.implements_p ()) implements (o); -else implements_none (o); -if (o.assemblyImpl_p ()) assemblyImpl (o); -else assemblyImpl_none (o); -if (o.monolithicImpl_p ()) monolithicImpl (o); -else monolithicImpl_none (o); -configProperty (o); -capability (o); -dependsOn (o); -infoProperty (o); -if (o.contentLocation_p ()) contentLocation (o); -else contentLocation_none (o); -if (o.href_p ()) href (o); -else href_none (o); -post (o); -} + void MonolithicImplementationDescription:: + primaryArtifact_pre (Type&) + { + } -void ComponentImplementationDescription:: -traverse (Type const& o) -{ -pre (o); -if (o.label_p ()) label (o); -else label_none (o); -if (o.UUID_p ()) UUID (o); -else UUID_none (o); -if (o.implements_p ()) implements (o); -else implements_none (o); -if (o.assemblyImpl_p ()) assemblyImpl (o); -else assemblyImpl_none (o); -if (o.monolithicImpl_p ()) monolithicImpl (o); -else monolithicImpl_none (o); -configProperty (o); -capability (o); -dependsOn (o); -infoProperty (o); -if (o.contentLocation_p ()) contentLocation (o); -else contentLocation_none (o); -if (o.href_p ()) href (o); -else href_none (o); -post (o); -} + void MonolithicImplementationDescription:: + primaryArtifact_pre (Type const&) + { + } -void ComponentImplementationDescription:: -pre (Type&) -{ -} + void MonolithicImplementationDescription:: + primaryArtifact_next (Type&) + { + } -void ComponentImplementationDescription:: -pre (Type const&) -{ -} + void MonolithicImplementationDescription:: + primaryArtifact_next (Type const&) + { + } -void ComponentImplementationDescription:: -label (Type& o) -{ -dispatch (o.label ()); -} + void MonolithicImplementationDescription:: + primaryArtifact_post (Type&) + { + } -void ComponentImplementationDescription:: -label (Type const& o) -{ -dispatch (o.label ()); -} + void MonolithicImplementationDescription:: + primaryArtifact_post (Type const&) + { + } -void ComponentImplementationDescription:: -label_none (Type&) -{ -} + void MonolithicImplementationDescription:: + post (Type&) + { + } -void ComponentImplementationDescription:: -label_none (Type const&) -{ -} + void MonolithicImplementationDescription:: + post (Type const&) + { + } -void ComponentImplementationDescription:: -UUID (Type& o) -{ -dispatch (o.UUID ()); -} + // ComponentImplementationDescription + // + // -void ComponentImplementationDescription:: -UUID (Type const& o) -{ -dispatch (o.UUID ()); -} + void ComponentImplementationDescription:: + traverse (Type& o) + { + pre (o); + if (o.label_p ()) label (o); + else label_none (o); + if (o.UUID_p ()) UUID (o); + else UUID_none (o); + if (o.implements_p ()) implements (o); + else implements_none (o); + if (o.assemblyImpl_p ()) assemblyImpl (o); + else assemblyImpl_none (o); + if (o.monolithicImpl_p ()) monolithicImpl (o); + else monolithicImpl_none (o); + configProperty (o); + capability (o); + dependsOn (o); + infoProperty (o); + if (o.contentLocation_p ()) contentLocation (o); + else contentLocation_none (o); + if (o.href_p ()) href (o); + else href_none (o); + post (o); + } -void ComponentImplementationDescription:: -UUID_none (Type&) -{ -} + void ComponentImplementationDescription:: + traverse (Type const& o) + { + pre (o); + if (o.label_p ()) label (o); + else label_none (o); + if (o.UUID_p ()) UUID (o); + else UUID_none (o); + if (o.implements_p ()) implements (o); + else implements_none (o); + if (o.assemblyImpl_p ()) assemblyImpl (o); + else assemblyImpl_none (o); + if (o.monolithicImpl_p ()) monolithicImpl (o); + else monolithicImpl_none (o); + configProperty (o); + capability (o); + dependsOn (o); + infoProperty (o); + if (o.contentLocation_p ()) contentLocation (o); + else contentLocation_none (o); + if (o.href_p ()) href (o); + else href_none (o); + post (o); + } -void ComponentImplementationDescription:: -UUID_none (Type const&) -{ -} + void ComponentImplementationDescription:: + pre (Type&) + { + } -void ComponentImplementationDescription:: -implements (Type& o) -{ -dispatch (o.implements ()); -} + void ComponentImplementationDescription:: + pre (Type const&) + { + } -void ComponentImplementationDescription:: -implements (Type const& o) -{ -dispatch (o.implements ()); -} + void ComponentImplementationDescription:: + label (Type& o) + { + dispatch (o.label ()); + } -void ComponentImplementationDescription:: -implements_none (Type&) -{ -} + void ComponentImplementationDescription:: + label (Type const& o) + { + dispatch (o.label ()); + } -void ComponentImplementationDescription:: -implements_none (Type const&) -{ -} + void ComponentImplementationDescription:: + label_none (Type&) + { + } -void ComponentImplementationDescription:: -assemblyImpl (Type& o) -{ -dispatch (o.assemblyImpl ()); -} + void ComponentImplementationDescription:: + label_none (Type const&) + { + } -void ComponentImplementationDescription:: -assemblyImpl (Type const& o) -{ -dispatch (o.assemblyImpl ()); -} + void ComponentImplementationDescription:: + UUID (Type& o) + { + dispatch (o.UUID ()); + } -void ComponentImplementationDescription:: -assemblyImpl_none (Type&) -{ -} + void ComponentImplementationDescription:: + UUID (Type const& o) + { + dispatch (o.UUID ()); + } -void ComponentImplementationDescription:: -assemblyImpl_none (Type const&) -{ -} + void ComponentImplementationDescription:: + UUID_none (Type&) + { + } -void ComponentImplementationDescription:: -monolithicImpl (Type& o) -{ -dispatch (o.monolithicImpl ()); -} + void ComponentImplementationDescription:: + UUID_none (Type const&) + { + } -void ComponentImplementationDescription:: -monolithicImpl (Type const& o) -{ -dispatch (o.monolithicImpl ()); -} + void ComponentImplementationDescription:: + implements (Type& o) + { + dispatch (o.implements ()); + } -void ComponentImplementationDescription:: -monolithicImpl_none (Type&) -{ -} + void ComponentImplementationDescription:: + implements (Type const& o) + { + dispatch (o.implements ()); + } -void ComponentImplementationDescription:: -monolithicImpl_none (Type const&) -{ -} + void ComponentImplementationDescription:: + implements_none (Type&) + { + } -void ComponentImplementationDescription:: -configProperty (Type& o) -{ -// VC6 anathema strikes again -// -ComponentImplementationDescription::Type::configProperty_iterator b (o.begin_configProperty()), e (o.end_configProperty()); + void ComponentImplementationDescription:: + implements_none (Type const&) + { + } -if (b != e) -{ -configProperty_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) configProperty_next (o); -} + void ComponentImplementationDescription:: + assemblyImpl (Type& o) + { + dispatch (o.assemblyImpl ()); + } -configProperty_post (o); -} + void ComponentImplementationDescription:: + assemblyImpl (Type const& o) + { + dispatch (o.assemblyImpl ()); + } -else configProperty_none (o); -} + void ComponentImplementationDescription:: + assemblyImpl_none (Type&) + { + } -void ComponentImplementationDescription:: -configProperty (Type const& o) -{ -// VC6 anathema strikes again -// -ComponentImplementationDescription::Type::configProperty_const_iterator b (o.begin_configProperty()), e (o.end_configProperty()); + void ComponentImplementationDescription:: + assemblyImpl_none (Type const&) + { + } -if (b != e) -{ -configProperty_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) configProperty_next (o); -} + void ComponentImplementationDescription:: + monolithicImpl (Type& o) + { + dispatch (o.monolithicImpl ()); + } -configProperty_post (o); -} + void ComponentImplementationDescription:: + monolithicImpl (Type const& o) + { + dispatch (o.monolithicImpl ()); + } -else configProperty_none (o); -} + void ComponentImplementationDescription:: + monolithicImpl_none (Type&) + { + } -void ComponentImplementationDescription:: -configProperty_pre (Type&) -{ -} + void ComponentImplementationDescription:: + monolithicImpl_none (Type const&) + { + } -void ComponentImplementationDescription:: -configProperty_pre (Type const&) -{ -} + void ComponentImplementationDescription:: + configProperty (Type& o) + { + // VC6 anathema strikes again + // + ComponentImplementationDescription::Type::configProperty_iterator b (o.begin_configProperty()), e (o.end_configProperty()); -void ComponentImplementationDescription:: -configProperty_next (Type&) -{ -} + if (b != e) + { + configProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) configProperty_next (o); + } + + configProperty_post (o); + } -void ComponentImplementationDescription:: -configProperty_next (Type const&) -{ -} + else configProperty_none (o); + } -void ComponentImplementationDescription:: -configProperty_post (Type&) -{ -} + void ComponentImplementationDescription:: + configProperty (Type const& o) + { + // VC6 anathema strikes again + // + ComponentImplementationDescription::Type::configProperty_const_iterator b (o.begin_configProperty()), e (o.end_configProperty()); -void ComponentImplementationDescription:: -configProperty_post (Type const&) -{ -} + if (b != e) + { + configProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) configProperty_next (o); + } + + configProperty_post (o); + } -void ComponentImplementationDescription:: -configProperty_none (Type&) -{ -} + else configProperty_none (o); + } -void ComponentImplementationDescription:: -configProperty_none (Type const&) -{ -} + void ComponentImplementationDescription:: + configProperty_pre (Type&) + { + } -void ComponentImplementationDescription:: -capability (Type& o) -{ -// VC6 anathema strikes again -// -ComponentImplementationDescription::Type::capability_iterator b (o.begin_capability()), e (o.end_capability()); + void ComponentImplementationDescription:: + configProperty_pre (Type const&) + { + } -if (b != e) -{ -capability_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) capability_next (o); -} + void ComponentImplementationDescription:: + configProperty_next (Type&) + { + } -capability_post (o); -} + void ComponentImplementationDescription:: + configProperty_next (Type const&) + { + } -else capability_none (o); -} + void ComponentImplementationDescription:: + configProperty_post (Type&) + { + } -void ComponentImplementationDescription:: -capability (Type const& o) -{ -// VC6 anathema strikes again -// -ComponentImplementationDescription::Type::capability_const_iterator b (o.begin_capability()), e (o.end_capability()); + void ComponentImplementationDescription:: + configProperty_post (Type const&) + { + } -if (b != e) -{ -capability_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) capability_next (o); -} + void ComponentImplementationDescription:: + configProperty_none (Type&) + { + } -capability_post (o); -} + void ComponentImplementationDescription:: + configProperty_none (Type const&) + { + } -else capability_none (o); -} + void ComponentImplementationDescription:: + capability (Type& o) + { + // VC6 anathema strikes again + // + ComponentImplementationDescription::Type::capability_iterator b (o.begin_capability()), e (o.end_capability()); -void ComponentImplementationDescription:: -capability_pre (Type&) -{ -} + if (b != e) + { + capability_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) capability_next (o); + } + + capability_post (o); + } -void ComponentImplementationDescription:: -capability_pre (Type const&) -{ -} + else capability_none (o); + } -void ComponentImplementationDescription:: -capability_next (Type&) -{ -} + void ComponentImplementationDescription:: + capability (Type const& o) + { + // VC6 anathema strikes again + // + ComponentImplementationDescription::Type::capability_const_iterator b (o.begin_capability()), e (o.end_capability()); -void ComponentImplementationDescription:: -capability_next (Type const&) -{ -} + if (b != e) + { + capability_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) capability_next (o); + } + + capability_post (o); + } -void ComponentImplementationDescription:: -capability_post (Type&) -{ -} + else capability_none (o); + } -void ComponentImplementationDescription:: -capability_post (Type const&) -{ -} + void ComponentImplementationDescription:: + capability_pre (Type&) + { + } -void ComponentImplementationDescription:: -capability_none (Type&) -{ -} + void ComponentImplementationDescription:: + capability_pre (Type const&) + { + } -void ComponentImplementationDescription:: -capability_none (Type const&) -{ -} + void ComponentImplementationDescription:: + capability_next (Type&) + { + } -void ComponentImplementationDescription:: -dependsOn (Type& o) -{ -// VC6 anathema strikes again -// -ComponentImplementationDescription::Type::dependsOn_iterator b (o.begin_dependsOn()), e (o.end_dependsOn()); + void ComponentImplementationDescription:: + capability_next (Type const&) + { + } -if (b != e) -{ -dependsOn_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) dependsOn_next (o); -} + void ComponentImplementationDescription:: + capability_post (Type&) + { + } -dependsOn_post (o); -} + void ComponentImplementationDescription:: + capability_post (Type const&) + { + } -else dependsOn_none (o); -} + void ComponentImplementationDescription:: + capability_none (Type&) + { + } -void ComponentImplementationDescription:: -dependsOn (Type const& o) -{ -// VC6 anathema strikes again -// -ComponentImplementationDescription::Type::dependsOn_const_iterator b (o.begin_dependsOn()), e (o.end_dependsOn()); + void ComponentImplementationDescription:: + capability_none (Type const&) + { + } -if (b != e) -{ -dependsOn_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) dependsOn_next (o); -} + void ComponentImplementationDescription:: + dependsOn (Type& o) + { + // VC6 anathema strikes again + // + ComponentImplementationDescription::Type::dependsOn_iterator b (o.begin_dependsOn()), e (o.end_dependsOn()); -dependsOn_post (o); -} + if (b != e) + { + dependsOn_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) dependsOn_next (o); + } + + dependsOn_post (o); + } -else dependsOn_none (o); -} + else dependsOn_none (o); + } -void ComponentImplementationDescription:: -dependsOn_pre (Type&) -{ -} + void ComponentImplementationDescription:: + dependsOn (Type const& o) + { + // VC6 anathema strikes again + // + ComponentImplementationDescription::Type::dependsOn_const_iterator b (o.begin_dependsOn()), e (o.end_dependsOn()); -void ComponentImplementationDescription:: -dependsOn_pre (Type const&) -{ -} + if (b != e) + { + dependsOn_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) dependsOn_next (o); + } + + dependsOn_post (o); + } -void ComponentImplementationDescription:: -dependsOn_next (Type&) -{ -} + else dependsOn_none (o); + } -void ComponentImplementationDescription:: -dependsOn_next (Type const&) -{ -} + void ComponentImplementationDescription:: + dependsOn_pre (Type&) + { + } -void ComponentImplementationDescription:: -dependsOn_post (Type&) -{ -} + void ComponentImplementationDescription:: + dependsOn_pre (Type const&) + { + } -void ComponentImplementationDescription:: -dependsOn_post (Type const&) -{ -} + void ComponentImplementationDescription:: + dependsOn_next (Type&) + { + } -void ComponentImplementationDescription:: -dependsOn_none (Type&) -{ -} + void ComponentImplementationDescription:: + dependsOn_next (Type const&) + { + } -void ComponentImplementationDescription:: -dependsOn_none (Type const&) -{ -} + void ComponentImplementationDescription:: + dependsOn_post (Type&) + { + } -void ComponentImplementationDescription:: -infoProperty (Type& o) -{ -// VC6 anathema strikes again -// -ComponentImplementationDescription::Type::infoProperty_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); + void ComponentImplementationDescription:: + dependsOn_post (Type const&) + { + } -if (b != e) -{ -infoProperty_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) infoProperty_next (o); -} + void ComponentImplementationDescription:: + dependsOn_none (Type&) + { + } -infoProperty_post (o); -} + void ComponentImplementationDescription:: + dependsOn_none (Type const&) + { + } -else infoProperty_none (o); -} + void ComponentImplementationDescription:: + infoProperty (Type& o) + { + // VC6 anathema strikes again + // + ComponentImplementationDescription::Type::infoProperty_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); -void ComponentImplementationDescription:: -infoProperty (Type const& o) -{ -// VC6 anathema strikes again -// -ComponentImplementationDescription::Type::infoProperty_const_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); + if (b != e) + { + infoProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) infoProperty_next (o); + } + + infoProperty_post (o); + } -if (b != e) -{ -infoProperty_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) infoProperty_next (o); -} + else infoProperty_none (o); + } -infoProperty_post (o); -} + void ComponentImplementationDescription:: + infoProperty (Type const& o) + { + // VC6 anathema strikes again + // + ComponentImplementationDescription::Type::infoProperty_const_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); -else infoProperty_none (o); -} + if (b != e) + { + infoProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) infoProperty_next (o); + } + + infoProperty_post (o); + } -void ComponentImplementationDescription:: -infoProperty_pre (Type&) -{ -} + else infoProperty_none (o); + } -void ComponentImplementationDescription:: -infoProperty_pre (Type const&) -{ -} + void ComponentImplementationDescription:: + infoProperty_pre (Type&) + { + } -void ComponentImplementationDescription:: -infoProperty_next (Type&) -{ -} + void ComponentImplementationDescription:: + infoProperty_pre (Type const&) + { + } -void ComponentImplementationDescription:: -infoProperty_next (Type const&) -{ -} + void ComponentImplementationDescription:: + infoProperty_next (Type&) + { + } -void ComponentImplementationDescription:: -infoProperty_post (Type&) -{ -} + void ComponentImplementationDescription:: + infoProperty_next (Type const&) + { + } -void ComponentImplementationDescription:: -infoProperty_post (Type const&) -{ -} + void ComponentImplementationDescription:: + infoProperty_post (Type&) + { + } -void ComponentImplementationDescription:: -infoProperty_none (Type&) -{ -} + void ComponentImplementationDescription:: + infoProperty_post (Type const&) + { + } -void ComponentImplementationDescription:: -infoProperty_none (Type const&) -{ -} + void ComponentImplementationDescription:: + infoProperty_none (Type&) + { + } -void ComponentImplementationDescription:: -contentLocation (Type& o) -{ -dispatch (o.contentLocation ()); -} + void ComponentImplementationDescription:: + infoProperty_none (Type const&) + { + } -void ComponentImplementationDescription:: -contentLocation (Type const& o) -{ -dispatch (o.contentLocation ()); -} + void ComponentImplementationDescription:: + contentLocation (Type& o) + { + dispatch (o.contentLocation ()); + } -void ComponentImplementationDescription:: -contentLocation_none (Type&) -{ -} + void ComponentImplementationDescription:: + contentLocation (Type const& o) + { + dispatch (o.contentLocation ()); + } -void ComponentImplementationDescription:: -contentLocation_none (Type const&) -{ -} + void ComponentImplementationDescription:: + contentLocation_none (Type&) + { + } -void ComponentImplementationDescription:: -href (Type& o) -{ -dispatch (o.href ()); -} + void ComponentImplementationDescription:: + contentLocation_none (Type const&) + { + } -void ComponentImplementationDescription:: -href (Type const& o) -{ -dispatch (o.href ()); -} + void ComponentImplementationDescription:: + href (Type& o) + { + dispatch (o.href ()); + } -void ComponentImplementationDescription:: -href_none (Type&) -{ -} + void ComponentImplementationDescription:: + href (Type const& o) + { + dispatch (o.href ()); + } -void ComponentImplementationDescription:: -href_none (Type const&) -{ -} + void ComponentImplementationDescription:: + href_none (Type&) + { + } -void ComponentImplementationDescription:: -post (Type&) -{ -} + void ComponentImplementationDescription:: + href_none (Type const&) + { + } -void ComponentImplementationDescription:: -post (Type const&) -{ -} -} -} + void ComponentImplementationDescription:: + post (Type&) + { + } + + void ComponentImplementationDescription:: + post (Type const&) + { + } + } + } } namespace CIAO { -namespace Config_Handlers -{ -namespace Writer -{ -// SubcomponentInstantiationDescription -// -// + namespace Config_Handlers + { + namespace Writer + { + // SubcomponentInstantiationDescription + // + // -SubcomponentInstantiationDescription:: -SubcomponentInstantiationDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + SubcomponentInstantiationDescription:: + SubcomponentInstantiationDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -SubcomponentInstantiationDescription:: -SubcomponentInstantiationDescription () -{ -} + SubcomponentInstantiationDescription:: + SubcomponentInstantiationDescription () + { + } -void SubcomponentInstantiationDescription:: -traverse (Type const& o) -{ -Traversal::SubcomponentInstantiationDescription::traverse (o); -} + void SubcomponentInstantiationDescription:: + traverse (Type const& o) + { + Traversal::SubcomponentInstantiationDescription::traverse (o); + } -void SubcomponentInstantiationDescription:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::SubcomponentInstantiationDescription::name (o); -pop_ (); -} + void SubcomponentInstantiationDescription:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::SubcomponentInstantiationDescription::name (o); + pop_ (); + } -void SubcomponentInstantiationDescription:: -basePackage (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("basePackage", top_ ())); -Traversal::SubcomponentInstantiationDescription::basePackage (o); -pop_ (); -} + void SubcomponentInstantiationDescription:: + basePackage (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("basePackage", top_ ())); + Traversal::SubcomponentInstantiationDescription::basePackage (o); + pop_ (); + } -void SubcomponentInstantiationDescription:: -specializedConfig (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("specializedConfig", top_ ())); -Traversal::SubcomponentInstantiationDescription::specializedConfig (o); -pop_ (); -} + void SubcomponentInstantiationDescription:: + specializedConfig (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("specializedConfig", top_ ())); + Traversal::SubcomponentInstantiationDescription::specializedConfig (o); + pop_ (); + } -void SubcomponentInstantiationDescription:: -selectRequirement_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("selectRequirement", top_ ())); -} + void SubcomponentInstantiationDescription:: + selectRequirement_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("selectRequirement", top_ ())); + } -void SubcomponentInstantiationDescription:: -selectRequirement_next (Type const& o) -{ -selectRequirement_post (o); -selectRequirement_pre (o); -} + void SubcomponentInstantiationDescription:: + selectRequirement_next (Type const& o) + { + selectRequirement_post (o); + selectRequirement_pre (o); + } -void SubcomponentInstantiationDescription:: -selectRequirement_post (Type const&) -{ -pop_ (); -} + void SubcomponentInstantiationDescription:: + selectRequirement_post (Type const&) + { + pop_ (); + } -void SubcomponentInstantiationDescription:: -configProperty_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("configProperty", top_ ())); -} + void SubcomponentInstantiationDescription:: + configProperty_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("configProperty", top_ ())); + } -void SubcomponentInstantiationDescription:: -configProperty_next (Type const& o) -{ -configProperty_post (o); -configProperty_pre (o); -} + void SubcomponentInstantiationDescription:: + configProperty_next (Type const& o) + { + configProperty_post (o); + configProperty_pre (o); + } -void SubcomponentInstantiationDescription:: -configProperty_post (Type const&) -{ -pop_ (); -} + void SubcomponentInstantiationDescription:: + configProperty_post (Type const&) + { + pop_ (); + } -void SubcomponentInstantiationDescription:: -referencedPackage (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("referencedPackage", top_ ())); -Traversal::SubcomponentInstantiationDescription::referencedPackage (o); -pop_ (); -} + void SubcomponentInstantiationDescription:: + referencedPackage (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("referencedPackage", top_ ())); + Traversal::SubcomponentInstantiationDescription::referencedPackage (o); + pop_ (); + } -void SubcomponentInstantiationDescription:: -importedPackage (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("importedPackage", top_ ())); -Traversal::SubcomponentInstantiationDescription::importedPackage (o); -pop_ (); -} + void SubcomponentInstantiationDescription:: + importedPackage (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("importedPackage", top_ ())); + Traversal::SubcomponentInstantiationDescription::importedPackage (o); + pop_ (); + } -void SubcomponentInstantiationDescription:: -id (Type const& o) -{ -::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ()); -attr_ (&a); -Traversal::SubcomponentInstantiationDescription::id (o); -attr_ (0); -} + void SubcomponentInstantiationDescription:: + id (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ()); + attr_ (&a); + Traversal::SubcomponentInstantiationDescription::id (o); + attr_ (0); + } -// SubcomponentPropertyReference -// -// + // SubcomponentPropertyReference + // + // -SubcomponentPropertyReference:: -SubcomponentPropertyReference (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + SubcomponentPropertyReference:: + SubcomponentPropertyReference (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -SubcomponentPropertyReference:: -SubcomponentPropertyReference () -{ -} + SubcomponentPropertyReference:: + SubcomponentPropertyReference () + { + } -void SubcomponentPropertyReference:: -traverse (Type const& o) -{ -Traversal::SubcomponentPropertyReference::traverse (o); -} + void SubcomponentPropertyReference:: + traverse (Type const& o) + { + Traversal::SubcomponentPropertyReference::traverse (o); + } -void SubcomponentPropertyReference:: -propertyName (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("propertyName", top_ ())); -Traversal::SubcomponentPropertyReference::propertyName (o); -pop_ (); -} + void SubcomponentPropertyReference:: + propertyName (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("propertyName", top_ ())); + Traversal::SubcomponentPropertyReference::propertyName (o); + pop_ (); + } -void SubcomponentPropertyReference:: -instance (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("instance", top_ ())); -Traversal::SubcomponentPropertyReference::instance (o); -pop_ (); -} + void SubcomponentPropertyReference:: + instance (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("instance", top_ ())); + Traversal::SubcomponentPropertyReference::instance (o); + pop_ (); + } -// AssemblyPropertyMapping -// -// + // AssemblyPropertyMapping + // + // -AssemblyPropertyMapping:: -AssemblyPropertyMapping (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + AssemblyPropertyMapping:: + AssemblyPropertyMapping (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -AssemblyPropertyMapping:: -AssemblyPropertyMapping () -{ -} + AssemblyPropertyMapping:: + AssemblyPropertyMapping () + { + } -void AssemblyPropertyMapping:: -traverse (Type const& o) -{ -Traversal::AssemblyPropertyMapping::traverse (o); -} + void AssemblyPropertyMapping:: + traverse (Type const& o) + { + Traversal::AssemblyPropertyMapping::traverse (o); + } -void AssemblyPropertyMapping:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::AssemblyPropertyMapping::name (o); -pop_ (); -} + void AssemblyPropertyMapping:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::AssemblyPropertyMapping::name (o); + pop_ (); + } -void AssemblyPropertyMapping:: -externalName (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalName", top_ ())); -Traversal::AssemblyPropertyMapping::externalName (o); -pop_ (); -} + void AssemblyPropertyMapping:: + externalName (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalName", top_ ())); + Traversal::AssemblyPropertyMapping::externalName (o); + pop_ (); + } -void AssemblyPropertyMapping:: -delegatesTo_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("delegatesTo", top_ ())); -} + void AssemblyPropertyMapping:: + delegatesTo_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("delegatesTo", top_ ())); + } -void AssemblyPropertyMapping:: -delegatesTo_next (Type const& o) -{ -delegatesTo_post (o); -delegatesTo_pre (o); -} + void AssemblyPropertyMapping:: + delegatesTo_next (Type const& o) + { + delegatesTo_post (o); + delegatesTo_pre (o); + } -void AssemblyPropertyMapping:: -delegatesTo_post (Type const&) -{ -pop_ (); -} + void AssemblyPropertyMapping:: + delegatesTo_post (Type const&) + { + pop_ (); + } -// ComponentAssemblyDescription -// -// + // ComponentAssemblyDescription + // + // -ComponentAssemblyDescription:: -ComponentAssemblyDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + ComponentAssemblyDescription:: + ComponentAssemblyDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -ComponentAssemblyDescription:: -ComponentAssemblyDescription () -{ -} + ComponentAssemblyDescription:: + ComponentAssemblyDescription () + { + } -void ComponentAssemblyDescription:: -traverse (Type const& o) -{ -Traversal::ComponentAssemblyDescription::traverse (o); -} + void ComponentAssemblyDescription:: + traverse (Type const& o) + { + Traversal::ComponentAssemblyDescription::traverse (o); + } -void ComponentAssemblyDescription:: -instance_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("instance", top_ ())); -} + void ComponentAssemblyDescription:: + instance_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("instance", top_ ())); + } -void ComponentAssemblyDescription:: -instance_next (Type const& o) -{ -instance_post (o); -instance_pre (o); -} + void ComponentAssemblyDescription:: + instance_next (Type const& o) + { + instance_post (o); + instance_pre (o); + } -void ComponentAssemblyDescription:: -instance_post (Type const&) -{ -pop_ (); -} + void ComponentAssemblyDescription:: + instance_post (Type const&) + { + pop_ (); + } -void ComponentAssemblyDescription:: -connection_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("connection", top_ ())); -} + void ComponentAssemblyDescription:: + connection_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("connection", top_ ())); + } -void ComponentAssemblyDescription:: -connection_next (Type const& o) -{ -connection_post (o); -connection_pre (o); -} + void ComponentAssemblyDescription:: + connection_next (Type const& o) + { + connection_post (o); + connection_pre (o); + } -void ComponentAssemblyDescription:: -connection_post (Type const&) -{ -pop_ (); -} + void ComponentAssemblyDescription:: + connection_post (Type const&) + { + pop_ (); + } -void ComponentAssemblyDescription:: -externalProperty_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalProperty", top_ ())); -} + void ComponentAssemblyDescription:: + externalProperty_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("externalProperty", top_ ())); + } -void ComponentAssemblyDescription:: -externalProperty_next (Type const& o) -{ -externalProperty_post (o); -externalProperty_pre (o); -} + void ComponentAssemblyDescription:: + externalProperty_next (Type const& o) + { + externalProperty_post (o); + externalProperty_pre (o); + } -void ComponentAssemblyDescription:: -externalProperty_post (Type const&) -{ -pop_ (); -} + void ComponentAssemblyDescription:: + externalProperty_post (Type const&) + { + pop_ (); + } -// MonolithicImplementationDescription -// -// + // MonolithicImplementationDescription + // + // -MonolithicImplementationDescription:: -MonolithicImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + MonolithicImplementationDescription:: + MonolithicImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -MonolithicImplementationDescription:: -MonolithicImplementationDescription () -{ -} + MonolithicImplementationDescription:: + MonolithicImplementationDescription () + { + } -void MonolithicImplementationDescription:: -traverse (Type const& o) -{ -Traversal::MonolithicImplementationDescription::traverse (o); -} + void MonolithicImplementationDescription:: + traverse (Type const& o) + { + Traversal::MonolithicImplementationDescription::traverse (o); + } -void MonolithicImplementationDescription:: -nodeExecParameter_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("nodeExecParameter", top_ ())); -} + void MonolithicImplementationDescription:: + nodeExecParameter_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("nodeExecParameter", top_ ())); + } -void MonolithicImplementationDescription:: -nodeExecParameter_next (Type const& o) -{ -nodeExecParameter_post (o); -nodeExecParameter_pre (o); -} + void MonolithicImplementationDescription:: + nodeExecParameter_next (Type const& o) + { + nodeExecParameter_post (o); + nodeExecParameter_pre (o); + } -void MonolithicImplementationDescription:: -nodeExecParameter_post (Type const&) -{ -pop_ (); -} + void MonolithicImplementationDescription:: + nodeExecParameter_post (Type const&) + { + pop_ (); + } -void MonolithicImplementationDescription:: -componentExecParameter_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("componentExecParameter", top_ ())); -} + void MonolithicImplementationDescription:: + componentExecParameter_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("componentExecParameter", top_ ())); + } -void MonolithicImplementationDescription:: -componentExecParameter_next (Type const& o) -{ -componentExecParameter_post (o); -componentExecParameter_pre (o); -} + void MonolithicImplementationDescription:: + componentExecParameter_next (Type const& o) + { + componentExecParameter_post (o); + componentExecParameter_pre (o); + } -void MonolithicImplementationDescription:: -componentExecParameter_post (Type const&) -{ -pop_ (); -} + void MonolithicImplementationDescription:: + componentExecParameter_post (Type const&) + { + pop_ (); + } -void MonolithicImplementationDescription:: -deployRequirement_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); -} + void MonolithicImplementationDescription:: + deployRequirement_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); + } -void MonolithicImplementationDescription:: -deployRequirement_next (Type const& o) -{ -deployRequirement_post (o); -deployRequirement_pre (o); -} + void MonolithicImplementationDescription:: + deployRequirement_next (Type const& o) + { + deployRequirement_post (o); + deployRequirement_pre (o); + } -void MonolithicImplementationDescription:: -deployRequirement_post (Type const&) -{ -pop_ (); -} + void MonolithicImplementationDescription:: + deployRequirement_post (Type const&) + { + pop_ (); + } -void MonolithicImplementationDescription:: -primaryArtifact_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("primaryArtifact", top_ ())); -} + void MonolithicImplementationDescription:: + primaryArtifact_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("primaryArtifact", top_ ())); + } -void MonolithicImplementationDescription:: -primaryArtifact_next (Type const& o) -{ -primaryArtifact_post (o); -primaryArtifact_pre (o); -} + void MonolithicImplementationDescription:: + primaryArtifact_next (Type const& o) + { + primaryArtifact_post (o); + primaryArtifact_pre (o); + } -void MonolithicImplementationDescription:: -primaryArtifact_post (Type const&) -{ -pop_ (); -} + void MonolithicImplementationDescription:: + primaryArtifact_post (Type const&) + { + pop_ (); + } -// ComponentImplementationDescription -// -// + // ComponentImplementationDescription + // + // -ComponentImplementationDescription:: -ComponentImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} + ComponentImplementationDescription:: + ComponentImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } -ComponentImplementationDescription:: -ComponentImplementationDescription () -{ -} + ComponentImplementationDescription:: + ComponentImplementationDescription () + { + } -void ComponentImplementationDescription:: -traverse (Type const& o) -{ -Traversal::ComponentImplementationDescription::traverse (o); -} + void ComponentImplementationDescription:: + traverse (Type const& o) + { + Traversal::ComponentImplementationDescription::traverse (o); + } -void ComponentImplementationDescription:: -label (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); -Traversal::ComponentImplementationDescription::label (o); -pop_ (); -} + void ComponentImplementationDescription:: + label (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); + Traversal::ComponentImplementationDescription::label (o); + pop_ (); + } -void ComponentImplementationDescription:: -UUID (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("UUID", top_ ())); -Traversal::ComponentImplementationDescription::UUID (o); -pop_ (); -} + void ComponentImplementationDescription:: + UUID (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("UUID", top_ ())); + Traversal::ComponentImplementationDescription::UUID (o); + pop_ (); + } -void ComponentImplementationDescription:: -implements (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("implements", top_ ())); -Traversal::ComponentImplementationDescription::implements (o); -pop_ (); -} + void ComponentImplementationDescription:: + implements (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("implements", top_ ())); + Traversal::ComponentImplementationDescription::implements (o); + pop_ (); + } -void ComponentImplementationDescription:: -assemblyImpl (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("assemblyImpl", top_ ())); -Traversal::ComponentImplementationDescription::assemblyImpl (o); -pop_ (); -} + void ComponentImplementationDescription:: + assemblyImpl (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("assemblyImpl", top_ ())); + Traversal::ComponentImplementationDescription::assemblyImpl (o); + pop_ (); + } -void ComponentImplementationDescription:: -monolithicImpl (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("monolithicImpl", top_ ())); -Traversal::ComponentImplementationDescription::monolithicImpl (o); -pop_ (); -} + void ComponentImplementationDescription:: + monolithicImpl (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("monolithicImpl", top_ ())); + Traversal::ComponentImplementationDescription::monolithicImpl (o); + pop_ (); + } -void ComponentImplementationDescription:: -configProperty_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("configProperty", top_ ())); -} + void ComponentImplementationDescription:: + configProperty_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("configProperty", top_ ())); + } -void ComponentImplementationDescription:: -configProperty_next (Type const& o) -{ -configProperty_post (o); -configProperty_pre (o); -} + void ComponentImplementationDescription:: + configProperty_next (Type const& o) + { + configProperty_post (o); + configProperty_pre (o); + } -void ComponentImplementationDescription:: -configProperty_post (Type const&) -{ -pop_ (); -} + void ComponentImplementationDescription:: + configProperty_post (Type const&) + { + pop_ (); + } -void ComponentImplementationDescription:: -capability_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("capability", top_ ())); -} + void ComponentImplementationDescription:: + capability_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("capability", top_ ())); + } -void ComponentImplementationDescription:: -capability_next (Type const& o) -{ -capability_post (o); -capability_pre (o); -} + void ComponentImplementationDescription:: + capability_next (Type const& o) + { + capability_post (o); + capability_pre (o); + } -void ComponentImplementationDescription:: -capability_post (Type const&) -{ -pop_ (); -} + void ComponentImplementationDescription:: + capability_post (Type const&) + { + pop_ (); + } -void ComponentImplementationDescription:: -dependsOn_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("dependsOn", top_ ())); -} + void ComponentImplementationDescription:: + dependsOn_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("dependsOn", top_ ())); + } -void ComponentImplementationDescription:: -dependsOn_next (Type const& o) -{ -dependsOn_post (o); -dependsOn_pre (o); -} + void ComponentImplementationDescription:: + dependsOn_next (Type const& o) + { + dependsOn_post (o); + dependsOn_pre (o); + } -void ComponentImplementationDescription:: -dependsOn_post (Type const&) -{ -pop_ (); -} + void ComponentImplementationDescription:: + dependsOn_post (Type const&) + { + pop_ (); + } -void ComponentImplementationDescription:: -infoProperty_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("infoProperty", top_ ())); -} + void ComponentImplementationDescription:: + infoProperty_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("infoProperty", top_ ())); + } -void ComponentImplementationDescription:: -infoProperty_next (Type const& o) -{ -infoProperty_post (o); -infoProperty_pre (o); -} + void ComponentImplementationDescription:: + infoProperty_next (Type const& o) + { + infoProperty_post (o); + infoProperty_pre (o); + } -void ComponentImplementationDescription:: -infoProperty_post (Type const&) -{ -pop_ (); -} + void ComponentImplementationDescription:: + infoProperty_post (Type const&) + { + pop_ (); + } -void ComponentImplementationDescription:: -contentLocation (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("contentLocation", top_ ())); -Traversal::ComponentImplementationDescription::contentLocation (o); -pop_ (); -} + void ComponentImplementationDescription:: + contentLocation (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("contentLocation", top_ ())); + Traversal::ComponentImplementationDescription::contentLocation (o); + pop_ (); + } -void ComponentImplementationDescription:: -href (Type const& o) -{ -::XSCRT::XML::Attribute< ACE_TCHAR > a ("href", "", top_ ()); -attr_ (&a); -Traversal::ComponentImplementationDescription::href (o); -attr_ (0); -} -} -} + void ComponentImplementationDescription:: + href (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a ("href", "", top_ ()); + attr_ (&a); + Traversal::ComponentImplementationDescription::href (o); + attr_ (0); + } + } + } } namespace CIAO { -namespace Config_Handlers -{ -} + namespace Config_Handlers + { + } } diff --git a/CIAO/tools/Config_Handlers/cid.hpp b/CIAO/tools/Config_Handlers/cid.hpp index 069c7407eae..13372a89f45 100644 --- a/CIAO/tools/Config_Handlers/cid.hpp +++ b/CIAO/tools/Config_Handlers/cid.hpp @@ -1,14 +1,13 @@ /* $Id$ -* This code was generated by the XML Schema Compiler. -* -* Changes made to this code will most likely be overwritten -* when the handlers are recompiled. -* -* If you find errors or feel that there are bugfixes to be made, -* please contact the current XSC maintainer: -* Will Otte -*/ - + * This code was generated by the XML Schema Compiler. + * + * Changes made to this code will most likely be overwritten + * when the handlers are recompiled. + * + * If you find errors or feel that there are bugfixes to be made, + * please contact the current XSC maintainer: + * Will Otte + */ // Fix for Borland compilers, which seem to have a broken // include. @@ -16,23 +15,23 @@ # include #endif -#include "XSC_XML_Handlers_Export.h" #ifndef CID_HPP #define CID_HPP +#include "XSC_XML_Handlers_Export.h" // Forward declarations. // namespace CIAO { -namespace Config_Handlers -{ -class SubcomponentInstantiationDescription; -class SubcomponentPropertyReference; -class AssemblyPropertyMapping; -class ComponentAssemblyDescription; -class MonolithicImplementationDescription; -class ComponentImplementationDescription; -} + namespace Config_Handlers + { + class SubcomponentInstantiationDescription; + class SubcomponentPropertyReference; + class AssemblyPropertyMapping; + class ComponentAssemblyDescription; + class MonolithicImplementationDescription; + class ComponentImplementationDescription; + } } #include @@ -41,7 +40,7 @@ class ComponentImplementationDescription; #include "Basic_Deployment_Data.hpp" -#include "cpd.hpp" +#include "ccd.hpp" #include "iad.hpp" @@ -49,2013 +48,2013 @@ class ComponentImplementationDescription; namespace CIAO { -namespace Config_Handlers -{ -class XSC_XML_Handlers_Export SubcomponentInstantiationDescription : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; - -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - -// basePackage -// -public: -bool basePackage_p () const; -::CIAO::Config_Handlers::ComponentPackageDescription const& basePackage () const; -void basePackage (::CIAO::Config_Handlers::ComponentPackageDescription const& ); - -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageDescription > basePackage_; - -// specializedConfig -// -public: -bool specializedConfig_p () const; -::CIAO::Config_Handlers::PackageConfiguration const& specializedConfig () const; -void specializedConfig (::CIAO::Config_Handlers::PackageConfiguration const& ); - -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::PackageConfiguration > specializedConfig_; - -// selectRequirement -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator selectRequirement_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator selectRequirement_const_iterator; -selectRequirement_iterator begin_selectRequirement (); -selectRequirement_iterator end_selectRequirement (); -selectRequirement_const_iterator begin_selectRequirement () const; -selectRequirement_const_iterator end_selectRequirement () const; -void add_selectRequirement (::CIAO::Config_Handlers::Requirement const& ); -size_t count_selectRequirement (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Requirement > selectRequirement_; - -// configProperty -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; -configProperty_iterator begin_configProperty (); -configProperty_iterator end_configProperty (); -configProperty_const_iterator begin_configProperty () const; -configProperty_const_iterator end_configProperty () const; -void add_configProperty (::CIAO::Config_Handlers::Property const& ); -size_t count_configProperty (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Property > configProperty_; - -// referencedPackage -// -public: -bool referencedPackage_p () const; -::CIAO::Config_Handlers::ComponentPackageReference const& referencedPackage () const; -void referencedPackage (::CIAO::Config_Handlers::ComponentPackageReference const& ); - -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageReference > referencedPackage_; - -// importedPackage -// -public: -bool importedPackage_p () const; -::CIAO::Config_Handlers::ComponentPackageImport const& importedPackage () const; -void importedPackage (::CIAO::Config_Handlers::ComponentPackageImport const& ); - -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageImport > importedPackage_; - -// id -// -public: -bool id_p () const; -::XMLSchema::ID< ACE_TCHAR > const& id () const; -::XMLSchema::ID< ACE_TCHAR >& id (); -void id (::XMLSchema::ID< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_; - -public: -SubcomponentInstantiationDescription (::XMLSchema::string< ACE_TCHAR > const& name__); - -SubcomponentInstantiationDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); -SubcomponentInstantiationDescription (SubcomponentInstantiationDescription const& s); - -SubcomponentInstantiationDescription& -operator= (SubcomponentInstantiationDescription const& s); - -private: -char regulator__; -}; - - -class XSC_XML_Handlers_Export SubcomponentPropertyReference : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; - -// propertyName -// -public: -::XMLSchema::string< ACE_TCHAR > const& propertyName () const; -void propertyName (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > propertyName_; - -// instance -// -public: -::XMLSchema::IDREF< ACE_TCHAR > const& instance () const; -void instance (::XMLSchema::IDREF< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > instance_; - -public: -SubcomponentPropertyReference (::XMLSchema::string< ACE_TCHAR > const& propertyName__, -::XMLSchema::IDREF< ACE_TCHAR > const& instance__); - -SubcomponentPropertyReference (::XSCRT::XML::Element< ACE_TCHAR > const&); -SubcomponentPropertyReference (SubcomponentPropertyReference const& s); - -SubcomponentPropertyReference& -operator= (SubcomponentPropertyReference const& s); - -private: -char regulator__; -}; - - -class XSC_XML_Handlers_Export AssemblyPropertyMapping : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; - -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - -// externalName -// -public: -::XMLSchema::string< ACE_TCHAR > const& externalName () const; -void externalName (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > externalName_; - -// delegatesTo -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentPropertyReference >::iterator delegatesTo_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentPropertyReference >::const_iterator delegatesTo_const_iterator; -delegatesTo_iterator begin_delegatesTo (); -delegatesTo_iterator end_delegatesTo (); -delegatesTo_const_iterator begin_delegatesTo () const; -delegatesTo_const_iterator end_delegatesTo () const; -void add_delegatesTo (::CIAO::Config_Handlers::SubcomponentPropertyReference const& ); -size_t count_delegatesTo (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::SubcomponentPropertyReference > delegatesTo_; - -public: -AssemblyPropertyMapping (::XMLSchema::string< ACE_TCHAR > const& name__, -::XMLSchema::string< ACE_TCHAR > const& externalName__); - -AssemblyPropertyMapping (::XSCRT::XML::Element< ACE_TCHAR > const&); -AssemblyPropertyMapping (AssemblyPropertyMapping const& s); - -AssemblyPropertyMapping& -operator= (AssemblyPropertyMapping const& s); - -private: -char regulator__; -}; - - -class XSC_XML_Handlers_Export ComponentAssemblyDescription : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; - -// instance -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentInstantiationDescription >::iterator instance_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentInstantiationDescription >::const_iterator instance_const_iterator; -instance_iterator begin_instance (); -instance_iterator end_instance (); -instance_const_iterator begin_instance () const; -instance_const_iterator end_instance () const; -void add_instance (::CIAO::Config_Handlers::SubcomponentInstantiationDescription const& ); -size_t count_instance (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::SubcomponentInstantiationDescription > instance_; - -// connection -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::AssemblyConnectionDescription >::iterator connection_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::AssemblyConnectionDescription >::const_iterator connection_const_iterator; -connection_iterator begin_connection (); -connection_iterator end_connection (); -connection_const_iterator begin_connection () const; -connection_const_iterator end_connection () const; -void add_connection (::CIAO::Config_Handlers::AssemblyConnectionDescription const& ); -size_t count_connection (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::AssemblyConnectionDescription > connection_; - -// externalProperty -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::AssemblyPropertyMapping >::iterator externalProperty_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::AssemblyPropertyMapping >::const_iterator externalProperty_const_iterator; -externalProperty_iterator begin_externalProperty (); -externalProperty_iterator end_externalProperty (); -externalProperty_const_iterator begin_externalProperty () const; -externalProperty_const_iterator end_externalProperty () const; -void add_externalProperty (::CIAO::Config_Handlers::AssemblyPropertyMapping const& ); -size_t count_externalProperty (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::AssemblyPropertyMapping > externalProperty_; - -public: -ComponentAssemblyDescription (); - -ComponentAssemblyDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); -ComponentAssemblyDescription (ComponentAssemblyDescription const& s); - -ComponentAssemblyDescription& -operator= (ComponentAssemblyDescription const& s); - -private: -char regulator__; -}; - - -class XSC_XML_Handlers_Export MonolithicImplementationDescription : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; - -// nodeExecParameter -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator nodeExecParameter_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator nodeExecParameter_const_iterator; -nodeExecParameter_iterator begin_nodeExecParameter (); -nodeExecParameter_iterator end_nodeExecParameter (); -nodeExecParameter_const_iterator begin_nodeExecParameter () const; -nodeExecParameter_const_iterator end_nodeExecParameter () const; -void add_nodeExecParameter (::CIAO::Config_Handlers::Property const& ); -size_t count_nodeExecParameter (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Property > nodeExecParameter_; - -// componentExecParameter -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator componentExecParameter_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator componentExecParameter_const_iterator; -componentExecParameter_iterator begin_componentExecParameter (); -componentExecParameter_iterator end_componentExecParameter (); -componentExecParameter_const_iterator begin_componentExecParameter () const; -componentExecParameter_const_iterator end_componentExecParameter () const; -void add_componentExecParameter (::CIAO::Config_Handlers::Property const& ); -size_t count_componentExecParameter (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Property > componentExecParameter_; - -// deployRequirement -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::ImplementationRequirement >::iterator deployRequirement_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::ImplementationRequirement >::const_iterator deployRequirement_const_iterator; -deployRequirement_iterator begin_deployRequirement (); -deployRequirement_iterator end_deployRequirement (); -deployRequirement_const_iterator begin_deployRequirement () const; -deployRequirement_const_iterator end_deployRequirement () const; -void add_deployRequirement (::CIAO::Config_Handlers::ImplementationRequirement const& ); -size_t count_deployRequirement (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::ImplementationRequirement > deployRequirement_; - -// primaryArtifact -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact >::iterator primaryArtifact_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact >::const_iterator primaryArtifact_const_iterator; -primaryArtifact_iterator begin_primaryArtifact (); -primaryArtifact_iterator end_primaryArtifact (); -primaryArtifact_const_iterator begin_primaryArtifact () const; -primaryArtifact_const_iterator end_primaryArtifact () const; -void add_primaryArtifact (::CIAO::Config_Handlers::NamedImplementationArtifact const& ); -size_t count_primaryArtifact (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact > primaryArtifact_; - -public: -MonolithicImplementationDescription (); - -MonolithicImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); -MonolithicImplementationDescription (MonolithicImplementationDescription const& s); - -MonolithicImplementationDescription& -operator= (MonolithicImplementationDescription const& s); - -private: -char regulator__; -}; - - -class XSC_XML_Handlers_Export ComponentImplementationDescription : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; - -// label -// -public: -bool label_p () const; -::XMLSchema::string< ACE_TCHAR > const& label () const; -void label (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; - -// UUID -// -public: -bool UUID_p () const; -::XMLSchema::string< ACE_TCHAR > const& UUID () const; -void UUID (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; - -// implements -// -public: -bool implements_p () const; -::CIAO::Config_Handlers::ComponentInterfaceDescription const& implements () const; -void implements (::CIAO::Config_Handlers::ComponentInterfaceDescription const& ); - -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > implements_; - -// assemblyImpl -// -public: -bool assemblyImpl_p () const; -::CIAO::Config_Handlers::ComponentAssemblyDescription const& assemblyImpl () const; -void assemblyImpl (::CIAO::Config_Handlers::ComponentAssemblyDescription const& ); - -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::ComponentAssemblyDescription > assemblyImpl_; - -// monolithicImpl -// -public: -bool monolithicImpl_p () const; -::CIAO::Config_Handlers::MonolithicImplementationDescription const& monolithicImpl () const; -void monolithicImpl (::CIAO::Config_Handlers::MonolithicImplementationDescription const& ); - -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::MonolithicImplementationDescription > monolithicImpl_; - -// configProperty -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; -configProperty_iterator begin_configProperty (); -configProperty_iterator end_configProperty (); -configProperty_const_iterator begin_configProperty () const; -configProperty_const_iterator end_configProperty () const; -void add_configProperty (::CIAO::Config_Handlers::Property const& ); -size_t count_configProperty (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Property > configProperty_; - -// capability -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Capability >::iterator capability_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Capability >::const_iterator capability_const_iterator; -capability_iterator begin_capability (); -capability_iterator end_capability (); -capability_const_iterator begin_capability () const; -capability_const_iterator end_capability () const; -void add_capability (::CIAO::Config_Handlers::Capability const& ); -size_t count_capability (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Capability > capability_; - -// dependsOn -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::ImplementationDependency >::iterator dependsOn_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::ImplementationDependency >::const_iterator dependsOn_const_iterator; -dependsOn_iterator begin_dependsOn (); -dependsOn_iterator end_dependsOn (); -dependsOn_const_iterator begin_dependsOn () const; -dependsOn_const_iterator end_dependsOn () const; -void add_dependsOn (::CIAO::Config_Handlers::ImplementationDependency const& ); -size_t count_dependsOn (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::ImplementationDependency > dependsOn_; - -// infoProperty -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator infoProperty_const_iterator; -infoProperty_iterator begin_infoProperty (); -infoProperty_iterator end_infoProperty (); -infoProperty_const_iterator begin_infoProperty () const; -infoProperty_const_iterator end_infoProperty () const; -void add_infoProperty (::CIAO::Config_Handlers::Property const& ); -size_t count_infoProperty (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Property > infoProperty_; - -// contentLocation -// -public: -bool contentLocation_p () const; -::XMLSchema::string< ACE_TCHAR > const& contentLocation () const; -void contentLocation (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > contentLocation_; - -// href -// -public: -bool href_p () const; -::XMLSchema::string< ACE_TCHAR > const& href () const; -::XMLSchema::string< ACE_TCHAR >& href (); -void href (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > href_; - -public: -ComponentImplementationDescription (); - -ComponentImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); -ComponentImplementationDescription (ComponentImplementationDescription const& s); - -ComponentImplementationDescription& -operator= (ComponentImplementationDescription const& s); - -private: -char regulator__; -}; -} + namespace Config_Handlers + { + class XSC_XML_Handlers_Export SubcomponentInstantiationDescription : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // basePackage + // + public: + bool basePackage_p () const; + ::CIAO::Config_Handlers::ComponentPackageDescription const& basePackage () const; + void basePackage (::CIAO::Config_Handlers::ComponentPackageDescription const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageDescription > basePackage_; + + // specializedConfig + // + public: + bool specializedConfig_p () const; + ::CIAO::Config_Handlers::PackageConfiguration const& specializedConfig () const; + void specializedConfig (::CIAO::Config_Handlers::PackageConfiguration const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::PackageConfiguration > specializedConfig_; + + // selectRequirement + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator selectRequirement_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator selectRequirement_const_iterator; + selectRequirement_iterator begin_selectRequirement (); + selectRequirement_iterator end_selectRequirement (); + selectRequirement_const_iterator begin_selectRequirement () const; + selectRequirement_const_iterator end_selectRequirement () const; + void add_selectRequirement (::CIAO::Config_Handlers::Requirement const& ); + size_t count_selectRequirement (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Requirement > selectRequirement_; + + // configProperty + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; + configProperty_iterator begin_configProperty (); + configProperty_iterator end_configProperty (); + configProperty_const_iterator begin_configProperty () const; + configProperty_const_iterator end_configProperty () const; + void add_configProperty (::CIAO::Config_Handlers::Property const& ); + size_t count_configProperty (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Property > configProperty_; + + // referencedPackage + // + public: + bool referencedPackage_p () const; + ::CIAO::Config_Handlers::ComponentPackageReference const& referencedPackage () const; + void referencedPackage (::CIAO::Config_Handlers::ComponentPackageReference const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageReference > referencedPackage_; + + // importedPackage + // + public: + bool importedPackage_p () const; + ::CIAO::Config_Handlers::ComponentPackageImport const& importedPackage () const; + void importedPackage (::CIAO::Config_Handlers::ComponentPackageImport const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageImport > importedPackage_; + + // id + // + public: + bool id_p () const; + ::XMLSchema::ID< ACE_TCHAR > const& id () const; + ::XMLSchema::ID< ACE_TCHAR >& id (); + void id (::XMLSchema::ID< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_; + + public: + SubcomponentInstantiationDescription (::XMLSchema::string< ACE_TCHAR > const& name__); + + SubcomponentInstantiationDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); + SubcomponentInstantiationDescription (SubcomponentInstantiationDescription const& s); + + SubcomponentInstantiationDescription& + operator= (SubcomponentInstantiationDescription const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export SubcomponentPropertyReference : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // propertyName + // + public: + ::XMLSchema::string< ACE_TCHAR > const& propertyName () const; + void propertyName (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > propertyName_; + + // instance + // + public: + ::XMLSchema::IDREF< ACE_TCHAR > const& instance () const; + void instance (::XMLSchema::IDREF< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::IDREF< ACE_TCHAR > > instance_; + + public: + SubcomponentPropertyReference (::XMLSchema::string< ACE_TCHAR > const& propertyName__, + ::XMLSchema::IDREF< ACE_TCHAR > const& instance__); + + SubcomponentPropertyReference (::XSCRT::XML::Element< ACE_TCHAR > const&); + SubcomponentPropertyReference (SubcomponentPropertyReference const& s); + + SubcomponentPropertyReference& + operator= (SubcomponentPropertyReference const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export AssemblyPropertyMapping : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // externalName + // + public: + ::XMLSchema::string< ACE_TCHAR > const& externalName () const; + void externalName (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > externalName_; + + // delegatesTo + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentPropertyReference >::iterator delegatesTo_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentPropertyReference >::const_iterator delegatesTo_const_iterator; + delegatesTo_iterator begin_delegatesTo (); + delegatesTo_iterator end_delegatesTo (); + delegatesTo_const_iterator begin_delegatesTo () const; + delegatesTo_const_iterator end_delegatesTo () const; + void add_delegatesTo (::CIAO::Config_Handlers::SubcomponentPropertyReference const& ); + size_t count_delegatesTo (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::SubcomponentPropertyReference > delegatesTo_; + + public: + AssemblyPropertyMapping (::XMLSchema::string< ACE_TCHAR > const& name__, + ::XMLSchema::string< ACE_TCHAR > const& externalName__); + + AssemblyPropertyMapping (::XSCRT::XML::Element< ACE_TCHAR > const&); + AssemblyPropertyMapping (AssemblyPropertyMapping const& s); + + AssemblyPropertyMapping& + operator= (AssemblyPropertyMapping const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export ComponentAssemblyDescription : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // instance + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentInstantiationDescription >::iterator instance_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::SubcomponentInstantiationDescription >::const_iterator instance_const_iterator; + instance_iterator begin_instance (); + instance_iterator end_instance (); + instance_const_iterator begin_instance () const; + instance_const_iterator end_instance () const; + void add_instance (::CIAO::Config_Handlers::SubcomponentInstantiationDescription const& ); + size_t count_instance (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::SubcomponentInstantiationDescription > instance_; + + // connection + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::AssemblyConnectionDescription >::iterator connection_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::AssemblyConnectionDescription >::const_iterator connection_const_iterator; + connection_iterator begin_connection (); + connection_iterator end_connection (); + connection_const_iterator begin_connection () const; + connection_const_iterator end_connection () const; + void add_connection (::CIAO::Config_Handlers::AssemblyConnectionDescription const& ); + size_t count_connection (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::AssemblyConnectionDescription > connection_; + + // externalProperty + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::AssemblyPropertyMapping >::iterator externalProperty_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::AssemblyPropertyMapping >::const_iterator externalProperty_const_iterator; + externalProperty_iterator begin_externalProperty (); + externalProperty_iterator end_externalProperty (); + externalProperty_const_iterator begin_externalProperty () const; + externalProperty_const_iterator end_externalProperty () const; + void add_externalProperty (::CIAO::Config_Handlers::AssemblyPropertyMapping const& ); + size_t count_externalProperty (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::AssemblyPropertyMapping > externalProperty_; + + public: + ComponentAssemblyDescription (); + + ComponentAssemblyDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); + ComponentAssemblyDescription (ComponentAssemblyDescription const& s); + + ComponentAssemblyDescription& + operator= (ComponentAssemblyDescription const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export MonolithicImplementationDescription : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // nodeExecParameter + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator nodeExecParameter_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator nodeExecParameter_const_iterator; + nodeExecParameter_iterator begin_nodeExecParameter (); + nodeExecParameter_iterator end_nodeExecParameter (); + nodeExecParameter_const_iterator begin_nodeExecParameter () const; + nodeExecParameter_const_iterator end_nodeExecParameter () const; + void add_nodeExecParameter (::CIAO::Config_Handlers::Property const& ); + size_t count_nodeExecParameter (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Property > nodeExecParameter_; + + // componentExecParameter + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator componentExecParameter_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator componentExecParameter_const_iterator; + componentExecParameter_iterator begin_componentExecParameter (); + componentExecParameter_iterator end_componentExecParameter (); + componentExecParameter_const_iterator begin_componentExecParameter () const; + componentExecParameter_const_iterator end_componentExecParameter () const; + void add_componentExecParameter (::CIAO::Config_Handlers::Property const& ); + size_t count_componentExecParameter (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Property > componentExecParameter_; + + // deployRequirement + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::ImplementationRequirement >::iterator deployRequirement_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::ImplementationRequirement >::const_iterator deployRequirement_const_iterator; + deployRequirement_iterator begin_deployRequirement (); + deployRequirement_iterator end_deployRequirement (); + deployRequirement_const_iterator begin_deployRequirement () const; + deployRequirement_const_iterator end_deployRequirement () const; + void add_deployRequirement (::CIAO::Config_Handlers::ImplementationRequirement const& ); + size_t count_deployRequirement (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::ImplementationRequirement > deployRequirement_; + + // primaryArtifact + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact >::iterator primaryArtifact_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact >::const_iterator primaryArtifact_const_iterator; + primaryArtifact_iterator begin_primaryArtifact (); + primaryArtifact_iterator end_primaryArtifact (); + primaryArtifact_const_iterator begin_primaryArtifact () const; + primaryArtifact_const_iterator end_primaryArtifact () const; + void add_primaryArtifact (::CIAO::Config_Handlers::NamedImplementationArtifact const& ); + size_t count_primaryArtifact (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact > primaryArtifact_; + + public: + MonolithicImplementationDescription (); + + MonolithicImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); + MonolithicImplementationDescription (MonolithicImplementationDescription const& s); + + MonolithicImplementationDescription& + operator= (MonolithicImplementationDescription const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export ComponentImplementationDescription : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // label + // + public: + bool label_p () const; + ::XMLSchema::string< ACE_TCHAR > const& label () const; + void label (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; + + // UUID + // + public: + bool UUID_p () const; + ::XMLSchema::string< ACE_TCHAR > const& UUID () const; + void UUID (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; + + // implements + // + public: + bool implements_p () const; + ::CIAO::Config_Handlers::ComponentInterfaceDescription const& implements () const; + void implements (::CIAO::Config_Handlers::ComponentInterfaceDescription const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > implements_; + + // assemblyImpl + // + public: + bool assemblyImpl_p () const; + ::CIAO::Config_Handlers::ComponentAssemblyDescription const& assemblyImpl () const; + void assemblyImpl (::CIAO::Config_Handlers::ComponentAssemblyDescription const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentAssemblyDescription > assemblyImpl_; + + // monolithicImpl + // + public: + bool monolithicImpl_p () const; + ::CIAO::Config_Handlers::MonolithicImplementationDescription const& monolithicImpl () const; + void monolithicImpl (::CIAO::Config_Handlers::MonolithicImplementationDescription const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::MonolithicImplementationDescription > monolithicImpl_; + + // configProperty + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; + configProperty_iterator begin_configProperty (); + configProperty_iterator end_configProperty (); + configProperty_const_iterator begin_configProperty () const; + configProperty_const_iterator end_configProperty () const; + void add_configProperty (::CIAO::Config_Handlers::Property const& ); + size_t count_configProperty (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Property > configProperty_; + + // capability + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Capability >::iterator capability_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Capability >::const_iterator capability_const_iterator; + capability_iterator begin_capability (); + capability_iterator end_capability (); + capability_const_iterator begin_capability () const; + capability_const_iterator end_capability () const; + void add_capability (::CIAO::Config_Handlers::Capability const& ); + size_t count_capability (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Capability > capability_; + + // dependsOn + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::ImplementationDependency >::iterator dependsOn_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::ImplementationDependency >::const_iterator dependsOn_const_iterator; + dependsOn_iterator begin_dependsOn (); + dependsOn_iterator end_dependsOn (); + dependsOn_const_iterator begin_dependsOn () const; + dependsOn_const_iterator end_dependsOn () const; + void add_dependsOn (::CIAO::Config_Handlers::ImplementationDependency const& ); + size_t count_dependsOn (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::ImplementationDependency > dependsOn_; + + // infoProperty + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator infoProperty_const_iterator; + infoProperty_iterator begin_infoProperty (); + infoProperty_iterator end_infoProperty (); + infoProperty_const_iterator begin_infoProperty () const; + infoProperty_const_iterator end_infoProperty () const; + void add_infoProperty (::CIAO::Config_Handlers::Property const& ); + size_t count_infoProperty (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Property > infoProperty_; + + // contentLocation + // + public: + bool contentLocation_p () const; + ::XMLSchema::string< ACE_TCHAR > const& contentLocation () const; + void contentLocation (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > contentLocation_; + + // href + // + public: + bool href_p () const; + ::XMLSchema::string< ACE_TCHAR > const& href () const; + ::XMLSchema::string< ACE_TCHAR >& href (); + void href (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > href_; + + public: + ComponentImplementationDescription (); + + ComponentImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); + ComponentImplementationDescription (ComponentImplementationDescription const& s); + + ComponentImplementationDescription& + operator= (ComponentImplementationDescription const& s); + + private: + char regulator__; + }; + } } namespace CIAO { -namespace Config_Handlers -{ -} + namespace Config_Handlers + { + } } #include "XMLSchema/Traversal.hpp" namespace CIAO { -namespace Config_Handlers -{ -namespace Traversal -{ -struct XSC_XML_Handlers_Export SubcomponentInstantiationDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SubcomponentInstantiationDescription > -{ -virtual void -traverse (Type&); + namespace Config_Handlers + { + namespace Traversal + { + struct XSC_XML_Handlers_Export SubcomponentInstantiationDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SubcomponentInstantiationDescription > + { + virtual void + traverse (Type&); -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -pre (Type&); + virtual void + pre (Type&); -virtual void -pre (Type const&); + virtual void + pre (Type const&); -virtual void -name (Type&); + virtual void + name (Type&); -virtual void -name (Type const&); + virtual void + name (Type const&); -virtual void -basePackage (Type&); + virtual void + basePackage (Type&); -virtual void -basePackage (Type const&); + virtual void + basePackage (Type const&); -virtual void -basePackage_none (Type&); + virtual void + basePackage_none (Type&); -virtual void -basePackage_none (Type const&); + virtual void + basePackage_none (Type const&); -virtual void -specializedConfig (Type&); + virtual void + specializedConfig (Type&); -virtual void -specializedConfig (Type const&); + virtual void + specializedConfig (Type const&); -virtual void -specializedConfig_none (Type&); + virtual void + specializedConfig_none (Type&); -virtual void -specializedConfig_none (Type const&); + virtual void + specializedConfig_none (Type const&); -virtual void -selectRequirement (Type&); + virtual void + selectRequirement (Type&); -virtual void -selectRequirement (Type const&); + virtual void + selectRequirement (Type const&); -virtual void -selectRequirement_pre (Type&); + virtual void + selectRequirement_pre (Type&); -virtual void -selectRequirement_pre (Type const&); + virtual void + selectRequirement_pre (Type const&); -virtual void -selectRequirement_next (Type&); + virtual void + selectRequirement_next (Type&); -virtual void -selectRequirement_next (Type const&); + virtual void + selectRequirement_next (Type const&); -virtual void -selectRequirement_post (Type&); + virtual void + selectRequirement_post (Type&); -virtual void -selectRequirement_post (Type const&); + virtual void + selectRequirement_post (Type const&); -virtual void -selectRequirement_none (Type&); + virtual void + selectRequirement_none (Type&); -virtual void -selectRequirement_none (Type const&); + virtual void + selectRequirement_none (Type const&); -virtual void -configProperty (Type&); + virtual void + configProperty (Type&); -virtual void -configProperty (Type const&); + virtual void + configProperty (Type const&); -virtual void -configProperty_pre (Type&); + virtual void + configProperty_pre (Type&); -virtual void -configProperty_pre (Type const&); + virtual void + configProperty_pre (Type const&); -virtual void -configProperty_next (Type&); + virtual void + configProperty_next (Type&); -virtual void -configProperty_next (Type const&); + virtual void + configProperty_next (Type const&); -virtual void -configProperty_post (Type&); + virtual void + configProperty_post (Type&); -virtual void -configProperty_post (Type const&); + virtual void + configProperty_post (Type const&); -virtual void -configProperty_none (Type&); + virtual void + configProperty_none (Type&); -virtual void -configProperty_none (Type const&); + virtual void + configProperty_none (Type const&); -virtual void -referencedPackage (Type&); + virtual void + referencedPackage (Type&); -virtual void -referencedPackage (Type const&); + virtual void + referencedPackage (Type const&); -virtual void -referencedPackage_none (Type&); + virtual void + referencedPackage_none (Type&); -virtual void -referencedPackage_none (Type const&); + virtual void + referencedPackage_none (Type const&); -virtual void -importedPackage (Type&); + virtual void + importedPackage (Type&); -virtual void -importedPackage (Type const&); + virtual void + importedPackage (Type const&); -virtual void -importedPackage_none (Type&); + virtual void + importedPackage_none (Type&); -virtual void -importedPackage_none (Type const&); + virtual void + importedPackage_none (Type const&); -virtual void -id (Type&); + virtual void + id (Type&); -virtual void -id (Type const&); + virtual void + id (Type const&); -virtual void -id_none (Type&); + virtual void + id_none (Type&); -virtual void -id_none (Type const&); + virtual void + id_none (Type const&); -virtual void -post (Type&); + virtual void + post (Type&); -virtual void -post (Type const&); -}; + virtual void + post (Type const&); + }; -struct XSC_XML_Handlers_Export SubcomponentPropertyReference : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SubcomponentPropertyReference > -{ -virtual void -traverse (Type&); + struct XSC_XML_Handlers_Export SubcomponentPropertyReference : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SubcomponentPropertyReference > + { + virtual void + traverse (Type&); -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -pre (Type&); + virtual void + pre (Type&); -virtual void -pre (Type const&); + virtual void + pre (Type const&); -virtual void -propertyName (Type&); + virtual void + propertyName (Type&); -virtual void -propertyName (Type const&); + virtual void + propertyName (Type const&); -virtual void -instance (Type&); + virtual void + instance (Type&); -virtual void -instance (Type const&); + virtual void + instance (Type const&); -virtual void -post (Type&); + virtual void + post (Type&); -virtual void -post (Type const&); -}; + virtual void + post (Type const&); + }; -struct XSC_XML_Handlers_Export AssemblyPropertyMapping : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::AssemblyPropertyMapping > -{ -virtual void -traverse (Type&); + struct XSC_XML_Handlers_Export AssemblyPropertyMapping : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::AssemblyPropertyMapping > + { + virtual void + traverse (Type&); -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -pre (Type&); + virtual void + pre (Type&); -virtual void -pre (Type const&); + virtual void + pre (Type const&); -virtual void -name (Type&); + virtual void + name (Type&); -virtual void -name (Type const&); + virtual void + name (Type const&); -virtual void -externalName (Type&); + virtual void + externalName (Type&); -virtual void -externalName (Type const&); + virtual void + externalName (Type const&); -virtual void -delegatesTo (Type&); + virtual void + delegatesTo (Type&); -virtual void -delegatesTo (Type const&); + virtual void + delegatesTo (Type const&); -virtual void -delegatesTo_pre (Type&); + virtual void + delegatesTo_pre (Type&); -virtual void -delegatesTo_pre (Type const&); + virtual void + delegatesTo_pre (Type const&); -virtual void -delegatesTo_next (Type&); + virtual void + delegatesTo_next (Type&); -virtual void -delegatesTo_next (Type const&); + virtual void + delegatesTo_next (Type const&); -virtual void -delegatesTo_post (Type&); + virtual void + delegatesTo_post (Type&); -virtual void -delegatesTo_post (Type const&); + virtual void + delegatesTo_post (Type const&); -virtual void -post (Type&); + virtual void + post (Type&); -virtual void -post (Type const&); -}; + virtual void + post (Type const&); + }; -struct XSC_XML_Handlers_Export ComponentAssemblyDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentAssemblyDescription > -{ -virtual void -traverse (Type&); + struct XSC_XML_Handlers_Export ComponentAssemblyDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentAssemblyDescription > + { + virtual void + traverse (Type&); -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -pre (Type&); + virtual void + pre (Type&); -virtual void -pre (Type const&); + virtual void + pre (Type const&); -virtual void -instance (Type&); + virtual void + instance (Type&); -virtual void -instance (Type const&); + virtual void + instance (Type const&); -virtual void -instance_pre (Type&); + virtual void + instance_pre (Type&); -virtual void -instance_pre (Type const&); + virtual void + instance_pre (Type const&); -virtual void -instance_next (Type&); + virtual void + instance_next (Type&); -virtual void -instance_next (Type const&); + virtual void + instance_next (Type const&); -virtual void -instance_post (Type&); + virtual void + instance_post (Type&); -virtual void -instance_post (Type const&); + virtual void + instance_post (Type const&); -virtual void -connection (Type&); + virtual void + connection (Type&); -virtual void -connection (Type const&); + virtual void + connection (Type const&); -virtual void -connection_pre (Type&); + virtual void + connection_pre (Type&); -virtual void -connection_pre (Type const&); + virtual void + connection_pre (Type const&); -virtual void -connection_next (Type&); + virtual void + connection_next (Type&); -virtual void -connection_next (Type const&); + virtual void + connection_next (Type const&); -virtual void -connection_post (Type&); + virtual void + connection_post (Type&); -virtual void -connection_post (Type const&); + virtual void + connection_post (Type const&); -virtual void -connection_none (Type&); + virtual void + connection_none (Type&); -virtual void -connection_none (Type const&); + virtual void + connection_none (Type const&); -virtual void -externalProperty (Type&); + virtual void + externalProperty (Type&); -virtual void -externalProperty (Type const&); + virtual void + externalProperty (Type const&); -virtual void -externalProperty_pre (Type&); + virtual void + externalProperty_pre (Type&); -virtual void -externalProperty_pre (Type const&); + virtual void + externalProperty_pre (Type const&); -virtual void -externalProperty_next (Type&); + virtual void + externalProperty_next (Type&); -virtual void -externalProperty_next (Type const&); + virtual void + externalProperty_next (Type const&); -virtual void -externalProperty_post (Type&); + virtual void + externalProperty_post (Type&); -virtual void -externalProperty_post (Type const&); + virtual void + externalProperty_post (Type const&); -virtual void -externalProperty_none (Type&); + virtual void + externalProperty_none (Type&); -virtual void -externalProperty_none (Type const&); + virtual void + externalProperty_none (Type const&); -virtual void -post (Type&); + virtual void + post (Type&); -virtual void -post (Type const&); -}; + virtual void + post (Type const&); + }; -struct XSC_XML_Handlers_Export MonolithicImplementationDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::MonolithicImplementationDescription > -{ -virtual void -traverse (Type&); + struct XSC_XML_Handlers_Export MonolithicImplementationDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::MonolithicImplementationDescription > + { + virtual void + traverse (Type&); -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -pre (Type&); + virtual void + pre (Type&); -virtual void -pre (Type const&); + virtual void + pre (Type const&); -virtual void -nodeExecParameter (Type&); + virtual void + nodeExecParameter (Type&); -virtual void -nodeExecParameter (Type const&); + virtual void + nodeExecParameter (Type const&); -virtual void -nodeExecParameter_pre (Type&); + virtual void + nodeExecParameter_pre (Type&); -virtual void -nodeExecParameter_pre (Type const&); + virtual void + nodeExecParameter_pre (Type const&); -virtual void -nodeExecParameter_next (Type&); + virtual void + nodeExecParameter_next (Type&); -virtual void -nodeExecParameter_next (Type const&); + virtual void + nodeExecParameter_next (Type const&); -virtual void -nodeExecParameter_post (Type&); + virtual void + nodeExecParameter_post (Type&); -virtual void -nodeExecParameter_post (Type const&); + virtual void + nodeExecParameter_post (Type const&); -virtual void -nodeExecParameter_none (Type&); + virtual void + nodeExecParameter_none (Type&); -virtual void -nodeExecParameter_none (Type const&); + virtual void + nodeExecParameter_none (Type const&); -virtual void -componentExecParameter (Type&); + virtual void + componentExecParameter (Type&); -virtual void -componentExecParameter (Type const&); + virtual void + componentExecParameter (Type const&); -virtual void -componentExecParameter_pre (Type&); + virtual void + componentExecParameter_pre (Type&); -virtual void -componentExecParameter_pre (Type const&); + virtual void + componentExecParameter_pre (Type const&); -virtual void -componentExecParameter_next (Type&); + virtual void + componentExecParameter_next (Type&); -virtual void -componentExecParameter_next (Type const&); + virtual void + componentExecParameter_next (Type const&); -virtual void -componentExecParameter_post (Type&); + virtual void + componentExecParameter_post (Type&); -virtual void -componentExecParameter_post (Type const&); + virtual void + componentExecParameter_post (Type const&); -virtual void -componentExecParameter_none (Type&); + virtual void + componentExecParameter_none (Type&); -virtual void -componentExecParameter_none (Type const&); + virtual void + componentExecParameter_none (Type const&); -virtual void -deployRequirement (Type&); + virtual void + deployRequirement (Type&); -virtual void -deployRequirement (Type const&); + virtual void + deployRequirement (Type const&); -virtual void -deployRequirement_pre (Type&); + virtual void + deployRequirement_pre (Type&); -virtual void -deployRequirement_pre (Type const&); + virtual void + deployRequirement_pre (Type const&); -virtual void -deployRequirement_next (Type&); + virtual void + deployRequirement_next (Type&); -virtual void -deployRequirement_next (Type const&); + virtual void + deployRequirement_next (Type const&); -virtual void -deployRequirement_post (Type&); + virtual void + deployRequirement_post (Type&); -virtual void -deployRequirement_post (Type const&); + virtual void + deployRequirement_post (Type const&); -virtual void -deployRequirement_none (Type&); + virtual void + deployRequirement_none (Type&); -virtual void -deployRequirement_none (Type const&); + virtual void + deployRequirement_none (Type const&); -virtual void -primaryArtifact (Type&); + virtual void + primaryArtifact (Type&); -virtual void -primaryArtifact (Type const&); + virtual void + primaryArtifact (Type const&); -virtual void -primaryArtifact_pre (Type&); + virtual void + primaryArtifact_pre (Type&); -virtual void -primaryArtifact_pre (Type const&); + virtual void + primaryArtifact_pre (Type const&); -virtual void -primaryArtifact_next (Type&); + virtual void + primaryArtifact_next (Type&); -virtual void -primaryArtifact_next (Type const&); + virtual void + primaryArtifact_next (Type const&); -virtual void -primaryArtifact_post (Type&); + virtual void + primaryArtifact_post (Type&); -virtual void -primaryArtifact_post (Type const&); + virtual void + primaryArtifact_post (Type const&); -virtual void -post (Type&); + virtual void + post (Type&); -virtual void -post (Type const&); -}; + virtual void + post (Type const&); + }; -struct XSC_XML_Handlers_Export ComponentImplementationDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentImplementationDescription > -{ -virtual void -traverse (Type&); + struct XSC_XML_Handlers_Export ComponentImplementationDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentImplementationDescription > + { + virtual void + traverse (Type&); -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -pre (Type&); + virtual void + pre (Type&); -virtual void -pre (Type const&); + virtual void + pre (Type const&); -virtual void -label (Type&); + virtual void + label (Type&); -virtual void -label (Type const&); + virtual void + label (Type const&); -virtual void -label_none (Type&); + virtual void + label_none (Type&); -virtual void -label_none (Type const&); + virtual void + label_none (Type const&); -virtual void -UUID (Type&); + virtual void + UUID (Type&); -virtual void -UUID (Type const&); + virtual void + UUID (Type const&); -virtual void -UUID_none (Type&); + virtual void + UUID_none (Type&); -virtual void -UUID_none (Type const&); + virtual void + UUID_none (Type const&); -virtual void -implements (Type&); + virtual void + implements (Type&); -virtual void -implements (Type const&); + virtual void + implements (Type const&); -virtual void -implements_none (Type&); + virtual void + implements_none (Type&); -virtual void -implements_none (Type const&); + virtual void + implements_none (Type const&); -virtual void -assemblyImpl (Type&); + virtual void + assemblyImpl (Type&); -virtual void -assemblyImpl (Type const&); + virtual void + assemblyImpl (Type const&); -virtual void -assemblyImpl_none (Type&); + virtual void + assemblyImpl_none (Type&); -virtual void -assemblyImpl_none (Type const&); + virtual void + assemblyImpl_none (Type const&); -virtual void -monolithicImpl (Type&); + virtual void + monolithicImpl (Type&); -virtual void -monolithicImpl (Type const&); + virtual void + monolithicImpl (Type const&); -virtual void -monolithicImpl_none (Type&); + virtual void + monolithicImpl_none (Type&); -virtual void -monolithicImpl_none (Type const&); + virtual void + monolithicImpl_none (Type const&); -virtual void -configProperty (Type&); + virtual void + configProperty (Type&); -virtual void -configProperty (Type const&); + virtual void + configProperty (Type const&); -virtual void -configProperty_pre (Type&); + virtual void + configProperty_pre (Type&); -virtual void -configProperty_pre (Type const&); + virtual void + configProperty_pre (Type const&); -virtual void -configProperty_next (Type&); + virtual void + configProperty_next (Type&); -virtual void -configProperty_next (Type const&); + virtual void + configProperty_next (Type const&); -virtual void -configProperty_post (Type&); + virtual void + configProperty_post (Type&); -virtual void -configProperty_post (Type const&); + virtual void + configProperty_post (Type const&); -virtual void -configProperty_none (Type&); + virtual void + configProperty_none (Type&); -virtual void -configProperty_none (Type const&); + virtual void + configProperty_none (Type const&); -virtual void -capability (Type&); + virtual void + capability (Type&); -virtual void -capability (Type const&); + virtual void + capability (Type const&); -virtual void -capability_pre (Type&); + virtual void + capability_pre (Type&); -virtual void -capability_pre (Type const&); + virtual void + capability_pre (Type const&); -virtual void -capability_next (Type&); + virtual void + capability_next (Type&); -virtual void -capability_next (Type const&); + virtual void + capability_next (Type const&); -virtual void -capability_post (Type&); + virtual void + capability_post (Type&); -virtual void -capability_post (Type const&); + virtual void + capability_post (Type const&); -virtual void -capability_none (Type&); + virtual void + capability_none (Type&); -virtual void -capability_none (Type const&); + virtual void + capability_none (Type const&); -virtual void -dependsOn (Type&); + virtual void + dependsOn (Type&); -virtual void -dependsOn (Type const&); + virtual void + dependsOn (Type const&); -virtual void -dependsOn_pre (Type&); + virtual void + dependsOn_pre (Type&); -virtual void -dependsOn_pre (Type const&); + virtual void + dependsOn_pre (Type const&); -virtual void -dependsOn_next (Type&); + virtual void + dependsOn_next (Type&); -virtual void -dependsOn_next (Type const&); + virtual void + dependsOn_next (Type const&); -virtual void -dependsOn_post (Type&); + virtual void + dependsOn_post (Type&); -virtual void -dependsOn_post (Type const&); + virtual void + dependsOn_post (Type const&); -virtual void -dependsOn_none (Type&); + virtual void + dependsOn_none (Type&); -virtual void -dependsOn_none (Type const&); + virtual void + dependsOn_none (Type const&); -virtual void -infoProperty (Type&); + virtual void + infoProperty (Type&); -virtual void -infoProperty (Type const&); + virtual void + infoProperty (Type const&); -virtual void -infoProperty_pre (Type&); + virtual void + infoProperty_pre (Type&); -virtual void -infoProperty_pre (Type const&); + virtual void + infoProperty_pre (Type const&); -virtual void -infoProperty_next (Type&); + virtual void + infoProperty_next (Type&); -virtual void -infoProperty_next (Type const&); + virtual void + infoProperty_next (Type const&); -virtual void -infoProperty_post (Type&); + virtual void + infoProperty_post (Type&); -virtual void -infoProperty_post (Type const&); + virtual void + infoProperty_post (Type const&); -virtual void -infoProperty_none (Type&); + virtual void + infoProperty_none (Type&); -virtual void -infoProperty_none (Type const&); + virtual void + infoProperty_none (Type const&); -virtual void -contentLocation (Type&); + virtual void + contentLocation (Type&); -virtual void -contentLocation (Type const&); + virtual void + contentLocation (Type const&); -virtual void -contentLocation_none (Type&); + virtual void + contentLocation_none (Type&); -virtual void -contentLocation_none (Type const&); + virtual void + contentLocation_none (Type const&); -virtual void -href (Type&); + virtual void + href (Type&); -virtual void -href (Type const&); + virtual void + href (Type const&); -virtual void -href_none (Type&); + virtual void + href_none (Type&); -virtual void -href_none (Type const&); + virtual void + href_none (Type const&); -virtual void -post (Type&); + virtual void + post (Type&); -virtual void -post (Type const&); -}; -} -} + virtual void + post (Type const&); + }; + } + } } #include "XMLSchema/Writer.hpp" namespace CIAO { -namespace Config_Handlers -{ -namespace Writer -{ -struct SubcomponentInstantiationDescription : Traversal::SubcomponentInstantiationDescription, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::SubcomponentInstantiationDescription Type; -SubcomponentInstantiationDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + namespace Config_Handlers + { + namespace Writer + { + struct SubcomponentInstantiationDescription : Traversal::SubcomponentInstantiationDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::SubcomponentInstantiationDescription Type; + SubcomponentInstantiationDescription (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -traverse (Type &o) -{ + virtual void + traverse (Type &o) + { -this->traverse (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -name (Type &o) -{ + virtual void + name (Type &o) + { -this->name (const_cast (o)); -} + this->name (const_cast (o)); + } -virtual void -name (Type const&); + virtual void + name (Type const&); -virtual void -basePackage (Type &o) -{ + virtual void + basePackage (Type &o) + { -this->basePackage (const_cast (o)); -} + this->basePackage (const_cast (o)); + } -virtual void -basePackage (Type const&); + virtual void + basePackage (Type const&); -virtual void -specializedConfig (Type &o) -{ + virtual void + specializedConfig (Type &o) + { -this->specializedConfig (const_cast (o)); -} + this->specializedConfig (const_cast (o)); + } -virtual void -specializedConfig (Type const&); + virtual void + specializedConfig (Type const&); -virtual void -selectRequirement_pre (Type &o) -{ + virtual void + selectRequirement_pre (Type &o) + { -this->selectRequirement_pre (const_cast (o)); -} + this->selectRequirement_pre (const_cast (o)); + } -virtual void -selectRequirement_pre (Type const&); + virtual void + selectRequirement_pre (Type const&); -virtual void -selectRequirement_next (Type &o) -{ + virtual void + selectRequirement_next (Type &o) + { -this->selectRequirement_next (const_cast (o)); -} + this->selectRequirement_next (const_cast (o)); + } -virtual void -selectRequirement_next (Type const&); + virtual void + selectRequirement_next (Type const&); -virtual void -selectRequirement_post (Type &o) -{ + virtual void + selectRequirement_post (Type &o) + { -this->selectRequirement_post (const_cast (o)); -} + this->selectRequirement_post (const_cast (o)); + } -virtual void -selectRequirement_post (Type const&); + virtual void + selectRequirement_post (Type const&); -virtual void -configProperty_pre (Type &o) -{ + virtual void + configProperty_pre (Type &o) + { -this->configProperty_pre (const_cast (o)); -} + this->configProperty_pre (const_cast (o)); + } -virtual void -configProperty_pre (Type const&); + virtual void + configProperty_pre (Type const&); -virtual void -configProperty_next (Type &o) -{ + virtual void + configProperty_next (Type &o) + { -this->configProperty_next (const_cast (o)); -} + this->configProperty_next (const_cast (o)); + } -virtual void -configProperty_next (Type const&); + virtual void + configProperty_next (Type const&); -virtual void -configProperty_post (Type &o) -{ + virtual void + configProperty_post (Type &o) + { -this->configProperty_post (const_cast (o)); -} + this->configProperty_post (const_cast (o)); + } -virtual void -configProperty_post (Type const&); + virtual void + configProperty_post (Type const&); -virtual void -referencedPackage (Type &o) -{ + virtual void + referencedPackage (Type &o) + { -this->referencedPackage (const_cast (o)); -} + this->referencedPackage (const_cast (o)); + } -virtual void -referencedPackage (Type const&); + virtual void + referencedPackage (Type const&); -virtual void -importedPackage (Type &o) -{ + virtual void + importedPackage (Type &o) + { -this->importedPackage (const_cast (o)); -} + this->importedPackage (const_cast (o)); + } -virtual void -importedPackage (Type const&); + virtual void + importedPackage (Type const&); -virtual void -id (Type &o) -{ + virtual void + id (Type &o) + { -this->id (const_cast (o)); -} + this->id (const_cast (o)); + } -virtual void -id (Type const&); + virtual void + id (Type const&); -protected: -SubcomponentInstantiationDescription (); -}; + protected: + SubcomponentInstantiationDescription (); + }; -struct SubcomponentPropertyReference : Traversal::SubcomponentPropertyReference, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::SubcomponentPropertyReference Type; -SubcomponentPropertyReference (::XSCRT::XML::Element< ACE_TCHAR >&); + struct SubcomponentPropertyReference : Traversal::SubcomponentPropertyReference, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::SubcomponentPropertyReference Type; + SubcomponentPropertyReference (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -traverse (Type &o) -{ + virtual void + traverse (Type &o) + { -this->traverse (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -propertyName (Type &o) -{ + virtual void + propertyName (Type &o) + { -this->propertyName (const_cast (o)); -} + this->propertyName (const_cast (o)); + } -virtual void -propertyName (Type const&); + virtual void + propertyName (Type const&); -virtual void -instance (Type &o) -{ + virtual void + instance (Type &o) + { -this->instance (const_cast (o)); -} + this->instance (const_cast (o)); + } -virtual void -instance (Type const&); + virtual void + instance (Type const&); -protected: -SubcomponentPropertyReference (); -}; + protected: + SubcomponentPropertyReference (); + }; -struct AssemblyPropertyMapping : Traversal::AssemblyPropertyMapping, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::AssemblyPropertyMapping Type; -AssemblyPropertyMapping (::XSCRT::XML::Element< ACE_TCHAR >&); + struct AssemblyPropertyMapping : Traversal::AssemblyPropertyMapping, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::AssemblyPropertyMapping Type; + AssemblyPropertyMapping (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -traverse (Type &o) -{ + virtual void + traverse (Type &o) + { -this->traverse (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -name (Type &o) -{ + virtual void + name (Type &o) + { -this->name (const_cast (o)); -} + this->name (const_cast (o)); + } -virtual void -name (Type const&); + virtual void + name (Type const&); -virtual void -externalName (Type &o) -{ + virtual void + externalName (Type &o) + { -this->externalName (const_cast (o)); -} + this->externalName (const_cast (o)); + } -virtual void -externalName (Type const&); + virtual void + externalName (Type const&); -virtual void -delegatesTo_pre (Type &o) -{ + virtual void + delegatesTo_pre (Type &o) + { -this->delegatesTo_pre (const_cast (o)); -} + this->delegatesTo_pre (const_cast (o)); + } -virtual void -delegatesTo_pre (Type const&); + virtual void + delegatesTo_pre (Type const&); -virtual void -delegatesTo_next (Type &o) -{ + virtual void + delegatesTo_next (Type &o) + { -this->delegatesTo_next (const_cast (o)); -} + this->delegatesTo_next (const_cast (o)); + } -virtual void -delegatesTo_next (Type const&); + virtual void + delegatesTo_next (Type const&); -virtual void -delegatesTo_post (Type &o) -{ + virtual void + delegatesTo_post (Type &o) + { -this->delegatesTo_post (const_cast (o)); -} + this->delegatesTo_post (const_cast (o)); + } -virtual void -delegatesTo_post (Type const&); + virtual void + delegatesTo_post (Type const&); -protected: -AssemblyPropertyMapping (); -}; + protected: + AssemblyPropertyMapping (); + }; -struct ComponentAssemblyDescription : Traversal::ComponentAssemblyDescription, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::ComponentAssemblyDescription Type; -ComponentAssemblyDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + struct ComponentAssemblyDescription : Traversal::ComponentAssemblyDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::ComponentAssemblyDescription Type; + ComponentAssemblyDescription (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -traverse (Type &o) -{ + virtual void + traverse (Type &o) + { -this->traverse (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -instance_pre (Type &o) -{ + virtual void + instance_pre (Type &o) + { -this->instance_pre (const_cast (o)); -} + this->instance_pre (const_cast (o)); + } -virtual void -instance_pre (Type const&); + virtual void + instance_pre (Type const&); -virtual void -instance_next (Type &o) -{ + virtual void + instance_next (Type &o) + { -this->instance_next (const_cast (o)); -} + this->instance_next (const_cast (o)); + } -virtual void -instance_next (Type const&); + virtual void + instance_next (Type const&); -virtual void -instance_post (Type &o) -{ + virtual void + instance_post (Type &o) + { -this->instance_post (const_cast (o)); -} + this->instance_post (const_cast (o)); + } -virtual void -instance_post (Type const&); + virtual void + instance_post (Type const&); -virtual void -connection_pre (Type &o) -{ + virtual void + connection_pre (Type &o) + { -this->connection_pre (const_cast (o)); -} + this->connection_pre (const_cast (o)); + } -virtual void -connection_pre (Type const&); + virtual void + connection_pre (Type const&); -virtual void -connection_next (Type &o) -{ + virtual void + connection_next (Type &o) + { -this->connection_next (const_cast (o)); -} + this->connection_next (const_cast (o)); + } -virtual void -connection_next (Type const&); + virtual void + connection_next (Type const&); -virtual void -connection_post (Type &o) -{ + virtual void + connection_post (Type &o) + { -this->connection_post (const_cast (o)); -} + this->connection_post (const_cast (o)); + } -virtual void -connection_post (Type const&); + virtual void + connection_post (Type const&); -virtual void -externalProperty_pre (Type &o) -{ + virtual void + externalProperty_pre (Type &o) + { -this->externalProperty_pre (const_cast (o)); -} + this->externalProperty_pre (const_cast (o)); + } -virtual void -externalProperty_pre (Type const&); + virtual void + externalProperty_pre (Type const&); -virtual void -externalProperty_next (Type &o) -{ + virtual void + externalProperty_next (Type &o) + { -this->externalProperty_next (const_cast (o)); -} + this->externalProperty_next (const_cast (o)); + } -virtual void -externalProperty_next (Type const&); + virtual void + externalProperty_next (Type const&); -virtual void -externalProperty_post (Type &o) -{ + virtual void + externalProperty_post (Type &o) + { -this->externalProperty_post (const_cast (o)); -} + this->externalProperty_post (const_cast (o)); + } -virtual void -externalProperty_post (Type const&); + virtual void + externalProperty_post (Type const&); -protected: -ComponentAssemblyDescription (); -}; + protected: + ComponentAssemblyDescription (); + }; -struct MonolithicImplementationDescription : Traversal::MonolithicImplementationDescription, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::MonolithicImplementationDescription Type; -MonolithicImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + struct MonolithicImplementationDescription : Traversal::MonolithicImplementationDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::MonolithicImplementationDescription Type; + MonolithicImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -traverse (Type &o) -{ + virtual void + traverse (Type &o) + { -this->traverse (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -nodeExecParameter_pre (Type &o) -{ + virtual void + nodeExecParameter_pre (Type &o) + { -this->nodeExecParameter_pre (const_cast (o)); -} + this->nodeExecParameter_pre (const_cast (o)); + } -virtual void -nodeExecParameter_pre (Type const&); + virtual void + nodeExecParameter_pre (Type const&); -virtual void -nodeExecParameter_next (Type &o) -{ + virtual void + nodeExecParameter_next (Type &o) + { -this->nodeExecParameter_next (const_cast (o)); -} + this->nodeExecParameter_next (const_cast (o)); + } -virtual void -nodeExecParameter_next (Type const&); + virtual void + nodeExecParameter_next (Type const&); -virtual void -nodeExecParameter_post (Type &o) -{ + virtual void + nodeExecParameter_post (Type &o) + { -this->nodeExecParameter_post (const_cast (o)); -} + this->nodeExecParameter_post (const_cast (o)); + } -virtual void -nodeExecParameter_post (Type const&); + virtual void + nodeExecParameter_post (Type const&); -virtual void -componentExecParameter_pre (Type &o) -{ + virtual void + componentExecParameter_pre (Type &o) + { -this->componentExecParameter_pre (const_cast (o)); -} + this->componentExecParameter_pre (const_cast (o)); + } -virtual void -componentExecParameter_pre (Type const&); + virtual void + componentExecParameter_pre (Type const&); -virtual void -componentExecParameter_next (Type &o) -{ + virtual void + componentExecParameter_next (Type &o) + { -this->componentExecParameter_next (const_cast (o)); -} + this->componentExecParameter_next (const_cast (o)); + } -virtual void -componentExecParameter_next (Type const&); + virtual void + componentExecParameter_next (Type const&); -virtual void -componentExecParameter_post (Type &o) -{ + virtual void + componentExecParameter_post (Type &o) + { -this->componentExecParameter_post (const_cast (o)); -} + this->componentExecParameter_post (const_cast (o)); + } -virtual void -componentExecParameter_post (Type const&); + virtual void + componentExecParameter_post (Type const&); -virtual void -deployRequirement_pre (Type &o) -{ + virtual void + deployRequirement_pre (Type &o) + { -this->deployRequirement_pre (const_cast (o)); -} + this->deployRequirement_pre (const_cast (o)); + } -virtual void -deployRequirement_pre (Type const&); + virtual void + deployRequirement_pre (Type const&); -virtual void -deployRequirement_next (Type &o) -{ + virtual void + deployRequirement_next (Type &o) + { -this->deployRequirement_next (const_cast (o)); -} + this->deployRequirement_next (const_cast (o)); + } -virtual void -deployRequirement_next (Type const&); + virtual void + deployRequirement_next (Type const&); -virtual void -deployRequirement_post (Type &o) -{ + virtual void + deployRequirement_post (Type &o) + { -this->deployRequirement_post (const_cast (o)); -} + this->deployRequirement_post (const_cast (o)); + } -virtual void -deployRequirement_post (Type const&); + virtual void + deployRequirement_post (Type const&); -virtual void -primaryArtifact_pre (Type &o) -{ + virtual void + primaryArtifact_pre (Type &o) + { -this->primaryArtifact_pre (const_cast (o)); -} + this->primaryArtifact_pre (const_cast (o)); + } -virtual void -primaryArtifact_pre (Type const&); + virtual void + primaryArtifact_pre (Type const&); -virtual void -primaryArtifact_next (Type &o) -{ + virtual void + primaryArtifact_next (Type &o) + { -this->primaryArtifact_next (const_cast (o)); -} + this->primaryArtifact_next (const_cast (o)); + } -virtual void -primaryArtifact_next (Type const&); + virtual void + primaryArtifact_next (Type const&); -virtual void -primaryArtifact_post (Type &o) -{ + virtual void + primaryArtifact_post (Type &o) + { -this->primaryArtifact_post (const_cast (o)); -} + this->primaryArtifact_post (const_cast (o)); + } -virtual void -primaryArtifact_post (Type const&); + virtual void + primaryArtifact_post (Type const&); -protected: -MonolithicImplementationDescription (); -}; + protected: + MonolithicImplementationDescription (); + }; -struct ComponentImplementationDescription : Traversal::ComponentImplementationDescription, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::ComponentImplementationDescription Type; -ComponentImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + struct ComponentImplementationDescription : Traversal::ComponentImplementationDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::ComponentImplementationDescription Type; + ComponentImplementationDescription (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -traverse (Type &o) -{ + virtual void + traverse (Type &o) + { -this->traverse (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -label (Type &o) -{ + virtual void + label (Type &o) + { -this->label (const_cast (o)); -} + this->label (const_cast (o)); + } -virtual void -label (Type const&); + virtual void + label (Type const&); -virtual void -UUID (Type &o) -{ + virtual void + UUID (Type &o) + { -this->UUID (const_cast (o)); -} + this->UUID (const_cast (o)); + } -virtual void -UUID (Type const&); + virtual void + UUID (Type const&); -virtual void -implements (Type &o) -{ + virtual void + implements (Type &o) + { -this->implements (const_cast (o)); -} + this->implements (const_cast (o)); + } -virtual void -implements (Type const&); + virtual void + implements (Type const&); -virtual void -assemblyImpl (Type &o) -{ + virtual void + assemblyImpl (Type &o) + { -this->assemblyImpl (const_cast (o)); -} + this->assemblyImpl (const_cast (o)); + } -virtual void -assemblyImpl (Type const&); + virtual void + assemblyImpl (Type const&); -virtual void -monolithicImpl (Type &o) -{ + virtual void + monolithicImpl (Type &o) + { -this->monolithicImpl (const_cast (o)); -} + this->monolithicImpl (const_cast (o)); + } -virtual void -monolithicImpl (Type const&); + virtual void + monolithicImpl (Type const&); -virtual void -configProperty_pre (Type &o) -{ + virtual void + configProperty_pre (Type &o) + { -this->configProperty_pre (const_cast (o)); -} + this->configProperty_pre (const_cast (o)); + } -virtual void -configProperty_pre (Type const&); + virtual void + configProperty_pre (Type const&); -virtual void -configProperty_next (Type &o) -{ + virtual void + configProperty_next (Type &o) + { -this->configProperty_next (const_cast (o)); -} + this->configProperty_next (const_cast (o)); + } -virtual void -configProperty_next (Type const&); + virtual void + configProperty_next (Type const&); -virtual void -configProperty_post (Type &o) -{ + virtual void + configProperty_post (Type &o) + { -this->configProperty_post (const_cast (o)); -} + this->configProperty_post (const_cast (o)); + } -virtual void -configProperty_post (Type const&); + virtual void + configProperty_post (Type const&); -virtual void -capability_pre (Type &o) -{ + virtual void + capability_pre (Type &o) + { -this->capability_pre (const_cast (o)); -} + this->capability_pre (const_cast (o)); + } -virtual void -capability_pre (Type const&); + virtual void + capability_pre (Type const&); -virtual void -capability_next (Type &o) -{ + virtual void + capability_next (Type &o) + { -this->capability_next (const_cast (o)); -} + this->capability_next (const_cast (o)); + } -virtual void -capability_next (Type const&); + virtual void + capability_next (Type const&); -virtual void -capability_post (Type &o) -{ + virtual void + capability_post (Type &o) + { -this->capability_post (const_cast (o)); -} + this->capability_post (const_cast (o)); + } -virtual void -capability_post (Type const&); + virtual void + capability_post (Type const&); -virtual void -dependsOn_pre (Type &o) -{ + virtual void + dependsOn_pre (Type &o) + { -this->dependsOn_pre (const_cast (o)); -} + this->dependsOn_pre (const_cast (o)); + } -virtual void -dependsOn_pre (Type const&); + virtual void + dependsOn_pre (Type const&); -virtual void -dependsOn_next (Type &o) -{ + virtual void + dependsOn_next (Type &o) + { -this->dependsOn_next (const_cast (o)); -} + this->dependsOn_next (const_cast (o)); + } -virtual void -dependsOn_next (Type const&); + virtual void + dependsOn_next (Type const&); -virtual void -dependsOn_post (Type &o) -{ + virtual void + dependsOn_post (Type &o) + { -this->dependsOn_post (const_cast (o)); -} + this->dependsOn_post (const_cast (o)); + } -virtual void -dependsOn_post (Type const&); + virtual void + dependsOn_post (Type const&); -virtual void -infoProperty_pre (Type &o) -{ + virtual void + infoProperty_pre (Type &o) + { -this->infoProperty_pre (const_cast (o)); -} + this->infoProperty_pre (const_cast (o)); + } -virtual void -infoProperty_pre (Type const&); + virtual void + infoProperty_pre (Type const&); -virtual void -infoProperty_next (Type &o) -{ + virtual void + infoProperty_next (Type &o) + { -this->infoProperty_next (const_cast (o)); -} + this->infoProperty_next (const_cast (o)); + } -virtual void -infoProperty_next (Type const&); + virtual void + infoProperty_next (Type const&); -virtual void -infoProperty_post (Type &o) -{ + virtual void + infoProperty_post (Type &o) + { -this->infoProperty_post (const_cast (o)); -} + this->infoProperty_post (const_cast (o)); + } -virtual void -infoProperty_post (Type const&); + virtual void + infoProperty_post (Type const&); -virtual void -contentLocation (Type &o) -{ + virtual void + contentLocation (Type &o) + { -this->contentLocation (const_cast (o)); -} + this->contentLocation (const_cast (o)); + } -virtual void -contentLocation (Type const&); + virtual void + contentLocation (Type const&); -virtual void -href (Type &o) -{ + virtual void + href (Type &o) + { -this->href (const_cast (o)); -} + this->href (const_cast (o)); + } -virtual void -href (Type const&); + virtual void + href (Type const&); -protected: -ComponentImplementationDescription (); -}; -} -} + protected: + ComponentImplementationDescription (); + }; + } + } } namespace CIAO { -namespace Config_Handlers -{ -} + namespace Config_Handlers + { + } } #endif // CID_HPP diff --git a/CIAO/tools/Config_Handlers/cpd.cpp b/CIAO/tools/Config_Handlers/cpd.cpp index 234843d14d4..4fdde6fe4b6 100644 --- a/CIAO/tools/Config_Handlers/cpd.cpp +++ b/CIAO/tools/Config_Handlers/cpd.cpp @@ -3,29 +3,29 @@ * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte */ - + #include "cpd.hpp" -#include + namespace CIAO { namespace Config_Handlers { // PackagedComponentImplementation - // + // PackagedComponentImplementation:: PackagedComponentImplementation (::XMLSchema::string< ACE_TCHAR > const& name__, ::CIAO::Config_Handlers::ComponentImplementationDescription const& referencedImplementation__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - referencedImplementation_ (new ::CIAO::Config_Handlers::ComponentImplementationDescription (referencedImplementation__)), - regulator__ () + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + referencedImplementation_ (new ::CIAO::Config_Handlers::ComponentImplementationDescription (referencedImplementation__)), + regulator__ () { name_->container (this); referencedImplementation_->container (this); @@ -33,1236 +33,1236 @@ namespace CIAO PackagedComponentImplementation:: PackagedComponentImplementation (::CIAO::Config_Handlers::PackagedComponentImplementation const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), -referencedImplementation_ (new ::CIAO::Config_Handlers::ComponentImplementationDescription (*s.referencedImplementation_)), -regulator__ () -{ -name_->container (this); -referencedImplementation_->container (this); -} + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + referencedImplementation_ (new ::CIAO::Config_Handlers::ComponentImplementationDescription (*s.referencedImplementation_)), + regulator__ () + { + name_->container (this); + referencedImplementation_->container (this); + } -::CIAO::Config_Handlers::PackagedComponentImplementation& PackagedComponentImplementation:: -operator= (::CIAO::Config_Handlers::PackagedComponentImplementation const& s) -{ -name (s.name ()); + ::CIAO::Config_Handlers::PackagedComponentImplementation& PackagedComponentImplementation:: + operator= (::CIAO::Config_Handlers::PackagedComponentImplementation const& s) + { + name (s.name ()); -referencedImplementation (s.referencedImplementation ()); + referencedImplementation (s.referencedImplementation ()); -return *this; -} + return *this; + } -// PackagedComponentImplementation -// -::XMLSchema::string< ACE_TCHAR > const& PackagedComponentImplementation:: -name () const -{ -return *name_; -} + // PackagedComponentImplementation + // + ::XMLSchema::string< ACE_TCHAR > const& PackagedComponentImplementation:: + name () const + { + return *name_; + } -void PackagedComponentImplementation:: -name (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*name_ = e; -} + void PackagedComponentImplementation:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -// PackagedComponentImplementation -// -::CIAO::Config_Handlers::ComponentImplementationDescription const& PackagedComponentImplementation:: -referencedImplementation () const -{ -return *referencedImplementation_; -} + // PackagedComponentImplementation + // + ::CIAO::Config_Handlers::ComponentImplementationDescription const& PackagedComponentImplementation:: + referencedImplementation () const + { + return *referencedImplementation_; + } -void PackagedComponentImplementation:: -referencedImplementation (::CIAO::Config_Handlers::ComponentImplementationDescription const& e) -{ -*referencedImplementation_ = e; -} + void PackagedComponentImplementation:: + referencedImplementation (::CIAO::Config_Handlers::ComponentImplementationDescription const& e) + { + *referencedImplementation_ = e; + } -// ComponentPackageDescription -// + // ComponentPackageDescription + // -ComponentPackageDescription:: -ComponentPackageDescription () -: -::XSCRT::Type (), -regulator__ () -{ -} + ComponentPackageDescription:: + ComponentPackageDescription () + : + ::XSCRT::Type (), + regulator__ () + { + } -ComponentPackageDescription:: -ComponentPackageDescription (::CIAO::Config_Handlers::ComponentPackageDescription const& s) -: -::XSCRT::Type (), -label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), -UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), -realizes_ (s.realizes_.get () ? new ::CIAO::Config_Handlers::ComponentInterfaceDescription (*s.realizes_) : 0), -contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0), -href_ (s.href_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.href_) : 0), -regulator__ () -{ -if (label_.get ()) label_->container (this); -if (UUID_.get ()) UUID_->container (this); -if (realizes_.get ()) realizes_->container (this); -{ -for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); -} + ComponentPackageDescription:: + ComponentPackageDescription (::CIAO::Config_Handlers::ComponentPackageDescription const& s) + : + ::XSCRT::Type (), + label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), + UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), + realizes_ (s.realizes_.get () ? new ::CIAO::Config_Handlers::ComponentInterfaceDescription (*s.realizes_) : 0), + contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0), + href_ (s.href_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.href_) : 0), + regulator__ () + { + if (label_.get ()) label_->container (this); + if (UUID_.get ()) UUID_->container (this); + if (realizes_.get ()) realizes_->container (this); + { + for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); + } + + { + for (implementation_const_iterator i (s.implementation_.begin ());i != s.implementation_.end ();++i) add_implementation (*i); + } + + { + for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i); + } + + if (contentLocation_.get ()) contentLocation_->container (this); + if (href_.get ()) href_->container (this); + } -{ -for (implementation_const_iterator i (s.implementation_.begin ());i != s.implementation_.end ();++i) add_implementation (*i); -} + ::CIAO::Config_Handlers::ComponentPackageDescription& ComponentPackageDescription:: + operator= (::CIAO::Config_Handlers::ComponentPackageDescription const& s) + { + if (s.label_.get ()) label (*(s.label_)); + else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -{ -for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i); -} + if (s.UUID_.get ()) UUID (*(s.UUID_)); + else UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -if (contentLocation_.get ()) contentLocation_->container (this); -if (href_.get ()) href_->container (this); -} + if (s.realizes_.get ()) realizes (*(s.realizes_)); + else realizes_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (0); -::CIAO::Config_Handlers::ComponentPackageDescription& ComponentPackageDescription:: -operator= (::CIAO::Config_Handlers::ComponentPackageDescription const& s) -{ -if (s.label_.get ()) label (*(s.label_)); -else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + configProperty_.clear (); + { + for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); + } -if (s.UUID_.get ()) UUID (*(s.UUID_)); -else UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + implementation_.clear (); + { + for (implementation_const_iterator i (s.implementation_.begin ());i != s.implementation_.end ();++i) add_implementation (*i); + } -if (s.realizes_.get ()) realizes (*(s.realizes_)); -else realizes_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (0); + infoProperty_.clear (); + { + for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i); + } -configProperty_.clear (); -{ -for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i); -} + if (s.contentLocation_.get ()) contentLocation (*(s.contentLocation_)); + else contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -implementation_.clear (); -{ -for (implementation_const_iterator i (s.implementation_.begin ());i != s.implementation_.end ();++i) add_implementation (*i); -} + if (s.href_.get ()) href (*(s.href_)); + else href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -infoProperty_.clear (); -{ -for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i); -} + return *this; + } -if (s.contentLocation_.get ()) contentLocation (*(s.contentLocation_)); -else contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -if (s.href_.get ()) href (*(s.href_)); -else href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + // ComponentPackageDescription + // + bool ComponentPackageDescription:: + label_p () const + { + return label_.get () != 0; + } -return *this; -} + ::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription:: + label () const + { + return *label_; + } + void ComponentPackageDescription:: + label (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (label_.get ()) + { + *label_ = e; + } + + else + { + label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + label_->container (this); + } + } -// ComponentPackageDescription -// -bool ComponentPackageDescription:: -label_p () const -{ -return label_.get () != 0; -} + // ComponentPackageDescription + // + bool ComponentPackageDescription:: + UUID_p () const + { + return UUID_.get () != 0; + } -::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription:: -label () const -{ -return *label_; -} + ::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription:: + UUID () const + { + return *UUID_; + } -void ComponentPackageDescription:: -label (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (label_.get ()) -{ -*label_ = e; -} + void ComponentPackageDescription:: + UUID (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (UUID_.get ()) + { + *UUID_ = e; + } + + else + { + UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + UUID_->container (this); + } + } -else -{ -label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -label_->container (this); -} -} + // ComponentPackageDescription + // + bool ComponentPackageDescription:: + realizes_p () const + { + return realizes_.get () != 0; + } -// ComponentPackageDescription -// -bool ComponentPackageDescription:: -UUID_p () const -{ -return UUID_.get () != 0; -} + ::CIAO::Config_Handlers::ComponentInterfaceDescription const& ComponentPackageDescription:: + realizes () const + { + return *realizes_; + } -::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription:: -UUID () const -{ -return *UUID_; -} + void ComponentPackageDescription:: + realizes (::CIAO::Config_Handlers::ComponentInterfaceDescription const& e) + { + if (realizes_.get ()) + { + *realizes_ = e; + } + + else + { + realizes_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (new ::CIAO::Config_Handlers::ComponentInterfaceDescription (e)); + realizes_->container (this); + } + } -void ComponentPackageDescription:: -UUID (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (UUID_.get ()) -{ -*UUID_ = e; -} + // ComponentPackageDescription + // + ComponentPackageDescription::configProperty_iterator ComponentPackageDescription:: + begin_configProperty () + { + return configProperty_.begin (); + } -else -{ -UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -UUID_->container (this); -} -} + ComponentPackageDescription::configProperty_iterator ComponentPackageDescription:: + end_configProperty () + { + return configProperty_.end (); + } -// ComponentPackageDescription -// -bool ComponentPackageDescription:: -realizes_p () const -{ -return realizes_.get () != 0; -} + ComponentPackageDescription::configProperty_const_iterator ComponentPackageDescription:: + begin_configProperty () const + { + return configProperty_.begin (); + } -::CIAO::Config_Handlers::ComponentInterfaceDescription const& ComponentPackageDescription:: -realizes () const -{ -return *realizes_; -} + ComponentPackageDescription::configProperty_const_iterator ComponentPackageDescription:: + end_configProperty () const + { + return configProperty_.end (); + } -void ComponentPackageDescription:: -realizes (::CIAO::Config_Handlers::ComponentInterfaceDescription const& e) -{ -if (realizes_.get ()) -{ -*realizes_ = e; -} + void ComponentPackageDescription:: + add_configProperty (::CIAO::Config_Handlers::Property const& e) + { + configProperty_.push_back (e); + } -else -{ -realizes_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (new ::CIAO::Config_Handlers::ComponentInterfaceDescription (e)); -realizes_->container (this); -} -} + size_t ComponentPackageDescription:: + count_configProperty(void) const + { + return configProperty_.size (); + } -// ComponentPackageDescription -// -ComponentPackageDescription::configProperty_iterator ComponentPackageDescription:: -begin_configProperty () -{ -return configProperty_.begin (); -} + // ComponentPackageDescription + // + ComponentPackageDescription::implementation_iterator ComponentPackageDescription:: + begin_implementation () + { + return implementation_.begin (); + } -ComponentPackageDescription::configProperty_iterator ComponentPackageDescription:: -end_configProperty () -{ -return configProperty_.end (); -} + ComponentPackageDescription::implementation_iterator ComponentPackageDescription:: + end_implementation () + { + return implementation_.end (); + } -ComponentPackageDescription::configProperty_const_iterator ComponentPackageDescription:: -begin_configProperty () const -{ -return configProperty_.begin (); -} + ComponentPackageDescription::implementation_const_iterator ComponentPackageDescription:: + begin_implementation () const + { + return implementation_.begin (); + } -ComponentPackageDescription::configProperty_const_iterator ComponentPackageDescription:: -end_configProperty () const -{ -return configProperty_.end (); -} + ComponentPackageDescription::implementation_const_iterator ComponentPackageDescription:: + end_implementation () const + { + return implementation_.end (); + } -void ComponentPackageDescription:: -add_configProperty (::CIAO::Config_Handlers::Property const& e) -{ -configProperty_.push_back (e); -} + void ComponentPackageDescription:: + add_implementation (::CIAO::Config_Handlers::PackagedComponentImplementation const& e) + { + implementation_.push_back (e); + } -size_t ComponentPackageDescription:: -count_configProperty(void) const -{ -return configProperty_.size (); -} + size_t ComponentPackageDescription:: + count_implementation(void) const + { + return implementation_.size (); + } -// ComponentPackageDescription -// -ComponentPackageDescription::implementation_iterator ComponentPackageDescription:: -begin_implementation () -{ -return implementation_.begin (); -} + // ComponentPackageDescription + // + ComponentPackageDescription::infoProperty_iterator ComponentPackageDescription:: + begin_infoProperty () + { + return infoProperty_.begin (); + } -ComponentPackageDescription::implementation_iterator ComponentPackageDescription:: -end_implementation () -{ -return implementation_.end (); -} + ComponentPackageDescription::infoProperty_iterator ComponentPackageDescription:: + end_infoProperty () + { + return infoProperty_.end (); + } -ComponentPackageDescription::implementation_const_iterator ComponentPackageDescription:: -begin_implementation () const -{ -return implementation_.begin (); -} + ComponentPackageDescription::infoProperty_const_iterator ComponentPackageDescription:: + begin_infoProperty () const + { + return infoProperty_.begin (); + } -ComponentPackageDescription::implementation_const_iterator ComponentPackageDescription:: -end_implementation () const -{ -return implementation_.end (); -} + ComponentPackageDescription::infoProperty_const_iterator ComponentPackageDescription:: + end_infoProperty () const + { + return infoProperty_.end (); + } -void ComponentPackageDescription:: -add_implementation (::CIAO::Config_Handlers::PackagedComponentImplementation const& e) -{ -implementation_.push_back (e); -} + void ComponentPackageDescription:: + add_infoProperty (::CIAO::Config_Handlers::Property const& e) + { + infoProperty_.push_back (e); + } -size_t ComponentPackageDescription:: -count_implementation(void) const -{ -return implementation_.size (); -} + size_t ComponentPackageDescription:: + count_infoProperty(void) const + { + return infoProperty_.size (); + } -// ComponentPackageDescription -// -ComponentPackageDescription::infoProperty_iterator ComponentPackageDescription:: -begin_infoProperty () -{ -return infoProperty_.begin (); -} + // ComponentPackageDescription + // + bool ComponentPackageDescription:: + contentLocation_p () const + { + return contentLocation_.get () != 0; + } -ComponentPackageDescription::infoProperty_iterator ComponentPackageDescription:: -end_infoProperty () -{ -return infoProperty_.end (); -} + ::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription:: + contentLocation () const + { + return *contentLocation_; + } -ComponentPackageDescription::infoProperty_const_iterator ComponentPackageDescription:: -begin_infoProperty () const -{ -return infoProperty_.begin (); -} + void ComponentPackageDescription:: + contentLocation (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (contentLocation_.get ()) + { + *contentLocation_ = e; + } + + else + { + contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + contentLocation_->container (this); + } + } -ComponentPackageDescription::infoProperty_const_iterator ComponentPackageDescription:: -end_infoProperty () const -{ -return infoProperty_.end (); -} + // ComponentPackageDescription + // + bool ComponentPackageDescription:: + href_p () const + { + return href_.get () != 0; + } -void ComponentPackageDescription:: -add_infoProperty (::CIAO::Config_Handlers::Property const& e) -{ -infoProperty_.push_back (e); -} + ::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription:: + href () const + { + return *href_; + } -size_t ComponentPackageDescription:: -count_infoProperty(void) const -{ -return infoProperty_.size (); -} + ::XMLSchema::string< ACE_TCHAR >& ComponentPackageDescription:: + href () + { + return *href_; + } -// ComponentPackageDescription -// -bool ComponentPackageDescription:: -contentLocation_p () const -{ -return contentLocation_.get () != 0; + void ComponentPackageDescription:: + href (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (href_.get ()) + { + *href_ = e; + } + + else + { + href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + href_->container (this); + } + } + } } -::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription:: -contentLocation () const +namespace CIAO { -return *contentLocation_; -} + namespace Config_Handlers + { + // PackagedComponentImplementation + // -void ComponentPackageDescription:: -contentLocation (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (contentLocation_.get ()) -{ -*contentLocation_ = e; -} + PackagedComponentImplementation:: + PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -else -{ -contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -contentLocation_->container (this); -} -} + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } + + else if (n == "referencedImplementation") + { + referencedImplementation_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentImplementationDescription > (new ::CIAO::Config_Handlers::ComponentImplementationDescription (e)); + referencedImplementation_->container (this); + } + + else + { + } + } + } -// ComponentPackageDescription -// -bool ComponentPackageDescription:: -href_p () const -{ -return href_.get () != 0; -} + // ComponentPackageDescription + // -::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription:: -href () const -{ -return *href_; -} + ComponentPackageDescription:: + ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -::XMLSchema::string< ACE_TCHAR >& ComponentPackageDescription:: -href () -{ -return *href_; + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "label") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + label (t); + } + + else if (n == "UUID") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + UUID (t); + } + + else if (n == "realizes") + { + ::CIAO::Config_Handlers::ComponentInterfaceDescription t (e); + realizes (t); + } + + else if (n == "configProperty") + { + ::CIAO::Config_Handlers::Property t (e); + add_configProperty (t); + } + + else if (n == "implementation") + { + ::CIAO::Config_Handlers::PackagedComponentImplementation t (e); + add_implementation (t); + } + + else if (n == "infoProperty") + { + ::CIAO::Config_Handlers::Property t (e); + add_infoProperty (t); + } + + else if (n == "contentLocation") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + contentLocation (t); + } + + else + { + } + } + + while (p.more_attributes ()) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); + if (n == "href") + { + ::XMLSchema::string< ACE_TCHAR > t (a); + href (t); + } + + else + { + } + } + } + } } -void ComponentPackageDescription:: -href (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (href_.get ()) +namespace CIAO { -*href_ = e; + namespace Config_Handlers + { + } } -else -{ -href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -href_->container (this); -} -} -} -} +#include "XMLSchema/TypeInfo.hpp" namespace CIAO { -namespace Config_Handlers -{ -// PackagedComponentImplementation -// - -PackagedComponentImplementation:: -PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ - -::XSCRT::Parser< ACE_TCHAR > p (e); - -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - -if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); + namespace Config_Handlers + { + namespace + { + ::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); + + struct PackagedComponentImplementationTypeInfoInitializer + { + PackagedComponentImplementationTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (PackagedComponentImplementation)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + PackagedComponentImplementationTypeInfoInitializer PackagedComponentImplementationTypeInfoInitializer_; + + struct ComponentPackageDescriptionTypeInfoInitializer + { + ComponentPackageDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ComponentPackageDescription)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + ComponentPackageDescriptionTypeInfoInitializer ComponentPackageDescriptionTypeInfoInitializer_; + } + } } -else if (n == "referencedImplementation") +namespace CIAO { -referencedImplementation_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentImplementationDescription > (new ::CIAO::Config_Handlers::ComponentImplementationDescription (e)); -referencedImplementation_->container (this); + namespace Config_Handlers + { + namespace Traversal + { + // PackagedComponentImplementation + // + // + + void PackagedComponentImplementation:: + traverse (Type& o) + { + pre (o); + name (o); + referencedImplementation (o); + post (o); + } + + void PackagedComponentImplementation:: + traverse (Type const& o) + { + pre (o); + name (o); + referencedImplementation (o); + post (o); + } + + void PackagedComponentImplementation:: + pre (Type&) + { + } + + void PackagedComponentImplementation:: + pre (Type const&) + { + } + + void PackagedComponentImplementation:: + name (Type& o) + { + dispatch (o.name ()); + } + + void PackagedComponentImplementation:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void PackagedComponentImplementation:: + referencedImplementation (Type& o) + { + dispatch (o.referencedImplementation ()); + } + + void PackagedComponentImplementation:: + referencedImplementation (Type const& o) + { + dispatch (o.referencedImplementation ()); + } + + void PackagedComponentImplementation:: + post (Type&) + { + } + + void PackagedComponentImplementation:: + post (Type const&) + { + } + + // ComponentPackageDescription + // + // + + void ComponentPackageDescription:: + traverse (Type& o) + { + pre (o); + if (o.label_p ()) label (o); + else label_none (o); + if (o.UUID_p ()) UUID (o); + else UUID_none (o); + if (o.realizes_p ()) realizes (o); + else realizes_none (o); + configProperty (o); + implementation (o); + infoProperty (o); + if (o.contentLocation_p ()) contentLocation (o); + else contentLocation_none (o); + if (o.href_p ()) href (o); + else href_none (o); + post (o); + } + + void ComponentPackageDescription:: + traverse (Type const& o) + { + pre (o); + if (o.label_p ()) label (o); + else label_none (o); + if (o.UUID_p ()) UUID (o); + else UUID_none (o); + if (o.realizes_p ()) realizes (o); + else realizes_none (o); + configProperty (o); + implementation (o); + infoProperty (o); + if (o.contentLocation_p ()) contentLocation (o); + else contentLocation_none (o); + if (o.href_p ()) href (o); + else href_none (o); + post (o); + } + + void ComponentPackageDescription:: + pre (Type&) + { + } + + void ComponentPackageDescription:: + pre (Type const&) + { + } + + void ComponentPackageDescription:: + label (Type& o) + { + dispatch (o.label ()); + } + + void ComponentPackageDescription:: + label (Type const& o) + { + dispatch (o.label ()); + } + + void ComponentPackageDescription:: + label_none (Type&) + { + } + + void ComponentPackageDescription:: + label_none (Type const&) + { + } + + void ComponentPackageDescription:: + UUID (Type& o) + { + dispatch (o.UUID ()); + } + + void ComponentPackageDescription:: + UUID (Type const& o) + { + dispatch (o.UUID ()); + } + + void ComponentPackageDescription:: + UUID_none (Type&) + { + } + + void ComponentPackageDescription:: + UUID_none (Type const&) + { + } + + void ComponentPackageDescription:: + realizes (Type& o) + { + dispatch (o.realizes ()); + } + + void ComponentPackageDescription:: + realizes (Type const& o) + { + dispatch (o.realizes ()); + } + + void ComponentPackageDescription:: + realizes_none (Type&) + { + } + + void ComponentPackageDescription:: + realizes_none (Type const&) + { + } + + void ComponentPackageDescription:: + configProperty (Type& o) + { + // VC6 anathema strikes again + // + ComponentPackageDescription::Type::configProperty_iterator b (o.begin_configProperty()), e (o.end_configProperty()); + + if (b != e) + { + configProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) configProperty_next (o); + } + + configProperty_post (o); + } + + else configProperty_none (o); + } + + void ComponentPackageDescription:: + configProperty (Type const& o) + { + // VC6 anathema strikes again + // + ComponentPackageDescription::Type::configProperty_const_iterator b (o.begin_configProperty()), e (o.end_configProperty()); + + if (b != e) + { + configProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) configProperty_next (o); + } + + configProperty_post (o); + } + + else configProperty_none (o); + } + + void ComponentPackageDescription:: + configProperty_pre (Type&) + { + } + + void ComponentPackageDescription:: + configProperty_pre (Type const&) + { + } + + void ComponentPackageDescription:: + configProperty_next (Type&) + { + } + + void ComponentPackageDescription:: + configProperty_next (Type const&) + { + } + + void ComponentPackageDescription:: + configProperty_post (Type&) + { + } + + void ComponentPackageDescription:: + configProperty_post (Type const&) + { + } + + void ComponentPackageDescription:: + configProperty_none (Type&) + { + } + + void ComponentPackageDescription:: + configProperty_none (Type const&) + { + } + + void ComponentPackageDescription:: + implementation (Type& o) + { + // VC6 anathema strikes again + // + ComponentPackageDescription::Type::implementation_iterator b (o.begin_implementation()), e (o.end_implementation()); + + if (b != e) + { + implementation_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) implementation_next (o); + } + + implementation_post (o); + } + + else implementation_none (o); + } + + void ComponentPackageDescription:: + implementation (Type const& o) + { + // VC6 anathema strikes again + // + ComponentPackageDescription::Type::implementation_const_iterator b (o.begin_implementation()), e (o.end_implementation()); + + if (b != e) + { + implementation_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) implementation_next (o); + } + + implementation_post (o); + } + + else implementation_none (o); + } + + void ComponentPackageDescription:: + implementation_pre (Type&) + { + } + + void ComponentPackageDescription:: + implementation_pre (Type const&) + { + } + + void ComponentPackageDescription:: + implementation_next (Type&) + { + } + + void ComponentPackageDescription:: + implementation_next (Type const&) + { + } + + void ComponentPackageDescription:: + implementation_post (Type&) + { + } + + void ComponentPackageDescription:: + implementation_post (Type const&) + { + } + + void ComponentPackageDescription:: + implementation_none (Type&) + { + } + + void ComponentPackageDescription:: + implementation_none (Type const&) + { + } + + void ComponentPackageDescription:: + infoProperty (Type& o) + { + // VC6 anathema strikes again + // + ComponentPackageDescription::Type::infoProperty_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); + + if (b != e) + { + infoProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) infoProperty_next (o); + } + + infoProperty_post (o); + } + + else infoProperty_none (o); + } + + void ComponentPackageDescription:: + infoProperty (Type const& o) + { + // VC6 anathema strikes again + // + ComponentPackageDescription::Type::infoProperty_const_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); + + if (b != e) + { + infoProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) infoProperty_next (o); + } + + infoProperty_post (o); + } + + else infoProperty_none (o); + } + + void ComponentPackageDescription:: + infoProperty_pre (Type&) + { + } + + void ComponentPackageDescription:: + infoProperty_pre (Type const&) + { + } + + void ComponentPackageDescription:: + infoProperty_next (Type&) + { + } + + void ComponentPackageDescription:: + infoProperty_next (Type const&) + { + } + + void ComponentPackageDescription:: + infoProperty_post (Type&) + { + } + + void ComponentPackageDescription:: + infoProperty_post (Type const&) + { + } + + void ComponentPackageDescription:: + infoProperty_none (Type&) + { + } + + void ComponentPackageDescription:: + infoProperty_none (Type const&) + { + } + + void ComponentPackageDescription:: + contentLocation (Type& o) + { + dispatch (o.contentLocation ()); + } + + void ComponentPackageDescription:: + contentLocation (Type const& o) + { + dispatch (o.contentLocation ()); + } + + void ComponentPackageDescription:: + contentLocation_none (Type&) + { + } + + void ComponentPackageDescription:: + contentLocation_none (Type const&) + { + } + + void ComponentPackageDescription:: + href (Type& o) + { + dispatch (o.href ()); + } + + void ComponentPackageDescription:: + href (Type const& o) + { + dispatch (o.href ()); + } + + void ComponentPackageDescription:: + href_none (Type&) + { + } + + void ComponentPackageDescription:: + href_none (Type const&) + { + } + + void ComponentPackageDescription:: + post (Type&) + { + } + + void ComponentPackageDescription:: + post (Type const&) + { + } + } + } } -else +namespace CIAO { -} -} + namespace Config_Handlers + { + namespace Writer + { + // PackagedComponentImplementation + // + // + + PackagedComponentImplementation:: + PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + PackagedComponentImplementation:: + PackagedComponentImplementation () + { + } + + void PackagedComponentImplementation:: + traverse (Type const& o) + { + Traversal::PackagedComponentImplementation::traverse (o); + } + + void PackagedComponentImplementation:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::PackagedComponentImplementation::name (o); + pop_ (); + } + + void PackagedComponentImplementation:: + referencedImplementation (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("referencedImplementation", top_ ())); + Traversal::PackagedComponentImplementation::referencedImplementation (o); + pop_ (); + } + + // ComponentPackageDescription + // + // + + ComponentPackageDescription:: + ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + ComponentPackageDescription:: + ComponentPackageDescription () + { + } + + void ComponentPackageDescription:: + traverse (Type const& o) + { + Traversal::ComponentPackageDescription::traverse (o); + } + + void ComponentPackageDescription:: + label (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); + Traversal::ComponentPackageDescription::label (o); + pop_ (); + } + + void ComponentPackageDescription:: + UUID (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("UUID", top_ ())); + Traversal::ComponentPackageDescription::UUID (o); + pop_ (); + } + + void ComponentPackageDescription:: + realizes (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("realizes", top_ ())); + Traversal::ComponentPackageDescription::realizes (o); + pop_ (); + } + + void ComponentPackageDescription:: + configProperty_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("configProperty", top_ ())); + } + + void ComponentPackageDescription:: + configProperty_next (Type const& o) + { + configProperty_post (o); + configProperty_pre (o); + } + + void ComponentPackageDescription:: + configProperty_post (Type const&) + { + pop_ (); + } + + void ComponentPackageDescription:: + implementation_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("implementation", top_ ())); + } + + void ComponentPackageDescription:: + implementation_next (Type const& o) + { + implementation_post (o); + implementation_pre (o); + } + + void ComponentPackageDescription:: + implementation_post (Type const&) + { + pop_ (); + } + + void ComponentPackageDescription:: + infoProperty_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("infoProperty", top_ ())); + } + + void ComponentPackageDescription:: + infoProperty_next (Type const& o) + { + infoProperty_post (o); + infoProperty_pre (o); + } + + void ComponentPackageDescription:: + infoProperty_post (Type const&) + { + pop_ (); + } + + void ComponentPackageDescription:: + contentLocation (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("contentLocation", top_ ())); + Traversal::ComponentPackageDescription::contentLocation (o); + pop_ (); + } + + void ComponentPackageDescription:: + href (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a ("href", "", top_ ()); + attr_ (&a); + Traversal::ComponentPackageDescription::href (o); + attr_ (0); + } + } + } } -// ComponentPackageDescription -// - -ComponentPackageDescription:: -ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ - -::XSCRT::Parser< ACE_TCHAR > p (e); - -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - -if (n == "label") +namespace CIAO { -::XMLSchema::string< ACE_TCHAR > t (e); -label (t); -} - -else if (n == "UUID") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -UUID (t); -} - -else if (n == "realizes") -{ -::CIAO::Config_Handlers::ComponentInterfaceDescription t (e); -realizes (t); -} - -else if (n == "configProperty") -{ -::CIAO::Config_Handlers::Property t (e); -add_configProperty (t); -} - -else if (n == "implementation") -{ -::CIAO::Config_Handlers::PackagedComponentImplementation t (e); -add_implementation (t); -} - -else if (n == "infoProperty") -{ -::CIAO::Config_Handlers::Property t (e); -add_infoProperty (t); -} - -else if (n == "contentLocation") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -contentLocation (t); -} - -else -{ -} -} - -while (p.more_attributes ()) -{ -::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); -if (n == "href") -{ -::XMLSchema::string< ACE_TCHAR > t (a); -href (t); -} - -else -{ -} -} -} -} -} - -namespace CIAO -{ -namespace Config_Handlers -{ -} -} - -#include "XMLSchema/TypeInfo.hpp" - -namespace CIAO -{ -namespace Config_Handlers -{ -namespace -{ -::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); - -struct PackagedComponentImplementationTypeInfoInitializer -{ -PackagedComponentImplementationTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (PackagedComponentImplementation)); -::XSCRT::ExtendedTypeInfo nf (id); - -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; - -PackagedComponentImplementationTypeInfoInitializer PackagedComponentImplementationTypeInfoInitializer_; - -struct ComponentPackageDescriptionTypeInfoInitializer -{ -ComponentPackageDescriptionTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (ComponentPackageDescription)); -::XSCRT::ExtendedTypeInfo nf (id); - -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; - -ComponentPackageDescriptionTypeInfoInitializer ComponentPackageDescriptionTypeInfoInitializer_; -} -} -} - -namespace CIAO -{ -namespace Config_Handlers -{ -namespace Traversal -{ -// PackagedComponentImplementation -// -// - -void PackagedComponentImplementation:: -traverse (Type& o) -{ -pre (o); -name (o); -referencedImplementation (o); -post (o); -} - -void PackagedComponentImplementation:: -traverse (Type const& o) -{ -pre (o); -name (o); -referencedImplementation (o); -post (o); -} - -void PackagedComponentImplementation:: -pre (Type&) -{ -} - -void PackagedComponentImplementation:: -pre (Type const&) -{ -} - -void PackagedComponentImplementation:: -name (Type& o) -{ -dispatch (o.name ()); -} - -void PackagedComponentImplementation:: -name (Type const& o) -{ -dispatch (o.name ()); -} - -void PackagedComponentImplementation:: -referencedImplementation (Type& o) -{ -dispatch (o.referencedImplementation ()); -} - -void PackagedComponentImplementation:: -referencedImplementation (Type const& o) -{ -dispatch (o.referencedImplementation ()); -} - -void PackagedComponentImplementation:: -post (Type&) -{ -} - -void PackagedComponentImplementation:: -post (Type const&) -{ -} - -// ComponentPackageDescription -// -// - -void ComponentPackageDescription:: -traverse (Type& o) -{ -pre (o); -if (o.label_p ()) label (o); -else label_none (o); -if (o.UUID_p ()) UUID (o); -else UUID_none (o); -if (o.realizes_p ()) realizes (o); -else realizes_none (o); -configProperty (o); -implementation (o); -infoProperty (o); -if (o.contentLocation_p ()) contentLocation (o); -else contentLocation_none (o); -if (o.href_p ()) href (o); -else href_none (o); -post (o); -} - -void ComponentPackageDescription:: -traverse (Type const& o) -{ -pre (o); -if (o.label_p ()) label (o); -else label_none (o); -if (o.UUID_p ()) UUID (o); -else UUID_none (o); -if (o.realizes_p ()) realizes (o); -else realizes_none (o); -configProperty (o); -implementation (o); -infoProperty (o); -if (o.contentLocation_p ()) contentLocation (o); -else contentLocation_none (o); -if (o.href_p ()) href (o); -else href_none (o); -post (o); -} - -void ComponentPackageDescription:: -pre (Type&) -{ -} - -void ComponentPackageDescription:: -pre (Type const&) -{ -} - -void ComponentPackageDescription:: -label (Type& o) -{ -dispatch (o.label ()); -} - -void ComponentPackageDescription:: -label (Type const& o) -{ -dispatch (o.label ()); -} - -void ComponentPackageDescription:: -label_none (Type&) -{ -} - -void ComponentPackageDescription:: -label_none (Type const&) -{ -} - -void ComponentPackageDescription:: -UUID (Type& o) -{ -dispatch (o.UUID ()); -} - -void ComponentPackageDescription:: -UUID (Type const& o) -{ -dispatch (o.UUID ()); -} - -void ComponentPackageDescription:: -UUID_none (Type&) -{ -} - -void ComponentPackageDescription:: -UUID_none (Type const&) -{ -} - -void ComponentPackageDescription:: -realizes (Type& o) -{ -dispatch (o.realizes ()); -} - -void ComponentPackageDescription:: -realizes (Type const& o) -{ -dispatch (o.realizes ()); -} - -void ComponentPackageDescription:: -realizes_none (Type&) -{ -} - -void ComponentPackageDescription:: -realizes_none (Type const&) -{ -} - -void ComponentPackageDescription:: -configProperty (Type& o) -{ -// VC6 anathema strikes again -// -ComponentPackageDescription::Type::configProperty_iterator b (o.begin_configProperty()), e (o.end_configProperty()); - -if (b != e) -{ -configProperty_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) configProperty_next (o); -} - -configProperty_post (o); -} - -else configProperty_none (o); -} - -void ComponentPackageDescription:: -configProperty (Type const& o) -{ -// VC6 anathema strikes again -// -ComponentPackageDescription::Type::configProperty_const_iterator b (o.begin_configProperty()), e (o.end_configProperty()); - -if (b != e) -{ -configProperty_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) configProperty_next (o); -} - -configProperty_post (o); -} - -else configProperty_none (o); -} - -void ComponentPackageDescription:: -configProperty_pre (Type&) -{ -} - -void ComponentPackageDescription:: -configProperty_pre (Type const&) -{ -} - -void ComponentPackageDescription:: -configProperty_next (Type&) -{ -} - -void ComponentPackageDescription:: -configProperty_next (Type const&) -{ -} - -void ComponentPackageDescription:: -configProperty_post (Type&) -{ -} - -void ComponentPackageDescription:: -configProperty_post (Type const&) -{ -} - -void ComponentPackageDescription:: -configProperty_none (Type&) -{ -} - -void ComponentPackageDescription:: -configProperty_none (Type const&) -{ -} - -void ComponentPackageDescription:: -implementation (Type& o) -{ -// VC6 anathema strikes again -// -ComponentPackageDescription::Type::implementation_iterator b (o.begin_implementation()), e (o.end_implementation()); - -if (b != e) -{ -implementation_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) implementation_next (o); -} - -implementation_post (o); -} - -else implementation_none (o); -} - -void ComponentPackageDescription:: -implementation (Type const& o) -{ -// VC6 anathema strikes again -// -ComponentPackageDescription::Type::implementation_const_iterator b (o.begin_implementation()), e (o.end_implementation()); - -if (b != e) -{ -implementation_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) implementation_next (o); -} - -implementation_post (o); -} - -else implementation_none (o); -} - -void ComponentPackageDescription:: -implementation_pre (Type&) -{ -} - -void ComponentPackageDescription:: -implementation_pre (Type const&) -{ -} - -void ComponentPackageDescription:: -implementation_next (Type&) -{ -} - -void ComponentPackageDescription:: -implementation_next (Type const&) -{ -} - -void ComponentPackageDescription:: -implementation_post (Type&) -{ -} - -void ComponentPackageDescription:: -implementation_post (Type const&) -{ -} - -void ComponentPackageDescription:: -implementation_none (Type&) -{ -} - -void ComponentPackageDescription:: -implementation_none (Type const&) -{ -} - -void ComponentPackageDescription:: -infoProperty (Type& o) -{ -// VC6 anathema strikes again -// -ComponentPackageDescription::Type::infoProperty_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); - -if (b != e) -{ -infoProperty_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) infoProperty_next (o); -} - -infoProperty_post (o); -} - -else infoProperty_none (o); -} - -void ComponentPackageDescription:: -infoProperty (Type const& o) -{ -// VC6 anathema strikes again -// -ComponentPackageDescription::Type::infoProperty_const_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); - -if (b != e) -{ -infoProperty_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) infoProperty_next (o); -} - -infoProperty_post (o); -} - -else infoProperty_none (o); -} - -void ComponentPackageDescription:: -infoProperty_pre (Type&) -{ -} - -void ComponentPackageDescription:: -infoProperty_pre (Type const&) -{ -} - -void ComponentPackageDescription:: -infoProperty_next (Type&) -{ -} - -void ComponentPackageDescription:: -infoProperty_next (Type const&) -{ -} - -void ComponentPackageDescription:: -infoProperty_post (Type&) -{ -} - -void ComponentPackageDescription:: -infoProperty_post (Type const&) -{ -} - -void ComponentPackageDescription:: -infoProperty_none (Type&) -{ -} - -void ComponentPackageDescription:: -infoProperty_none (Type const&) -{ -} - -void ComponentPackageDescription:: -contentLocation (Type& o) -{ -dispatch (o.contentLocation ()); -} - -void ComponentPackageDescription:: -contentLocation (Type const& o) -{ -dispatch (o.contentLocation ()); -} - -void ComponentPackageDescription:: -contentLocation_none (Type&) -{ -} - -void ComponentPackageDescription:: -contentLocation_none (Type const&) -{ -} - -void ComponentPackageDescription:: -href (Type& o) -{ -dispatch (o.href ()); -} - -void ComponentPackageDescription:: -href (Type const& o) -{ -dispatch (o.href ()); -} - -void ComponentPackageDescription:: -href_none (Type&) -{ -} - -void ComponentPackageDescription:: -href_none (Type const&) -{ -} - -void ComponentPackageDescription:: -post (Type&) -{ -} - -void ComponentPackageDescription:: -post (Type const&) -{ -} -} -} -} - -namespace CIAO -{ -namespace Config_Handlers -{ -namespace Writer -{ -// PackagedComponentImplementation -// -// - -PackagedComponentImplementation:: -PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} - -PackagedComponentImplementation:: -PackagedComponentImplementation () -{ -} - -void PackagedComponentImplementation:: -traverse (Type const& o) -{ -Traversal::PackagedComponentImplementation::traverse (o); -} - -void PackagedComponentImplementation:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::PackagedComponentImplementation::name (o); -pop_ (); -} - -void PackagedComponentImplementation:: -referencedImplementation (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("referencedImplementation", top_ ())); -Traversal::PackagedComponentImplementation::referencedImplementation (o); -pop_ (); -} - -// ComponentPackageDescription -// -// - -ComponentPackageDescription:: -ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} - -ComponentPackageDescription:: -ComponentPackageDescription () -{ -} - -void ComponentPackageDescription:: -traverse (Type const& o) -{ -Traversal::ComponentPackageDescription::traverse (o); -} - -void ComponentPackageDescription:: -label (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); -Traversal::ComponentPackageDescription::label (o); -pop_ (); -} - -void ComponentPackageDescription:: -UUID (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("UUID", top_ ())); -Traversal::ComponentPackageDescription::UUID (o); -pop_ (); -} - -void ComponentPackageDescription:: -realizes (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("realizes", top_ ())); -Traversal::ComponentPackageDescription::realizes (o); -pop_ (); -} - -void ComponentPackageDescription:: -configProperty_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("configProperty", top_ ())); -} - -void ComponentPackageDescription:: -configProperty_next (Type const& o) -{ -configProperty_post (o); -configProperty_pre (o); -} - -void ComponentPackageDescription:: -configProperty_post (Type const&) -{ -pop_ (); -} - -void ComponentPackageDescription:: -implementation_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("implementation", top_ ())); -} - -void ComponentPackageDescription:: -implementation_next (Type const& o) -{ -implementation_post (o); -implementation_pre (o); -} - -void ComponentPackageDescription:: -implementation_post (Type const&) -{ -pop_ (); -} - -void ComponentPackageDescription:: -infoProperty_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("infoProperty", top_ ())); -} - -void ComponentPackageDescription:: -infoProperty_next (Type const& o) -{ -infoProperty_post (o); -infoProperty_pre (o); -} - -void ComponentPackageDescription:: -infoProperty_post (Type const&) -{ -pop_ (); -} - -void ComponentPackageDescription:: -contentLocation (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("contentLocation", top_ ())); -Traversal::ComponentPackageDescription::contentLocation (o); -pop_ (); -} - -void ComponentPackageDescription:: -href (Type const& o) -{ -::XSCRT::XML::Attribute< ACE_TCHAR > a ("href", "", top_ ()); -attr_ (&a); -Traversal::ComponentPackageDescription::href (o); -attr_ (0); -} -} -} -} - -namespace CIAO -{ -namespace Config_Handlers -{ -} + namespace Config_Handlers + { + } } diff --git a/CIAO/tools/Config_Handlers/cpd.hpp b/CIAO/tools/Config_Handlers/cpd.hpp index d5f6d9dccd7..d0fb08f56b7 100644 --- a/CIAO/tools/Config_Handlers/cpd.hpp +++ b/CIAO/tools/Config_Handlers/cpd.hpp @@ -1,14 +1,13 @@ /* $Id$ -* This code was generated by the XML Schema Compiler. -* -* Changes made to this code will most likely be overwritten -* when the handlers are recompiled. -* -* If you find errors or feel that there are bugfixes to be made, -* please contact the current XSC maintainer: -* Will Otte -*/ - + * This code was generated by the XML Schema Compiler. + * + * Changes made to this code will most likely be overwritten + * when the handlers are recompiled. + * + * If you find errors or feel that there are bugfixes to be made, + * please contact the current XSC maintainer: + * Will Otte + */ // Fix for Borland compilers, which seem to have a broken // include. @@ -16,643 +15,641 @@ # include #endif -#include "XSC_XML_Handlers_Export.h" #ifndef CPD_HPP #define CPD_HPP +#include "XSC_XML_Handlers_Export.h" // Forward declarations. // namespace CIAO { -namespace Config_Handlers -{ -class PackagedComponentImplementation; -class ComponentPackageDescription; -} + namespace Config_Handlers + { + class PackagedComponentImplementation; + class ComponentPackageDescription; + } } #include #include #include "XMLSchema/Types.hpp" -#include "ccd.hpp" - #include "cid.hpp" namespace CIAO { -namespace Config_Handlers -{ -class XSC_XML_Handlers_Export PackagedComponentImplementation : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; - -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - -// referencedImplementation -// -public: -::CIAO::Config_Handlers::ComponentImplementationDescription const& referencedImplementation () const; -void referencedImplementation (::CIAO::Config_Handlers::ComponentImplementationDescription const& ); - -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::ComponentImplementationDescription > referencedImplementation_; - -public: -PackagedComponentImplementation (::XMLSchema::string< ACE_TCHAR > const& name__, -::CIAO::Config_Handlers::ComponentImplementationDescription const& referencedImplementation__); - -PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR > const&); -PackagedComponentImplementation (PackagedComponentImplementation const& s); - -PackagedComponentImplementation& -operator= (PackagedComponentImplementation const& s); - -private: -char regulator__; -}; - - -class XSC_XML_Handlers_Export ComponentPackageDescription : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; - -// label -// -public: -bool label_p () const; -::XMLSchema::string< ACE_TCHAR > const& label () const; -void label (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; - -// UUID -// -public: -bool UUID_p () const; -::XMLSchema::string< ACE_TCHAR > const& UUID () const; -void UUID (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; - -// realizes -// -public: -bool realizes_p () const; -::CIAO::Config_Handlers::ComponentInterfaceDescription const& realizes () const; -void realizes (::CIAO::Config_Handlers::ComponentInterfaceDescription const& ); - -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > realizes_; - -// configProperty -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; -configProperty_iterator begin_configProperty (); -configProperty_iterator end_configProperty (); -configProperty_const_iterator begin_configProperty () const; -configProperty_const_iterator end_configProperty () const; -void add_configProperty (::CIAO::Config_Handlers::Property const& ); -size_t count_configProperty (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Property > configProperty_; - -// implementation -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::PackagedComponentImplementation >::iterator implementation_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::PackagedComponentImplementation >::const_iterator implementation_const_iterator; -implementation_iterator begin_implementation (); -implementation_iterator end_implementation (); -implementation_const_iterator begin_implementation () const; -implementation_const_iterator end_implementation () const; -void add_implementation (::CIAO::Config_Handlers::PackagedComponentImplementation const& ); -size_t count_implementation (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::PackagedComponentImplementation > implementation_; - -// infoProperty -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator infoProperty_const_iterator; -infoProperty_iterator begin_infoProperty (); -infoProperty_iterator end_infoProperty (); -infoProperty_const_iterator begin_infoProperty () const; -infoProperty_const_iterator end_infoProperty () const; -void add_infoProperty (::CIAO::Config_Handlers::Property const& ); -size_t count_infoProperty (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Property > infoProperty_; - -// contentLocation -// -public: -bool contentLocation_p () const; -::XMLSchema::string< ACE_TCHAR > const& contentLocation () const; -void contentLocation (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > contentLocation_; - -// href -// -public: -bool href_p () const; -::XMLSchema::string< ACE_TCHAR > const& href () const; -::XMLSchema::string< ACE_TCHAR >& href (); -void href (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > href_; - -public: -ComponentPackageDescription (); - -ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); -ComponentPackageDescription (ComponentPackageDescription const& s); - -ComponentPackageDescription& -operator= (ComponentPackageDescription const& s); - -private: -char regulator__; -}; -} + namespace Config_Handlers + { + class XSC_XML_Handlers_Export PackagedComponentImplementation : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // referencedImplementation + // + public: + ::CIAO::Config_Handlers::ComponentImplementationDescription const& referencedImplementation () const; + void referencedImplementation (::CIAO::Config_Handlers::ComponentImplementationDescription const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentImplementationDescription > referencedImplementation_; + + public: + PackagedComponentImplementation (::XMLSchema::string< ACE_TCHAR > const& name__, + ::CIAO::Config_Handlers::ComponentImplementationDescription const& referencedImplementation__); + + PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR > const&); + PackagedComponentImplementation (PackagedComponentImplementation const& s); + + PackagedComponentImplementation& + operator= (PackagedComponentImplementation const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export ComponentPackageDescription : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // label + // + public: + bool label_p () const; + ::XMLSchema::string< ACE_TCHAR > const& label () const; + void label (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; + + // UUID + // + public: + bool UUID_p () const; + ::XMLSchema::string< ACE_TCHAR > const& UUID () const; + void UUID (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; + + // realizes + // + public: + bool realizes_p () const; + ::CIAO::Config_Handlers::ComponentInterfaceDescription const& realizes () const; + void realizes (::CIAO::Config_Handlers::ComponentInterfaceDescription const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > realizes_; + + // configProperty + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; + configProperty_iterator begin_configProperty (); + configProperty_iterator end_configProperty (); + configProperty_const_iterator begin_configProperty () const; + configProperty_const_iterator end_configProperty () const; + void add_configProperty (::CIAO::Config_Handlers::Property const& ); + size_t count_configProperty (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Property > configProperty_; + + // implementation + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::PackagedComponentImplementation >::iterator implementation_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::PackagedComponentImplementation >::const_iterator implementation_const_iterator; + implementation_iterator begin_implementation (); + implementation_iterator end_implementation (); + implementation_const_iterator begin_implementation () const; + implementation_const_iterator end_implementation () const; + void add_implementation (::CIAO::Config_Handlers::PackagedComponentImplementation const& ); + size_t count_implementation (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::PackagedComponentImplementation > implementation_; + + // infoProperty + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator infoProperty_const_iterator; + infoProperty_iterator begin_infoProperty (); + infoProperty_iterator end_infoProperty (); + infoProperty_const_iterator begin_infoProperty () const; + infoProperty_const_iterator end_infoProperty () const; + void add_infoProperty (::CIAO::Config_Handlers::Property const& ); + size_t count_infoProperty (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Property > infoProperty_; + + // contentLocation + // + public: + bool contentLocation_p () const; + ::XMLSchema::string< ACE_TCHAR > const& contentLocation () const; + void contentLocation (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > contentLocation_; + + // href + // + public: + bool href_p () const; + ::XMLSchema::string< ACE_TCHAR > const& href () const; + ::XMLSchema::string< ACE_TCHAR >& href (); + void href (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > href_; + + public: + ComponentPackageDescription (); + + ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); + ComponentPackageDescription (ComponentPackageDescription const& s); + + ComponentPackageDescription& + operator= (ComponentPackageDescription const& s); + + private: + char regulator__; + }; + } } namespace CIAO { -namespace Config_Handlers -{ -} + namespace Config_Handlers + { + } } #include "XMLSchema/Traversal.hpp" namespace CIAO { -namespace Config_Handlers -{ -namespace Traversal -{ -struct XSC_XML_Handlers_Export PackagedComponentImplementation : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::PackagedComponentImplementation > -{ -virtual void -traverse (Type&); + namespace Config_Handlers + { + namespace Traversal + { + struct XSC_XML_Handlers_Export PackagedComponentImplementation : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::PackagedComponentImplementation > + { + virtual void + traverse (Type&); -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -pre (Type&); + virtual void + pre (Type&); -virtual void -pre (Type const&); + virtual void + pre (Type const&); -virtual void -name (Type&); + virtual void + name (Type&); -virtual void -name (Type const&); + virtual void + name (Type const&); -virtual void -referencedImplementation (Type&); + virtual void + referencedImplementation (Type&); -virtual void -referencedImplementation (Type const&); + virtual void + referencedImplementation (Type const&); -virtual void -post (Type&); + virtual void + post (Type&); -virtual void -post (Type const&); -}; + virtual void + post (Type const&); + }; -struct XSC_XML_Handlers_Export ComponentPackageDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPackageDescription > -{ -virtual void -traverse (Type&); + struct XSC_XML_Handlers_Export ComponentPackageDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPackageDescription > + { + virtual void + traverse (Type&); -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -pre (Type&); + virtual void + pre (Type&); -virtual void -pre (Type const&); + virtual void + pre (Type const&); -virtual void -label (Type&); + virtual void + label (Type&); -virtual void -label (Type const&); + virtual void + label (Type const&); -virtual void -label_none (Type&); + virtual void + label_none (Type&); -virtual void -label_none (Type const&); + virtual void + label_none (Type const&); -virtual void -UUID (Type&); + virtual void + UUID (Type&); -virtual void -UUID (Type const&); + virtual void + UUID (Type const&); -virtual void -UUID_none (Type&); + virtual void + UUID_none (Type&); -virtual void -UUID_none (Type const&); + virtual void + UUID_none (Type const&); -virtual void -realizes (Type&); + virtual void + realizes (Type&); -virtual void -realizes (Type const&); + virtual void + realizes (Type const&); -virtual void -realizes_none (Type&); + virtual void + realizes_none (Type&); -virtual void -realizes_none (Type const&); + virtual void + realizes_none (Type const&); -virtual void -configProperty (Type&); + virtual void + configProperty (Type&); -virtual void -configProperty (Type const&); + virtual void + configProperty (Type const&); -virtual void -configProperty_pre (Type&); + virtual void + configProperty_pre (Type&); -virtual void -configProperty_pre (Type const&); + virtual void + configProperty_pre (Type const&); -virtual void -configProperty_next (Type&); + virtual void + configProperty_next (Type&); -virtual void -configProperty_next (Type const&); + virtual void + configProperty_next (Type const&); -virtual void -configProperty_post (Type&); + virtual void + configProperty_post (Type&); -virtual void -configProperty_post (Type const&); + virtual void + configProperty_post (Type const&); -virtual void -configProperty_none (Type&); + virtual void + configProperty_none (Type&); -virtual void -configProperty_none (Type const&); + virtual void + configProperty_none (Type const&); -virtual void -implementation (Type&); + virtual void + implementation (Type&); -virtual void -implementation (Type const&); + virtual void + implementation (Type const&); -virtual void -implementation_pre (Type&); + virtual void + implementation_pre (Type&); -virtual void -implementation_pre (Type const&); + virtual void + implementation_pre (Type const&); -virtual void -implementation_next (Type&); + virtual void + implementation_next (Type&); -virtual void -implementation_next (Type const&); + virtual void + implementation_next (Type const&); -virtual void -implementation_post (Type&); + virtual void + implementation_post (Type&); -virtual void -implementation_post (Type const&); + virtual void + implementation_post (Type const&); -virtual void -implementation_none (Type&); + virtual void + implementation_none (Type&); -virtual void -implementation_none (Type const&); + virtual void + implementation_none (Type const&); -virtual void -infoProperty (Type&); + virtual void + infoProperty (Type&); -virtual void -infoProperty (Type const&); + virtual void + infoProperty (Type const&); -virtual void -infoProperty_pre (Type&); + virtual void + infoProperty_pre (Type&); -virtual void -infoProperty_pre (Type const&); + virtual void + infoProperty_pre (Type const&); -virtual void -infoProperty_next (Type&); + virtual void + infoProperty_next (Type&); -virtual void -infoProperty_next (Type const&); + virtual void + infoProperty_next (Type const&); -virtual void -infoProperty_post (Type&); + virtual void + infoProperty_post (Type&); -virtual void -infoProperty_post (Type const&); + virtual void + infoProperty_post (Type const&); -virtual void -infoProperty_none (Type&); + virtual void + infoProperty_none (Type&); -virtual void -infoProperty_none (Type const&); + virtual void + infoProperty_none (Type const&); -virtual void -contentLocation (Type&); + virtual void + contentLocation (Type&); -virtual void -contentLocation (Type const&); + virtual void + contentLocation (Type const&); -virtual void -contentLocation_none (Type&); + virtual void + contentLocation_none (Type&); -virtual void -contentLocation_none (Type const&); + virtual void + contentLocation_none (Type const&); -virtual void -href (Type&); + virtual void + href (Type&); -virtual void -href (Type const&); + virtual void + href (Type const&); -virtual void -href_none (Type&); + virtual void + href_none (Type&); -virtual void -href_none (Type const&); + virtual void + href_none (Type const&); -virtual void -post (Type&); + virtual void + post (Type&); -virtual void -post (Type const&); -}; -} -} + virtual void + post (Type const&); + }; + } + } } #include "XMLSchema/Writer.hpp" namespace CIAO { -namespace Config_Handlers -{ -namespace Writer -{ -struct PackagedComponentImplementation : Traversal::PackagedComponentImplementation, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::PackagedComponentImplementation Type; -PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR >&); + namespace Config_Handlers + { + namespace Writer + { + struct PackagedComponentImplementation : Traversal::PackagedComponentImplementation, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::PackagedComponentImplementation Type; + PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -traverse (Type &o) -{ + virtual void + traverse (Type &o) + { -this->traverse (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -name (Type &o) -{ + virtual void + name (Type &o) + { -this->name (const_cast (o)); -} + this->name (const_cast (o)); + } -virtual void -name (Type const&); + virtual void + name (Type const&); -virtual void -referencedImplementation (Type &o) -{ + virtual void + referencedImplementation (Type &o) + { -this->referencedImplementation (const_cast (o)); -} + this->referencedImplementation (const_cast (o)); + } -virtual void -referencedImplementation (Type const&); + virtual void + referencedImplementation (Type const&); -protected: -PackagedComponentImplementation (); -}; + protected: + PackagedComponentImplementation (); + }; -struct ComponentPackageDescription : Traversal::ComponentPackageDescription, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::ComponentPackageDescription Type; -ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + struct ComponentPackageDescription : Traversal::ComponentPackageDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::ComponentPackageDescription Type; + ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -traverse (Type &o) -{ + virtual void + traverse (Type &o) + { -this->traverse (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -label (Type &o) -{ + virtual void + label (Type &o) + { -this->label (const_cast (o)); -} + this->label (const_cast (o)); + } -virtual void -label (Type const&); + virtual void + label (Type const&); -virtual void -UUID (Type &o) -{ + virtual void + UUID (Type &o) + { -this->UUID (const_cast (o)); -} + this->UUID (const_cast (o)); + } -virtual void -UUID (Type const&); + virtual void + UUID (Type const&); -virtual void -realizes (Type &o) -{ + virtual void + realizes (Type &o) + { -this->realizes (const_cast (o)); -} + this->realizes (const_cast (o)); + } -virtual void -realizes (Type const&); + virtual void + realizes (Type const&); -virtual void -configProperty_pre (Type &o) -{ + virtual void + configProperty_pre (Type &o) + { -this->configProperty_pre (const_cast (o)); -} + this->configProperty_pre (const_cast (o)); + } -virtual void -configProperty_pre (Type const&); + virtual void + configProperty_pre (Type const&); -virtual void -configProperty_next (Type &o) -{ + virtual void + configProperty_next (Type &o) + { -this->configProperty_next (const_cast (o)); -} + this->configProperty_next (const_cast (o)); + } -virtual void -configProperty_next (Type const&); + virtual void + configProperty_next (Type const&); -virtual void -configProperty_post (Type &o) -{ + virtual void + configProperty_post (Type &o) + { -this->configProperty_post (const_cast (o)); -} + this->configProperty_post (const_cast (o)); + } -virtual void -configProperty_post (Type const&); + virtual void + configProperty_post (Type const&); -virtual void -implementation_pre (Type &o) -{ + virtual void + implementation_pre (Type &o) + { -this->implementation_pre (const_cast (o)); -} + this->implementation_pre (const_cast (o)); + } -virtual void -implementation_pre (Type const&); + virtual void + implementation_pre (Type const&); -virtual void -implementation_next (Type &o) -{ + virtual void + implementation_next (Type &o) + { -this->implementation_next (const_cast (o)); -} + this->implementation_next (const_cast (o)); + } -virtual void -implementation_next (Type const&); + virtual void + implementation_next (Type const&); -virtual void -implementation_post (Type &o) -{ + virtual void + implementation_post (Type &o) + { -this->implementation_post (const_cast (o)); -} + this->implementation_post (const_cast (o)); + } -virtual void -implementation_post (Type const&); + virtual void + implementation_post (Type const&); -virtual void -infoProperty_pre (Type &o) -{ + virtual void + infoProperty_pre (Type &o) + { -this->infoProperty_pre (const_cast (o)); -} + this->infoProperty_pre (const_cast (o)); + } -virtual void -infoProperty_pre (Type const&); + virtual void + infoProperty_pre (Type const&); -virtual void -infoProperty_next (Type &o) -{ + virtual void + infoProperty_next (Type &o) + { -this->infoProperty_next (const_cast (o)); -} + this->infoProperty_next (const_cast (o)); + } -virtual void -infoProperty_next (Type const&); + virtual void + infoProperty_next (Type const&); -virtual void -infoProperty_post (Type &o) -{ + virtual void + infoProperty_post (Type &o) + { -this->infoProperty_post (const_cast (o)); -} + this->infoProperty_post (const_cast (o)); + } -virtual void -infoProperty_post (Type const&); + virtual void + infoProperty_post (Type const&); -virtual void -contentLocation (Type &o) -{ + virtual void + contentLocation (Type &o) + { -this->contentLocation (const_cast (o)); -} + this->contentLocation (const_cast (o)); + } -virtual void -contentLocation (Type const&); + virtual void + contentLocation (Type const&); -virtual void -href (Type &o) -{ + virtual void + href (Type &o) + { -this->href (const_cast (o)); -} + this->href (const_cast (o)); + } -virtual void -href (Type const&); + virtual void + href (Type const&); -protected: -ComponentPackageDescription (); -}; -} -} + protected: + ComponentPackageDescription (); + }; + } + } } namespace CIAO { -namespace Config_Handlers -{ -} + namespace Config_Handlers + { + } } #endif // CPD_HPP diff --git a/CIAO/tools/Config_Handlers/iad.cpp b/CIAO/tools/Config_Handlers/iad.cpp index e799fd544fb..31141f9ebfe 100644 --- a/CIAO/tools/Config_Handlers/iad.cpp +++ b/CIAO/tools/Config_Handlers/iad.cpp @@ -3,12 +3,12 @@ * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte */ - + #include "iad.hpp" namespace CIAO @@ -16,16 +16,16 @@ namespace CIAO namespace Config_Handlers { // NamedImplementationArtifact - // + // NamedImplementationArtifact:: NamedImplementationArtifact (::XMLSchema::string< ACE_TCHAR > const& name__, ::CIAO::Config_Handlers::ImplementationArtifactDescription const& referencedArtifact__) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), - referencedArtifact_ (new ::CIAO::Config_Handlers::ImplementationArtifactDescription (referencedArtifact__)), - regulator__ () + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)), + referencedArtifact_ (new ::CIAO::Config_Handlers::ImplementationArtifactDescription (referencedArtifact__)), + regulator__ () { name_->container (this); referencedArtifact_->container (this); @@ -33,1478 +33,1478 @@ namespace CIAO NamedImplementationArtifact:: NamedImplementationArtifact (::CIAO::Config_Handlers::NamedImplementationArtifact const& s) - : - ::XSCRT::Type (), - name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), -referencedArtifact_ (new ::CIAO::Config_Handlers::ImplementationArtifactDescription (*s.referencedArtifact_)), -regulator__ () -{ -name_->container (this); -referencedArtifact_->container (this); -} + : + ::XSCRT::Type (), + name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)), + referencedArtifact_ (new ::CIAO::Config_Handlers::ImplementationArtifactDescription (*s.referencedArtifact_)), + regulator__ () + { + name_->container (this); + referencedArtifact_->container (this); + } -::CIAO::Config_Handlers::NamedImplementationArtifact& NamedImplementationArtifact:: -operator= (::CIAO::Config_Handlers::NamedImplementationArtifact const& s) -{ -name (s.name ()); + ::CIAO::Config_Handlers::NamedImplementationArtifact& NamedImplementationArtifact:: + operator= (::CIAO::Config_Handlers::NamedImplementationArtifact const& s) + { + name (s.name ()); -referencedArtifact (s.referencedArtifact ()); + referencedArtifact (s.referencedArtifact ()); -return *this; -} + return *this; + } -// NamedImplementationArtifact -// -::XMLSchema::string< ACE_TCHAR > const& NamedImplementationArtifact:: -name () const -{ -return *name_; -} + // NamedImplementationArtifact + // + ::XMLSchema::string< ACE_TCHAR > const& NamedImplementationArtifact:: + name () const + { + return *name_; + } -void NamedImplementationArtifact:: -name (::XMLSchema::string< ACE_TCHAR > const& e) -{ -*name_ = e; -} + void NamedImplementationArtifact:: + name (::XMLSchema::string< ACE_TCHAR > const& e) + { + *name_ = e; + } -// NamedImplementationArtifact -// -::CIAO::Config_Handlers::ImplementationArtifactDescription const& NamedImplementationArtifact:: -referencedArtifact () const -{ -return *referencedArtifact_; -} + // NamedImplementationArtifact + // + ::CIAO::Config_Handlers::ImplementationArtifactDescription const& NamedImplementationArtifact:: + referencedArtifact () const + { + return *referencedArtifact_; + } -void NamedImplementationArtifact:: -referencedArtifact (::CIAO::Config_Handlers::ImplementationArtifactDescription const& e) -{ -*referencedArtifact_ = e; -} + void NamedImplementationArtifact:: + referencedArtifact (::CIAO::Config_Handlers::ImplementationArtifactDescription const& e) + { + *referencedArtifact_ = e; + } -// ImplementationArtifactDescription -// + // ImplementationArtifactDescription + // -ImplementationArtifactDescription:: -ImplementationArtifactDescription () -: -::XSCRT::Type (), -regulator__ () -{ -} + ImplementationArtifactDescription:: + ImplementationArtifactDescription () + : + ::XSCRT::Type (), + regulator__ () + { + } -ImplementationArtifactDescription:: -ImplementationArtifactDescription (::CIAO::Config_Handlers::ImplementationArtifactDescription const& s) -: -::XSCRT::Type (), -label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), -UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), -contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0), -href_ (s.href_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.href_) : 0), -regulator__ () -{ -if (label_.get ()) label_->container (this); -if (UUID_.get ()) UUID_->container (this); -{ -for (location_const_iterator i (s.location_.begin ());i != s.location_.end ();++i) add_location (*i); -} + ImplementationArtifactDescription:: + ImplementationArtifactDescription (::CIAO::Config_Handlers::ImplementationArtifactDescription const& s) + : + ::XSCRT::Type (), + label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), + UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), + contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0), + href_ (s.href_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.href_) : 0), + regulator__ () + { + if (label_.get ()) label_->container (this); + if (UUID_.get ()) UUID_->container (this); + { + for (location_const_iterator i (s.location_.begin ());i != s.location_.end ();++i) add_location (*i); + } + + { + for (dependsOn_const_iterator i (s.dependsOn_.begin ());i != s.dependsOn_.end ();++i) add_dependsOn (*i); + } + + { + for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); + } + + { + for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i); + } + + { + for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); + } + + if (contentLocation_.get ()) contentLocation_->container (this); + if (href_.get ()) href_->container (this); + } -{ -for (dependsOn_const_iterator i (s.dependsOn_.begin ());i != s.dependsOn_.end ();++i) add_dependsOn (*i); -} + ::CIAO::Config_Handlers::ImplementationArtifactDescription& ImplementationArtifactDescription:: + operator= (::CIAO::Config_Handlers::ImplementationArtifactDescription const& s) + { + if (s.label_.get ()) label (*(s.label_)); + else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -{ -for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); -} + if (s.UUID_.get ()) UUID (*(s.UUID_)); + else UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -{ -for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i); -} + location_.clear (); + { + for (location_const_iterator i (s.location_.begin ());i != s.location_.end ();++i) add_location (*i); + } -{ -for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); -} + dependsOn_.clear (); + { + for (dependsOn_const_iterator i (s.dependsOn_.begin ());i != s.dependsOn_.end ();++i) add_dependsOn (*i); + } -if (contentLocation_.get ()) contentLocation_->container (this); -if (href_.get ()) href_->container (this); -} + execParameter_.clear (); + { + for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); + } -::CIAO::Config_Handlers::ImplementationArtifactDescription& ImplementationArtifactDescription:: -operator= (::CIAO::Config_Handlers::ImplementationArtifactDescription const& s) -{ -if (s.label_.get ()) label (*(s.label_)); -else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + infoProperty_.clear (); + { + for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i); + } -if (s.UUID_.get ()) UUID (*(s.UUID_)); -else UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + deployRequirement_.clear (); + { + for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); + } -location_.clear (); -{ -for (location_const_iterator i (s.location_.begin ());i != s.location_.end ();++i) add_location (*i); -} + if (s.contentLocation_.get ()) contentLocation (*(s.contentLocation_)); + else contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -dependsOn_.clear (); -{ -for (dependsOn_const_iterator i (s.dependsOn_.begin ());i != s.dependsOn_.end ();++i) add_dependsOn (*i); -} + if (s.href_.get ()) href (*(s.href_)); + else href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); -execParameter_.clear (); -{ -for (execParameter_const_iterator i (s.execParameter_.begin ());i != s.execParameter_.end ();++i) add_execParameter (*i); -} + return *this; + } -infoProperty_.clear (); -{ -for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i); -} -deployRequirement_.clear (); -{ -for (deployRequirement_const_iterator i (s.deployRequirement_.begin ());i != s.deployRequirement_.end ();++i) add_deployRequirement (*i); -} + // ImplementationArtifactDescription + // + bool ImplementationArtifactDescription:: + label_p () const + { + return label_.get () != 0; + } -if (s.contentLocation_.get ()) contentLocation (*(s.contentLocation_)); -else contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + ::XMLSchema::string< ACE_TCHAR > const& ImplementationArtifactDescription:: + label () const + { + return *label_; + } -if (s.href_.get ()) href (*(s.href_)); -else href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); + void ImplementationArtifactDescription:: + label (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (label_.get ()) + { + *label_ = e; + } + + else + { + label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + label_->container (this); + } + } -return *this; -} + // ImplementationArtifactDescription + // + bool ImplementationArtifactDescription:: + UUID_p () const + { + return UUID_.get () != 0; + } + ::XMLSchema::string< ACE_TCHAR > const& ImplementationArtifactDescription:: + UUID () const + { + return *UUID_; + } -// ImplementationArtifactDescription -// -bool ImplementationArtifactDescription:: -label_p () const -{ -return label_.get () != 0; -} + void ImplementationArtifactDescription:: + UUID (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (UUID_.get ()) + { + *UUID_ = e; + } + + else + { + UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + UUID_->container (this); + } + } -::XMLSchema::string< ACE_TCHAR > const& ImplementationArtifactDescription:: -label () const -{ -return *label_; -} + // ImplementationArtifactDescription + // + ImplementationArtifactDescription::location_iterator ImplementationArtifactDescription:: + begin_location () + { + return location_.begin (); + } -void ImplementationArtifactDescription:: -label (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (label_.get ()) -{ -*label_ = e; -} + ImplementationArtifactDescription::location_iterator ImplementationArtifactDescription:: + end_location () + { + return location_.end (); + } -else -{ -label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -label_->container (this); -} -} + ImplementationArtifactDescription::location_const_iterator ImplementationArtifactDescription:: + begin_location () const + { + return location_.begin (); + } -// ImplementationArtifactDescription -// -bool ImplementationArtifactDescription:: -UUID_p () const -{ -return UUID_.get () != 0; -} + ImplementationArtifactDescription::location_const_iterator ImplementationArtifactDescription:: + end_location () const + { + return location_.end (); + } -::XMLSchema::string< ACE_TCHAR > const& ImplementationArtifactDescription:: -UUID () const -{ -return *UUID_; -} + void ImplementationArtifactDescription:: + add_location (::XMLSchema::string< ACE_TCHAR > const& e) + { + location_.push_back (e); + } -void ImplementationArtifactDescription:: -UUID (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (UUID_.get ()) -{ -*UUID_ = e; -} + size_t ImplementationArtifactDescription:: + count_location(void) const + { + return location_.size (); + } -else -{ -UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -UUID_->container (this); -} -} + // ImplementationArtifactDescription + // + ImplementationArtifactDescription::dependsOn_iterator ImplementationArtifactDescription:: + begin_dependsOn () + { + return dependsOn_.begin (); + } -// ImplementationArtifactDescription -// -ImplementationArtifactDescription::location_iterator ImplementationArtifactDescription:: -begin_location () -{ -return location_.begin (); -} + ImplementationArtifactDescription::dependsOn_iterator ImplementationArtifactDescription:: + end_dependsOn () + { + return dependsOn_.end (); + } -ImplementationArtifactDescription::location_iterator ImplementationArtifactDescription:: -end_location () -{ -return location_.end (); -} + ImplementationArtifactDescription::dependsOn_const_iterator ImplementationArtifactDescription:: + begin_dependsOn () const + { + return dependsOn_.begin (); + } -ImplementationArtifactDescription::location_const_iterator ImplementationArtifactDescription:: -begin_location () const -{ -return location_.begin (); -} + ImplementationArtifactDescription::dependsOn_const_iterator ImplementationArtifactDescription:: + end_dependsOn () const + { + return dependsOn_.end (); + } -ImplementationArtifactDescription::location_const_iterator ImplementationArtifactDescription:: -end_location () const -{ -return location_.end (); -} + void ImplementationArtifactDescription:: + add_dependsOn (::CIAO::Config_Handlers::NamedImplementationArtifact const& e) + { + dependsOn_.push_back (e); + } -void ImplementationArtifactDescription:: -add_location (::XMLSchema::string< ACE_TCHAR > const& e) -{ -location_.push_back (e); -} + size_t ImplementationArtifactDescription:: + count_dependsOn(void) const + { + return dependsOn_.size (); + } -size_t ImplementationArtifactDescription:: -count_location(void) const -{ -return location_.size (); -} + // ImplementationArtifactDescription + // + ImplementationArtifactDescription::execParameter_iterator ImplementationArtifactDescription:: + begin_execParameter () + { + return execParameter_.begin (); + } -// ImplementationArtifactDescription -// -ImplementationArtifactDescription::dependsOn_iterator ImplementationArtifactDescription:: -begin_dependsOn () -{ -return dependsOn_.begin (); -} + ImplementationArtifactDescription::execParameter_iterator ImplementationArtifactDescription:: + end_execParameter () + { + return execParameter_.end (); + } -ImplementationArtifactDescription::dependsOn_iterator ImplementationArtifactDescription:: -end_dependsOn () -{ -return dependsOn_.end (); -} + ImplementationArtifactDescription::execParameter_const_iterator ImplementationArtifactDescription:: + begin_execParameter () const + { + return execParameter_.begin (); + } -ImplementationArtifactDescription::dependsOn_const_iterator ImplementationArtifactDescription:: -begin_dependsOn () const -{ -return dependsOn_.begin (); -} + ImplementationArtifactDescription::execParameter_const_iterator ImplementationArtifactDescription:: + end_execParameter () const + { + return execParameter_.end (); + } -ImplementationArtifactDescription::dependsOn_const_iterator ImplementationArtifactDescription:: -end_dependsOn () const -{ -return dependsOn_.end (); -} + void ImplementationArtifactDescription:: + add_execParameter (::CIAO::Config_Handlers::Property const& e) + { + execParameter_.push_back (e); + } -void ImplementationArtifactDescription:: -add_dependsOn (::CIAO::Config_Handlers::NamedImplementationArtifact const& e) -{ -dependsOn_.push_back (e); -} + size_t ImplementationArtifactDescription:: + count_execParameter(void) const + { + return execParameter_.size (); + } -size_t ImplementationArtifactDescription:: -count_dependsOn(void) const -{ -return dependsOn_.size (); -} + // ImplementationArtifactDescription + // + ImplementationArtifactDescription::infoProperty_iterator ImplementationArtifactDescription:: + begin_infoProperty () + { + return infoProperty_.begin (); + } -// ImplementationArtifactDescription -// -ImplementationArtifactDescription::execParameter_iterator ImplementationArtifactDescription:: -begin_execParameter () -{ -return execParameter_.begin (); -} + ImplementationArtifactDescription::infoProperty_iterator ImplementationArtifactDescription:: + end_infoProperty () + { + return infoProperty_.end (); + } -ImplementationArtifactDescription::execParameter_iterator ImplementationArtifactDescription:: -end_execParameter () -{ -return execParameter_.end (); -} + ImplementationArtifactDescription::infoProperty_const_iterator ImplementationArtifactDescription:: + begin_infoProperty () const + { + return infoProperty_.begin (); + } -ImplementationArtifactDescription::execParameter_const_iterator ImplementationArtifactDescription:: -begin_execParameter () const -{ -return execParameter_.begin (); -} + ImplementationArtifactDescription::infoProperty_const_iterator ImplementationArtifactDescription:: + end_infoProperty () const + { + return infoProperty_.end (); + } -ImplementationArtifactDescription::execParameter_const_iterator ImplementationArtifactDescription:: -end_execParameter () const -{ -return execParameter_.end (); -} + void ImplementationArtifactDescription:: + add_infoProperty (::CIAO::Config_Handlers::Property const& e) + { + infoProperty_.push_back (e); + } -void ImplementationArtifactDescription:: -add_execParameter (::CIAO::Config_Handlers::Property const& e) -{ -execParameter_.push_back (e); -} + size_t ImplementationArtifactDescription:: + count_infoProperty(void) const + { + return infoProperty_.size (); + } -size_t ImplementationArtifactDescription:: -count_execParameter(void) const -{ -return execParameter_.size (); -} + // ImplementationArtifactDescription + // + ImplementationArtifactDescription::deployRequirement_iterator ImplementationArtifactDescription:: + begin_deployRequirement () + { + return deployRequirement_.begin (); + } -// ImplementationArtifactDescription -// -ImplementationArtifactDescription::infoProperty_iterator ImplementationArtifactDescription:: -begin_infoProperty () -{ -return infoProperty_.begin (); -} + ImplementationArtifactDescription::deployRequirement_iterator ImplementationArtifactDescription:: + end_deployRequirement () + { + return deployRequirement_.end (); + } -ImplementationArtifactDescription::infoProperty_iterator ImplementationArtifactDescription:: -end_infoProperty () -{ -return infoProperty_.end (); -} + ImplementationArtifactDescription::deployRequirement_const_iterator ImplementationArtifactDescription:: + begin_deployRequirement () const + { + return deployRequirement_.begin (); + } -ImplementationArtifactDescription::infoProperty_const_iterator ImplementationArtifactDescription:: -begin_infoProperty () const -{ -return infoProperty_.begin (); -} + ImplementationArtifactDescription::deployRequirement_const_iterator ImplementationArtifactDescription:: + end_deployRequirement () const + { + return deployRequirement_.end (); + } -ImplementationArtifactDescription::infoProperty_const_iterator ImplementationArtifactDescription:: -end_infoProperty () const -{ -return infoProperty_.end (); -} + void ImplementationArtifactDescription:: + add_deployRequirement (::CIAO::Config_Handlers::Requirement const& e) + { + deployRequirement_.push_back (e); + } -void ImplementationArtifactDescription:: -add_infoProperty (::CIAO::Config_Handlers::Property const& e) -{ -infoProperty_.push_back (e); -} + size_t ImplementationArtifactDescription:: + count_deployRequirement(void) const + { + return deployRequirement_.size (); + } -size_t ImplementationArtifactDescription:: -count_infoProperty(void) const -{ -return infoProperty_.size (); -} + // ImplementationArtifactDescription + // + bool ImplementationArtifactDescription:: + contentLocation_p () const + { + return contentLocation_.get () != 0; + } -// ImplementationArtifactDescription -// -ImplementationArtifactDescription::deployRequirement_iterator ImplementationArtifactDescription:: -begin_deployRequirement () -{ -return deployRequirement_.begin (); -} + ::XMLSchema::string< ACE_TCHAR > const& ImplementationArtifactDescription:: + contentLocation () const + { + return *contentLocation_; + } -ImplementationArtifactDescription::deployRequirement_iterator ImplementationArtifactDescription:: -end_deployRequirement () -{ -return deployRequirement_.end (); -} + void ImplementationArtifactDescription:: + contentLocation (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (contentLocation_.get ()) + { + *contentLocation_ = e; + } + + else + { + contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + contentLocation_->container (this); + } + } -ImplementationArtifactDescription::deployRequirement_const_iterator ImplementationArtifactDescription:: -begin_deployRequirement () const -{ -return deployRequirement_.begin (); -} + // ImplementationArtifactDescription + // + bool ImplementationArtifactDescription:: + href_p () const + { + return href_.get () != 0; + } -ImplementationArtifactDescription::deployRequirement_const_iterator ImplementationArtifactDescription:: -end_deployRequirement () const -{ -return deployRequirement_.end (); -} + ::XMLSchema::string< ACE_TCHAR > const& ImplementationArtifactDescription:: + href () const + { + return *href_; + } -void ImplementationArtifactDescription:: -add_deployRequirement (::CIAO::Config_Handlers::Requirement const& e) -{ -deployRequirement_.push_back (e); -} + ::XMLSchema::string< ACE_TCHAR >& ImplementationArtifactDescription:: + href () + { + return *href_; + } -size_t ImplementationArtifactDescription:: -count_deployRequirement(void) const -{ -return deployRequirement_.size (); + void ImplementationArtifactDescription:: + href (::XMLSchema::string< ACE_TCHAR > const& e) + { + if (href_.get ()) + { + *href_ = e; + } + + else + { + href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + href_->container (this); + } + } + } } -// ImplementationArtifactDescription -// -bool ImplementationArtifactDescription:: -contentLocation_p () const +namespace CIAO { -return contentLocation_.get () != 0; -} + namespace Config_Handlers + { + // NamedImplementationArtifact + // -::XMLSchema::string< ACE_TCHAR > const& ImplementationArtifactDescription:: -contentLocation () const -{ -return *contentLocation_; -} + NamedImplementationArtifact:: + NamedImplementationArtifact (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -void ImplementationArtifactDescription:: -contentLocation (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (contentLocation_.get ()) -{ -*contentLocation_ = e; -} + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "name") + { + name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + name_->container (this); + } + + else if (n == "referencedArtifact") + { + referencedArtifact_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ImplementationArtifactDescription > (new ::CIAO::Config_Handlers::ImplementationArtifactDescription (e)); + referencedArtifact_->container (this); + } + + else + { + } + } + } -else -{ -contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -contentLocation_->container (this); -} -} + // ImplementationArtifactDescription + // -// ImplementationArtifactDescription -// -bool ImplementationArtifactDescription:: -href_p () const -{ -return href_.get () != 0; -} + ImplementationArtifactDescription:: + ImplementationArtifactDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) + :Base__ (e), regulator__ () + { -::XMLSchema::string< ACE_TCHAR > const& ImplementationArtifactDescription:: -href () const -{ -return *href_; + ::XSCRT::Parser< ACE_TCHAR > p (e); + + while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "label") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + label (t); + } + + else if (n == "UUID") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + UUID (t); + } + + else if (n == "location") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + add_location (t); + } + + else if (n == "dependsOn") + { + ::CIAO::Config_Handlers::NamedImplementationArtifact t (e); + add_dependsOn (t); + } + + else if (n == "execParameter") + { + ::CIAO::Config_Handlers::Property t (e); + add_execParameter (t); + } + + else if (n == "infoProperty") + { + ::CIAO::Config_Handlers::Property t (e); + add_infoProperty (t); + } + + else if (n == "deployRequirement") + { + ::CIAO::Config_Handlers::Requirement t (e); + add_deployRequirement (t); + } + + else if (n == "contentLocation") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + contentLocation (t); + } + + else + { + } + } + + while (p.more_attributes ()) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); + if (n == "href") + { + ::XMLSchema::string< ACE_TCHAR > t (a); + href (t); + } + + else + { + } + } + } + } } -::XMLSchema::string< ACE_TCHAR >& ImplementationArtifactDescription:: -href () +namespace CIAO { -return *href_; + namespace Config_Handlers + { + } } -void ImplementationArtifactDescription:: -href (::XMLSchema::string< ACE_TCHAR > const& e) -{ -if (href_.get ()) -{ -*href_ = e; -} - -else -{ -href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -href_->container (this); -} -} -} -} +#include "XMLSchema/TypeInfo.hpp" namespace CIAO { -namespace Config_Handlers -{ -// NamedImplementationArtifact -// - -NamedImplementationArtifact:: -NamedImplementationArtifact (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ - -::XSCRT::Parser< ACE_TCHAR > p (e); - -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - -if (n == "name") -{ -name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); -name_->container (this); -} - -else if (n == "referencedArtifact") -{ -referencedArtifact_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ImplementationArtifactDescription > (new ::CIAO::Config_Handlers::ImplementationArtifactDescription (e)); -referencedArtifact_->container (this); -} - -else -{ -} -} -} - -// ImplementationArtifactDescription -// - -ImplementationArtifactDescription:: -ImplementationArtifactDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) -:Base__ (e), regulator__ () -{ - -::XSCRT::Parser< ACE_TCHAR > p (e); - -while (p.more_elements ()) -{ -::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - -if (n == "label") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -label (t); -} - -else if (n == "UUID") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -UUID (t); -} - -else if (n == "location") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -add_location (t); -} - -else if (n == "dependsOn") -{ -::CIAO::Config_Handlers::NamedImplementationArtifact t (e); -add_dependsOn (t); -} - -else if (n == "execParameter") -{ -::CIAO::Config_Handlers::Property t (e); -add_execParameter (t); -} - -else if (n == "infoProperty") -{ -::CIAO::Config_Handlers::Property t (e); -add_infoProperty (t); -} - -else if (n == "deployRequirement") -{ -::CIAO::Config_Handlers::Requirement t (e); -add_deployRequirement (t); -} - -else if (n == "contentLocation") -{ -::XMLSchema::string< ACE_TCHAR > t (e); -contentLocation (t); -} - -else -{ -} -} - -while (p.more_attributes ()) -{ -::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); -::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); -if (n == "href") -{ -::XMLSchema::string< ACE_TCHAR > t (a); -href (t); -} - -else -{ -} -} -} -} + namespace Config_Handlers + { + namespace + { + ::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); + + struct NamedImplementationArtifactTypeInfoInitializer + { + NamedImplementationArtifactTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (NamedImplementationArtifact)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + NamedImplementationArtifactTypeInfoInitializer NamedImplementationArtifactTypeInfoInitializer_; + + struct ImplementationArtifactDescriptionTypeInfoInitializer + { + ImplementationArtifactDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ImplementationArtifactDescription)); + ::XSCRT::ExtendedTypeInfo nf (id); + + nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); + ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); + } + }; + + ImplementationArtifactDescriptionTypeInfoInitializer ImplementationArtifactDescriptionTypeInfoInitializer_; + } + } } namespace CIAO { -namespace Config_Handlers -{ -} + namespace Config_Handlers + { + namespace Traversal + { + // NamedImplementationArtifact + // + // + + void NamedImplementationArtifact:: + traverse (Type& o) + { + pre (o); + name (o); + referencedArtifact (o); + post (o); + } + + void NamedImplementationArtifact:: + traverse (Type const& o) + { + pre (o); + name (o); + referencedArtifact (o); + post (o); + } + + void NamedImplementationArtifact:: + pre (Type&) + { + } + + void NamedImplementationArtifact:: + pre (Type const&) + { + } + + void NamedImplementationArtifact:: + name (Type& o) + { + dispatch (o.name ()); + } + + void NamedImplementationArtifact:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void NamedImplementationArtifact:: + referencedArtifact (Type& o) + { + dispatch (o.referencedArtifact ()); + } + + void NamedImplementationArtifact:: + referencedArtifact (Type const& o) + { + dispatch (o.referencedArtifact ()); + } + + void NamedImplementationArtifact:: + post (Type&) + { + } + + void NamedImplementationArtifact:: + post (Type const&) + { + } + + // ImplementationArtifactDescription + // + // + + void ImplementationArtifactDescription:: + traverse (Type& o) + { + pre (o); + if (o.label_p ()) label (o); + else label_none (o); + if (o.UUID_p ()) UUID (o); + else UUID_none (o); + location (o); + dependsOn (o); + execParameter (o); + infoProperty (o); + deployRequirement (o); + if (o.contentLocation_p ()) contentLocation (o); + else contentLocation_none (o); + if (o.href_p ()) href (o); + else href_none (o); + post (o); + } + + void ImplementationArtifactDescription:: + traverse (Type const& o) + { + pre (o); + if (o.label_p ()) label (o); + else label_none (o); + if (o.UUID_p ()) UUID (o); + else UUID_none (o); + location (o); + dependsOn (o); + execParameter (o); + infoProperty (o); + deployRequirement (o); + if (o.contentLocation_p ()) contentLocation (o); + else contentLocation_none (o); + if (o.href_p ()) href (o); + else href_none (o); + post (o); + } + + void ImplementationArtifactDescription:: + pre (Type&) + { + } + + void ImplementationArtifactDescription:: + pre (Type const&) + { + } + + void ImplementationArtifactDescription:: + label (Type& o) + { + dispatch (o.label ()); + } + + void ImplementationArtifactDescription:: + label (Type const& o) + { + dispatch (o.label ()); + } + + void ImplementationArtifactDescription:: + label_none (Type&) + { + } + + void ImplementationArtifactDescription:: + label_none (Type const&) + { + } + + void ImplementationArtifactDescription:: + UUID (Type& o) + { + dispatch (o.UUID ()); + } + + void ImplementationArtifactDescription:: + UUID (Type const& o) + { + dispatch (o.UUID ()); + } + + void ImplementationArtifactDescription:: + UUID_none (Type&) + { + } + + void ImplementationArtifactDescription:: + UUID_none (Type const&) + { + } + + void ImplementationArtifactDescription:: + location (Type& o) + { + // VC6 anathema strikes again + // + ImplementationArtifactDescription::Type::location_iterator b (o.begin_location()), e (o.end_location()); + + if (b != e) + { + location_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) location_next (o); + } + + location_post (o); + } + + else location_none (o); + } + + void ImplementationArtifactDescription:: + location (Type const& o) + { + // VC6 anathema strikes again + // + ImplementationArtifactDescription::Type::location_const_iterator b (o.begin_location()), e (o.end_location()); + + if (b != e) + { + location_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) location_next (o); + } + + location_post (o); + } + + else location_none (o); + } + + void ImplementationArtifactDescription:: + location_pre (Type&) + { + } + + void ImplementationArtifactDescription:: + location_pre (Type const&) + { + } + + void ImplementationArtifactDescription:: + location_next (Type&) + { + } + + void ImplementationArtifactDescription:: + location_next (Type const&) + { + } + + void ImplementationArtifactDescription:: + location_post (Type&) + { + } + + void ImplementationArtifactDescription:: + location_post (Type const&) + { + } + + void ImplementationArtifactDescription:: + location_none (Type&) + { + } + + void ImplementationArtifactDescription:: + location_none (Type const&) + { + } + + void ImplementationArtifactDescription:: + dependsOn (Type& o) + { + // VC6 anathema strikes again + // + ImplementationArtifactDescription::Type::dependsOn_iterator b (o.begin_dependsOn()), e (o.end_dependsOn()); + + if (b != e) + { + dependsOn_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) dependsOn_next (o); + } + + dependsOn_post (o); + } + + else dependsOn_none (o); + } + + void ImplementationArtifactDescription:: + dependsOn (Type const& o) + { + // VC6 anathema strikes again + // + ImplementationArtifactDescription::Type::dependsOn_const_iterator b (o.begin_dependsOn()), e (o.end_dependsOn()); + + if (b != e) + { + dependsOn_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) dependsOn_next (o); + } + + dependsOn_post (o); + } + + else dependsOn_none (o); + } + + void ImplementationArtifactDescription:: + dependsOn_pre (Type&) + { + } + + void ImplementationArtifactDescription:: + dependsOn_pre (Type const&) + { + } + + void ImplementationArtifactDescription:: + dependsOn_next (Type&) + { + } + + void ImplementationArtifactDescription:: + dependsOn_next (Type const&) + { + } + + void ImplementationArtifactDescription:: + dependsOn_post (Type&) + { + } + + void ImplementationArtifactDescription:: + dependsOn_post (Type const&) + { + } + + void ImplementationArtifactDescription:: + dependsOn_none (Type&) + { + } + + void ImplementationArtifactDescription:: + dependsOn_none (Type const&) + { + } + + void ImplementationArtifactDescription:: + execParameter (Type& o) + { + // VC6 anathema strikes again + // + ImplementationArtifactDescription::Type::execParameter_iterator b (o.begin_execParameter()), e (o.end_execParameter()); + + if (b != e) + { + execParameter_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) execParameter_next (o); + } + + execParameter_post (o); + } + + else execParameter_none (o); + } + + void ImplementationArtifactDescription:: + execParameter (Type const& o) + { + // VC6 anathema strikes again + // + ImplementationArtifactDescription::Type::execParameter_const_iterator b (o.begin_execParameter()), e (o.end_execParameter()); + + if (b != e) + { + execParameter_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) execParameter_next (o); + } + + execParameter_post (o); + } + + else execParameter_none (o); + } + + void ImplementationArtifactDescription:: + execParameter_pre (Type&) + { + } + + void ImplementationArtifactDescription:: + execParameter_pre (Type const&) + { + } + + void ImplementationArtifactDescription:: + execParameter_next (Type&) + { + } + + void ImplementationArtifactDescription:: + execParameter_next (Type const&) + { + } + + void ImplementationArtifactDescription:: + execParameter_post (Type&) + { + } + + void ImplementationArtifactDescription:: + execParameter_post (Type const&) + { + } + + void ImplementationArtifactDescription:: + execParameter_none (Type&) + { + } + + void ImplementationArtifactDescription:: + execParameter_none (Type const&) + { + } + + void ImplementationArtifactDescription:: + infoProperty (Type& o) + { + // VC6 anathema strikes again + // + ImplementationArtifactDescription::Type::infoProperty_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); + + if (b != e) + { + infoProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) infoProperty_next (o); + } + + infoProperty_post (o); + } + + else infoProperty_none (o); + } + + void ImplementationArtifactDescription:: + infoProperty (Type const& o) + { + // VC6 anathema strikes again + // + ImplementationArtifactDescription::Type::infoProperty_const_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); + + if (b != e) + { + infoProperty_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) infoProperty_next (o); + } + + infoProperty_post (o); + } + + else infoProperty_none (o); + } + + void ImplementationArtifactDescription:: + infoProperty_pre (Type&) + { + } + + void ImplementationArtifactDescription:: + infoProperty_pre (Type const&) + { + } + + void ImplementationArtifactDescription:: + infoProperty_next (Type&) + { + } + + void ImplementationArtifactDescription:: + infoProperty_next (Type const&) + { + } + + void ImplementationArtifactDescription:: + infoProperty_post (Type&) + { + } + + void ImplementationArtifactDescription:: + infoProperty_post (Type const&) + { + } + + void ImplementationArtifactDescription:: + infoProperty_none (Type&) + { + } + + void ImplementationArtifactDescription:: + infoProperty_none (Type const&) + { + } + + void ImplementationArtifactDescription:: + deployRequirement (Type& o) + { + // VC6 anathema strikes again + // + ImplementationArtifactDescription::Type::deployRequirement_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); + + if (b != e) + { + deployRequirement_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) deployRequirement_next (o); + } + + deployRequirement_post (o); + } + + else deployRequirement_none (o); + } + + void ImplementationArtifactDescription:: + deployRequirement (Type const& o) + { + // VC6 anathema strikes again + // + ImplementationArtifactDescription::Type::deployRequirement_const_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); + + if (b != e) + { + deployRequirement_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) deployRequirement_next (o); + } + + deployRequirement_post (o); + } + + else deployRequirement_none (o); + } + + void ImplementationArtifactDescription:: + deployRequirement_pre (Type&) + { + } + + void ImplementationArtifactDescription:: + deployRequirement_pre (Type const&) + { + } + + void ImplementationArtifactDescription:: + deployRequirement_next (Type&) + { + } + + void ImplementationArtifactDescription:: + deployRequirement_next (Type const&) + { + } + + void ImplementationArtifactDescription:: + deployRequirement_post (Type&) + { + } + + void ImplementationArtifactDescription:: + deployRequirement_post (Type const&) + { + } + + void ImplementationArtifactDescription:: + deployRequirement_none (Type&) + { + } + + void ImplementationArtifactDescription:: + deployRequirement_none (Type const&) + { + } + + void ImplementationArtifactDescription:: + contentLocation (Type& o) + { + dispatch (o.contentLocation ()); + } + + void ImplementationArtifactDescription:: + contentLocation (Type const& o) + { + dispatch (o.contentLocation ()); + } + + void ImplementationArtifactDescription:: + contentLocation_none (Type&) + { + } + + void ImplementationArtifactDescription:: + contentLocation_none (Type const&) + { + } + + void ImplementationArtifactDescription:: + href (Type& o) + { + dispatch (o.href ()); + } + + void ImplementationArtifactDescription:: + href (Type const& o) + { + dispatch (o.href ()); + } + + void ImplementationArtifactDescription:: + href_none (Type&) + { + } + + void ImplementationArtifactDescription:: + href_none (Type const&) + { + } + + void ImplementationArtifactDescription:: + post (Type&) + { + } + + void ImplementationArtifactDescription:: + post (Type const&) + { + } + } + } } -#include "XMLSchema/TypeInfo.hpp" - namespace CIAO { -namespace Config_Handlers -{ -namespace -{ -::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); - -struct NamedImplementationArtifactTypeInfoInitializer -{ -NamedImplementationArtifactTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (NamedImplementationArtifact)); -::XSCRT::ExtendedTypeInfo nf (id); - -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; - -NamedImplementationArtifactTypeInfoInitializer NamedImplementationArtifactTypeInfoInitializer_; - -struct ImplementationArtifactDescriptionTypeInfoInitializer -{ -ImplementationArtifactDescriptionTypeInfoInitializer () -{ -::XSCRT::TypeId id (typeid (ImplementationArtifactDescription)); -::XSCRT::ExtendedTypeInfo nf (id); - -nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type)); -::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf)); -} -}; - -ImplementationArtifactDescriptionTypeInfoInitializer ImplementationArtifactDescriptionTypeInfoInitializer_; -} -} + namespace Config_Handlers + { + namespace Writer + { + // NamedImplementationArtifact + // + // + + NamedImplementationArtifact:: + NamedImplementationArtifact (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + NamedImplementationArtifact:: + NamedImplementationArtifact () + { + } + + void NamedImplementationArtifact:: + traverse (Type const& o) + { + Traversal::NamedImplementationArtifact::traverse (o); + } + + void NamedImplementationArtifact:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); + Traversal::NamedImplementationArtifact::name (o); + pop_ (); + } + + void NamedImplementationArtifact:: + referencedArtifact (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("referencedArtifact", top_ ())); + Traversal::NamedImplementationArtifact::referencedArtifact (o); + pop_ (); + } + + // ImplementationArtifactDescription + // + // + + ImplementationArtifactDescription:: + ImplementationArtifactDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) + : ::XSCRT::Writer< ACE_TCHAR > (e) + { + } + + ImplementationArtifactDescription:: + ImplementationArtifactDescription () + { + } + + void ImplementationArtifactDescription:: + traverse (Type const& o) + { + Traversal::ImplementationArtifactDescription::traverse (o); + } + + void ImplementationArtifactDescription:: + label (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); + Traversal::ImplementationArtifactDescription::label (o); + pop_ (); + } + + void ImplementationArtifactDescription:: + UUID (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("UUID", top_ ())); + Traversal::ImplementationArtifactDescription::UUID (o); + pop_ (); + } + + void ImplementationArtifactDescription:: + location_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("location", top_ ())); + } + + void ImplementationArtifactDescription:: + location_next (Type const& o) + { + location_post (o); + location_pre (o); + } + + void ImplementationArtifactDescription:: + location_post (Type const&) + { + pop_ (); + } + + void ImplementationArtifactDescription:: + dependsOn_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("dependsOn", top_ ())); + } + + void ImplementationArtifactDescription:: + dependsOn_next (Type const& o) + { + dependsOn_post (o); + dependsOn_pre (o); + } + + void ImplementationArtifactDescription:: + dependsOn_post (Type const&) + { + pop_ (); + } + + void ImplementationArtifactDescription:: + execParameter_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("execParameter", top_ ())); + } + + void ImplementationArtifactDescription:: + execParameter_next (Type const& o) + { + execParameter_post (o); + execParameter_pre (o); + } + + void ImplementationArtifactDescription:: + execParameter_post (Type const&) + { + pop_ (); + } + + void ImplementationArtifactDescription:: + infoProperty_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("infoProperty", top_ ())); + } + + void ImplementationArtifactDescription:: + infoProperty_next (Type const& o) + { + infoProperty_post (o); + infoProperty_pre (o); + } + + void ImplementationArtifactDescription:: + infoProperty_post (Type const&) + { + pop_ (); + } + + void ImplementationArtifactDescription:: + deployRequirement_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); + } + + void ImplementationArtifactDescription:: + deployRequirement_next (Type const& o) + { + deployRequirement_post (o); + deployRequirement_pre (o); + } + + void ImplementationArtifactDescription:: + deployRequirement_post (Type const&) + { + pop_ (); + } + + void ImplementationArtifactDescription:: + contentLocation (Type const& o) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("contentLocation", top_ ())); + Traversal::ImplementationArtifactDescription::contentLocation (o); + pop_ (); + } + + void ImplementationArtifactDescription:: + href (Type const& o) + { + ::XSCRT::XML::Attribute< ACE_TCHAR > a ("href", "", top_ ()); + attr_ (&a); + Traversal::ImplementationArtifactDescription::href (o); + attr_ (0); + } + } + } } namespace CIAO { -namespace Config_Handlers -{ -namespace Traversal -{ -// NamedImplementationArtifact -// -// - -void NamedImplementationArtifact:: -traverse (Type& o) -{ -pre (o); -name (o); -referencedArtifact (o); -post (o); -} - -void NamedImplementationArtifact:: -traverse (Type const& o) -{ -pre (o); -name (o); -referencedArtifact (o); -post (o); -} - -void NamedImplementationArtifact:: -pre (Type&) -{ -} - -void NamedImplementationArtifact:: -pre (Type const&) -{ -} - -void NamedImplementationArtifact:: -name (Type& o) -{ -dispatch (o.name ()); -} - -void NamedImplementationArtifact:: -name (Type const& o) -{ -dispatch (o.name ()); -} - -void NamedImplementationArtifact:: -referencedArtifact (Type& o) -{ -dispatch (o.referencedArtifact ()); -} - -void NamedImplementationArtifact:: -referencedArtifact (Type const& o) -{ -dispatch (o.referencedArtifact ()); -} - -void NamedImplementationArtifact:: -post (Type&) -{ -} - -void NamedImplementationArtifact:: -post (Type const&) -{ -} - -// ImplementationArtifactDescription -// -// - -void ImplementationArtifactDescription:: -traverse (Type& o) -{ -pre (o); -if (o.label_p ()) label (o); -else label_none (o); -if (o.UUID_p ()) UUID (o); -else UUID_none (o); -location (o); -dependsOn (o); -execParameter (o); -infoProperty (o); -deployRequirement (o); -if (o.contentLocation_p ()) contentLocation (o); -else contentLocation_none (o); -if (o.href_p ()) href (o); -else href_none (o); -post (o); -} - -void ImplementationArtifactDescription:: -traverse (Type const& o) -{ -pre (o); -if (o.label_p ()) label (o); -else label_none (o); -if (o.UUID_p ()) UUID (o); -else UUID_none (o); -location (o); -dependsOn (o); -execParameter (o); -infoProperty (o); -deployRequirement (o); -if (o.contentLocation_p ()) contentLocation (o); -else contentLocation_none (o); -if (o.href_p ()) href (o); -else href_none (o); -post (o); -} - -void ImplementationArtifactDescription:: -pre (Type&) -{ -} - -void ImplementationArtifactDescription:: -pre (Type const&) -{ -} - -void ImplementationArtifactDescription:: -label (Type& o) -{ -dispatch (o.label ()); -} - -void ImplementationArtifactDescription:: -label (Type const& o) -{ -dispatch (o.label ()); -} - -void ImplementationArtifactDescription:: -label_none (Type&) -{ -} - -void ImplementationArtifactDescription:: -label_none (Type const&) -{ -} - -void ImplementationArtifactDescription:: -UUID (Type& o) -{ -dispatch (o.UUID ()); -} - -void ImplementationArtifactDescription:: -UUID (Type const& o) -{ -dispatch (o.UUID ()); -} - -void ImplementationArtifactDescription:: -UUID_none (Type&) -{ -} - -void ImplementationArtifactDescription:: -UUID_none (Type const&) -{ -} - -void ImplementationArtifactDescription:: -location (Type& o) -{ -// VC6 anathema strikes again -// -ImplementationArtifactDescription::Type::location_iterator b (o.begin_location()), e (o.end_location()); - -if (b != e) -{ -location_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) location_next (o); -} - -location_post (o); -} - -else location_none (o); -} - -void ImplementationArtifactDescription:: -location (Type const& o) -{ -// VC6 anathema strikes again -// -ImplementationArtifactDescription::Type::location_const_iterator b (o.begin_location()), e (o.end_location()); - -if (b != e) -{ -location_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) location_next (o); -} - -location_post (o); -} - -else location_none (o); -} - -void ImplementationArtifactDescription:: -location_pre (Type&) -{ -} - -void ImplementationArtifactDescription:: -location_pre (Type const&) -{ -} - -void ImplementationArtifactDescription:: -location_next (Type&) -{ -} - -void ImplementationArtifactDescription:: -location_next (Type const&) -{ -} - -void ImplementationArtifactDescription:: -location_post (Type&) -{ -} - -void ImplementationArtifactDescription:: -location_post (Type const&) -{ -} - -void ImplementationArtifactDescription:: -location_none (Type&) -{ -} - -void ImplementationArtifactDescription:: -location_none (Type const&) -{ -} - -void ImplementationArtifactDescription:: -dependsOn (Type& o) -{ -// VC6 anathema strikes again -// -ImplementationArtifactDescription::Type::dependsOn_iterator b (o.begin_dependsOn()), e (o.end_dependsOn()); - -if (b != e) -{ -dependsOn_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) dependsOn_next (o); -} - -dependsOn_post (o); -} - -else dependsOn_none (o); -} - -void ImplementationArtifactDescription:: -dependsOn (Type const& o) -{ -// VC6 anathema strikes again -// -ImplementationArtifactDescription::Type::dependsOn_const_iterator b (o.begin_dependsOn()), e (o.end_dependsOn()); - -if (b != e) -{ -dependsOn_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) dependsOn_next (o); -} - -dependsOn_post (o); -} - -else dependsOn_none (o); -} - -void ImplementationArtifactDescription:: -dependsOn_pre (Type&) -{ -} - -void ImplementationArtifactDescription:: -dependsOn_pre (Type const&) -{ -} - -void ImplementationArtifactDescription:: -dependsOn_next (Type&) -{ -} - -void ImplementationArtifactDescription:: -dependsOn_next (Type const&) -{ -} - -void ImplementationArtifactDescription:: -dependsOn_post (Type&) -{ -} - -void ImplementationArtifactDescription:: -dependsOn_post (Type const&) -{ -} - -void ImplementationArtifactDescription:: -dependsOn_none (Type&) -{ -} - -void ImplementationArtifactDescription:: -dependsOn_none (Type const&) -{ -} - -void ImplementationArtifactDescription:: -execParameter (Type& o) -{ -// VC6 anathema strikes again -// -ImplementationArtifactDescription::Type::execParameter_iterator b (o.begin_execParameter()), e (o.end_execParameter()); - -if (b != e) -{ -execParameter_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) execParameter_next (o); -} - -execParameter_post (o); -} - -else execParameter_none (o); -} - -void ImplementationArtifactDescription:: -execParameter (Type const& o) -{ -// VC6 anathema strikes again -// -ImplementationArtifactDescription::Type::execParameter_const_iterator b (o.begin_execParameter()), e (o.end_execParameter()); - -if (b != e) -{ -execParameter_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) execParameter_next (o); -} - -execParameter_post (o); -} - -else execParameter_none (o); -} - -void ImplementationArtifactDescription:: -execParameter_pre (Type&) -{ -} - -void ImplementationArtifactDescription:: -execParameter_pre (Type const&) -{ -} - -void ImplementationArtifactDescription:: -execParameter_next (Type&) -{ -} - -void ImplementationArtifactDescription:: -execParameter_next (Type const&) -{ -} - -void ImplementationArtifactDescription:: -execParameter_post (Type&) -{ -} - -void ImplementationArtifactDescription:: -execParameter_post (Type const&) -{ -} - -void ImplementationArtifactDescription:: -execParameter_none (Type&) -{ -} - -void ImplementationArtifactDescription:: -execParameter_none (Type const&) -{ -} - -void ImplementationArtifactDescription:: -infoProperty (Type& o) -{ -// VC6 anathema strikes again -// -ImplementationArtifactDescription::Type::infoProperty_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); - -if (b != e) -{ -infoProperty_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) infoProperty_next (o); -} - -infoProperty_post (o); -} - -else infoProperty_none (o); -} - -void ImplementationArtifactDescription:: -infoProperty (Type const& o) -{ -// VC6 anathema strikes again -// -ImplementationArtifactDescription::Type::infoProperty_const_iterator b (o.begin_infoProperty()), e (o.end_infoProperty()); - -if (b != e) -{ -infoProperty_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) infoProperty_next (o); -} - -infoProperty_post (o); -} - -else infoProperty_none (o); -} - -void ImplementationArtifactDescription:: -infoProperty_pre (Type&) -{ -} - -void ImplementationArtifactDescription:: -infoProperty_pre (Type const&) -{ -} - -void ImplementationArtifactDescription:: -infoProperty_next (Type&) -{ -} - -void ImplementationArtifactDescription:: -infoProperty_next (Type const&) -{ -} - -void ImplementationArtifactDescription:: -infoProperty_post (Type&) -{ -} - -void ImplementationArtifactDescription:: -infoProperty_post (Type const&) -{ -} - -void ImplementationArtifactDescription:: -infoProperty_none (Type&) -{ -} - -void ImplementationArtifactDescription:: -infoProperty_none (Type const&) -{ -} - -void ImplementationArtifactDescription:: -deployRequirement (Type& o) -{ -// VC6 anathema strikes again -// -ImplementationArtifactDescription::Type::deployRequirement_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); - -if (b != e) -{ -deployRequirement_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) deployRequirement_next (o); -} - -deployRequirement_post (o); -} - -else deployRequirement_none (o); -} - -void ImplementationArtifactDescription:: -deployRequirement (Type const& o) -{ -// VC6 anathema strikes again -// -ImplementationArtifactDescription::Type::deployRequirement_const_iterator b (o.begin_deployRequirement()), e (o.end_deployRequirement()); - -if (b != e) -{ -deployRequirement_pre (o); -for (; b != e;) -{ -dispatch (*b); -if (++b != e) deployRequirement_next (o); -} - -deployRequirement_post (o); -} - -else deployRequirement_none (o); -} - -void ImplementationArtifactDescription:: -deployRequirement_pre (Type&) -{ -} - -void ImplementationArtifactDescription:: -deployRequirement_pre (Type const&) -{ -} - -void ImplementationArtifactDescription:: -deployRequirement_next (Type&) -{ -} - -void ImplementationArtifactDescription:: -deployRequirement_next (Type const&) -{ -} - -void ImplementationArtifactDescription:: -deployRequirement_post (Type&) -{ -} - -void ImplementationArtifactDescription:: -deployRequirement_post (Type const&) -{ -} - -void ImplementationArtifactDescription:: -deployRequirement_none (Type&) -{ -} - -void ImplementationArtifactDescription:: -deployRequirement_none (Type const&) -{ -} - -void ImplementationArtifactDescription:: -contentLocation (Type& o) -{ -dispatch (o.contentLocation ()); -} - -void ImplementationArtifactDescription:: -contentLocation (Type const& o) -{ -dispatch (o.contentLocation ()); -} - -void ImplementationArtifactDescription:: -contentLocation_none (Type&) -{ -} - -void ImplementationArtifactDescription:: -contentLocation_none (Type const&) -{ -} - -void ImplementationArtifactDescription:: -href (Type& o) -{ -dispatch (o.href ()); -} - -void ImplementationArtifactDescription:: -href (Type const& o) -{ -dispatch (o.href ()); -} - -void ImplementationArtifactDescription:: -href_none (Type&) -{ -} - -void ImplementationArtifactDescription:: -href_none (Type const&) -{ -} - -void ImplementationArtifactDescription:: -post (Type&) -{ -} - -void ImplementationArtifactDescription:: -post (Type const&) -{ -} -} -} -} - -namespace CIAO -{ -namespace Config_Handlers -{ -namespace Writer -{ -// NamedImplementationArtifact -// -// - -NamedImplementationArtifact:: -NamedImplementationArtifact (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} - -NamedImplementationArtifact:: -NamedImplementationArtifact () -{ -} - -void NamedImplementationArtifact:: -traverse (Type const& o) -{ -Traversal::NamedImplementationArtifact::traverse (o); -} - -void NamedImplementationArtifact:: -name (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ())); -Traversal::NamedImplementationArtifact::name (o); -pop_ (); -} - -void NamedImplementationArtifact:: -referencedArtifact (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("referencedArtifact", top_ ())); -Traversal::NamedImplementationArtifact::referencedArtifact (o); -pop_ (); -} - -// ImplementationArtifactDescription -// -// - -ImplementationArtifactDescription:: -ImplementationArtifactDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) -: ::XSCRT::Writer< ACE_TCHAR > (e) -{ -} - -ImplementationArtifactDescription:: -ImplementationArtifactDescription () -{ -} - -void ImplementationArtifactDescription:: -traverse (Type const& o) -{ -Traversal::ImplementationArtifactDescription::traverse (o); -} - -void ImplementationArtifactDescription:: -label (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ())); -Traversal::ImplementationArtifactDescription::label (o); -pop_ (); -} - -void ImplementationArtifactDescription:: -UUID (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("UUID", top_ ())); -Traversal::ImplementationArtifactDescription::UUID (o); -pop_ (); -} - -void ImplementationArtifactDescription:: -location_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("location", top_ ())); -} - -void ImplementationArtifactDescription:: -location_next (Type const& o) -{ -location_post (o); -location_pre (o); -} - -void ImplementationArtifactDescription:: -location_post (Type const&) -{ -pop_ (); -} - -void ImplementationArtifactDescription:: -dependsOn_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("dependsOn", top_ ())); -} - -void ImplementationArtifactDescription:: -dependsOn_next (Type const& o) -{ -dependsOn_post (o); -dependsOn_pre (o); -} - -void ImplementationArtifactDescription:: -dependsOn_post (Type const&) -{ -pop_ (); -} - -void ImplementationArtifactDescription:: -execParameter_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("execParameter", top_ ())); -} - -void ImplementationArtifactDescription:: -execParameter_next (Type const& o) -{ -execParameter_post (o); -execParameter_pre (o); -} - -void ImplementationArtifactDescription:: -execParameter_post (Type const&) -{ -pop_ (); -} - -void ImplementationArtifactDescription:: -infoProperty_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("infoProperty", top_ ())); -} - -void ImplementationArtifactDescription:: -infoProperty_next (Type const& o) -{ -infoProperty_post (o); -infoProperty_pre (o); -} - -void ImplementationArtifactDescription:: -infoProperty_post (Type const&) -{ -pop_ (); -} - -void ImplementationArtifactDescription:: -deployRequirement_pre (Type const&) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("deployRequirement", top_ ())); -} - -void ImplementationArtifactDescription:: -deployRequirement_next (Type const& o) -{ -deployRequirement_post (o); -deployRequirement_pre (o); -} - -void ImplementationArtifactDescription:: -deployRequirement_post (Type const&) -{ -pop_ (); -} - -void ImplementationArtifactDescription:: -contentLocation (Type const& o) -{ -push_ (::XSCRT::XML::Element< ACE_TCHAR > ("contentLocation", top_ ())); -Traversal::ImplementationArtifactDescription::contentLocation (o); -pop_ (); -} - -void ImplementationArtifactDescription:: -href (Type const& o) -{ -::XSCRT::XML::Attribute< ACE_TCHAR > a ("href", "", top_ ()); -attr_ (&a); -Traversal::ImplementationArtifactDescription::href (o); -attr_ (0); -} -} -} -} - -namespace CIAO -{ -namespace Config_Handlers -{ -} + namespace Config_Handlers + { + } } diff --git a/CIAO/tools/Config_Handlers/iad.hpp b/CIAO/tools/Config_Handlers/iad.hpp index f5a5c82399a..ae44281b162 100644 --- a/CIAO/tools/Config_Handlers/iad.hpp +++ b/CIAO/tools/Config_Handlers/iad.hpp @@ -1,14 +1,13 @@ /* $Id$ -* This code was generated by the XML Schema Compiler. -* -* Changes made to this code will most likely be overwritten -* when the handlers are recompiled. -* -* If you find errors or feel that there are bugfixes to be made, -* please contact the current XSC maintainer: -* Will Otte -*/ - + * This code was generated by the XML Schema Compiler. + * + * Changes made to this code will most likely be overwritten + * when the handlers are recompiled. + * + * If you find errors or feel that there are bugfixes to be made, + * please contact the current XSC maintainer: + * Will Otte + */ // Fix for Borland compilers, which seem to have a broken // include. @@ -16,19 +15,19 @@ # include #endif -#include "XSC_XML_Handlers_Export.h" #ifndef IAD_HPP #define IAD_HPP +#include "XSC_XML_Handlers_Export.h" // Forward declarations. // namespace CIAO { -namespace Config_Handlers -{ -class NamedImplementationArtifact; -class ImplementationArtifactDescription; -} + namespace Config_Handlers + { + class NamedImplementationArtifact; + class ImplementationArtifactDescription; + } } #include @@ -39,741 +38,741 @@ class ImplementationArtifactDescription; namespace CIAO { -namespace Config_Handlers -{ -class XSC_XML_Handlers_Export NamedImplementationArtifact : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; - -// name -// -public: -::XMLSchema::string< ACE_TCHAR > const& name () const; -void name (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; - -// referencedArtifact -// -public: -::CIAO::Config_Handlers::ImplementationArtifactDescription const& referencedArtifact () const; -void referencedArtifact (::CIAO::Config_Handlers::ImplementationArtifactDescription const& ); - -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::ImplementationArtifactDescription > referencedArtifact_; - -public: -NamedImplementationArtifact (::XMLSchema::string< ACE_TCHAR > const& name__, -::CIAO::Config_Handlers::ImplementationArtifactDescription const& referencedArtifact__); - -NamedImplementationArtifact (::XSCRT::XML::Element< ACE_TCHAR > const&); -NamedImplementationArtifact (NamedImplementationArtifact const& s); - -NamedImplementationArtifact& -operator= (NamedImplementationArtifact const& s); - -private: -char regulator__; -}; - - -class XSC_XML_Handlers_Export ImplementationArtifactDescription : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; - -// label -// -public: -bool label_p () const; -::XMLSchema::string< ACE_TCHAR > const& label () const; -void label (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; - -// UUID -// -public: -bool UUID_p () const; -::XMLSchema::string< ACE_TCHAR > const& UUID () const; -void UUID (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; - -// location -// -public: -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator location_iterator; -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator location_const_iterator; -location_iterator begin_location (); -location_iterator end_location (); -location_const_iterator begin_location () const; -location_const_iterator end_location () const; -void add_location (::XMLSchema::string< ACE_TCHAR > const& ); -size_t count_location (void) const; - -protected: -::std::list< ::XMLSchema::string< ACE_TCHAR > > location_; - -// dependsOn -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact >::iterator dependsOn_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact >::const_iterator dependsOn_const_iterator; -dependsOn_iterator begin_dependsOn (); -dependsOn_iterator end_dependsOn (); -dependsOn_const_iterator begin_dependsOn () const; -dependsOn_const_iterator end_dependsOn () const; -void add_dependsOn (::CIAO::Config_Handlers::NamedImplementationArtifact const& ); -size_t count_dependsOn (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact > dependsOn_; - -// execParameter -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator execParameter_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator execParameter_const_iterator; -execParameter_iterator begin_execParameter (); -execParameter_iterator end_execParameter (); -execParameter_const_iterator begin_execParameter () const; -execParameter_const_iterator end_execParameter () const; -void add_execParameter (::CIAO::Config_Handlers::Property const& ); -size_t count_execParameter (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Property > execParameter_; - -// infoProperty -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator infoProperty_const_iterator; -infoProperty_iterator begin_infoProperty (); -infoProperty_iterator end_infoProperty (); -infoProperty_const_iterator begin_infoProperty () const; -infoProperty_const_iterator end_infoProperty () const; -void add_infoProperty (::CIAO::Config_Handlers::Property const& ); -size_t count_infoProperty (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Property > infoProperty_; - -// deployRequirement -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator deployRequirement_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator deployRequirement_const_iterator; -deployRequirement_iterator begin_deployRequirement (); -deployRequirement_iterator end_deployRequirement (); -deployRequirement_const_iterator begin_deployRequirement () const; -deployRequirement_const_iterator end_deployRequirement () const; -void add_deployRequirement (::CIAO::Config_Handlers::Requirement const& ); -size_t count_deployRequirement (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Requirement > deployRequirement_; - -// contentLocation -// -public: -bool contentLocation_p () const; -::XMLSchema::string< ACE_TCHAR > const& contentLocation () const; -void contentLocation (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > contentLocation_; - -// href -// -public: -bool href_p () const; -::XMLSchema::string< ACE_TCHAR > const& href () const; -::XMLSchema::string< ACE_TCHAR >& href (); -void href (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > href_; - -public: -ImplementationArtifactDescription (); - -ImplementationArtifactDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); -ImplementationArtifactDescription (ImplementationArtifactDescription const& s); - -ImplementationArtifactDescription& -operator= (ImplementationArtifactDescription const& s); - -private: -char regulator__; -}; -} + namespace Config_Handlers + { + class XSC_XML_Handlers_Export NamedImplementationArtifact : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // name + // + public: + ::XMLSchema::string< ACE_TCHAR > const& name () const; + void name (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_; + + // referencedArtifact + // + public: + ::CIAO::Config_Handlers::ImplementationArtifactDescription const& referencedArtifact () const; + void referencedArtifact (::CIAO::Config_Handlers::ImplementationArtifactDescription const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::ImplementationArtifactDescription > referencedArtifact_; + + public: + NamedImplementationArtifact (::XMLSchema::string< ACE_TCHAR > const& name__, + ::CIAO::Config_Handlers::ImplementationArtifactDescription const& referencedArtifact__); + + NamedImplementationArtifact (::XSCRT::XML::Element< ACE_TCHAR > const&); + NamedImplementationArtifact (NamedImplementationArtifact const& s); + + NamedImplementationArtifact& + operator= (NamedImplementationArtifact const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export ImplementationArtifactDescription : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // label + // + public: + bool label_p () const; + ::XMLSchema::string< ACE_TCHAR > const& label () const; + void label (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; + + // UUID + // + public: + bool UUID_p () const; + ::XMLSchema::string< ACE_TCHAR > const& UUID () const; + void UUID (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; + + // location + // + public: + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator location_iterator; + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator location_const_iterator; + location_iterator begin_location (); + location_iterator end_location (); + location_const_iterator begin_location () const; + location_const_iterator end_location () const; + void add_location (::XMLSchema::string< ACE_TCHAR > const& ); + size_t count_location (void) const; + + protected: + ::std::list< ::XMLSchema::string< ACE_TCHAR > > location_; + + // dependsOn + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact >::iterator dependsOn_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact >::const_iterator dependsOn_const_iterator; + dependsOn_iterator begin_dependsOn (); + dependsOn_iterator end_dependsOn (); + dependsOn_const_iterator begin_dependsOn () const; + dependsOn_const_iterator end_dependsOn () const; + void add_dependsOn (::CIAO::Config_Handlers::NamedImplementationArtifact const& ); + size_t count_dependsOn (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::NamedImplementationArtifact > dependsOn_; + + // execParameter + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator execParameter_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator execParameter_const_iterator; + execParameter_iterator begin_execParameter (); + execParameter_iterator end_execParameter (); + execParameter_const_iterator begin_execParameter () const; + execParameter_const_iterator end_execParameter () const; + void add_execParameter (::CIAO::Config_Handlers::Property const& ); + size_t count_execParameter (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Property > execParameter_; + + // infoProperty + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator infoProperty_const_iterator; + infoProperty_iterator begin_infoProperty (); + infoProperty_iterator end_infoProperty (); + infoProperty_const_iterator begin_infoProperty () const; + infoProperty_const_iterator end_infoProperty () const; + void add_infoProperty (::CIAO::Config_Handlers::Property const& ); + size_t count_infoProperty (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Property > infoProperty_; + + // deployRequirement + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator deployRequirement_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator deployRequirement_const_iterator; + deployRequirement_iterator begin_deployRequirement (); + deployRequirement_iterator end_deployRequirement (); + deployRequirement_const_iterator begin_deployRequirement () const; + deployRequirement_const_iterator end_deployRequirement () const; + void add_deployRequirement (::CIAO::Config_Handlers::Requirement const& ); + size_t count_deployRequirement (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Requirement > deployRequirement_; + + // contentLocation + // + public: + bool contentLocation_p () const; + ::XMLSchema::string< ACE_TCHAR > const& contentLocation () const; + void contentLocation (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > contentLocation_; + + // href + // + public: + bool href_p () const; + ::XMLSchema::string< ACE_TCHAR > const& href () const; + ::XMLSchema::string< ACE_TCHAR >& href (); + void href (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > href_; + + public: + ImplementationArtifactDescription (); + + ImplementationArtifactDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); + ImplementationArtifactDescription (ImplementationArtifactDescription const& s); + + ImplementationArtifactDescription& + operator= (ImplementationArtifactDescription const& s); + + private: + char regulator__; + }; + } } namespace CIAO { -namespace Config_Handlers -{ -} + namespace Config_Handlers + { + } } #include "XMLSchema/Traversal.hpp" namespace CIAO { -namespace Config_Handlers -{ -namespace Traversal -{ -struct XSC_XML_Handlers_Export NamedImplementationArtifact : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::NamedImplementationArtifact > -{ -virtual void -traverse (Type&); + namespace Config_Handlers + { + namespace Traversal + { + struct XSC_XML_Handlers_Export NamedImplementationArtifact : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::NamedImplementationArtifact > + { + virtual void + traverse (Type&); -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -pre (Type&); + virtual void + pre (Type&); -virtual void -pre (Type const&); + virtual void + pre (Type const&); -virtual void -name (Type&); + virtual void + name (Type&); -virtual void -name (Type const&); + virtual void + name (Type const&); -virtual void -referencedArtifact (Type&); + virtual void + referencedArtifact (Type&); -virtual void -referencedArtifact (Type const&); + virtual void + referencedArtifact (Type const&); -virtual void -post (Type&); + virtual void + post (Type&); -virtual void -post (Type const&); -}; + virtual void + post (Type const&); + }; -struct XSC_XML_Handlers_Export ImplementationArtifactDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ImplementationArtifactDescription > -{ -virtual void -traverse (Type&); + struct XSC_XML_Handlers_Export ImplementationArtifactDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ImplementationArtifactDescription > + { + virtual void + traverse (Type&); -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -pre (Type&); + virtual void + pre (Type&); -virtual void -pre (Type const&); + virtual void + pre (Type const&); -virtual void -label (Type&); + virtual void + label (Type&); -virtual void -label (Type const&); + virtual void + label (Type const&); -virtual void -label_none (Type&); + virtual void + label_none (Type&); -virtual void -label_none (Type const&); + virtual void + label_none (Type const&); -virtual void -UUID (Type&); + virtual void + UUID (Type&); -virtual void -UUID (Type const&); + virtual void + UUID (Type const&); -virtual void -UUID_none (Type&); + virtual void + UUID_none (Type&); -virtual void -UUID_none (Type const&); + virtual void + UUID_none (Type const&); -virtual void -location (Type&); + virtual void + location (Type&); -virtual void -location (Type const&); + virtual void + location (Type const&); -virtual void -location_pre (Type&); + virtual void + location_pre (Type&); -virtual void -location_pre (Type const&); + virtual void + location_pre (Type const&); -virtual void -location_next (Type&); + virtual void + location_next (Type&); -virtual void -location_next (Type const&); + virtual void + location_next (Type const&); -virtual void -location_post (Type&); + virtual void + location_post (Type&); -virtual void -location_post (Type const&); + virtual void + location_post (Type const&); -virtual void -location_none (Type&); + virtual void + location_none (Type&); -virtual void -location_none (Type const&); + virtual void + location_none (Type const&); -virtual void -dependsOn (Type&); + virtual void + dependsOn (Type&); -virtual void -dependsOn (Type const&); + virtual void + dependsOn (Type const&); -virtual void -dependsOn_pre (Type&); + virtual void + dependsOn_pre (Type&); -virtual void -dependsOn_pre (Type const&); + virtual void + dependsOn_pre (Type const&); -virtual void -dependsOn_next (Type&); + virtual void + dependsOn_next (Type&); -virtual void -dependsOn_next (Type const&); + virtual void + dependsOn_next (Type const&); -virtual void -dependsOn_post (Type&); + virtual void + dependsOn_post (Type&); -virtual void -dependsOn_post (Type const&); + virtual void + dependsOn_post (Type const&); -virtual void -dependsOn_none (Type&); + virtual void + dependsOn_none (Type&); -virtual void -dependsOn_none (Type const&); + virtual void + dependsOn_none (Type const&); -virtual void -execParameter (Type&); + virtual void + execParameter (Type&); -virtual void -execParameter (Type const&); + virtual void + execParameter (Type const&); -virtual void -execParameter_pre (Type&); + virtual void + execParameter_pre (Type&); -virtual void -execParameter_pre (Type const&); + virtual void + execParameter_pre (Type const&); -virtual void -execParameter_next (Type&); + virtual void + execParameter_next (Type&); -virtual void -execParameter_next (Type const&); + virtual void + execParameter_next (Type const&); -virtual void -execParameter_post (Type&); + virtual void + execParameter_post (Type&); -virtual void -execParameter_post (Type const&); + virtual void + execParameter_post (Type const&); -virtual void -execParameter_none (Type&); + virtual void + execParameter_none (Type&); -virtual void -execParameter_none (Type const&); + virtual void + execParameter_none (Type const&); -virtual void -infoProperty (Type&); + virtual void + infoProperty (Type&); -virtual void -infoProperty (Type const&); + virtual void + infoProperty (Type const&); -virtual void -infoProperty_pre (Type&); + virtual void + infoProperty_pre (Type&); -virtual void -infoProperty_pre (Type const&); + virtual void + infoProperty_pre (Type const&); -virtual void -infoProperty_next (Type&); + virtual void + infoProperty_next (Type&); -virtual void -infoProperty_next (Type const&); + virtual void + infoProperty_next (Type const&); -virtual void -infoProperty_post (Type&); + virtual void + infoProperty_post (Type&); -virtual void -infoProperty_post (Type const&); + virtual void + infoProperty_post (Type const&); -virtual void -infoProperty_none (Type&); + virtual void + infoProperty_none (Type&); -virtual void -infoProperty_none (Type const&); + virtual void + infoProperty_none (Type const&); -virtual void -deployRequirement (Type&); + virtual void + deployRequirement (Type&); -virtual void -deployRequirement (Type const&); + virtual void + deployRequirement (Type const&); -virtual void -deployRequirement_pre (Type&); + virtual void + deployRequirement_pre (Type&); -virtual void -deployRequirement_pre (Type const&); + virtual void + deployRequirement_pre (Type const&); -virtual void -deployRequirement_next (Type&); + virtual void + deployRequirement_next (Type&); -virtual void -deployRequirement_next (Type const&); + virtual void + deployRequirement_next (Type const&); -virtual void -deployRequirement_post (Type&); + virtual void + deployRequirement_post (Type&); -virtual void -deployRequirement_post (Type const&); + virtual void + deployRequirement_post (Type const&); -virtual void -deployRequirement_none (Type&); + virtual void + deployRequirement_none (Type&); -virtual void -deployRequirement_none (Type const&); + virtual void + deployRequirement_none (Type const&); -virtual void -contentLocation (Type&); + virtual void + contentLocation (Type&); -virtual void -contentLocation (Type const&); + virtual void + contentLocation (Type const&); -virtual void -contentLocation_none (Type&); + virtual void + contentLocation_none (Type&); -virtual void -contentLocation_none (Type const&); + virtual void + contentLocation_none (Type const&); -virtual void -href (Type&); + virtual void + href (Type&); -virtual void -href (Type const&); + virtual void + href (Type const&); -virtual void -href_none (Type&); + virtual void + href_none (Type&); -virtual void -href_none (Type const&); + virtual void + href_none (Type const&); -virtual void -post (Type&); + virtual void + post (Type&); -virtual void -post (Type const&); -}; -} -} + virtual void + post (Type const&); + }; + } + } } #include "XMLSchema/Writer.hpp" namespace CIAO { -namespace Config_Handlers -{ -namespace Writer -{ -struct NamedImplementationArtifact : Traversal::NamedImplementationArtifact, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::NamedImplementationArtifact Type; -NamedImplementationArtifact (::XSCRT::XML::Element< ACE_TCHAR >&); + namespace Config_Handlers + { + namespace Writer + { + struct NamedImplementationArtifact : Traversal::NamedImplementationArtifact, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::NamedImplementationArtifact Type; + NamedImplementationArtifact (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -traverse (Type &o) -{ + virtual void + traverse (Type &o) + { -this->traverse (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -name (Type &o) -{ + virtual void + name (Type &o) + { -this->name (const_cast (o)); -} + this->name (const_cast (o)); + } -virtual void -name (Type const&); + virtual void + name (Type const&); -virtual void -referencedArtifact (Type &o) -{ + virtual void + referencedArtifact (Type &o) + { -this->referencedArtifact (const_cast (o)); -} + this->referencedArtifact (const_cast (o)); + } -virtual void -referencedArtifact (Type const&); + virtual void + referencedArtifact (Type const&); -protected: -NamedImplementationArtifact (); -}; + protected: + NamedImplementationArtifact (); + }; -struct ImplementationArtifactDescription : Traversal::ImplementationArtifactDescription, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::ImplementationArtifactDescription Type; -ImplementationArtifactDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + struct ImplementationArtifactDescription : Traversal::ImplementationArtifactDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::ImplementationArtifactDescription Type; + ImplementationArtifactDescription (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -traverse (Type &o) -{ + virtual void + traverse (Type &o) + { -this->traverse (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -label (Type &o) -{ + virtual void + label (Type &o) + { -this->label (const_cast (o)); -} + this->label (const_cast (o)); + } -virtual void -label (Type const&); + virtual void + label (Type const&); -virtual void -UUID (Type &o) -{ + virtual void + UUID (Type &o) + { -this->UUID (const_cast (o)); -} + this->UUID (const_cast (o)); + } -virtual void -UUID (Type const&); + virtual void + UUID (Type const&); -virtual void -location_pre (Type &o) -{ + virtual void + location_pre (Type &o) + { -this->location_pre (const_cast (o)); -} + this->location_pre (const_cast (o)); + } -virtual void -location_pre (Type const&); + virtual void + location_pre (Type const&); -virtual void -location_next (Type &o) -{ + virtual void + location_next (Type &o) + { -this->location_next (const_cast (o)); -} + this->location_next (const_cast (o)); + } -virtual void -location_next (Type const&); + virtual void + location_next (Type const&); -virtual void -location_post (Type &o) -{ + virtual void + location_post (Type &o) + { -this->location_post (const_cast (o)); -} + this->location_post (const_cast (o)); + } -virtual void -location_post (Type const&); + virtual void + location_post (Type const&); -virtual void -dependsOn_pre (Type &o) -{ + virtual void + dependsOn_pre (Type &o) + { -this->dependsOn_pre (const_cast (o)); -} + this->dependsOn_pre (const_cast (o)); + } -virtual void -dependsOn_pre (Type const&); + virtual void + dependsOn_pre (Type const&); -virtual void -dependsOn_next (Type &o) -{ + virtual void + dependsOn_next (Type &o) + { -this->dependsOn_next (const_cast (o)); -} + this->dependsOn_next (const_cast (o)); + } -virtual void -dependsOn_next (Type const&); + virtual void + dependsOn_next (Type const&); -virtual void -dependsOn_post (Type &o) -{ + virtual void + dependsOn_post (Type &o) + { -this->dependsOn_post (const_cast (o)); -} + this->dependsOn_post (const_cast (o)); + } -virtual void -dependsOn_post (Type const&); + virtual void + dependsOn_post (Type const&); -virtual void -execParameter_pre (Type &o) -{ + virtual void + execParameter_pre (Type &o) + { -this->execParameter_pre (const_cast (o)); -} + this->execParameter_pre (const_cast (o)); + } -virtual void -execParameter_pre (Type const&); + virtual void + execParameter_pre (Type const&); -virtual void -execParameter_next (Type &o) -{ + virtual void + execParameter_next (Type &o) + { -this->execParameter_next (const_cast (o)); -} + this->execParameter_next (const_cast (o)); + } -virtual void -execParameter_next (Type const&); + virtual void + execParameter_next (Type const&); -virtual void -execParameter_post (Type &o) -{ + virtual void + execParameter_post (Type &o) + { -this->execParameter_post (const_cast (o)); -} + this->execParameter_post (const_cast (o)); + } -virtual void -execParameter_post (Type const&); + virtual void + execParameter_post (Type const&); -virtual void -infoProperty_pre (Type &o) -{ + virtual void + infoProperty_pre (Type &o) + { -this->infoProperty_pre (const_cast (o)); -} + this->infoProperty_pre (const_cast (o)); + } -virtual void -infoProperty_pre (Type const&); + virtual void + infoProperty_pre (Type const&); -virtual void -infoProperty_next (Type &o) -{ + virtual void + infoProperty_next (Type &o) + { -this->infoProperty_next (const_cast (o)); -} + this->infoProperty_next (const_cast (o)); + } -virtual void -infoProperty_next (Type const&); + virtual void + infoProperty_next (Type const&); -virtual void -infoProperty_post (Type &o) -{ + virtual void + infoProperty_post (Type &o) + { -this->infoProperty_post (const_cast (o)); -} + this->infoProperty_post (const_cast (o)); + } -virtual void -infoProperty_post (Type const&); + virtual void + infoProperty_post (Type const&); -virtual void -deployRequirement_pre (Type &o) -{ + virtual void + deployRequirement_pre (Type &o) + { -this->deployRequirement_pre (const_cast (o)); -} + this->deployRequirement_pre (const_cast (o)); + } -virtual void -deployRequirement_pre (Type const&); + virtual void + deployRequirement_pre (Type const&); -virtual void -deployRequirement_next (Type &o) -{ + virtual void + deployRequirement_next (Type &o) + { -this->deployRequirement_next (const_cast (o)); -} + this->deployRequirement_next (const_cast (o)); + } -virtual void -deployRequirement_next (Type const&); + virtual void + deployRequirement_next (Type const&); -virtual void -deployRequirement_post (Type &o) -{ + virtual void + deployRequirement_post (Type &o) + { -this->deployRequirement_post (const_cast (o)); -} + this->deployRequirement_post (const_cast (o)); + } -virtual void -deployRequirement_post (Type const&); + virtual void + deployRequirement_post (Type const&); -virtual void -contentLocation (Type &o) -{ + virtual void + contentLocation (Type &o) + { -this->contentLocation (const_cast (o)); -} + this->contentLocation (const_cast (o)); + } -virtual void -contentLocation (Type const&); + virtual void + contentLocation (Type const&); -virtual void -href (Type &o) -{ + virtual void + href (Type &o) + { -this->href (const_cast (o)); -} + this->href (const_cast (o)); + } -virtual void -href (Type const&); + virtual void + href (Type const&); -protected: -ImplementationArtifactDescription (); -}; -} -} + protected: + ImplementationArtifactDescription (); + }; + } + } } namespace CIAO { -namespace Config_Handlers -{ -} + namespace Config_Handlers + { + } } #endif // IAD_HPP diff --git a/CIAO/tools/Config_Handlers/pcd.cpp b/CIAO/tools/Config_Handlers/pcd.cpp index 1021d178ad6..1c63a6e4d6a 100644 --- a/CIAO/tools/Config_Handlers/pcd.cpp +++ b/CIAO/tools/Config_Handlers/pcd.cpp @@ -3,12 +3,12 @@ * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte */ - + #include "pcd.hpp" namespace CIAO @@ -16,21 +16,21 @@ namespace CIAO namespace Config_Handlers { // ComponentPackageImport - // + // ComponentPackageImport:: ComponentPackageImport () - : - ::XSCRT::Type (), - regulator__ () + : + ::XSCRT::Type (), + regulator__ () { } ComponentPackageImport:: ComponentPackageImport (::CIAO::Config_Handlers::ComponentPackageImport const& s) - : - ::XSCRT::Type (), - regulator__ () + : + ::XSCRT::Type (), + regulator__ () { { for (location_const_iterator i (s.location_.begin ());i != s.location_.end ();++i) add_location (*i); @@ -50,7 +50,7 @@ namespace CIAO // ComponentPackageImport - // + // ComponentPackageImport::location_iterator ComponentPackageImport:: begin_location () { @@ -89,29 +89,28 @@ namespace CIAO // PackageConfiguration - // + // PackageConfiguration:: PackageConfiguration () - : - ::XSCRT::Type (), - regulator__ () + : + ::XSCRT::Type (), + regulator__ () { } PackageConfiguration:: PackageConfiguration (::CIAO::Config_Handlers::PackageConfiguration const& s) - : - ::XSCRT::Type (), - label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), - UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), - basePackage_ (s.basePackage_.get () ? new ::CIAO::Config_Handlers::ComponentPackageDescription (*s.basePackage_) : 0), - specializedConfig_ (s.specializedConfig_.get () ? new ::CIAO::Config_Handlers::PackageConfiguration (*s.specializedConfig_) : 0), - importedPackage_ (s.importedPackage_.get () ? new ::CIAO::Config_Handlers::ComponentPackageImport (*s.importedPackage_) : 0), - referencedPackage_ (s.referencedPackage_.get () ? new ::CIAO::Config_Handlers::ComponentPackageReference (*s.referencedPackage_) : 0), - contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0), - href_ (s.href_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.href_) : 0), - regulator__ () + : + ::XSCRT::Type (), + label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0), + UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0), + basePackage_ (s.basePackage_.get () ? new ::CIAO::Config_Handlers::ComponentPackageDescription (*s.basePackage_) : 0), + specializedConfig_ (s.specializedConfig_.get () ? new ::CIAO::Config_Handlers::PackageConfiguration (*s.specializedConfig_) : 0), + importedPackage_ (s.importedPackage_.get () ? new ::CIAO::Config_Handlers::ComponentPackageImport (*s.importedPackage_) : 0), + referencedPackage_ (s.referencedPackage_.get () ? new ::CIAO::Config_Handlers::ComponentPackageReference (*s.referencedPackage_) : 0), + contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0), + regulator__ () { if (label_.get ()) label_->container (this); if (UUID_.get ()) UUID_->container (this); @@ -128,7 +127,6 @@ namespace CIAO } if (contentLocation_.get ()) contentLocation_->container (this); - if (href_.get ()) href_->container (this); } ::CIAO::Config_Handlers::PackageConfiguration& PackageConfiguration:: @@ -165,15 +163,12 @@ namespace CIAO if (s.contentLocation_.get ()) contentLocation (*(s.contentLocation_)); else contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - if (s.href_.get ()) href (*(s.href_)); - else href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0); - return *this; } // PackageConfiguration - // + // bool PackageConfiguration:: label_p () const { @@ -190,19 +185,19 @@ namespace CIAO label (::XMLSchema::string< ACE_TCHAR > const& e) { if (label_.get ()) - { - *label_ = e; - } + { + *label_ = e; + } else - { - label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - label_->container (this); - } + { + label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + label_->container (this); + } } // PackageConfiguration - // + // bool PackageConfiguration:: UUID_p () const { @@ -219,19 +214,19 @@ namespace CIAO UUID (::XMLSchema::string< ACE_TCHAR > const& e) { if (UUID_.get ()) - { - *UUID_ = e; - } + { + *UUID_ = e; + } else - { - UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - UUID_->container (this); - } + { + UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + UUID_->container (this); + } } // PackageConfiguration - // + // bool PackageConfiguration:: basePackage_p () const { @@ -248,19 +243,19 @@ namespace CIAO basePackage (::CIAO::Config_Handlers::ComponentPackageDescription const& e) { if (basePackage_.get ()) - { - *basePackage_ = e; - } + { + *basePackage_ = e; + } else - { - basePackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageDescription > (new ::CIAO::Config_Handlers::ComponentPackageDescription (e)); - basePackage_->container (this); - } + { + basePackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageDescription > (new ::CIAO::Config_Handlers::ComponentPackageDescription (e)); + basePackage_->container (this); + } } // PackageConfiguration - // + // bool PackageConfiguration:: specializedConfig_p () const { @@ -277,19 +272,19 @@ namespace CIAO specializedConfig (::CIAO::Config_Handlers::PackageConfiguration const& e) { if (specializedConfig_.get ()) - { - *specializedConfig_ = e; - } + { + *specializedConfig_ = e; + } else - { - specializedConfig_ = ::std::auto_ptr< ::CIAO::Config_Handlers::PackageConfiguration > (new ::CIAO::Config_Handlers::PackageConfiguration (e)); - specializedConfig_->container (this); - } + { + specializedConfig_ = ::std::auto_ptr< ::CIAO::Config_Handlers::PackageConfiguration > (new ::CIAO::Config_Handlers::PackageConfiguration (e)); + specializedConfig_->container (this); + } } // PackageConfiguration - // + // bool PackageConfiguration:: importedPackage_p () const { @@ -306,19 +301,19 @@ namespace CIAO importedPackage (::CIAO::Config_Handlers::ComponentPackageImport const& e) { if (importedPackage_.get ()) - { - *importedPackage_ = e; - } + { + *importedPackage_ = e; + } else - { - importedPackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageImport > (new ::CIAO::Config_Handlers::ComponentPackageImport (e)); - importedPackage_->container (this); - } + { + importedPackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageImport > (new ::CIAO::Config_Handlers::ComponentPackageImport (e)); + importedPackage_->container (this); + } } // PackageConfiguration - // + // bool PackageConfiguration:: referencedPackage_p () const { @@ -335,19 +330,19 @@ namespace CIAO referencedPackage (::CIAO::Config_Handlers::ComponentPackageReference const& e) { if (referencedPackage_.get ()) - { - *referencedPackage_ = e; - } + { + *referencedPackage_ = e; + } else - { - referencedPackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageReference > (new ::CIAO::Config_Handlers::ComponentPackageReference (e)); - referencedPackage_->container (this); - } + { + referencedPackage_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageReference > (new ::CIAO::Config_Handlers::ComponentPackageReference (e)); + referencedPackage_->container (this); + } } // PackageConfiguration - // + // PackageConfiguration::selectRequirement_iterator PackageConfiguration:: begin_selectRequirement () { @@ -385,7 +380,7 @@ namespace CIAO } // PackageConfiguration - // + // PackageConfiguration::configProperty_iterator PackageConfiguration:: begin_configProperty () { @@ -423,7 +418,7 @@ namespace CIAO } // PackageConfiguration - // + // bool PackageConfiguration:: contentLocation_p () const { @@ -440,50 +435,15 @@ namespace CIAO contentLocation (::XMLSchema::string< ACE_TCHAR > const& e) { if (contentLocation_.get ()) - { - *contentLocation_ = e; - } - - else - { - contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - contentLocation_->container (this); - } - } - - // PackageConfiguration - // - bool PackageConfiguration:: - href_p () const - { - return href_.get () != 0; - } - - ::XMLSchema::string< ACE_TCHAR > const& PackageConfiguration:: - href () const - { - return *href_; - } - - ::XMLSchema::string< ACE_TCHAR >& PackageConfiguration:: - href () - { - return *href_; - } - - void PackageConfiguration:: - href (::XMLSchema::string< ACE_TCHAR > const& e) - { - if (href_.get ()) - { - *href_ = e; - } + { + *contentLocation_ = e; + } else - { - href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); - href_->container (this); - } + { + contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e)); + contentLocation_->container (this); + } } } } @@ -497,26 +457,26 @@ namespace CIAO ComponentPackageImport:: ComponentPackageImport (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () + :Base__ (e), regulator__ () { ::XSCRT::Parser< ACE_TCHAR > p (e); while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "location") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + add_location (t); + } + + else { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - - if (n == "location") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - add_location (t); - } - - else - { - } } + } } // PackageConfiguration @@ -524,89 +484,74 @@ namespace CIAO PackageConfiguration:: PackageConfiguration (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () + :Base__ (e), regulator__ () { ::XSCRT::Parser< ACE_TCHAR > p (e); while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "label") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + label (t); + } + + else if (n == "UUID") + { + ::XMLSchema::string< ACE_TCHAR > t (e); + UUID (t); + } + + else if (n == "basePackage") + { + ::CIAO::Config_Handlers::ComponentPackageDescription t (e); + basePackage (t); + } + + else if (n == "specializedConfig") + { + ::CIAO::Config_Handlers::PackageConfiguration t (e); + specializedConfig (t); + } + + else if (n == "importedPackage") + { + ::CIAO::Config_Handlers::ComponentPackageImport t (e); + importedPackage (t); + } + + else if (n == "referencedPackage") + { + ::CIAO::Config_Handlers::ComponentPackageReference t (e); + referencedPackage (t); + } + + else if (n == "selectRequirement") + { + ::CIAO::Config_Handlers::Requirement t (e); + add_selectRequirement (t); + } + + else if (n == "configProperty") + { + ::CIAO::Config_Handlers::Property t (e); + add_configProperty (t); + } + + else if (n == "contentLocation") { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - - if (n == "label") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - label (t); - } - - else if (n == "UUID") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - UUID (t); - } - - else if (n == "basePackage") - { - ::CIAO::Config_Handlers::ComponentPackageDescription t (e); - basePackage (t); - } - - else if (n == "specializedConfig") - { - ::CIAO::Config_Handlers::PackageConfiguration t (e); - specializedConfig (t); - } - - else if (n == "importedPackage") - { - ::CIAO::Config_Handlers::ComponentPackageImport t (e); - importedPackage (t); - } - - else if (n == "referencedPackage") - { - ::CIAO::Config_Handlers::ComponentPackageReference t (e); - referencedPackage (t); - } - - else if (n == "selectRequirement") - { - ::CIAO::Config_Handlers::Requirement t (e); - add_selectRequirement (t); - } - - else if (n == "configProperty") - { - ::CIAO::Config_Handlers::Property t (e); - add_configProperty (t); - } - - else if (n == "contentLocation") - { - ::XMLSchema::string< ACE_TCHAR > t (e); - contentLocation (t); - } - - else - { - } + ::XMLSchema::string< ACE_TCHAR > t (e); + contentLocation (t); } - while (p.more_attributes ()) + else { - ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ())); - if (n == "href") - { - ::XMLSchema::string< ACE_TCHAR > t (a); - href (t); - } - - else - { - } } + } } } } @@ -703,16 +648,16 @@ namespace CIAO ComponentPackageImport::Type::location_iterator b (o.begin_location()), e (o.end_location()); if (b != e) + { + location_pre (o); + for (; b != e;) { - location_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) location_next (o); - } - - location_post (o); + dispatch (*b); + if (++b != e) location_next (o); } + + location_post (o); + } } void ComponentPackageImport:: @@ -723,16 +668,16 @@ namespace CIAO ComponentPackageImport::Type::location_const_iterator b (o.begin_location()), e (o.end_location()); if (b != e) + { + location_pre (o); + for (; b != e;) { - location_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) location_next (o); - } - - location_post (o); + dispatch (*b); + if (++b != e) location_next (o); } + + location_post (o); + } } void ComponentPackageImport:: @@ -799,8 +744,6 @@ namespace CIAO configProperty (o); if (o.contentLocation_p ()) contentLocation (o); else contentLocation_none (o); - if (o.href_p ()) href (o); - else href_none (o); post (o); } @@ -824,8 +767,6 @@ namespace CIAO configProperty (o); if (o.contentLocation_p ()) contentLocation (o); else contentLocation_none (o); - if (o.href_p ()) href (o); - else href_none (o); post (o); } @@ -979,17 +920,17 @@ namespace CIAO PackageConfiguration::Type::selectRequirement_iterator b (o.begin_selectRequirement()), e (o.end_selectRequirement()); if (b != e) + { + selectRequirement_pre (o); + for (; b != e;) { - selectRequirement_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) selectRequirement_next (o); - } - - selectRequirement_post (o); + dispatch (*b); + if (++b != e) selectRequirement_next (o); } + selectRequirement_post (o); + } + else selectRequirement_none (o); } @@ -1001,17 +942,17 @@ namespace CIAO PackageConfiguration::Type::selectRequirement_const_iterator b (o.begin_selectRequirement()), e (o.end_selectRequirement()); if (b != e) + { + selectRequirement_pre (o); + for (; b != e;) { - selectRequirement_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) selectRequirement_next (o); - } - - selectRequirement_post (o); + dispatch (*b); + if (++b != e) selectRequirement_next (o); } + selectRequirement_post (o); + } + else selectRequirement_none (o); } @@ -1063,17 +1004,17 @@ namespace CIAO PackageConfiguration::Type::configProperty_iterator b (o.begin_configProperty()), e (o.end_configProperty()); if (b != e) + { + configProperty_pre (o); + for (; b != e;) { - configProperty_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) configProperty_next (o); - } - - configProperty_post (o); + dispatch (*b); + if (++b != e) configProperty_next (o); } + configProperty_post (o); + } + else configProperty_none (o); } @@ -1085,17 +1026,17 @@ namespace CIAO PackageConfiguration::Type::configProperty_const_iterator b (o.begin_configProperty()), e (o.end_configProperty()); if (b != e) + { + configProperty_pre (o); + for (; b != e;) { - configProperty_pre (o); - for (; b != e;) - { - dispatch (*b); - if (++b != e) configProperty_next (o); - } - - configProperty_post (o); + dispatch (*b); + if (++b != e) configProperty_next (o); } + configProperty_post (o); + } + else configProperty_none (o); } @@ -1161,28 +1102,6 @@ namespace CIAO { } - void PackageConfiguration:: - href (Type& o) - { - dispatch (o.href ()); - } - - void PackageConfiguration:: - href (Type const& o) - { - dispatch (o.href ()); - } - - void PackageConfiguration:: - href_none (Type&) - { - } - - void PackageConfiguration:: - href_none (Type const&) - { - } - void PackageConfiguration:: post (Type&) { @@ -1208,7 +1127,7 @@ namespace CIAO ComponentPackageImport:: ComponentPackageImport (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } @@ -1248,7 +1167,7 @@ namespace CIAO PackageConfiguration:: PackageConfiguration (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } @@ -1356,15 +1275,6 @@ namespace CIAO Traversal::PackageConfiguration::contentLocation (o); pop_ (); } - - void PackageConfiguration:: - href (Type const& o) - { - ::XSCRT::XML::Attribute< ACE_TCHAR > a ("href", "", top_ ()); - attr_ (&a); - Traversal::PackageConfiguration::href (o); - attr_ (0); - } } } } diff --git a/CIAO/tools/Config_Handlers/pcd.hpp b/CIAO/tools/Config_Handlers/pcd.hpp index d58c46fc5d9..a5df90d767a 100644 --- a/CIAO/tools/Config_Handlers/pcd.hpp +++ b/CIAO/tools/Config_Handlers/pcd.hpp @@ -1,14 +1,13 @@ /* $Id$ -* This code was generated by the XML Schema Compiler. -* -* Changes made to this code will most likely be overwritten -* when the handlers are recompiled. -* -* If you find errors or feel that there are bugfixes to be made, -* please contact the current XSC maintainer: -* Will Otte -*/ - + * This code was generated by the XML Schema Compiler. + * + * Changes made to this code will most likely be overwritten + * when the handlers are recompiled. + * + * If you find errors or feel that there are bugfixes to be made, + * please contact the current XSC maintainer: + * Will Otte + */ // Fix for Borland compilers, which seem to have a broken // include. @@ -16,19 +15,19 @@ # include #endif -#include "XSC_XML_Handlers_Export.h" #ifndef PCD_HPP #define PCD_HPP +#include "XSC_XML_Handlers_Export.h" // Forward declarations. // namespace CIAO { -namespace Config_Handlers -{ -class ComponentPackageImport; -class PackageConfiguration; -} + namespace Config_Handlers + { + class ComponentPackageImport; + class PackageConfiguration; + } } #include @@ -41,658 +40,624 @@ class PackageConfiguration; namespace CIAO { -namespace Config_Handlers -{ -class XSC_XML_Handlers_Export ComponentPackageImport : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; - -// location -// -public: -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator location_iterator; -typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator location_const_iterator; -location_iterator begin_location (); -location_iterator end_location (); -location_const_iterator begin_location () const; -location_const_iterator end_location () const; -void add_location (::XMLSchema::string< ACE_TCHAR > const& ); -size_t count_location (void) const; - -protected: -::std::list< ::XMLSchema::string< ACE_TCHAR > > location_; - -public: -ComponentPackageImport (); - -ComponentPackageImport (::XSCRT::XML::Element< ACE_TCHAR > const&); -ComponentPackageImport (ComponentPackageImport const& s); - -ComponentPackageImport& -operator= (ComponentPackageImport const& s); - -private: -char regulator__; -}; - - -class XSC_XML_Handlers_Export PackageConfiguration : public ::XSCRT::Type -{ -//@@ VC6 anathema -typedef ::XSCRT::Type Base__; - -// label -// -public: -bool label_p () const; -::XMLSchema::string< ACE_TCHAR > const& label () const; -void label (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; - -// UUID -// -public: -bool UUID_p () const; -::XMLSchema::string< ACE_TCHAR > const& UUID () const; -void UUID (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; - -// basePackage -// -public: -bool basePackage_p () const; -::CIAO::Config_Handlers::ComponentPackageDescription const& basePackage () const; -void basePackage (::CIAO::Config_Handlers::ComponentPackageDescription const& ); - -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageDescription > basePackage_; - -// specializedConfig -// -public: -bool specializedConfig_p () const; -::CIAO::Config_Handlers::PackageConfiguration const& specializedConfig () const; -void specializedConfig (::CIAO::Config_Handlers::PackageConfiguration const& ); - -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::PackageConfiguration > specializedConfig_; - -// importedPackage -// -public: -bool importedPackage_p () const; -::CIAO::Config_Handlers::ComponentPackageImport const& importedPackage () const; -void importedPackage (::CIAO::Config_Handlers::ComponentPackageImport const& ); - -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageImport > importedPackage_; - -// referencedPackage -// -public: -bool referencedPackage_p () const; -::CIAO::Config_Handlers::ComponentPackageReference const& referencedPackage () const; -void referencedPackage (::CIAO::Config_Handlers::ComponentPackageReference const& ); - -protected: -::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageReference > referencedPackage_; - -// selectRequirement -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator selectRequirement_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator selectRequirement_const_iterator; -selectRequirement_iterator begin_selectRequirement (); -selectRequirement_iterator end_selectRequirement (); -selectRequirement_const_iterator begin_selectRequirement () const; -selectRequirement_const_iterator end_selectRequirement () const; -void add_selectRequirement (::CIAO::Config_Handlers::Requirement const& ); -size_t count_selectRequirement (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Requirement > selectRequirement_; - -// configProperty -// -public: -typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; -typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; -configProperty_iterator begin_configProperty (); -configProperty_iterator end_configProperty (); -configProperty_const_iterator begin_configProperty () const; -configProperty_const_iterator end_configProperty () const; -void add_configProperty (::CIAO::Config_Handlers::Property const& ); -size_t count_configProperty (void) const; - -protected: -::std::list< ::CIAO::Config_Handlers::Property > configProperty_; - -// contentLocation -// -public: -bool contentLocation_p () const; -::XMLSchema::string< ACE_TCHAR > const& contentLocation () const; -void contentLocation (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > contentLocation_; - -// href -// -public: -bool href_p () const; -::XMLSchema::string< ACE_TCHAR > const& href () const; -::XMLSchema::string< ACE_TCHAR >& href (); -void href (::XMLSchema::string< ACE_TCHAR > const& ); - -protected: -::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > href_; - -public: -PackageConfiguration (); - -PackageConfiguration (::XSCRT::XML::Element< ACE_TCHAR > const&); -PackageConfiguration (PackageConfiguration const& s); - -PackageConfiguration& -operator= (PackageConfiguration const& s); - -private: -char regulator__; -}; -} + namespace Config_Handlers + { + class XSC_XML_Handlers_Export ComponentPackageImport : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // location + // + public: + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::iterator location_iterator; + typedef ::std::list< ::XMLSchema::string< ACE_TCHAR > >::const_iterator location_const_iterator; + location_iterator begin_location (); + location_iterator end_location (); + location_const_iterator begin_location () const; + location_const_iterator end_location () const; + void add_location (::XMLSchema::string< ACE_TCHAR > const& ); + size_t count_location (void) const; + + protected: + ::std::list< ::XMLSchema::string< ACE_TCHAR > > location_; + + public: + ComponentPackageImport (); + + ComponentPackageImport (::XSCRT::XML::Element< ACE_TCHAR > const&); + ComponentPackageImport (ComponentPackageImport const& s); + + ComponentPackageImport& + operator= (ComponentPackageImport const& s); + + private: + char regulator__; + }; + + + class XSC_XML_Handlers_Export PackageConfiguration : public ::XSCRT::Type + { + //@@ VC6 anathema + typedef ::XSCRT::Type Base__; + + // label + // + public: + bool label_p () const; + ::XMLSchema::string< ACE_TCHAR > const& label () const; + void label (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; + + // UUID + // + public: + bool UUID_p () const; + ::XMLSchema::string< ACE_TCHAR > const& UUID () const; + void UUID (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; + + // basePackage + // + public: + bool basePackage_p () const; + ::CIAO::Config_Handlers::ComponentPackageDescription const& basePackage () const; + void basePackage (::CIAO::Config_Handlers::ComponentPackageDescription const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageDescription > basePackage_; + + // specializedConfig + // + public: + bool specializedConfig_p () const; + ::CIAO::Config_Handlers::PackageConfiguration const& specializedConfig () const; + void specializedConfig (::CIAO::Config_Handlers::PackageConfiguration const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::PackageConfiguration > specializedConfig_; + + // importedPackage + // + public: + bool importedPackage_p () const; + ::CIAO::Config_Handlers::ComponentPackageImport const& importedPackage () const; + void importedPackage (::CIAO::Config_Handlers::ComponentPackageImport const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageImport > importedPackage_; + + // referencedPackage + // + public: + bool referencedPackage_p () const; + ::CIAO::Config_Handlers::ComponentPackageReference const& referencedPackage () const; + void referencedPackage (::CIAO::Config_Handlers::ComponentPackageReference const& ); + + protected: + ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentPackageReference > referencedPackage_; + + // selectRequirement + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::iterator selectRequirement_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Requirement >::const_iterator selectRequirement_const_iterator; + selectRequirement_iterator begin_selectRequirement (); + selectRequirement_iterator end_selectRequirement (); + selectRequirement_const_iterator begin_selectRequirement () const; + selectRequirement_const_iterator end_selectRequirement () const; + void add_selectRequirement (::CIAO::Config_Handlers::Requirement const& ); + size_t count_selectRequirement (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Requirement > selectRequirement_; + + // configProperty + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; + configProperty_iterator begin_configProperty (); + configProperty_iterator end_configProperty (); + configProperty_const_iterator begin_configProperty () const; + configProperty_const_iterator end_configProperty () const; + void add_configProperty (::CIAO::Config_Handlers::Property const& ); + size_t count_configProperty (void) const; + + protected: + ::std::list< ::CIAO::Config_Handlers::Property > configProperty_; + + // contentLocation + // + public: + bool contentLocation_p () const; + ::XMLSchema::string< ACE_TCHAR > const& contentLocation () const; + void contentLocation (::XMLSchema::string< ACE_TCHAR > const& ); + + protected: + ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > contentLocation_; + + public: + PackageConfiguration (); + + PackageConfiguration (::XSCRT::XML::Element< ACE_TCHAR > const&); + PackageConfiguration (PackageConfiguration const& s); + + PackageConfiguration& + operator= (PackageConfiguration const& s); + + private: + char regulator__; + }; + } } namespace CIAO { -namespace Config_Handlers -{ -} + namespace Config_Handlers + { + } } #include "XMLSchema/Traversal.hpp" namespace CIAO { -namespace Config_Handlers -{ -namespace Traversal -{ -struct XSC_XML_Handlers_Export ComponentPackageImport : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPackageImport > -{ -virtual void -traverse (Type&); - -virtual void -traverse (Type const&); - -virtual void -pre (Type&); + namespace Config_Handlers + { + namespace Traversal + { + struct XSC_XML_Handlers_Export ComponentPackageImport : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPackageImport > + { + virtual void + traverse (Type&); -virtual void -pre (Type const&); + virtual void + traverse (Type const&); -virtual void -location (Type&); + virtual void + pre (Type&); -virtual void -location (Type const&); + virtual void + pre (Type const&); -virtual void -location_pre (Type&); + virtual void + location (Type&); -virtual void -location_pre (Type const&); + virtual void + location (Type const&); -virtual void -location_next (Type&); + virtual void + location_pre (Type&); -virtual void -location_next (Type const&); + virtual void + location_pre (Type const&); -virtual void -location_post (Type&); + virtual void + location_next (Type&); -virtual void -location_post (Type const&); + virtual void + location_next (Type const&); -virtual void -post (Type&); + virtual void + location_post (Type&); -virtual void -post (Type const&); -}; + virtual void + location_post (Type const&); -struct XSC_XML_Handlers_Export PackageConfiguration : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::PackageConfiguration > -{ -virtual void -traverse (Type&); - -virtual void -traverse (Type const&); + virtual void + post (Type&); -virtual void -pre (Type&); + virtual void + post (Type const&); + }; -virtual void -pre (Type const&); + struct XSC_XML_Handlers_Export PackageConfiguration : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::PackageConfiguration > + { + virtual void + traverse (Type&); -virtual void -label (Type&); + virtual void + traverse (Type const&); -virtual void -label (Type const&); + virtual void + pre (Type&); -virtual void -label_none (Type&); + virtual void + pre (Type const&); -virtual void -label_none (Type const&); + virtual void + label (Type&); -virtual void -UUID (Type&); + virtual void + label (Type const&); -virtual void -UUID (Type const&); + virtual void + label_none (Type&); -virtual void -UUID_none (Type&); + virtual void + label_none (Type const&); -virtual void -UUID_none (Type const&); + virtual void + UUID (Type&); -virtual void -basePackage (Type&); + virtual void + UUID (Type const&); -virtual void -basePackage (Type const&); + virtual void + UUID_none (Type&); -virtual void -basePackage_none (Type&); + virtual void + UUID_none (Type const&); -virtual void -basePackage_none (Type const&); + virtual void + basePackage (Type&); -virtual void -specializedConfig (Type&); + virtual void + basePackage (Type const&); -virtual void -specializedConfig (Type const&); + virtual void + basePackage_none (Type&); -virtual void -specializedConfig_none (Type&); + virtual void + basePackage_none (Type const&); -virtual void -specializedConfig_none (Type const&); + virtual void + specializedConfig (Type&); -virtual void -importedPackage (Type&); + virtual void + specializedConfig (Type const&); -virtual void -importedPackage (Type const&); + virtual void + specializedConfig_none (Type&); -virtual void -importedPackage_none (Type&); + virtual void + specializedConfig_none (Type const&); -virtual void -importedPackage_none (Type const&); + virtual void + importedPackage (Type&); -virtual void -referencedPackage (Type&); + virtual void + importedPackage (Type const&); -virtual void -referencedPackage (Type const&); + virtual void + importedPackage_none (Type&); -virtual void -referencedPackage_none (Type&); + virtual void + importedPackage_none (Type const&); -virtual void -referencedPackage_none (Type const&); + virtual void + referencedPackage (Type&); -virtual void -selectRequirement (Type&); + virtual void + referencedPackage (Type const&); -virtual void -selectRequirement (Type const&); + virtual void + referencedPackage_none (Type&); -virtual void -selectRequirement_pre (Type&); + virtual void + referencedPackage_none (Type const&); -virtual void -selectRequirement_pre (Type const&); + virtual void + selectRequirement (Type&); -virtual void -selectRequirement_next (Type&); + virtual void + selectRequirement (Type const&); -virtual void -selectRequirement_next (Type const&); + virtual void + selectRequirement_pre (Type&); -virtual void -selectRequirement_post (Type&); + virtual void + selectRequirement_pre (Type const&); -virtual void -selectRequirement_post (Type const&); + virtual void + selectRequirement_next (Type&); -virtual void -selectRequirement_none (Type&); + virtual void + selectRequirement_next (Type const&); -virtual void -selectRequirement_none (Type const&); + virtual void + selectRequirement_post (Type&); -virtual void -configProperty (Type&); + virtual void + selectRequirement_post (Type const&); -virtual void -configProperty (Type const&); + virtual void + selectRequirement_none (Type&); -virtual void -configProperty_pre (Type&); + virtual void + selectRequirement_none (Type const&); -virtual void -configProperty_pre (Type const&); + virtual void + configProperty (Type&); -virtual void -configProperty_next (Type&); + virtual void + configProperty (Type const&); -virtual void -configProperty_next (Type const&); + virtual void + configProperty_pre (Type&); -virtual void -configProperty_post (Type&); + virtual void + configProperty_pre (Type const&); -virtual void -configProperty_post (Type const&); + virtual void + configProperty_next (Type&); -virtual void -configProperty_none (Type&); + virtual void + configProperty_next (Type const&); -virtual void -configProperty_none (Type const&); + virtual void + configProperty_post (Type&); -virtual void -contentLocation (Type&); + virtual void + configProperty_post (Type const&); -virtual void -contentLocation (Type const&); + virtual void + configProperty_none (Type&); -virtual void -contentLocation_none (Type&); + virtual void + configProperty_none (Type const&); -virtual void -contentLocation_none (Type const&); + virtual void + contentLocation (Type&); -virtual void -href (Type&); + virtual void + contentLocation (Type const&); -virtual void -href (Type const&); + virtual void + contentLocation_none (Type&); -virtual void -href_none (Type&); + virtual void + contentLocation_none (Type const&); -virtual void -href_none (Type const&); + virtual void + post (Type&); -virtual void -post (Type&); - -virtual void -post (Type const&); -}; -} -} + virtual void + post (Type const&); + }; + } + } } #include "XMLSchema/Writer.hpp" namespace CIAO { -namespace Config_Handlers -{ -namespace Writer -{ -struct ComponentPackageImport : Traversal::ComponentPackageImport, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::ComponentPackageImport Type; -ComponentPackageImport (::XSCRT::XML::Element< ACE_TCHAR >&); + namespace Config_Handlers + { + namespace Writer + { + struct ComponentPackageImport : Traversal::ComponentPackageImport, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::ComponentPackageImport Type; + ComponentPackageImport (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -traverse (Type &o) -{ + virtual void + traverse (Type &o) + { -this->traverse (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -location_pre (Type &o) -{ + virtual void + location_pre (Type &o) + { -this->location_pre (const_cast (o)); -} + this->location_pre (const_cast (o)); + } -virtual void -location_pre (Type const&); + virtual void + location_pre (Type const&); -virtual void -location_next (Type &o) -{ + virtual void + location_next (Type &o) + { -this->location_next (const_cast (o)); -} + this->location_next (const_cast (o)); + } -virtual void -location_next (Type const&); + virtual void + location_next (Type const&); -virtual void -location_post (Type &o) -{ + virtual void + location_post (Type &o) + { -this->location_post (const_cast (o)); -} + this->location_post (const_cast (o)); + } -virtual void -location_post (Type const&); + virtual void + location_post (Type const&); -protected: -ComponentPackageImport (); -}; + protected: + ComponentPackageImport (); + }; -struct PackageConfiguration : Traversal::PackageConfiguration, -virtual ::XSCRT::Writer< ACE_TCHAR > -{ -typedef ::CIAO::Config_Handlers::PackageConfiguration Type; -PackageConfiguration (::XSCRT::XML::Element< ACE_TCHAR >&); + struct PackageConfiguration : Traversal::PackageConfiguration, + virtual ::XSCRT::Writer< ACE_TCHAR > + { + typedef ::CIAO::Config_Handlers::PackageConfiguration Type; + PackageConfiguration (::XSCRT::XML::Element< ACE_TCHAR >&); -virtual void -traverse (Type &o) -{ + virtual void + traverse (Type &o) + { -this->traverse (const_cast (o)); -} + this->traverse (const_cast (o)); + } -virtual void -traverse (Type const&); + virtual void + traverse (Type const&); -virtual void -label (Type &o) -{ + virtual void + label (Type &o) + { -this->label (const_cast (o)); -} + this->label (const_cast (o)); + } -virtual void -label (Type const&); + virtual void + label (Type const&); -virtual void -UUID (Type &o) -{ + virtual void + UUID (Type &o) + { -this->UUID (const_cast (o)); -} + this->UUID (const_cast (o)); + } -virtual void -UUID (Type const&); + virtual void + UUID (Type const&); -virtual void -basePackage (Type &o) -{ + virtual void + basePackage (Type &o) + { -this->basePackage (const_cast (o)); -} + this->basePackage (const_cast (o)); + } -virtual void -basePackage (Type const&); + virtual void + basePackage (Type const&); -virtual void -specializedConfig (Type &o) -{ + virtual void + specializedConfig (Type &o) + { -this->specializedConfig (const_cast (o)); -} + this->specializedConfig (const_cast (o)); + } -virtual void -specializedConfig (Type const&); + virtual void + specializedConfig (Type const&); -virtual void -importedPackage (Type &o) -{ + virtual void + importedPackage (Type &o) + { -this->importedPackage (const_cast (o)); -} + this->importedPackage (const_cast (o)); + } -virtual void -importedPackage (Type const&); + virtual void + importedPackage (Type const&); -virtual void -referencedPackage (Type &o) -{ + virtual void + referencedPackage (Type &o) + { -this->referencedPackage (const_cast (o)); -} + this->referencedPackage (const_cast (o)); + } -virtual void -referencedPackage (Type const&); + virtual void + referencedPackage (Type const&); -virtual void -selectRequirement_pre (Type &o) -{ + virtual void + selectRequirement_pre (Type &o) + { -this->selectRequirement_pre (const_cast (o)); -} + this->selectRequirement_pre (const_cast (o)); + } -virtual void -selectRequirement_pre (Type const&); + virtual void + selectRequirement_pre (Type const&); -virtual void -selectRequirement_next (Type &o) -{ + virtual void + selectRequirement_next (Type &o) + { -this->selectRequirement_next (const_cast (o)); -} + this->selectRequirement_next (const_cast (o)); + } -virtual void -selectRequirement_next (Type const&); + virtual void + selectRequirement_next (Type const&); -virtual void -selectRequirement_post (Type &o) -{ + virtual void + selectRequirement_post (Type &o) + { -this->selectRequirement_post (const_cast (o)); -} + this->selectRequirement_post (const_cast (o)); + } -virtual void -selectRequirement_post (Type const&); + virtual void + selectRequirement_post (Type const&); -virtual void -configProperty_pre (Type &o) -{ + virtual void + configProperty_pre (Type &o) + { -this->configProperty_pre (const_cast (o)); -} + this->configProperty_pre (const_cast (o)); + } -virtual void -configProperty_pre (Type const&); + virtual void + configProperty_pre (Type const&); -virtual void -configProperty_next (Type &o) -{ + virtual void + configProperty_next (Type &o) + { -this->configProperty_next (const_cast (o)); -} + this->configProperty_next (const_cast (o)); + } -virtual void -configProperty_next (Type const&); + virtual void + configProperty_next (Type const&); -virtual void -configProperty_post (Type &o) -{ + virtual void + configProperty_post (Type &o) + { -this->configProperty_post (const_cast (o)); -} + this->configProperty_post (const_cast (o)); + } -virtual void -configProperty_post (Type const&); + virtual void + configProperty_post (Type const&); -virtual void -contentLocation (Type &o) -{ + virtual void + contentLocation (Type &o) + { -this->contentLocation (const_cast (o)); -} + this->contentLocation (const_cast (o)); + } -virtual void -contentLocation (Type const&); + virtual void + contentLocation (Type const&); -virtual void -href (Type &o) -{ - -this->href (const_cast (o)); -} - - -virtual void -href (Type const&); - -protected: -PackageConfiguration (); -}; -} -} + protected: + PackageConfiguration (); + }; + } + } } namespace CIAO { -namespace Config_Handlers -{ -} + namespace Config_Handlers + { + } } #endif // PCD_HPP diff --git a/CIAO/tools/Config_Handlers/test.cpp b/CIAO/tools/Config_Handlers/test.cpp index 46dabd4697b..88a7d8f2a24 100644 --- a/CIAO/tools/Config_Handlers/test.cpp +++ b/CIAO/tools/Config_Handlers/test.cpp @@ -4,8 +4,8 @@ #include "Deployment.hpp" #include "DP_Handler.h" -#include "ciao/Deployment_DataC.h" -#include "ciao/CIAO_ServerResourcesC.h" +#include "DAnCE/Deployment/Deployment_DataC.h" +#include "DAnCE/Deployment/CIAO_ServerResourcesC.h" #include "ace/Get_Opt.h" #include "Utils/XML_Helper.h" #include "DnC_Dump.h" diff --git a/CIAO/tools/Config_Handlers/toplevel.cpp b/CIAO/tools/Config_Handlers/toplevel.cpp index 25c9a04929d..8c0761414db 100644 --- a/CIAO/tools/Config_Handlers/toplevel.cpp +++ b/CIAO/tools/Config_Handlers/toplevel.cpp @@ -3,12 +3,12 @@ * * Changes made to this code will most likely be overwritten * when the handlers are recompiled. - * + * * If you find errors or feel that there are bugfixes to be made, * please contact the current XSC maintainer: * Will Otte */ - + #include "toplevel.hpp" namespace CIAO @@ -16,49 +16,75 @@ namespace CIAO namespace Config_Handlers { // TopLevelPackageDescription - // + // TopLevelPackageDescription:: - TopLevelPackageDescription (::CIAO::Config_Handlers::PackageConfiguration const& package__) - : - ::XSCRT::Type (), - package_ (new ::CIAO::Config_Handlers::PackageConfiguration (package__)), - regulator__ () + TopLevelPackageDescription () + : + ::XSCRT::Type (), + regulator__ () { - package_->container (this); } TopLevelPackageDescription:: TopLevelPackageDescription (::CIAO::Config_Handlers::TopLevelPackageDescription const& s) - : - ::XSCRT::Type (), - package_ (new ::CIAO::Config_Handlers::PackageConfiguration (*s.package_)), - regulator__ () + : + ::XSCRT::Type (), + regulator__ () { - package_->container (this); + { + for (basePackage_const_iterator i (s.basePackage_.begin ());i != s.basePackage_.end ();++i) add_basePackage (*i); + } } ::CIAO::Config_Handlers::TopLevelPackageDescription& TopLevelPackageDescription:: operator= (::CIAO::Config_Handlers::TopLevelPackageDescription const& s) { - package (s.package ()); + basePackage_.clear (); + { + for (basePackage_const_iterator i (s.basePackage_.begin ());i != s.basePackage_.end ();++i) add_basePackage (*i); + } return *this; } // TopLevelPackageDescription - // - ::CIAO::Config_Handlers::PackageConfiguration const& TopLevelPackageDescription:: - package () const + // + TopLevelPackageDescription::basePackage_iterator TopLevelPackageDescription:: + begin_basePackage () + { + return basePackage_.begin (); + } + + TopLevelPackageDescription::basePackage_iterator TopLevelPackageDescription:: + end_basePackage () + { + return basePackage_.end (); + } + + TopLevelPackageDescription::basePackage_const_iterator TopLevelPackageDescription:: + begin_basePackage () const + { + return basePackage_.begin (); + } + + TopLevelPackageDescription::basePackage_const_iterator TopLevelPackageDescription:: + end_basePackage () const { - return *package_; + return basePackage_.end (); } void TopLevelPackageDescription:: - package (::CIAO::Config_Handlers::PackageConfiguration const& e) + add_basePackage (::CIAO::Config_Handlers::PackageConfiguration const& e) + { + basePackage_.push_back (e); + } + + size_t TopLevelPackageDescription:: + count_basePackage(void) const { - *package_ = e; + return basePackage_.size (); } } } @@ -72,26 +98,26 @@ namespace CIAO TopLevelPackageDescription:: TopLevelPackageDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e) - :Base__ (e), regulator__ () + :Base__ (e), regulator__ () { ::XSCRT::Parser< ACE_TCHAR > p (e); while (p.more_elements ()) + { + ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); + ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); + + if (n == "basePackage") + { + ::CIAO::Config_Handlers::PackageConfiguration t (e); + add_basePackage (t); + } + + else { - ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ()); - ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ())); - - if (n == "package") - { - package_ = ::std::auto_ptr< ::CIAO::Config_Handlers::PackageConfiguration > (new ::CIAO::Config_Handlers::PackageConfiguration (e)); - package_->container (this); - } - - else - { - } } + } } } } @@ -144,7 +170,7 @@ namespace CIAO traverse (Type& o) { pre (o); - package (o); + basePackage (o); post (o); } @@ -152,7 +178,7 @@ namespace CIAO traverse (Type const& o) { pre (o); - package (o); + basePackage (o); post (o); } @@ -167,15 +193,73 @@ namespace CIAO } void TopLevelPackageDescription:: - package (Type& o) + basePackage (Type& o) + { + // VC6 anathema strikes again + // + TopLevelPackageDescription::Type::basePackage_iterator b (o.begin_basePackage()), e (o.end_basePackage()); + + if (b != e) + { + basePackage_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) basePackage_next (o); + } + + basePackage_post (o); + } + } + + void TopLevelPackageDescription:: + basePackage (Type const& o) + { + // VC6 anathema strikes again + // + TopLevelPackageDescription::Type::basePackage_const_iterator b (o.begin_basePackage()), e (o.end_basePackage()); + + if (b != e) + { + basePackage_pre (o); + for (; b != e;) + { + dispatch (*b); + if (++b != e) basePackage_next (o); + } + + basePackage_post (o); + } + } + + void TopLevelPackageDescription:: + basePackage_pre (Type&) + { + } + + void TopLevelPackageDescription:: + basePackage_pre (Type const&) + { + } + + void TopLevelPackageDescription:: + basePackage_next (Type&) { - dispatch (o.package ()); } void TopLevelPackageDescription:: - package (Type const& o) + basePackage_next (Type const&) + { + } + + void TopLevelPackageDescription:: + basePackage_post (Type&) + { + } + + void TopLevelPackageDescription:: + basePackage_post (Type const&) { - dispatch (o.package ()); } void TopLevelPackageDescription:: @@ -203,7 +287,7 @@ namespace CIAO TopLevelPackageDescription:: TopLevelPackageDescription (::XSCRT::XML::Element< ACE_TCHAR >& e) - : ::XSCRT::Writer< ACE_TCHAR > (e) + : ::XSCRT::Writer< ACE_TCHAR > (e) { } @@ -219,10 +303,21 @@ namespace CIAO } void TopLevelPackageDescription:: - package (Type const& o) + basePackage_pre (Type const&) + { + push_ (::XSCRT::XML::Element< ACE_TCHAR > ("basePackage", top_ ())); + } + + void TopLevelPackageDescription:: + basePackage_next (Type const& o) + { + basePackage_post (o); + basePackage_pre (o); + } + + void TopLevelPackageDescription:: + basePackage_post (Type const&) { - push_ (::XSCRT::XML::Element< ACE_TCHAR > ("package", top_ ())); - Traversal::TopLevelPackageDescription::package (o); pop_ (); } } diff --git a/CIAO/tools/Config_Handlers/toplevel.hpp b/CIAO/tools/Config_Handlers/toplevel.hpp index 09964cff90b..c11e197d44e 100644 --- a/CIAO/tools/Config_Handlers/toplevel.hpp +++ b/CIAO/tools/Config_Handlers/toplevel.hpp @@ -9,17 +9,16 @@ * Will Otte */ - // Fix for Borland compilers, which seem to have a broken // include. #ifdef __BORLANDC__ # include #endif -#include "XSC_XML_Handlers_Export.h" #ifndef TOPLEVEL_HPP #define TOPLEVEL_HPP +#include "XSC_XML_Handlers_Export.h" // Forward declarations. // namespace CIAO @@ -45,26 +44,31 @@ namespace CIAO //@@ VC6 anathema typedef ::XSCRT::Type Base__; - // package - // - public: - ::CIAO::Config_Handlers::PackageConfiguration const& package () const; - void package (::CIAO::Config_Handlers::PackageConfiguration const& ); + // basePackage + // + public: + typedef ::std::list< ::CIAO::Config_Handlers::PackageConfiguration >::iterator basePackage_iterator; + typedef ::std::list< ::CIAO::Config_Handlers::PackageConfiguration >::const_iterator basePackage_const_iterator; + basePackage_iterator begin_basePackage (); + basePackage_iterator end_basePackage (); + basePackage_const_iterator begin_basePackage () const; + basePackage_const_iterator end_basePackage () const; + void add_basePackage (::CIAO::Config_Handlers::PackageConfiguration const& ); + size_t count_basePackage (void) const; - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::PackageConfiguration > package_; + protected: + ::std::list< ::CIAO::Config_Handlers::PackageConfiguration > basePackage_; - public: - TopLevelPackageDescription (::CIAO::Config_Handlers::PackageConfiguration const& package__); + public: + TopLevelPackageDescription (); TopLevelPackageDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); TopLevelPackageDescription (TopLevelPackageDescription const& s); - - ~TopLevelPackageDescription () {}; + TopLevelPackageDescription& operator= (TopLevelPackageDescription const& s); - private: + private: char regulator__; }; } @@ -87,29 +91,47 @@ namespace CIAO { struct XSC_XML_Handlers_Export TopLevelPackageDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::TopLevelPackageDescription > { - virtual void - traverse (Type&); + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + basePackage (Type&); + + virtual void + basePackage (Type const&); - virtual void - traverse (Type const&); + virtual void + basePackage_pre (Type&); - virtual void - pre (Type&); + virtual void + basePackage_pre (Type const&); - virtual void - pre (Type const&); + virtual void + basePackage_next (Type&); - virtual void - package (Type&); + virtual void + basePackage_next (Type const&); - virtual void - package (Type const&); + virtual void + basePackage_post (Type&); - virtual void - post (Type&); + virtual void + basePackage_post (Type const&); - virtual void - post (Type const&); + virtual void + post (Type&); + + virtual void + post (Type const&); }; } } @@ -123,36 +145,58 @@ namespace CIAO { namespace Writer { - struct TopLevelPackageDescription : Traversal::TopLevelPackageDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > + struct TopLevelPackageDescription : Traversal::TopLevelPackageDescription, + virtual ::XSCRT::Writer< ACE_TCHAR > { - typedef ::CIAO::Config_Handlers::TopLevelPackageDescription Type; - TopLevelPackageDescription (::XSCRT::XML::Element< ACE_TCHAR >&); + typedef ::CIAO::Config_Handlers::TopLevelPackageDescription Type; + TopLevelPackageDescription (::XSCRT::XML::Element< ACE_TCHAR >&); - virtual void - traverse (Type &o) - { + virtual void + traverse (Type &o) + { - this->traverse (const_cast (o)); - } + this->traverse (const_cast (o)); + } - virtual void - traverse (Type const&); + virtual void + traverse (Type const&); - virtual void - package (Type &o) - { + virtual void + basePackage_pre (Type &o) + { - this->package (const_cast (o)); - } + this->basePackage_pre (const_cast (o)); + } - virtual void - package (Type const&); + virtual void + basePackage_pre (Type const&); - protected: - TopLevelPackageDescription (); + virtual void + basePackage_next (Type &o) + { + + this->basePackage_next (const_cast (o)); + } + + + virtual void + basePackage_next (Type const&); + + virtual void + basePackage_post (Type &o) + { + + this->basePackage_post (const_cast (o)); + } + + + virtual void + basePackage_post (Type const&); + + protected: + TopLevelPackageDescription (); }; } } -- cgit v1.2.1