From dd0fdd84813d6030e6b312813dcb2ae595912bb7 Mon Sep 17 00:00:00 2001 From: bala Date: Thu, 7 Oct 2004 03:40:26 +0000 Subject: ChangeLogTag:Thu Oct 7 03:39:25 2004 Balachandran Natarajan --- .../Config_Handlers/Basic_Deployment_Data.cpp | 6512 ++++++++++++++++++++ .../Config_Handlers/Basic_Deployment_Data.hpp | 2897 ++++++++- TAO/CIAO/DAnCE/Config_Handlers/ChangeLog | 26 +- TAO/CIAO/DAnCE/Config_Handlers/Deployment.cpp | 482 ++ TAO/CIAO/DAnCE/Config_Handlers/Deployment.hpp | 56 +- TAO/CIAO/DAnCE/Config_Handlers/ccd.cpp | 926 ++- TAO/CIAO/DAnCE/Config_Handlers/ccd.hpp | 377 +- TAO/CIAO/DAnCE/Config_Handlers/cdd.cpp | 318 + TAO/CIAO/DAnCE/Config_Handlers/cdd.hpp | 144 + TAO/CIAO/DAnCE/Config_Handlers/cdp.cpp | 791 ++- TAO/CIAO/DAnCE/Config_Handlers/cdp.hpp | 324 +- TAO/CIAO/DAnCE/Config_Handlers/cid.cpp | 1494 +++++ TAO/CIAO/DAnCE/Config_Handlers/cid.hpp | 650 ++ TAO/CIAO/DAnCE/Config_Handlers/cpd.cpp | 466 ++ TAO/CIAO/DAnCE/Config_Handlers/cpd.hpp | 220 + TAO/CIAO/DAnCE/Config_Handlers/iad.cpp | 650 ++ TAO/CIAO/DAnCE/Config_Handlers/iad.hpp | 283 + TAO/CIAO/DAnCE/Config_Handlers/pcd.cpp | 349 ++ TAO/CIAO/DAnCE/Config_Handlers/pcd.hpp | 168 + TAO/CIAO/DAnCE/Config_Handlers/toplevel.cpp | 206 + TAO/CIAO/DAnCE/Config_Handlers/toplevel.hpp | 96 + 21 files changed, 17279 insertions(+), 156 deletions(-) diff --git a/TAO/CIAO/DAnCE/Config_Handlers/Basic_Deployment_Data.cpp b/TAO/CIAO/DAnCE/Config_Handlers/Basic_Deployment_Data.cpp index 5016e04a33b..7705c134a7f 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/Basic_Deployment_Data.cpp +++ b/TAO/CIAO/DAnCE/Config_Handlers/Basic_Deployment_Data.cpp @@ -6358,3 +6358,6515 @@ namespace CIAO } } +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace + { + ::XMLSchema::TypeInfoInitializer < char > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); + + struct TCKindTypeInfoInitializer + { + TCKindTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (TCKind)); + ::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)); + } + }; + + TCKindTypeInfoInitializer TCKindTypeInfoInitializer_; + + struct DataTypeTypeInfoInitializer + { + DataTypeTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (DataType)); + ::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)); + } + }; + + DataTypeTypeInfoInitializer DataTypeTypeInfoInitializer_; + + struct DataValueTypeInfoInitializer + { + DataValueTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (DataValue)); + ::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)); + } + }; + + DataValueTypeInfoInitializer DataValueTypeInfoInitializer_; + + struct AnyTypeInfoInitializer + { + AnyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (Any)); + ::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)); + } + }; + + AnyTypeInfoInitializer AnyTypeInfoInitializer_; + + struct PropertyTypeInfoInitializer + { + PropertyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (Property)); + ::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)); + } + }; + + PropertyTypeInfoInitializer PropertyTypeInfoInitializer_; + + struct NodeTypeInfoInitializer + { + NodeTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (Node)); + ::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)); + } + }; + + NodeTypeInfoInitializer NodeTypeInfoInitializer_; + + struct SatisfierPropertyKindTypeInfoInitializer + { + SatisfierPropertyKindTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (SatisfierPropertyKind)); + ::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)); + } + }; + + SatisfierPropertyKindTypeInfoInitializer SatisfierPropertyKindTypeInfoInitializer_; + + struct SatisfierPropertyTypeInfoInitializer + { + SatisfierPropertyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (SatisfierProperty)); + ::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)); + } + }; + + SatisfierPropertyTypeInfoInitializer SatisfierPropertyTypeInfoInitializer_; + + struct ResourceTypeInfoInitializer + { + ResourceTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (Resource)); + ::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)); + } + }; + + ResourceTypeInfoInitializer ResourceTypeInfoInitializer_; + + struct SharedResourceTypeInfoInitializer + { + SharedResourceTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (SharedResource)); + ::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)); + } + }; + + SharedResourceTypeInfoInitializer SharedResourceTypeInfoInitializer_; + + struct RequirementTypeInfoInitializer + { + RequirementTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (Requirement)); + ::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)); + } + }; + + RequirementTypeInfoInitializer RequirementTypeInfoInitializer_; + + struct ResourceDeploymentDescriptionTypeInfoInitializer + { + ResourceDeploymentDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ResourceDeploymentDescription)); + ::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)); + } + }; + + ResourceDeploymentDescriptionTypeInfoInitializer ResourceDeploymentDescriptionTypeInfoInitializer_; + + struct ArtifactDeploymentDescriptionTypeInfoInitializer + { + ArtifactDeploymentDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ArtifactDeploymentDescription)); + ::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)); + } + }; + + ArtifactDeploymentDescriptionTypeInfoInitializer ArtifactDeploymentDescriptionTypeInfoInitializer_; + + struct MonolithicDeploymentDescriptionTypeInfoInitializer + { + MonolithicDeploymentDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (MonolithicDeploymentDescription)); + ::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)); + } + }; + + MonolithicDeploymentDescriptionTypeInfoInitializer MonolithicDeploymentDescriptionTypeInfoInitializer_; + + struct ResourceUsageKindTypeInfoInitializer + { + ResourceUsageKindTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ResourceUsageKind)); + ::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)); + } + }; + + ResourceUsageKindTypeInfoInitializer ResourceUsageKindTypeInfoInitializer_; + + struct InstanceResourceDeploymentDescriptionTypeInfoInitializer + { + InstanceResourceDeploymentDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (InstanceResourceDeploymentDescription)); + ::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)); + } + }; + + InstanceResourceDeploymentDescriptionTypeInfoInitializer InstanceResourceDeploymentDescriptionTypeInfoInitializer_; + + struct InstanceDeploymentDescriptionTypeInfoInitializer + { + InstanceDeploymentDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (InstanceDeploymentDescription)); + ::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)); + } + }; + + InstanceDeploymentDescriptionTypeInfoInitializer InstanceDeploymentDescriptionTypeInfoInitializer_; + + struct CCMComponentPortKindTypeInfoInitializer + { + CCMComponentPortKindTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (CCMComponentPortKind)); + ::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)); + } + }; + + CCMComponentPortKindTypeInfoInitializer CCMComponentPortKindTypeInfoInitializer_; + + struct ComponentPortDescriptionTypeInfoInitializer + { + ComponentPortDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ComponentPortDescription)); + ::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)); + } + }; + + ComponentPortDescriptionTypeInfoInitializer ComponentPortDescriptionTypeInfoInitializer_; + + struct ComponentPropertyDescriptionTypeInfoInitializer + { + ComponentPropertyDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ComponentPropertyDescription)); + ::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)); + } + }; + + ComponentPropertyDescriptionTypeInfoInitializer ComponentPropertyDescriptionTypeInfoInitializer_; + + struct ComponentExternalPortEndpointTypeInfoInitializer + { + ComponentExternalPortEndpointTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ComponentExternalPortEndpoint)); + ::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)); + } + }; + + ComponentExternalPortEndpointTypeInfoInitializer ComponentExternalPortEndpointTypeInfoInitializer_; + + struct PlanSubcomponentPortEndpointTypeInfoInitializer + { + PlanSubcomponentPortEndpointTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (PlanSubcomponentPortEndpoint)); + ::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)); + } + }; + + PlanSubcomponentPortEndpointTypeInfoInitializer PlanSubcomponentPortEndpointTypeInfoInitializer_; + + struct ExternalReferenceEndpointTypeInfoInitializer + { + ExternalReferenceEndpointTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ExternalReferenceEndpoint)); + ::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)); + } + }; + + ExternalReferenceEndpointTypeInfoInitializer ExternalReferenceEndpointTypeInfoInitializer_; + + struct ConnectionResourceDeploymentDescriptionTypeInfoInitializer + { + ConnectionResourceDeploymentDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ConnectionResourceDeploymentDescription)); + ::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)); + } + }; + + ConnectionResourceDeploymentDescriptionTypeInfoInitializer ConnectionResourceDeploymentDescriptionTypeInfoInitializer_; + + struct PlanConnectionDescriptionTypeInfoInitializer + { + PlanConnectionDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (PlanConnectionDescription)); + ::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)); + } + }; + + PlanConnectionDescriptionTypeInfoInitializer PlanConnectionDescriptionTypeInfoInitializer_; + + struct ImplementationDependencyTypeInfoInitializer + { + ImplementationDependencyTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ImplementationDependency)); + ::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)); + } + }; + + ImplementationDependencyTypeInfoInitializer ImplementationDependencyTypeInfoInitializer_; + + struct CapabilityTypeInfoInitializer + { + CapabilityTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (Capability)); + ::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)); + } + }; + + CapabilityTypeInfoInitializer CapabilityTypeInfoInitializer_; + + struct ImplementationRequirementTypeInfoInitializer + { + ImplementationRequirementTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ImplementationRequirement)); + ::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)); + } + }; + + ImplementationRequirementTypeInfoInitializer ImplementationRequirementTypeInfoInitializer_; + + struct ComponentPackageReferenceTypeInfoInitializer + { + ComponentPackageReferenceTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ComponentPackageReference)); + ::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)); + } + }; + + ComponentPackageReferenceTypeInfoInitializer ComponentPackageReferenceTypeInfoInitializer_; + + struct SubcomponentPortEndpointTypeInfoInitializer + { + SubcomponentPortEndpointTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (SubcomponentPortEndpoint)); + ::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)); + } + }; + + SubcomponentPortEndpointTypeInfoInitializer SubcomponentPortEndpointTypeInfoInitializer_; + + struct AssemblyConnectionDescriptionTypeInfoInitializer + { + AssemblyConnectionDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (AssemblyConnectionDescription)); + ::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)); + } + }; + + AssemblyConnectionDescriptionTypeInfoInitializer AssemblyConnectionDescriptionTypeInfoInitializer_; + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Traversal + { + // DataType + // + // + + void DataType:: + traverse (Type& o) + { + pre (o); + if (o.kind_p ()) kind (o); + else kind_none (o); + post (o); + } + + void DataType:: + traverse (Type const& o) + { + pre (o); + if (o.kind_p ()) kind (o); + else kind_none (o); + post (o); + } + + void DataType:: + pre (Type&) + { + } + + void DataType:: + pre (Type const&) + { + } + + void DataType:: + kind (Type& o) + { + dispatch (o.kind ()); + } + + void DataType:: + kind (Type const& o) + { + dispatch (o.kind ()); + } + + void DataType:: + kind_none (Type&) + { + } + + void DataType:: + kind_none (Type const&) + { + } + + void DataType:: + post (Type&) + { + } + + void DataType:: + post (Type const&) + { + } + + // DataValue + // + // + + void DataValue:: + traverse (Type& o) + { + pre (o); + if (o.short_p ()) short_ (o); + else short_none (o); + if (o.long_p ()) long_ (o); + else long_none (o); + if (o.ushort_p ()) ushort (o); + else ushort_none (o); + if (o.ulong_p ()) ulong (o); + else ulong_none (o); + if (o.float_p ()) float_ (o); + else float_none (o); + if (o.double_p ()) double_ (o); + else double_none (o); + if (o.boolean_p ()) boolean (o); + else boolean_none (o); + if (o.octet_p ()) octet (o); + else octet_none (o); + if (o.objref_p ()) objref (o); + else objref_none (o); + if (o.enum_p ()) enum_ (o); + else enum_none (o); + if (o.string_p ()) string (o); + else string_none (o); + if (o.longlong_p ()) longlong (o); + else longlong_none (o); + if (o.ulonglong_p ()) ulonglong (o); + else ulonglong_none (o); + if (o.longdouble_p ()) longdouble (o); + else longdouble_none (o); + if (o.fixed_p ()) fixed (o); + else fixed_none (o); + if (o.typecode_p ()) typecode (o); + else typecode_none (o); + post (o); + } + + void DataValue:: + traverse (Type const& o) + { + pre (o); + if (o.short_p ()) short_ (o); + else short_none (o); + if (o.long_p ()) long_ (o); + else long_none (o); + if (o.ushort_p ()) ushort (o); + else ushort_none (o); + if (o.ulong_p ()) ulong (o); + else ulong_none (o); + if (o.float_p ()) float_ (o); + else float_none (o); + if (o.double_p ()) double_ (o); + else double_none (o); + if (o.boolean_p ()) boolean (o); + else boolean_none (o); + if (o.octet_p ()) octet (o); + else octet_none (o); + if (o.objref_p ()) objref (o); + else objref_none (o); + if (o.enum_p ()) enum_ (o); + else enum_none (o); + if (o.string_p ()) string (o); + else string_none (o); + if (o.longlong_p ()) longlong (o); + else longlong_none (o); + if (o.ulonglong_p ()) ulonglong (o); + else ulonglong_none (o); + if (o.longdouble_p ()) longdouble (o); + else longdouble_none (o); + if (o.fixed_p ()) fixed (o); + else fixed_none (o); + if (o.typecode_p ()) typecode (o); + else typecode_none (o); + post (o); + } + + void DataValue:: + pre (Type&) + { + } + + void DataValue:: + pre (Type const&) + { + } + + void DataValue:: + short_ (Type& o) + { + dispatch (o.short_ ()); + } + + void DataValue:: + short_ (Type const& o) + { + dispatch (o.short_ ()); + } + + void DataValue:: + short_none (Type&) + { + } + + void DataValue:: + short_none (Type const&) + { + } + + void DataValue:: + long_ (Type& o) + { + dispatch (o.long_ ()); + } + + void DataValue:: + long_ (Type const& o) + { + dispatch (o.long_ ()); + } + + void DataValue:: + long_none (Type&) + { + } + + void DataValue:: + long_none (Type const&) + { + } + + void DataValue:: + ushort (Type& o) + { + dispatch (o.ushort ()); + } + + void DataValue:: + ushort (Type const& o) + { + dispatch (o.ushort ()); + } + + void DataValue:: + ushort_none (Type&) + { + } + + void DataValue:: + ushort_none (Type const&) + { + } + + void DataValue:: + ulong (Type& o) + { + dispatch (o.ulong ()); + } + + void DataValue:: + ulong (Type const& o) + { + dispatch (o.ulong ()); + } + + void DataValue:: + ulong_none (Type&) + { + } + + void DataValue:: + ulong_none (Type const&) + { + } + + void DataValue:: + float_ (Type& o) + { + dispatch (o.float_ ()); + } + + void DataValue:: + float_ (Type const& o) + { + dispatch (o.float_ ()); + } + + void DataValue:: + float_none (Type&) + { + } + + void DataValue:: + float_none (Type const&) + { + } + + void DataValue:: + double_ (Type& o) + { + dispatch (o.double_ ()); + } + + void DataValue:: + double_ (Type const& o) + { + dispatch (o.double_ ()); + } + + void DataValue:: + double_none (Type&) + { + } + + void DataValue:: + double_none (Type const&) + { + } + + void DataValue:: + boolean (Type& o) + { + dispatch (o.boolean ()); + } + + void DataValue:: + boolean (Type const& o) + { + dispatch (o.boolean ()); + } + + void DataValue:: + boolean_none (Type&) + { + } + + void DataValue:: + boolean_none (Type const&) + { + } + + void DataValue:: + octet (Type& o) + { + dispatch (o.octet ()); + } + + void DataValue:: + octet (Type const& o) + { + dispatch (o.octet ()); + } + + void DataValue:: + octet_none (Type&) + { + } + + void DataValue:: + octet_none (Type const&) + { + } + + void DataValue:: + objref (Type& o) + { + dispatch (o.objref ()); + } + + void DataValue:: + objref (Type const& o) + { + dispatch (o.objref ()); + } + + void DataValue:: + objref_none (Type&) + { + } + + void DataValue:: + objref_none (Type const&) + { + } + + void DataValue:: + enum_ (Type& o) + { + dispatch (o.enum_ ()); + } + + void DataValue:: + enum_ (Type const& o) + { + dispatch (o.enum_ ()); + } + + void DataValue:: + enum_none (Type&) + { + } + + void DataValue:: + enum_none (Type const&) + { + } + + void DataValue:: + string (Type& o) + { + dispatch (o.string ()); + } + + void DataValue:: + string (Type const& o) + { + dispatch (o.string ()); + } + + void DataValue:: + string_none (Type&) + { + } + + void DataValue:: + string_none (Type const&) + { + } + + void DataValue:: + longlong (Type& o) + { + dispatch (o.longlong ()); + } + + void DataValue:: + longlong (Type const& o) + { + dispatch (o.longlong ()); + } + + void DataValue:: + longlong_none (Type&) + { + } + + void DataValue:: + longlong_none (Type const&) + { + } + + void DataValue:: + ulonglong (Type& o) + { + dispatch (o.ulonglong ()); + } + + void DataValue:: + ulonglong (Type const& o) + { + dispatch (o.ulonglong ()); + } + + void DataValue:: + ulonglong_none (Type&) + { + } + + void DataValue:: + ulonglong_none (Type const&) + { + } + + void DataValue:: + longdouble (Type& o) + { + dispatch (o.longdouble ()); + } + + void DataValue:: + longdouble (Type const& o) + { + dispatch (o.longdouble ()); + } + + void DataValue:: + longdouble_none (Type&) + { + } + + void DataValue:: + longdouble_none (Type const&) + { + } + + void DataValue:: + fixed (Type& o) + { + dispatch (o.fixed ()); + } + + void DataValue:: + fixed (Type const& o) + { + dispatch (o.fixed ()); + } + + void DataValue:: + fixed_none (Type&) + { + } + + void DataValue:: + fixed_none (Type const&) + { + } + + void DataValue:: + typecode (Type& o) + { + dispatch (o.typecode ()); + } + + void DataValue:: + typecode (Type const& o) + { + dispatch (o.typecode ()); + } + + void DataValue:: + typecode_none (Type&) + { + } + + void DataValue:: + typecode_none (Type const&) + { + } + + void DataValue:: + post (Type&) + { + } + + void DataValue:: + post (Type const&) + { + } + + // Any + // + // + + void Any:: + traverse (Type& o) + { + pre (o); + type (o); + value (o); + post (o); + } + + void Any:: + traverse (Type const& o) + { + pre (o); + type (o); + value (o); + post (o); + } + + void Any:: + pre (Type&) + { + } + + void Any:: + pre (Type const&) + { + } + + void Any:: + type (Type& o) + { + dispatch (o.type ()); + } + + void Any:: + type (Type const& o) + { + dispatch (o.type ()); + } + + void Any:: + value (Type& o) + { + dispatch (o.value ()); + } + + void Any:: + value (Type const& o) + { + dispatch (o.value ()); + } + + void Any:: + post (Type&) + { + } + + void Any:: + post (Type const&) + { + } + + // Property + // + // + + void Property:: + traverse (Type& o) + { + pre (o); + name (o); + value (o); + post (o); + } + + void Property:: + traverse (Type const& o) + { + pre (o); + name (o); + value (o); + post (o); + } + + void Property:: + pre (Type&) + { + } + + void Property:: + pre (Type const&) + { + } + + void Property:: + name (Type& o) + { + dispatch (o.name ()); + } + + void Property:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void Property:: + value (Type& o) + { + dispatch (o.value ()); + } + + void Property:: + value (Type const& o) + { + dispatch (o.value ()); + } + + void Property:: + post (Type&) + { + } + + void Property:: + post (Type const&) + { + } + + // Node + // + // + + void Node:: + traverse (Type& o) + { + pre (o); + name (o); + label (o); + post (o); + } + + void Node:: + traverse (Type const& o) + { + pre (o); + name (o); + label (o); + post (o); + } + + void Node:: + pre (Type&) + { + } + + void Node:: + pre (Type const&) + { + } + + void Node:: + name (Type& o) + { + dispatch (o.name ()); + } + + void Node:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void Node:: + label (Type& o) + { + dispatch (o.label ()); + } + + void Node:: + label (Type const& o) + { + dispatch (o.label ()); + } + + void Node:: + post (Type&) + { + } + + void Node:: + post (Type const&) + { + } + + // SatisfierProperty + // + // + + void SatisfierProperty:: + traverse (Type& o) + { + pre (o); + name (o); + kind (o); + value (o); + post (o); + } + + void SatisfierProperty:: + traverse (Type const& o) + { + pre (o); + name (o); + kind (o); + value (o); + post (o); + } + + void SatisfierProperty:: + pre (Type&) + { + } + + void SatisfierProperty:: + pre (Type const&) + { + } + + void SatisfierProperty:: + name (Type& o) + { + dispatch (o.name ()); + } + + void SatisfierProperty:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void SatisfierProperty:: + kind (Type& o) + { + dispatch (o.kind ()); + } + + void SatisfierProperty:: + kind (Type const& o) + { + dispatch (o.kind ()); + } + + void SatisfierProperty:: + value (Type& o) + { + dispatch (o.value ()); + } + + void SatisfierProperty:: + value (Type const& o) + { + dispatch (o.value ()); + } + + void SatisfierProperty:: + post (Type&) + { + } + + void SatisfierProperty:: + post (Type const&) + { + } + + // Resource + // + // + + void Resource:: + traverse (Type& o) + { + pre (o); + name (o); + resourceType (o); + property (o); + post (o); + } + + void Resource:: + traverse (Type const& o) + { + pre (o); + name (o); + resourceType (o); + property (o); + post (o); + } + + void Resource:: + pre (Type&) + { + } + + void Resource:: + pre (Type const&) + { + } + + void Resource:: + name (Type& o) + { + dispatch (o.name ()); + } + + void Resource:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void Resource:: + resourceType (Type& o) + { + dispatch (o.resourceType ()); + } + + void Resource:: + resourceType (Type const& o) + { + dispatch (o.resourceType ()); + } + + void Resource:: + property (Type& o) + { + dispatch (o.property ()); + } + + void Resource:: + property (Type const& o) + { + dispatch (o.property ()); + } + + void Resource:: + post (Type&) + { + } + + void Resource:: + post (Type const&) + { + } + + // SharedResource + // + // + + 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:: + pre (Type&) + { + } + + void SharedResource:: + pre (Type const&) + { + } + + void SharedResource:: + name (Type& 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 const& o) + { + dispatch (o.resourceType ()); + } + + void SharedResource:: + node (Type& 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 const& o) + { + dispatch (o.property ()); + } + + void SharedResource:: + post (Type&) + { + } + + void SharedResource:: + post (Type const&) + { + } + + // Requirement + // + // + + void Requirement:: + traverse (Type& o) + { + pre (o); + resourceType (o); + name (o); + property (o); + post (o); + } + + void Requirement:: + traverse (Type const& o) + { + pre (o); + resourceType (o); + name (o); + property (o); + post (o); + } + + void Requirement:: + pre (Type&) + { + } + + void Requirement:: + pre (Type const&) + { + } + + void Requirement:: + resourceType (Type& o) + { + dispatch (o.resourceType ()); + } + + void Requirement:: + resourceType (Type const& o) + { + dispatch (o.resourceType ()); + } + + void Requirement:: + name (Type& o) + { + dispatch (o.name ()); + } + + void Requirement:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void Requirement:: + property (Type& o) + { + dispatch (o.property ()); + } + + void Requirement:: + property (Type const& o) + { + dispatch (o.property ()); + } + + void Requirement:: + post (Type&) + { + } + + void Requirement:: + post (Type const&) + { + } + + // ResourceDeploymentDescription + // + // + + void ResourceDeploymentDescription:: + traverse (Type& o) + { + pre (o); + requirementName (o); + resourceName (o); + resourceValue (o); + post (o); + } + + void ResourceDeploymentDescription:: + traverse (Type const& o) + { + pre (o); + requirementName (o); + resourceName (o); + resourceValue (o); + post (o); + } + + void ResourceDeploymentDescription:: + pre (Type&) + { + } + + void ResourceDeploymentDescription:: + pre (Type const&) + { + } + + void ResourceDeploymentDescription:: + requirementName (Type& o) + { + dispatch (o.requirementName ()); + } + + void ResourceDeploymentDescription:: + requirementName (Type const& o) + { + dispatch (o.requirementName ()); + } + + void ResourceDeploymentDescription:: + resourceName (Type& o) + { + dispatch (o.resourceName ()); + } + + void ResourceDeploymentDescription:: + resourceName (Type const& o) + { + dispatch (o.resourceName ()); + } + + void ResourceDeploymentDescription:: + resourceValue (Type& o) + { + dispatch (o.resourceValue ()); + } + + void ResourceDeploymentDescription:: + resourceValue (Type const& o) + { + dispatch (o.resourceValue ()); + } + + void ResourceDeploymentDescription:: + post (Type&) + { + } + + void ResourceDeploymentDescription:: + post (Type const&) + { + } + + // ArtifactDeploymentDescription + // + // + + 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 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 ArtifactDeploymentDescription:: + pre (Type&) + { + } + + void ArtifactDeploymentDescription:: + pre (Type const&) + { + } + + void ArtifactDeploymentDescription:: + name (Type& o) + { + dispatch (o.name ()); + } + + void ArtifactDeploymentDescription:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void ArtifactDeploymentDescription:: + source (Type& o) + { + // VC6 anathema strikes again + // + ArtifactDeploymentDescription::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 ArtifactDeploymentDescription:: + source (Type const& o) + { + // VC6 anathema strikes again + // + ArtifactDeploymentDescription::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 ArtifactDeploymentDescription:: + source_pre (Type&) + { + } + + void ArtifactDeploymentDescription:: + source_pre (Type const&) + { + } + + void ArtifactDeploymentDescription:: + source_next (Type&) + { + } + + void ArtifactDeploymentDescription:: + source_next (Type const&) + { + } + + void ArtifactDeploymentDescription:: + source_post (Type&) + { + } + + void ArtifactDeploymentDescription:: + source_post (Type const&) + { + } + + void ArtifactDeploymentDescription:: + node (Type& o) + { + dispatch (o.node ()); + } + + void ArtifactDeploymentDescription:: + node (Type const& o) + { + dispatch (o.node ()); + } + + void ArtifactDeploymentDescription:: + location (Type& o) + { + // VC6 anathema strikes again + // + ArtifactDeploymentDescription::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); + } + } + + void ArtifactDeploymentDescription:: + location (Type const& o) + { + // VC6 anathema strikes again + // + ArtifactDeploymentDescription::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); + } + } + + void ArtifactDeploymentDescription:: + location_pre (Type&) + { + } + + void ArtifactDeploymentDescription:: + location_pre (Type const&) + { + } + + void ArtifactDeploymentDescription:: + location_next (Type&) + { + } + + void ArtifactDeploymentDescription:: + location_next (Type const&) + { + } + + void ArtifactDeploymentDescription:: + location_post (Type&) + { + } + + void ArtifactDeploymentDescription:: + location_post (Type const&) + { + } + + void ArtifactDeploymentDescription:: + execParameter (Type& o) + { + // VC6 anathema strikes again + // + ArtifactDeploymentDescription::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 ArtifactDeploymentDescription:: + execParameter (Type const& o) + { + // VC6 anathema strikes again + // + ArtifactDeploymentDescription::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 ArtifactDeploymentDescription:: + execParameter_pre (Type&) + { + } + + void ArtifactDeploymentDescription:: + execParameter_pre (Type const&) + { + } + + void ArtifactDeploymentDescription:: + execParameter_next (Type&) + { + } + + void ArtifactDeploymentDescription:: + execParameter_next (Type const&) + { + } + + void ArtifactDeploymentDescription:: + execParameter_post (Type&) + { + } + + void ArtifactDeploymentDescription:: + execParameter_post (Type const&) + { + } + + void ArtifactDeploymentDescription:: + execParameter_none (Type&) + { + } + + void ArtifactDeploymentDescription:: + execParameter_none (Type const&) + { + } + + void ArtifactDeploymentDescription:: + deployRequirement (Type& o) + { + // VC6 anathema strikes again + // + ArtifactDeploymentDescription::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 ArtifactDeploymentDescription:: + deployRequirement (Type const& o) + { + // VC6 anathema strikes again + // + ArtifactDeploymentDescription::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 ArtifactDeploymentDescription:: + deployRequirement_pre (Type&) + { + } + + void ArtifactDeploymentDescription:: + deployRequirement_pre (Type const&) + { + } + + void ArtifactDeploymentDescription:: + deployRequirement_next (Type&) + { + } + + void ArtifactDeploymentDescription:: + deployRequirement_next (Type const&) + { + } + + void ArtifactDeploymentDescription:: + deployRequirement_post (Type&) + { + } + + void ArtifactDeploymentDescription:: + deployRequirement_post (Type const&) + { + } + + void ArtifactDeploymentDescription:: + deployRequirement_none (Type&) + { + } + + void ArtifactDeploymentDescription:: + deployRequirement_none (Type const&) + { + } + + void ArtifactDeploymentDescription:: + deployedResource (Type& o) + { + // VC6 anathema strikes again + // + ArtifactDeploymentDescription::Type::deployedResource_iterator b (o.begin_deployedResource()), e (o.end_deployedResource()); + + if (b != e) + { + deployedResource_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) deployedResource_next (o); + } + + deployedResource_post (o); + } + + else deployedResource_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()); + + if (b != e) + { + deployedResource_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) deployedResource_next (o); + } + + deployedResource_post (o); + } + + else deployedResource_none (o); + } + + void ArtifactDeploymentDescription:: + deployedResource_pre (Type&) + { + } + + void ArtifactDeploymentDescription:: + deployedResource_pre (Type const&) + { + } + + void ArtifactDeploymentDescription:: + deployedResource_next (Type&) + { + } + + void ArtifactDeploymentDescription:: + deployedResource_next (Type const&) + { + } + + void ArtifactDeploymentDescription:: + deployedResource_post (Type&) + { + } + + void ArtifactDeploymentDescription:: + deployedResource_post (Type const&) + { + } + + void ArtifactDeploymentDescription:: + deployedResource_none (Type&) + { + } + + void ArtifactDeploymentDescription:: + deployedResource_none (Type const&) + { + } + + void ArtifactDeploymentDescription:: + id (Type& o) + { + dispatch (o.id ()); + } + + void ArtifactDeploymentDescription:: + id (Type const& o) + { + dispatch (o.id ()); + } + + void ArtifactDeploymentDescription:: + id_none (Type&) + { + } + + void ArtifactDeploymentDescription:: + id_none (Type const&) + { + } + + void ArtifactDeploymentDescription:: + post (Type&) + { + } + + void ArtifactDeploymentDescription:: + post (Type const&) + { + } + + // MonolithicDeploymentDescription + // + // + + 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 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 MonolithicDeploymentDescription:: + pre (Type&) + { + } + + void MonolithicDeploymentDescription:: + pre (Type const&) + { + } + + void MonolithicDeploymentDescription:: + name (Type& o) + { + dispatch (o.name ()); + } + + void MonolithicDeploymentDescription:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void MonolithicDeploymentDescription:: + source (Type& o) + { + // VC6 anathema strikes again + // + MonolithicDeploymentDescription::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 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) + { + source_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) source_next (o); + } + + source_post (o); + } + } + + void MonolithicDeploymentDescription:: + source_pre (Type&) + { + } + + void MonolithicDeploymentDescription:: + source_pre (Type const&) + { + } + + void MonolithicDeploymentDescription:: + source_next (Type&) + { + } + + void MonolithicDeploymentDescription:: + source_next (Type const&) + { + } + + void MonolithicDeploymentDescription:: + source_post (Type&) + { + } + + void MonolithicDeploymentDescription:: + source_post (Type const&) + { + } + + void MonolithicDeploymentDescription:: + artifact (Type& o) + { + // VC6 anathema strikes again + // + MonolithicDeploymentDescription::Type::artifact_iterator b (o.begin_artifact()), e (o.end_artifact()); + + if (b != e) + { + artifact_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) artifact_next (o); + } + + artifact_post (o); + } + } + + void MonolithicDeploymentDescription:: + artifact (Type const& o) + { + // VC6 anathema strikes again + // + MonolithicDeploymentDescription::Type::artifact_const_iterator b (o.begin_artifact()), e (o.end_artifact()); + + if (b != e) + { + artifact_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) artifact_next (o); + } + + artifact_post (o); + } + } + + void MonolithicDeploymentDescription:: + artifact_pre (Type&) + { + } + + void MonolithicDeploymentDescription:: + artifact_pre (Type const&) + { + } + + void MonolithicDeploymentDescription:: + artifact_next (Type&) + { + } + + void MonolithicDeploymentDescription:: + artifact_next (Type const&) + { + } + + void MonolithicDeploymentDescription:: + artifact_post (Type&) + { + } + + void MonolithicDeploymentDescription:: + artifact_post (Type const&) + { + } + + void MonolithicDeploymentDescription:: + execParameter (Type& o) + { + // VC6 anathema strikes again + // + MonolithicDeploymentDescription::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); + } + } + + void MonolithicDeploymentDescription:: + execParameter (Type const& o) + { + // VC6 anathema strikes again + // + MonolithicDeploymentDescription::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); + } + } + + void MonolithicDeploymentDescription:: + execParameter_pre (Type&) + { + } + + void MonolithicDeploymentDescription:: + execParameter_pre (Type const&) + { + } + + void MonolithicDeploymentDescription:: + execParameter_next (Type&) + { + } + + void MonolithicDeploymentDescription:: + execParameter_next (Type const&) + { + } + + void MonolithicDeploymentDescription:: + execParameter_post (Type&) + { + } + + void MonolithicDeploymentDescription:: + execParameter_post (Type const&) + { + } + + void MonolithicDeploymentDescription:: + deployRequirement (Type& o) + { + // VC6 anathema strikes again + // + MonolithicDeploymentDescription::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); + } + } + + void MonolithicDeploymentDescription:: + deployRequirement (Type const& o) + { + // VC6 anathema strikes again + // + MonolithicDeploymentDescription::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); + } + } + + void MonolithicDeploymentDescription:: + deployRequirement_pre (Type&) + { + } + + void MonolithicDeploymentDescription:: + deployRequirement_pre (Type const&) + { + } + + void MonolithicDeploymentDescription:: + deployRequirement_next (Type&) + { + } + + void MonolithicDeploymentDescription:: + deployRequirement_next (Type const&) + { + } + + void MonolithicDeploymentDescription:: + deployRequirement_post (Type&) + { + } + + void MonolithicDeploymentDescription:: + deployRequirement_post (Type const&) + { + } + + void MonolithicDeploymentDescription:: + id (Type& o) + { + dispatch (o.id ()); + } + + void MonolithicDeploymentDescription:: + id (Type const& o) + { + dispatch (o.id ()); + } + + void MonolithicDeploymentDescription:: + id_none (Type&) + { + } + + void MonolithicDeploymentDescription:: + id_none (Type const&) + { + } + + void MonolithicDeploymentDescription:: + post (Type&) + { + } + + void MonolithicDeploymentDescription:: + post (Type const&) + { + } + + // InstanceResourceDeploymentDescription + // + // + + void InstanceResourceDeploymentDescription:: + traverse (Type& o) + { + pre (o); + resourceUsage (o); + requirementName (o); + resourceName (o); + resourceValue (o); + post (o); + } + + void InstanceResourceDeploymentDescription:: + traverse (Type const& o) + { + pre (o); + resourceUsage (o); + requirementName (o); + resourceName (o); + resourceValue (o); + post (o); + } + + void InstanceResourceDeploymentDescription:: + pre (Type&) + { + } + + void InstanceResourceDeploymentDescription:: + pre (Type const&) + { + } + + void InstanceResourceDeploymentDescription:: + resourceUsage (Type& o) + { + dispatch (o.resourceUsage ()); + } + + void InstanceResourceDeploymentDescription:: + resourceUsage (Type const& o) + { + dispatch (o.resourceUsage ()); + } + + void InstanceResourceDeploymentDescription:: + requirementName (Type& o) + { + dispatch (o.requirementName ()); + } + + void InstanceResourceDeploymentDescription:: + requirementName (Type const& o) + { + dispatch (o.requirementName ()); + } + + void InstanceResourceDeploymentDescription:: + resourceName (Type& o) + { + dispatch (o.resourceName ()); + } + + void InstanceResourceDeploymentDescription:: + resourceName (Type const& o) + { + dispatch (o.resourceName ()); + } + + void InstanceResourceDeploymentDescription:: + resourceValue (Type& o) + { + dispatch (o.resourceValue ()); + } + + void InstanceResourceDeploymentDescription:: + resourceValue (Type const& o) + { + dispatch (o.resourceValue ()); + } + + void InstanceResourceDeploymentDescription:: + post (Type&) + { + } + + void InstanceResourceDeploymentDescription:: + post (Type const&) + { + } + + // InstanceDeploymentDescription + // + // + + 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 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 InstanceDeploymentDescription:: + pre (Type&) + { + } + + void InstanceDeploymentDescription:: + pre (Type const&) + { + } + + void InstanceDeploymentDescription:: + name (Type& o) + { + dispatch (o.name ()); + } + + void InstanceDeploymentDescription:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void InstanceDeploymentDescription:: + node (Type& o) + { + dispatch (o.node ()); + } + + void InstanceDeploymentDescription:: + node (Type const& o) + { + dispatch (o.node ()); + } + + void InstanceDeploymentDescription:: + source (Type& o) + { + dispatch (o.source ()); + } + + void InstanceDeploymentDescription:: + source (Type const& o) + { + dispatch (o.source ()); + } + + void InstanceDeploymentDescription:: + implementation (Type& o) + { + dispatch (o.implementation ()); + } + + void InstanceDeploymentDescription:: + implementation (Type const& o) + { + dispatch (o.implementation ()); + } + + void InstanceDeploymentDescription:: + configProperty (Type& o) + { + // VC6 anathema strikes again + // + InstanceDeploymentDescription::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 InstanceDeploymentDescription:: + configProperty (Type const& o) + { + // VC6 anathema strikes again + // + InstanceDeploymentDescription::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 InstanceDeploymentDescription:: + configProperty_pre (Type&) + { + } + + void InstanceDeploymentDescription:: + configProperty_pre (Type const&) + { + } + + void InstanceDeploymentDescription:: + configProperty_next (Type&) + { + } + + void InstanceDeploymentDescription:: + configProperty_next (Type const&) + { + } + + void InstanceDeploymentDescription:: + configProperty_post (Type&) + { + } + + void InstanceDeploymentDescription:: + configProperty_post (Type const&) + { + } + + void InstanceDeploymentDescription:: + configProperty_none (Type&) + { + } + + void InstanceDeploymentDescription:: + configProperty_none (Type const&) + { + } + + void InstanceDeploymentDescription:: + deployedResource (Type& o) + { + dispatch (o.deployedResource ()); + } + + void InstanceDeploymentDescription:: + deployedResource (Type const& o) + { + dispatch (o.deployedResource ()); + } + + void InstanceDeploymentDescription:: + deployedResource_none (Type&) + { + } + + void InstanceDeploymentDescription:: + deployedResource_none (Type const&) + { + } + + void InstanceDeploymentDescription:: + deployedSharedResource (Type& o) + { + dispatch (o.deployedSharedResource ()); + } + + void InstanceDeploymentDescription:: + deployedSharedResource (Type const& o) + { + dispatch (o.deployedSharedResource ()); + } + + void InstanceDeploymentDescription:: + deployedSharedResource_none (Type&) + { + } + + void InstanceDeploymentDescription:: + deployedSharedResource_none (Type const&) + { + } + + void InstanceDeploymentDescription:: + id (Type& o) + { + dispatch (o.id ()); + } + + void InstanceDeploymentDescription:: + id (Type const& o) + { + dispatch (o.id ()); + } + + void InstanceDeploymentDescription:: + id_none (Type&) + { + } + + void InstanceDeploymentDescription:: + id_none (Type const&) + { + } + + void InstanceDeploymentDescription:: + post (Type&) + { + } + + void InstanceDeploymentDescription:: + post (Type const&) + { + } + + // ComponentPortDescription + // + // + + void ComponentPortDescription:: + traverse (Type& o) + { + pre (o); + name (o); + specificType (o); + supportedType (o); + provider (o); + exclusiveProvider (o); + exclusiveUser (o); + optional (o); + kind (o); + post (o); + } + + void ComponentPortDescription:: + traverse (Type const& o) + { + pre (o); + name (o); + specificType (o); + supportedType (o); + provider (o); + exclusiveProvider (o); + exclusiveUser (o); + optional (o); + kind (o); + post (o); + } + + void ComponentPortDescription:: + pre (Type&) + { + } + + void ComponentPortDescription:: + pre (Type const&) + { + } + + void ComponentPortDescription:: + name (Type& o) + { + dispatch (o.name ()); + } + + void ComponentPortDescription:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void ComponentPortDescription:: + specificType (Type& o) + { + dispatch (o.specificType ()); + } + + void ComponentPortDescription:: + specificType (Type const& o) + { + dispatch (o.specificType ()); + } + + void ComponentPortDescription:: + supportedType (Type& o) + { + dispatch (o.supportedType ()); + } + + void ComponentPortDescription:: + supportedType (Type const& o) + { + dispatch (o.supportedType ()); + } + + void ComponentPortDescription:: + provider (Type& o) + { + dispatch (o.provider ()); + } + + void ComponentPortDescription:: + provider (Type const& o) + { + dispatch (o.provider ()); + } + + void ComponentPortDescription:: + exclusiveProvider (Type& o) + { + dispatch (o.exclusiveProvider ()); + } + + void ComponentPortDescription:: + exclusiveProvider (Type const& o) + { + dispatch (o.exclusiveProvider ()); + } + + void ComponentPortDescription:: + exclusiveUser (Type& o) + { + dispatch (o.exclusiveUser ()); + } + + void ComponentPortDescription:: + exclusiveUser (Type const& o) + { + dispatch (o.exclusiveUser ()); + } + + void ComponentPortDescription:: + optional (Type& o) + { + dispatch (o.optional ()); + } + + void ComponentPortDescription:: + optional (Type const& o) + { + dispatch (o.optional ()); + } + + void ComponentPortDescription:: + kind (Type& o) + { + dispatch (o.kind ()); + } + + void ComponentPortDescription:: + kind (Type const& o) + { + dispatch (o.kind ()); + } + + void ComponentPortDescription:: + post (Type&) + { + } + + void ComponentPortDescription:: + post (Type const&) + { + } + + // ComponentPropertyDescription + // + // + + void ComponentPropertyDescription:: + traverse (Type& o) + { + pre (o); + name (o); + type (o); + post (o); + } + + void ComponentPropertyDescription:: + traverse (Type const& o) + { + pre (o); + name (o); + type (o); + post (o); + } + + void ComponentPropertyDescription:: + pre (Type&) + { + } + + void ComponentPropertyDescription:: + pre (Type const&) + { + } + + void ComponentPropertyDescription:: + name (Type& o) + { + dispatch (o.name ()); + } + + void ComponentPropertyDescription:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void ComponentPropertyDescription:: + type (Type& o) + { + dispatch (o.type ()); + } + + void ComponentPropertyDescription:: + type (Type const& o) + { + dispatch (o.type ()); + } + + void ComponentPropertyDescription:: + post (Type&) + { + } + + void ComponentPropertyDescription:: + post (Type const&) + { + } + + // ComponentExternalPortEndpoint + // + // + + void ComponentExternalPortEndpoint:: + traverse (Type& o) + { + pre (o); + portName (o); + post (o); + } + + void ComponentExternalPortEndpoint:: + traverse (Type const& o) + { + pre (o); + portName (o); + post (o); + } + + void ComponentExternalPortEndpoint:: + pre (Type&) + { + } + + void ComponentExternalPortEndpoint:: + pre (Type const&) + { + } + + void ComponentExternalPortEndpoint:: + portName (Type& o) + { + dispatch (o.portName ()); + } + + void ComponentExternalPortEndpoint:: + portName (Type const& o) + { + dispatch (o.portName ()); + } + + void ComponentExternalPortEndpoint:: + post (Type&) + { + } + + void ComponentExternalPortEndpoint:: + post (Type const&) + { + } + + // PlanSubcomponentPortEndpoint + // + // + + 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 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 PlanSubcomponentPortEndpoint:: + pre (Type&) + { + } + + void PlanSubcomponentPortEndpoint:: + pre (Type const&) + { + } + + void PlanSubcomponentPortEndpoint:: + portName (Type& o) + { + dispatch (o.portName ()); + } + + void PlanSubcomponentPortEndpoint:: + portName (Type const& o) + { + dispatch (o.portName ()); + } + + void PlanSubcomponentPortEndpoint:: + provider (Type& o) + { + dispatch (o.provider ()); + } + + void PlanSubcomponentPortEndpoint:: + provider (Type const& o) + { + dispatch (o.provider ()); + } + + void PlanSubcomponentPortEndpoint:: + provider_none (Type&) + { + } + + void PlanSubcomponentPortEndpoint:: + provider_none (Type const&) + { + } + + void PlanSubcomponentPortEndpoint:: + kind (Type& o) + { + dispatch (o.kind ()); + } + + void PlanSubcomponentPortEndpoint:: + kind (Type const& o) + { + dispatch (o.kind ()); + } + + void PlanSubcomponentPortEndpoint:: + instance (Type& o) + { + dispatch (o.instance ()); + } + + void PlanSubcomponentPortEndpoint:: + instance (Type const& o) + { + dispatch (o.instance ()); + } + + void PlanSubcomponentPortEndpoint:: + post (Type&) + { + } + + void PlanSubcomponentPortEndpoint:: + post (Type const&) + { + } + + // ExternalReferenceEndpoint + // + // + + void ExternalReferenceEndpoint:: + traverse (Type& o) + { + pre (o); + location (o); + post (o); + } + + void ExternalReferenceEndpoint:: + traverse (Type const& o) + { + pre (o); + location (o); + post (o); + } + + void ExternalReferenceEndpoint:: + pre (Type&) + { + } + + void ExternalReferenceEndpoint:: + pre (Type const&) + { + } + + void ExternalReferenceEndpoint:: + location (Type& o) + { + dispatch (o.location ()); + } + + void ExternalReferenceEndpoint:: + location (Type const& o) + { + dispatch (o.location ()); + } + + void ExternalReferenceEndpoint:: + post (Type&) + { + } + + void ExternalReferenceEndpoint:: + post (Type const&) + { + } + + // ConnectionResourceDeploymentDescription + // + // + + void ConnectionResourceDeploymentDescription:: + traverse (Type& o) + { + pre (o); + targetName (o); + requirementName (o); + resourceName (o); + resourceValue (o); + post (o); + } + + void ConnectionResourceDeploymentDescription:: + traverse (Type const& o) + { + pre (o); + targetName (o); + requirementName (o); + resourceName (o); + resourceValue (o); + post (o); + } + + void ConnectionResourceDeploymentDescription:: + pre (Type&) + { + } + + void ConnectionResourceDeploymentDescription:: + pre (Type const&) + { + } + + void ConnectionResourceDeploymentDescription:: + targetName (Type& o) + { + dispatch (o.targetName ()); + } + + void ConnectionResourceDeploymentDescription:: + targetName (Type const& o) + { + dispatch (o.targetName ()); + } + + void ConnectionResourceDeploymentDescription:: + requirementName (Type& o) + { + dispatch (o.requirementName ()); + } + + void ConnectionResourceDeploymentDescription:: + requirementName (Type const& o) + { + dispatch (o.requirementName ()); + } + + void ConnectionResourceDeploymentDescription:: + resourceName (Type& o) + { + dispatch (o.resourceName ()); + } + + void ConnectionResourceDeploymentDescription:: + resourceName (Type const& o) + { + dispatch (o.resourceName ()); + } + + void ConnectionResourceDeploymentDescription:: + resourceValue (Type& o) + { + dispatch (o.resourceValue ()); + } + + void ConnectionResourceDeploymentDescription:: + resourceValue (Type const& o) + { + dispatch (o.resourceValue ()); + } + + void ConnectionResourceDeploymentDescription:: + post (Type&) + { + } + + void ConnectionResourceDeploymentDescription:: + post (Type const&) + { + } + + // PlanConnectionDescription + // + // + + 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 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 PlanConnectionDescription:: + pre (Type&) + { + } + + void PlanConnectionDescription:: + pre (Type const&) + { + } + + void PlanConnectionDescription:: + name (Type& o) + { + dispatch (o.name ()); + } + + void PlanConnectionDescription:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void PlanConnectionDescription:: + source (Type& o) + { + dispatch (o.source ()); + } + + void PlanConnectionDescription:: + source (Type const& o) + { + dispatch (o.source ()); + } + + void PlanConnectionDescription:: + source_none (Type&) + { + } + + void PlanConnectionDescription:: + source_none (Type const&) + { + } + + void PlanConnectionDescription:: + deployRequirement (Type& o) + { + // VC6 anathema strikes again + // + PlanConnectionDescription::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 PlanConnectionDescription:: + deployRequirement (Type const& o) + { + // VC6 anathema strikes again + // + PlanConnectionDescription::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 PlanConnectionDescription:: + deployRequirement_pre (Type&) + { + } + + void PlanConnectionDescription:: + deployRequirement_pre (Type const&) + { + } + + void PlanConnectionDescription:: + deployRequirement_next (Type&) + { + } + + void PlanConnectionDescription:: + deployRequirement_next (Type const&) + { + } + + void PlanConnectionDescription:: + deployRequirement_post (Type&) + { + } + + void PlanConnectionDescription:: + deployRequirement_post (Type const&) + { + } + + void PlanConnectionDescription:: + deployRequirement_none (Type&) + { + } + + void PlanConnectionDescription:: + deployRequirement_none (Type const&) + { + } + + void PlanConnectionDescription:: + externalEndpoint (Type& o) + { + // VC6 anathema strikes again + // + PlanConnectionDescription::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 PlanConnectionDescription:: + externalEndpoint (Type const& o) + { + // VC6 anathema strikes again + // + PlanConnectionDescription::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 PlanConnectionDescription:: + externalEndpoint_pre (Type&) + { + } + + void PlanConnectionDescription:: + externalEndpoint_pre (Type const&) + { + } + + void PlanConnectionDescription:: + externalEndpoint_next (Type&) + { + } + + void PlanConnectionDescription:: + externalEndpoint_next (Type const&) + { + } + + void PlanConnectionDescription:: + externalEndpoint_post (Type&) + { + } + + void PlanConnectionDescription:: + externalEndpoint_post (Type const&) + { + } + + void PlanConnectionDescription:: + externalEndpoint_none (Type&) + { + } + + void PlanConnectionDescription:: + externalEndpoint_none (Type const&) + { + } + + void PlanConnectionDescription:: + internalEndpoint (Type& o) + { + // VC6 anathema strikes again + // + PlanConnectionDescription::Type::internalEndpoint_iterator b (o.begin_internalEndpoint()), e (o.end_internalEndpoint()); + + 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 PlanConnectionDescription:: + internalEndpoint (Type const& o) + { + // VC6 anathema strikes again + // + PlanConnectionDescription::Type::internalEndpoint_const_iterator b (o.begin_internalEndpoint()), e (o.end_internalEndpoint()); + + 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 PlanConnectionDescription:: + internalEndpoint_pre (Type&) + { + } + + void PlanConnectionDescription:: + internalEndpoint_pre (Type const&) + { + } + + void PlanConnectionDescription:: + internalEndpoint_next (Type&) + { + } + + void PlanConnectionDescription:: + internalEndpoint_next (Type const&) + { + } + + void PlanConnectionDescription:: + internalEndpoint_post (Type&) + { + } + + void PlanConnectionDescription:: + internalEndpoint_post (Type const&) + { + } + + void PlanConnectionDescription:: + internalEndpoint_none (Type&) + { + } + + void PlanConnectionDescription:: + internalEndpoint_none (Type const&) + { + } + + void PlanConnectionDescription:: + externalReference (Type& o) + { + // VC6 anathema strikes again + // + PlanConnectionDescription::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 PlanConnectionDescription:: + externalReference (Type const& o) + { + // VC6 anathema strikes again + // + PlanConnectionDescription::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 PlanConnectionDescription:: + externalReference_pre (Type&) + { + } + + void PlanConnectionDescription:: + externalReference_pre (Type const&) + { + } + + void PlanConnectionDescription:: + externalReference_next (Type&) + { + } + + void PlanConnectionDescription:: + externalReference_next (Type const&) + { + } + + void PlanConnectionDescription:: + externalReference_post (Type&) + { + } + + void PlanConnectionDescription:: + externalReference_post (Type const&) + { + } + + void PlanConnectionDescription:: + externalReference_none (Type&) + { + } + + void PlanConnectionDescription:: + externalReference_none (Type const&) + { + } + + void PlanConnectionDescription:: + deployedResource (Type& o) + { + // VC6 anathema strikes again + // + PlanConnectionDescription::Type::deployedResource_iterator b (o.begin_deployedResource()), e (o.end_deployedResource()); + + if (b != e) + { + deployedResource_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) deployedResource_next (o); + } + + deployedResource_post (o); + } + + else deployedResource_none (o); + } + + 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) + { + deployedResource_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) deployedResource_next (o); + } + + deployedResource_post (o); + } + + else deployedResource_none (o); + } + + void PlanConnectionDescription:: + deployedResource_pre (Type&) + { + } + + void PlanConnectionDescription:: + deployedResource_pre (Type const&) + { + } + + void PlanConnectionDescription:: + deployedResource_next (Type&) + { + } + + void PlanConnectionDescription:: + deployedResource_next (Type const&) + { + } + + void PlanConnectionDescription:: + deployedResource_post (Type&) + { + } + + void PlanConnectionDescription:: + deployedResource_post (Type const&) + { + } + + void PlanConnectionDescription:: + deployedResource_none (Type&) + { + } + + void PlanConnectionDescription:: + deployedResource_none (Type const&) + { + } + + void PlanConnectionDescription:: + post (Type&) + { + } + + void PlanConnectionDescription:: + post (Type const&) + { + } + + // ImplementationDependency + // + // + + void ImplementationDependency:: + traverse (Type& o) + { + pre (o); + requiredType (o); + post (o); + } + + void ImplementationDependency:: + traverse (Type const& o) + { + pre (o); + requiredType (o); + post (o); + } + + void ImplementationDependency:: + pre (Type&) + { + } + + void ImplementationDependency:: + pre (Type const&) + { + } + + void ImplementationDependency:: + requiredType (Type& o) + { + dispatch (o.requiredType ()); + } + + void ImplementationDependency:: + requiredType (Type const& o) + { + dispatch (o.requiredType ()); + } + + void ImplementationDependency:: + post (Type&) + { + } + + void ImplementationDependency:: + post (Type const&) + { + } + + // Capability + // + // + + void Capability:: + traverse (Type& o) + { + pre (o); + name (o); + resourceType (o); + property (o); + post (o); + } + + void Capability:: + traverse (Type const& o) + { + pre (o); + name (o); + resourceType (o); + property (o); + post (o); + } + + void Capability:: + pre (Type&) + { + } + + void Capability:: + pre (Type const&) + { + } + + void Capability:: + name (Type& o) + { + dispatch (o.name ()); + } + + void Capability:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void Capability:: + resourceType (Type& o) + { + dispatch (o.resourceType ()); + } + + void Capability:: + resourceType (Type const& o) + { + dispatch (o.resourceType ()); + } + + void Capability:: + property (Type& o) + { + dispatch (o.property ()); + } + + void Capability:: + property (Type const& o) + { + dispatch (o.property ()); + } + + void Capability:: + post (Type&) + { + } + + void Capability:: + post (Type const&) + { + } + + // ImplementationRequirement + // + // + + void ImplementationRequirement:: + traverse (Type& o) + { + pre (o); + resourceUsage (o); + resourcePort (o); + componentPort (o); + resourceType (o); + name (o); + property (o); + post (o); + } + + void ImplementationRequirement:: + traverse (Type const& o) + { + pre (o); + resourceUsage (o); + resourcePort (o); + componentPort (o); + resourceType (o); + name (o); + property (o); + post (o); + } + + void ImplementationRequirement:: + pre (Type&) + { + } + + void ImplementationRequirement:: + pre (Type const&) + { + } + + void ImplementationRequirement:: + resourceUsage (Type& o) + { + dispatch (o.resourceUsage ()); + } + + void ImplementationRequirement:: + resourceUsage (Type const& o) + { + dispatch (o.resourceUsage ()); + } + + void ImplementationRequirement:: + resourcePort (Type& o) + { + dispatch (o.resourcePort ()); + } + + void ImplementationRequirement:: + resourcePort (Type const& o) + { + dispatch (o.resourcePort ()); + } + + void ImplementationRequirement:: + componentPort (Type& o) + { + dispatch (o.componentPort ()); + } + + void ImplementationRequirement:: + componentPort (Type const& o) + { + dispatch (o.componentPort ()); + } + + void ImplementationRequirement:: + resourceType (Type& o) + { + dispatch (o.resourceType ()); + } + + void ImplementationRequirement:: + resourceType (Type const& o) + { + dispatch (o.resourceType ()); + } + + void ImplementationRequirement:: + name (Type& o) + { + dispatch (o.name ()); + } + + void ImplementationRequirement:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void ImplementationRequirement:: + property (Type& o) + { + dispatch (o.property ()); + } + + void ImplementationRequirement:: + property (Type const& o) + { + dispatch (o.property ()); + } + + void ImplementationRequirement:: + post (Type&) + { + } + + void ImplementationRequirement:: + post (Type const&) + { + } + + // ComponentPackageReference + // + // + + void ComponentPackageReference:: + traverse (Type& o) + { + pre (o); + requiredUUID (o); + requiredName (o); + requiredType (o); + post (o); + } + + void ComponentPackageReference:: + traverse (Type const& o) + { + pre (o); + requiredUUID (o); + requiredName (o); + requiredType (o); + post (o); + } + + void ComponentPackageReference:: + pre (Type&) + { + } + + void ComponentPackageReference:: + pre (Type const&) + { + } + + void ComponentPackageReference:: + requiredUUID (Type& o) + { + dispatch (o.requiredUUID ()); + } + + void ComponentPackageReference:: + requiredUUID (Type const& o) + { + dispatch (o.requiredUUID ()); + } + + void ComponentPackageReference:: + requiredName (Type& o) + { + dispatch (o.requiredName ()); + } + + void ComponentPackageReference:: + requiredName (Type const& o) + { + dispatch (o.requiredName ()); + } + + void ComponentPackageReference:: + requiredType (Type& o) + { + dispatch (o.requiredType ()); + } + + void ComponentPackageReference:: + requiredType (Type const& o) + { + dispatch (o.requiredType ()); + } + + void ComponentPackageReference:: + post (Type&) + { + } + + void ComponentPackageReference:: + post (Type const&) + { + } + + // SubcomponentPortEndpoint + // + // + + void SubcomponentPortEndpoint:: + traverse (Type& o) + { + pre (o); + portName (o); + instance (o); + post (o); + } + + void SubcomponentPortEndpoint:: + traverse (Type const& o) + { + pre (o); + portName (o); + instance (o); + post (o); + } + + void SubcomponentPortEndpoint:: + pre (Type&) + { + } + + void SubcomponentPortEndpoint:: + pre (Type const&) + { + } + + void SubcomponentPortEndpoint:: + portName (Type& o) + { + dispatch (o.portName ()); + } + + void SubcomponentPortEndpoint:: + portName (Type const& o) + { + dispatch (o.portName ()); + } + + void SubcomponentPortEndpoint:: + instance (Type& o) + { + dispatch (o.instance ()); + } + + void SubcomponentPortEndpoint:: + instance (Type const& o) + { + dispatch (o.instance ()); + } + + void SubcomponentPortEndpoint:: + post (Type&) + { + } + + void SubcomponentPortEndpoint:: + post (Type const&) + { + } + + // AssemblyConnectionDescription + // + // + + void AssemblyConnectionDescription:: + traverse (Type& o) + { + pre (o); + name (o); + if (o.deployRequirement_p ()) deployRequirement (o); + else deployRequirement_none (o); + externalEndpoint (o); + internalEndpoint (o); + externalReference (o); + post (o); + } + + void AssemblyConnectionDescription:: + traverse (Type const& o) + { + pre (o); + name (o); + if (o.deployRequirement_p ()) deployRequirement (o); + else deployRequirement_none (o); + externalEndpoint (o); + internalEndpoint (o); + externalReference (o); + post (o); + } + + void AssemblyConnectionDescription:: + pre (Type&) + { + } + + void AssemblyConnectionDescription:: + pre (Type const&) + { + } + + void AssemblyConnectionDescription:: + name (Type& o) + { + dispatch (o.name ()); + } + + void AssemblyConnectionDescription:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void AssemblyConnectionDescription:: + deployRequirement (Type& o) + { + dispatch (o.deployRequirement ()); + } + + void AssemblyConnectionDescription:: + deployRequirement (Type const& o) + { + dispatch (o.deployRequirement ()); + } + + void AssemblyConnectionDescription:: + deployRequirement_none (Type&) + { + } + + void AssemblyConnectionDescription:: + deployRequirement_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:: + internalEndpoint (Type& o) + { + // VC6 anathema strikes again + // + AssemblyConnectionDescription::Type::internalEndpoint_iterator b (o.begin_internalEndpoint()), e (o.end_internalEndpoint()); + + 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 (Type const& o) + { + // VC6 anathema strikes again + // + AssemblyConnectionDescription::Type::internalEndpoint_const_iterator b (o.begin_internalEndpoint()), e (o.end_internalEndpoint()); + + 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:: + 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&) + { + } + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + // TCKind + // + // + + TCKind:: + TCKind (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + TCKind:: + TCKind () + { + } + + void TCKind:: + traverse (Type const& o) + { + ::std::basic_string< char > 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< char >* a = attr_ ()) + { + a->value (s); + } + + else + { + top_().value (s); + } + } + + // DataType + // + // + + DataType:: + DataType (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + DataType:: + DataType () + { + } + + void DataType:: + traverse (Type const& o) + { + Traversal::DataType::traverse (o); + } + + void DataType:: + kind (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("kind", top_ ())); + Traversal::DataType::kind (o); + pop_ (); + } + + // DataValue + // + // + + DataValue:: + DataValue (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + DataValue:: + DataValue () + { + } + + void DataValue:: + traverse (Type const& o) + { + Traversal::DataValue::traverse (o); + } + + void DataValue:: + short_ (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("short", top_ ())); + Traversal::DataValue::short_ (o); + pop_ (); + } + + void DataValue:: + long_ (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("long", top_ ())); + Traversal::DataValue::long_ (o); + pop_ (); + } + + void DataValue:: + ushort (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("ushort", top_ ())); + Traversal::DataValue::ushort (o); + pop_ (); + } + + void DataValue:: + ulong (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("ulong", top_ ())); + Traversal::DataValue::ulong (o); + pop_ (); + } + + void DataValue:: + float_ (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("float", top_ ())); + Traversal::DataValue::float_ (o); + pop_ (); + } + + void DataValue:: + double_ (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("double", top_ ())); + Traversal::DataValue::double_ (o); + pop_ (); + } + + void DataValue:: + boolean (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("boolean", top_ ())); + Traversal::DataValue::boolean (o); + pop_ (); + } + + void DataValue:: + octet (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("octet", top_ ())); + Traversal::DataValue::octet (o); + pop_ (); + } + + void DataValue:: + objref (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("objref", top_ ())); + Traversal::DataValue::objref (o); + pop_ (); + } + + void DataValue:: + enum_ (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("enum", top_ ())); + Traversal::DataValue::enum_ (o); + pop_ (); + } + + void DataValue:: + string (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("string", top_ ())); + Traversal::DataValue::string (o); + pop_ (); + } + + void DataValue:: + longlong (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("longlong", top_ ())); + Traversal::DataValue::longlong (o); + pop_ (); + } + + void DataValue:: + ulonglong (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("ulonglong", top_ ())); + Traversal::DataValue::ulonglong (o); + pop_ (); + } + + void DataValue:: + longdouble (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("longdouble", top_ ())); + Traversal::DataValue::longdouble (o); + pop_ (); + } + + void DataValue:: + fixed (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("fixed", top_ ())); + Traversal::DataValue::fixed (o); + pop_ (); + } + + void DataValue:: + typecode (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("typecode", top_ ())); + Traversal::DataValue::typecode (o); + pop_ (); + } + + // Any + // + // + + Any:: + Any (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + Any:: + Any () + { + } + + void Any:: + traverse (Type const& o) + { + Traversal::Any::traverse (o); + } + + void Any:: + type (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("type", top_ ())); + Traversal::Any::type (o); + pop_ (); + } + + void Any:: + value (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("value", top_ ())); + Traversal::Any::value (o); + pop_ (); + } + + // Property + // + // + + Property:: + Property (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + Property:: + Property () + { + } + + void Property:: + traverse (Type const& o) + { + Traversal::Property::traverse (o); + } + + void Property:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("name", top_ ())); + Traversal::Property::name (o); + pop_ (); + } + + void Property:: + value (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("value", top_ ())); + Traversal::Property::value (o); + pop_ (); + } + + // Node + // + // + + Node:: + Node (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + Node:: + Node () + { + } + + void Node:: + traverse (Type const& o) + { + Traversal::Node::traverse (o); + } + + void Node:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("name", top_ ())); + Traversal::Node::name (o); + pop_ (); + } + + void Node:: + label (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("label", top_ ())); + Traversal::Node::label (o); + pop_ (); + } + + // SatisfierPropertyKind + // + // + + SatisfierPropertyKind:: + SatisfierPropertyKind (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + SatisfierPropertyKind:: + SatisfierPropertyKind () + { + } + + void SatisfierPropertyKind:: + traverse (Type const& o) + { + ::std::basic_string< char > 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< char >* a = attr_ ()) + { + a->value (s); + } + + else + { + top_().value (s); + } + } + + // SatisfierProperty + // + // + + SatisfierProperty:: + SatisfierProperty (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + SatisfierProperty:: + SatisfierProperty () + { + } + + void SatisfierProperty:: + traverse (Type const& o) + { + Traversal::SatisfierProperty::traverse (o); + } + + void SatisfierProperty:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("name", top_ ())); + Traversal::SatisfierProperty::name (o); + pop_ (); + } + + void SatisfierProperty:: + kind (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("kind", top_ ())); + Traversal::SatisfierProperty::kind (o); + pop_ (); + } + + void SatisfierProperty:: + value (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("value", top_ ())); + Traversal::SatisfierProperty::value (o); + pop_ (); + } + + // Resource + // + // + + Resource:: + Resource (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + Resource:: + Resource () + { + } + + void Resource:: + traverse (Type const& o) + { + Traversal::Resource::traverse (o); + } + + void Resource:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("name", top_ ())); + Traversal::Resource::name (o); + pop_ (); + } + + void Resource:: + resourceType (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("resourceType", top_ ())); + Traversal::Resource::resourceType (o); + pop_ (); + } + + void Resource:: + property (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("property", top_ ())); + Traversal::Resource::property (o); + pop_ (); + } + + // SharedResource + // + // + + SharedResource:: + SharedResource (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + SharedResource:: + SharedResource () + { + } + + void SharedResource:: + traverse (Type const& o) + { + Traversal::SharedResource::traverse (o); + } + + void SharedResource:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("name", top_ ())); + Traversal::SharedResource::name (o); + pop_ (); + } + + void SharedResource:: + resourceType (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("resourceType", top_ ())); + Traversal::SharedResource::resourceType (o); + pop_ (); + } + + void SharedResource:: + node (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("node", top_ ())); + Traversal::SharedResource::node (o); + pop_ (); + } + + void SharedResource:: + property (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("property", top_ ())); + Traversal::SharedResource::property (o); + pop_ (); + } + + // Requirement + // + // + + Requirement:: + Requirement (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + Requirement:: + Requirement () + { + } + + void Requirement:: + traverse (Type const& o) + { + Traversal::Requirement::traverse (o); + } + + void Requirement:: + resourceType (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("resourceType", top_ ())); + Traversal::Requirement::resourceType (o); + pop_ (); + } + + void Requirement:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("name", top_ ())); + Traversal::Requirement::name (o); + pop_ (); + } + + void Requirement:: + property (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("property", top_ ())); + Traversal::Requirement::property (o); + pop_ (); + } + + // ResourceDeploymentDescription + // + // + + ResourceDeploymentDescription:: + ResourceDeploymentDescription (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + ResourceDeploymentDescription:: + ResourceDeploymentDescription () + { + } + + void ResourceDeploymentDescription:: + traverse (Type const& o) + { + Traversal::ResourceDeploymentDescription::traverse (o); + } + + void ResourceDeploymentDescription:: + requirementName (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("requirementName", top_ ())); + Traversal::ResourceDeploymentDescription::requirementName (o); + pop_ (); + } + + void ResourceDeploymentDescription:: + resourceName (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("resourceName", top_ ())); + Traversal::ResourceDeploymentDescription::resourceName (o); + pop_ (); + } + + void ResourceDeploymentDescription:: + resourceValue (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("resourceValue", top_ ())); + Traversal::ResourceDeploymentDescription::resourceValue (o); + pop_ (); + } + + // ArtifactDeploymentDescription + // + // + + ArtifactDeploymentDescription:: + ArtifactDeploymentDescription (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + ArtifactDeploymentDescription:: + ArtifactDeploymentDescription () + { + } + + void ArtifactDeploymentDescription:: + traverse (Type const& o) + { + Traversal::ArtifactDeploymentDescription::traverse (o); + } + + void ArtifactDeploymentDescription:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("name", top_ ())); + Traversal::ArtifactDeploymentDescription::name (o); + pop_ (); + } + + void ArtifactDeploymentDescription:: + source_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("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< char > ("node", top_ ())); + Traversal::ArtifactDeploymentDescription::node (o); + pop_ (); + } + + void ArtifactDeploymentDescription:: + location_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("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< char > ("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< char > ("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< char > ("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< char > a ("id", "", top_ ()); + attr_ (&a); + Traversal::ArtifactDeploymentDescription::id (o); + attr_ (0); + } + + // MonolithicDeploymentDescription + // + // + + MonolithicDeploymentDescription:: + MonolithicDeploymentDescription (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + MonolithicDeploymentDescription:: + MonolithicDeploymentDescription () + { + } + + void MonolithicDeploymentDescription:: + traverse (Type const& o) + { + Traversal::MonolithicDeploymentDescription::traverse (o); + } + + void MonolithicDeploymentDescription:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("name", top_ ())); + Traversal::MonolithicDeploymentDescription::name (o); + pop_ (); + } + + void MonolithicDeploymentDescription:: + source_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("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< char > ("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< char > ("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< char > ("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< char > a ("id", "", top_ ()); + attr_ (&a); + Traversal::MonolithicDeploymentDescription::id (o); + attr_ (0); + } + + // ResourceUsageKind + // + // + + ResourceUsageKind:: + ResourceUsageKind (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + ResourceUsageKind:: + ResourceUsageKind () + { + } + + void ResourceUsageKind:: + traverse (Type const& o) + { + ::std::basic_string< char > 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< char >* a = attr_ ()) + { + a->value (s); + } + + else + { + top_().value (s); + } + } + + // InstanceResourceDeploymentDescription + // + // + + InstanceResourceDeploymentDescription:: + InstanceResourceDeploymentDescription (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + InstanceResourceDeploymentDescription:: + InstanceResourceDeploymentDescription () + { + } + + void InstanceResourceDeploymentDescription:: + traverse (Type const& o) + { + Traversal::InstanceResourceDeploymentDescription::traverse (o); + } + + void InstanceResourceDeploymentDescription:: + resourceUsage (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("resourceUsage", top_ ())); + Traversal::InstanceResourceDeploymentDescription::resourceUsage (o); + pop_ (); + } + + void InstanceResourceDeploymentDescription:: + requirementName (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("requirementName", top_ ())); + Traversal::InstanceResourceDeploymentDescription::requirementName (o); + pop_ (); + } + + void InstanceResourceDeploymentDescription:: + resourceName (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("resourceName", top_ ())); + Traversal::InstanceResourceDeploymentDescription::resourceName (o); + pop_ (); + } + + void InstanceResourceDeploymentDescription:: + resourceValue (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("resourceValue", top_ ())); + Traversal::InstanceResourceDeploymentDescription::resourceValue (o); + pop_ (); + } + + // InstanceDeploymentDescription + // + // + + InstanceDeploymentDescription:: + InstanceDeploymentDescription (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + InstanceDeploymentDescription:: + InstanceDeploymentDescription () + { + } + + void InstanceDeploymentDescription:: + traverse (Type const& o) + { + Traversal::InstanceDeploymentDescription::traverse (o); + } + + void InstanceDeploymentDescription:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("name", top_ ())); + Traversal::InstanceDeploymentDescription::name (o); + pop_ (); + } + + void InstanceDeploymentDescription:: + node (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("node", top_ ())); + Traversal::InstanceDeploymentDescription::node (o); + pop_ (); + } + + void InstanceDeploymentDescription:: + source (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("source", top_ ())); + Traversal::InstanceDeploymentDescription::source (o); + pop_ (); + } + + void InstanceDeploymentDescription:: + implementation (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("implementation", top_ ())); + Traversal::InstanceDeploymentDescription::implementation (o); + pop_ (); + } + + void InstanceDeploymentDescription:: + configProperty_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("configProperty", top_ ())); + } + + void InstanceDeploymentDescription:: + configProperty_next (Type const& o) + { + configProperty_post (o); + configProperty_pre (o); + } + + void InstanceDeploymentDescription:: + configProperty_post (Type const&) + { + pop_ (); + } + + void InstanceDeploymentDescription:: + deployedResource (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("deployedResource", top_ ())); + Traversal::InstanceDeploymentDescription::deployedResource (o); + pop_ (); + } + + void InstanceDeploymentDescription:: + deployedSharedResource (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("deployedSharedResource", top_ ())); + Traversal::InstanceDeploymentDescription::deployedSharedResource (o); + pop_ (); + } + + void InstanceDeploymentDescription:: + id (Type const& o) + { + ::XSCRT::XML::Attribute< char > a ("id", "", top_ ()); + attr_ (&a); + Traversal::InstanceDeploymentDescription::id (o); + attr_ (0); + } + + // CCMComponentPortKind + // + // + + CCMComponentPortKind:: + CCMComponentPortKind (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + CCMComponentPortKind:: + CCMComponentPortKind () + { + } + + void CCMComponentPortKind:: + traverse (Type const& o) + { + ::std::basic_string< char > 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< char >* a = attr_ ()) + { + a->value (s); + } + + else + { + top_().value (s); + } + } + + // ComponentPortDescription + // + // + + ComponentPortDescription:: + ComponentPortDescription (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + ComponentPortDescription:: + ComponentPortDescription () + { + } + + void ComponentPortDescription:: + traverse (Type const& o) + { + Traversal::ComponentPortDescription::traverse (o); + } + + void ComponentPortDescription:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("name", top_ ())); + Traversal::ComponentPortDescription::name (o); + pop_ (); + } + + void ComponentPortDescription:: + specificType (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("specificType", top_ ())); + Traversal::ComponentPortDescription::specificType (o); + pop_ (); + } + + void ComponentPortDescription:: + supportedType (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("supportedType", top_ ())); + Traversal::ComponentPortDescription::supportedType (o); + pop_ (); + } + + void ComponentPortDescription:: + provider (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("provider", top_ ())); + Traversal::ComponentPortDescription::provider (o); + pop_ (); + } + + void ComponentPortDescription:: + exclusiveProvider (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("exclusiveProvider", top_ ())); + Traversal::ComponentPortDescription::exclusiveProvider (o); + pop_ (); + } + + void ComponentPortDescription:: + exclusiveUser (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("exclusiveUser", top_ ())); + Traversal::ComponentPortDescription::exclusiveUser (o); + pop_ (); + } + + void ComponentPortDescription:: + optional (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("optional", top_ ())); + Traversal::ComponentPortDescription::optional (o); + pop_ (); + } + + void ComponentPortDescription:: + kind (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("kind", top_ ())); + Traversal::ComponentPortDescription::kind (o); + pop_ (); + } + + // ComponentPropertyDescription + // + // + + ComponentPropertyDescription:: + ComponentPropertyDescription (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + ComponentPropertyDescription:: + ComponentPropertyDescription () + { + } + + void ComponentPropertyDescription:: + traverse (Type const& o) + { + Traversal::ComponentPropertyDescription::traverse (o); + } + + void ComponentPropertyDescription:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("name", top_ ())); + Traversal::ComponentPropertyDescription::name (o); + pop_ (); + } + + void ComponentPropertyDescription:: + type (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("type", top_ ())); + Traversal::ComponentPropertyDescription::type (o); + pop_ (); + } + + // ComponentExternalPortEndpoint + // + // + + ComponentExternalPortEndpoint:: + ComponentExternalPortEndpoint (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + ComponentExternalPortEndpoint:: + ComponentExternalPortEndpoint () + { + } + + void ComponentExternalPortEndpoint:: + traverse (Type const& o) + { + Traversal::ComponentExternalPortEndpoint::traverse (o); + } + + void ComponentExternalPortEndpoint:: + portName (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("portName", top_ ())); + Traversal::ComponentExternalPortEndpoint::portName (o); + pop_ (); + } + + // PlanSubcomponentPortEndpoint + // + // + + PlanSubcomponentPortEndpoint:: + PlanSubcomponentPortEndpoint (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + PlanSubcomponentPortEndpoint:: + PlanSubcomponentPortEndpoint () + { + } + + void PlanSubcomponentPortEndpoint:: + traverse (Type const& o) + { + Traversal::PlanSubcomponentPortEndpoint::traverse (o); + } + + void PlanSubcomponentPortEndpoint:: + portName (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("portName", top_ ())); + Traversal::PlanSubcomponentPortEndpoint::portName (o); + pop_ (); + } + + void PlanSubcomponentPortEndpoint:: + provider (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("provider", top_ ())); + Traversal::PlanSubcomponentPortEndpoint::provider (o); + pop_ (); + } + + void PlanSubcomponentPortEndpoint:: + kind (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("kind", top_ ())); + Traversal::PlanSubcomponentPortEndpoint::kind (o); + pop_ (); + } + + void PlanSubcomponentPortEndpoint:: + instance (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("instance", top_ ())); + Traversal::PlanSubcomponentPortEndpoint::instance (o); + pop_ (); + } + + // ExternalReferenceEndpoint + // + // + + ExternalReferenceEndpoint:: + ExternalReferenceEndpoint (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + ExternalReferenceEndpoint:: + ExternalReferenceEndpoint () + { + } + + void ExternalReferenceEndpoint:: + traverse (Type const& o) + { + Traversal::ExternalReferenceEndpoint::traverse (o); + } + + void ExternalReferenceEndpoint:: + location (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("location", top_ ())); + Traversal::ExternalReferenceEndpoint::location (o); + pop_ (); + } + + // ConnectionResourceDeploymentDescription + // + // + + ConnectionResourceDeploymentDescription:: + ConnectionResourceDeploymentDescription (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + ConnectionResourceDeploymentDescription:: + ConnectionResourceDeploymentDescription () + { + } + + void ConnectionResourceDeploymentDescription:: + traverse (Type const& o) + { + Traversal::ConnectionResourceDeploymentDescription::traverse (o); + } + + void ConnectionResourceDeploymentDescription:: + targetName (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("targetName", top_ ())); + Traversal::ConnectionResourceDeploymentDescription::targetName (o); + pop_ (); + } + + void ConnectionResourceDeploymentDescription:: + requirementName (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("requirementName", top_ ())); + Traversal::ConnectionResourceDeploymentDescription::requirementName (o); + pop_ (); + } + + void ConnectionResourceDeploymentDescription:: + resourceName (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("resourceName", top_ ())); + Traversal::ConnectionResourceDeploymentDescription::resourceName (o); + pop_ (); + } + + void ConnectionResourceDeploymentDescription:: + resourceValue (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("resourceValue", top_ ())); + Traversal::ConnectionResourceDeploymentDescription::resourceValue (o); + pop_ (); + } + + // PlanConnectionDescription + // + // + + PlanConnectionDescription:: + PlanConnectionDescription (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + PlanConnectionDescription:: + PlanConnectionDescription () + { + } + + void PlanConnectionDescription:: + traverse (Type const& o) + { + Traversal::PlanConnectionDescription::traverse (o); + } + + void PlanConnectionDescription:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("name", top_ ())); + Traversal::PlanConnectionDescription::name (o); + pop_ (); + } + + void PlanConnectionDescription:: + source (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("source", top_ ())); + Traversal::PlanConnectionDescription::source (o); + pop_ (); + } + + void PlanConnectionDescription:: + deployRequirement_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("deployRequirement", top_ ())); + } + + void PlanConnectionDescription:: + deployRequirement_next (Type const& o) + { + deployRequirement_post (o); + deployRequirement_pre (o); + } + + void PlanConnectionDescription:: + deployRequirement_post (Type const&) + { + pop_ (); + } + + void PlanConnectionDescription:: + externalEndpoint_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("externalEndpoint", top_ ())); + } + + void PlanConnectionDescription:: + externalEndpoint_next (Type const& o) + { + externalEndpoint_post (o); + externalEndpoint_pre (o); + } + + void PlanConnectionDescription:: + externalEndpoint_post (Type const&) + { + pop_ (); + } + + void PlanConnectionDescription:: + internalEndpoint_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("internalEndpoint", top_ ())); + } + + void PlanConnectionDescription:: + internalEndpoint_next (Type const& o) + { + internalEndpoint_post (o); + internalEndpoint_pre (o); + } + + void PlanConnectionDescription:: + internalEndpoint_post (Type const&) + { + pop_ (); + } + + void PlanConnectionDescription:: + externalReference_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("externalReference", top_ ())); + } + + void PlanConnectionDescription:: + externalReference_next (Type const& o) + { + externalReference_post (o); + externalReference_pre (o); + } + + void PlanConnectionDescription:: + externalReference_post (Type const&) + { + pop_ (); + } + + void PlanConnectionDescription:: + deployedResource_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("deployedResource", top_ ())); + } + + void PlanConnectionDescription:: + deployedResource_next (Type const& o) + { + deployedResource_post (o); + deployedResource_pre (o); + } + + void PlanConnectionDescription:: + deployedResource_post (Type const&) + { + pop_ (); + } + + // ImplementationDependency + // + // + + ImplementationDependency:: + ImplementationDependency (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + ImplementationDependency:: + ImplementationDependency () + { + } + + void ImplementationDependency:: + traverse (Type const& o) + { + Traversal::ImplementationDependency::traverse (o); + } + + void ImplementationDependency:: + requiredType (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("requiredType", top_ ())); + Traversal::ImplementationDependency::requiredType (o); + pop_ (); + } + + // Capability + // + // + + Capability:: + Capability (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + Capability:: + Capability () + { + } + + void Capability:: + traverse (Type const& o) + { + Traversal::Capability::traverse (o); + } + + void Capability:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("name", top_ ())); + Traversal::Capability::name (o); + pop_ (); + } + + void Capability:: + resourceType (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("resourceType", top_ ())); + Traversal::Capability::resourceType (o); + pop_ (); + } + + void Capability:: + property (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("property", top_ ())); + Traversal::Capability::property (o); + pop_ (); + } + + // ImplementationRequirement + // + // + + ImplementationRequirement:: + ImplementationRequirement (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + ImplementationRequirement:: + ImplementationRequirement () + { + } + + void ImplementationRequirement:: + traverse (Type const& o) + { + Traversal::ImplementationRequirement::traverse (o); + } + + void ImplementationRequirement:: + resourceUsage (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("resourceUsage", top_ ())); + Traversal::ImplementationRequirement::resourceUsage (o); + pop_ (); + } + + void ImplementationRequirement:: + resourcePort (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("resourcePort", top_ ())); + Traversal::ImplementationRequirement::resourcePort (o); + pop_ (); + } + + void ImplementationRequirement:: + componentPort (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("componentPort", top_ ())); + Traversal::ImplementationRequirement::componentPort (o); + pop_ (); + } + + void ImplementationRequirement:: + resourceType (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("resourceType", top_ ())); + Traversal::ImplementationRequirement::resourceType (o); + pop_ (); + } + + void ImplementationRequirement:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("name", top_ ())); + Traversal::ImplementationRequirement::name (o); + pop_ (); + } + + void ImplementationRequirement:: + property (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("property", top_ ())); + Traversal::ImplementationRequirement::property (o); + pop_ (); + } + + // ComponentPackageReference + // + // + + ComponentPackageReference:: + ComponentPackageReference (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + ComponentPackageReference:: + ComponentPackageReference () + { + } + + void ComponentPackageReference:: + traverse (Type const& o) + { + Traversal::ComponentPackageReference::traverse (o); + } + + void ComponentPackageReference:: + requiredUUID (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("requiredUUID", top_ ())); + Traversal::ComponentPackageReference::requiredUUID (o); + pop_ (); + } + + void ComponentPackageReference:: + requiredName (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("requiredName", top_ ())); + Traversal::ComponentPackageReference::requiredName (o); + pop_ (); + } + + void ComponentPackageReference:: + requiredType (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("requiredType", top_ ())); + Traversal::ComponentPackageReference::requiredType (o); + pop_ (); + } + + // SubcomponentPortEndpoint + // + // + + SubcomponentPortEndpoint:: + SubcomponentPortEndpoint (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + SubcomponentPortEndpoint:: + SubcomponentPortEndpoint () + { + } + + void SubcomponentPortEndpoint:: + traverse (Type const& o) + { + Traversal::SubcomponentPortEndpoint::traverse (o); + } + + void SubcomponentPortEndpoint:: + portName (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("portName", top_ ())); + Traversal::SubcomponentPortEndpoint::portName (o); + pop_ (); + } + + void SubcomponentPortEndpoint:: + instance (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("instance", top_ ())); + Traversal::SubcomponentPortEndpoint::instance (o); + pop_ (); + } + + // AssemblyConnectionDescription + // + // + + AssemblyConnectionDescription:: + AssemblyConnectionDescription (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + AssemblyConnectionDescription:: + AssemblyConnectionDescription () + { + } + + void AssemblyConnectionDescription:: + traverse (Type const& o) + { + Traversal::AssemblyConnectionDescription::traverse (o); + } + + void AssemblyConnectionDescription:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("name", top_ ())); + Traversal::AssemblyConnectionDescription::name (o); + pop_ (); + } + + void AssemblyConnectionDescription:: + deployRequirement (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("deployRequirement", top_ ())); + Traversal::AssemblyConnectionDescription::deployRequirement (o); + pop_ (); + } + + void AssemblyConnectionDescription:: + externalEndpoint_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("externalEndpoint", top_ ())); + } + + void AssemblyConnectionDescription:: + externalEndpoint_next (Type const& o) + { + externalEndpoint_post (o); + externalEndpoint_pre (o); + } + + void AssemblyConnectionDescription:: + externalEndpoint_post (Type const&) + { + pop_ (); + } + + void AssemblyConnectionDescription:: + internalEndpoint_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("internalEndpoint", top_ ())); + } + + void AssemblyConnectionDescription:: + internalEndpoint_next (Type const& o) + { + internalEndpoint_post (o); + internalEndpoint_pre (o); + } + + void AssemblyConnectionDescription:: + internalEndpoint_post (Type const&) + { + pop_ (); + } + + void AssemblyConnectionDescription:: + externalReference_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("externalReference", top_ ())); + } + + void AssemblyConnectionDescription:: + externalReference_next (Type const& o) + { + externalReference_post (o); + externalReference_pre (o); + } + + void AssemblyConnectionDescription:: + externalReference_post (Type const&) + { + pop_ (); + } + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + } +} + diff --git a/TAO/CIAO/DAnCE/Config_Handlers/Basic_Deployment_Data.hpp b/TAO/CIAO/DAnCE/Config_Handlers/Basic_Deployment_Data.hpp index 01122adff9a..c68032408f7 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/Basic_Deployment_Data.hpp +++ b/TAO/CIAO/DAnCE/Config_Handlers/Basic_Deployment_Data.hpp @@ -158,7 +158,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // kind - // + // public: bool kind_p () const; ::CIAO::Config_Handlers::TCKind const& kind () const; @@ -187,7 +187,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // short - // + // public: bool short_p () const; ::XMLSchema::short_ const& short_ () const; @@ -198,7 +198,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::short_ > short__; // long - // + // public: bool long_p () const; ::XMLSchema::int_ const& long_ () const; @@ -209,7 +209,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::int_ > long__; // ushort - // + // public: bool ushort_p () const; ::XMLSchema::unsignedShort const& ushort () const; @@ -220,7 +220,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedShort > ushort_; // ulong - // + // public: bool ulong_p () const; ::XMLSchema::unsignedInt const& ulong () const; @@ -231,7 +231,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedInt > ulong_; // float - // + // public: bool float_p () const; ::XMLSchema::float_ const& float_ () const; @@ -242,7 +242,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::float_ > float__; // double - // + // public: bool double_p () const; ::XMLSchema::double_ const& double_ () const; @@ -253,7 +253,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::double_ > double__; // boolean - // + // public: bool boolean_p () const; ::XMLSchema::boolean const& boolean () const; @@ -264,7 +264,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::boolean > boolean_; // octet - // + // public: bool octet_p () const; ::XMLSchema::unsignedByte const& octet () const; @@ -275,7 +275,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedByte > octet_; // objref - // + // public: bool objref_p () const; ::XMLSchema::string< char > const& objref () const; @@ -286,7 +286,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > objref_; // enum - // + // public: bool enum_p () const; ::XMLSchema::string< char > const& enum_ () const; @@ -297,7 +297,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > enum__; // string - // + // public: bool string_p () const; ::XMLSchema::string< char > const& string () const; @@ -308,7 +308,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > string_; // longlong - // + // public: bool longlong_p () const; ::XMLSchema::long_ const& longlong () const; @@ -319,7 +319,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::long_ > longlong_; // ulonglong - // + // public: bool ulonglong_p () const; ::XMLSchema::unsignedLong const& ulonglong () const; @@ -330,7 +330,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::unsignedLong > ulonglong_; // longdouble - // + // public: bool longdouble_p () const; ::XMLSchema::double_ const& longdouble () const; @@ -341,7 +341,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::double_ > longdouble_; // fixed - // + // public: bool fixed_p () const; ::XMLSchema::string< char > const& fixed () const; @@ -352,7 +352,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > fixed_; // typecode - // + // public: bool typecode_p () const; ::CIAO::Config_Handlers::DataType const& typecode () const; @@ -381,7 +381,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // type - // + // public: ::CIAO::Config_Handlers::DataType const& type () const; ::CIAO::Config_Handlers::DataType& type (); @@ -391,7 +391,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::DataType > type_; // value - // + // public: ::CIAO::Config_Handlers::DataValue const& value () const; ::CIAO::Config_Handlers::DataValue& value (); @@ -420,7 +420,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // name - // + // public: ::XMLSchema::string< char > const& name () const; ::XMLSchema::string< char >& name (); @@ -430,7 +430,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > name_; // value - // + // public: ::CIAO::Config_Handlers::Any const& value () const; ::CIAO::Config_Handlers::Any& value (); @@ -459,7 +459,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // name - // + // public: ::XMLSchema::string< char > const& name () const; ::XMLSchema::string< char >& name (); @@ -469,7 +469,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > name_; // label - // + // public: ::XMLSchema::string< char > const& label () const; ::XMLSchema::string< char >& label (); @@ -537,7 +537,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // name - // + // public: ::XMLSchema::string< char > const& name () const; ::XMLSchema::string< char >& name (); @@ -547,7 +547,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > name_; // kind - // + // public: ::CIAO::Config_Handlers::SatisfierPropertyKind const& kind () const; ::CIAO::Config_Handlers::SatisfierPropertyKind& kind (); @@ -557,7 +557,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::SatisfierPropertyKind > kind_; // value - // + // public: ::CIAO::Config_Handlers::Any const& value () const; ::CIAO::Config_Handlers::Any& value (); @@ -587,7 +587,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // name - // + // public: ::XMLSchema::string< char > const& name () const; ::XMLSchema::string< char >& name (); @@ -597,7 +597,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > name_; // resourceType - // + // public: ::XMLSchema::string< char > const& resourceType () const; ::XMLSchema::string< char >& resourceType (); @@ -607,7 +607,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > resourceType_; // property - // + // public: ::CIAO::Config_Handlers::SatisfierProperty const& property () const; ::CIAO::Config_Handlers::SatisfierProperty& property (); @@ -637,7 +637,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // name - // + // public: ::XMLSchema::string< char > const& name () const; ::XMLSchema::string< char >& name (); @@ -647,7 +647,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > name_; // resourceType - // + // public: ::XMLSchema::string< char > const& resourceType () const; ::XMLSchema::string< char >& resourceType (); @@ -657,7 +657,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > resourceType_; // node - // + // public: ::CIAO::Config_Handlers::Node const& node () const; ::CIAO::Config_Handlers::Node& node (); @@ -667,7 +667,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::Node > node_; // property - // + // public: ::CIAO::Config_Handlers::SatisfierProperty const& property () const; ::CIAO::Config_Handlers::SatisfierProperty& property (); @@ -698,7 +698,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // resourceType - // + // public: ::XMLSchema::string< char > const& resourceType () const; ::XMLSchema::string< char >& resourceType (); @@ -708,7 +708,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > resourceType_; // name - // + // public: ::XMLSchema::string< char > const& name () const; ::XMLSchema::string< char >& name (); @@ -718,7 +718,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > name_; // property - // + // public: ::CIAO::Config_Handlers::Property const& property () const; ::CIAO::Config_Handlers::Property& property (); @@ -748,7 +748,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // requirementName - // + // public: ::XMLSchema::string< char > const& requirementName () const; ::XMLSchema::string< char >& requirementName (); @@ -758,7 +758,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > requirementName_; // resourceName - // + // public: ::XMLSchema::string< char > const& resourceName () const; ::XMLSchema::string< char >& resourceName (); @@ -768,7 +768,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > resourceName_; // resourceValue - // + // public: ::CIAO::Config_Handlers::Any const& resourceValue () const; ::CIAO::Config_Handlers::Any& resourceValue (); @@ -798,7 +798,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // name - // + // public: ::XMLSchema::string< char > const& name () const; ::XMLSchema::string< char >& name (); @@ -808,7 +808,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > name_; // source - // + // public: typedef ::std::vector< ::XMLSchema::string< char > >::iterator source_iterator; typedef ::std::vector< ::XMLSchema::string< char > >::const_iterator source_const_iterator; @@ -822,7 +822,7 @@ namespace CIAO ::std::vector< ::XMLSchema::string< char > > source_; // node - // + // public: ::XMLSchema::string< char > const& node () const; ::XMLSchema::string< char >& node (); @@ -832,7 +832,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > node_; // location - // + // public: typedef ::std::vector< ::XMLSchema::string< char > >::iterator location_iterator; typedef ::std::vector< ::XMLSchema::string< char > >::const_iterator location_const_iterator; @@ -846,7 +846,7 @@ namespace CIAO ::std::vector< ::XMLSchema::string< char > > location_; // execParameter - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::Property >::iterator execParameter_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::Property >::const_iterator execParameter_const_iterator; @@ -860,7 +860,7 @@ namespace CIAO ::std::vector< ::CIAO::Config_Handlers::Property > execParameter_; // deployRequirement - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::Requirement >::iterator deployRequirement_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::Requirement >::const_iterator deployRequirement_const_iterator; @@ -874,7 +874,7 @@ namespace CIAO ::std::vector< ::CIAO::Config_Handlers::Requirement > deployRequirement_; // deployedResource - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::ResourceDeploymentDescription >::iterator deployedResource_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::ResourceDeploymentDescription >::const_iterator deployedResource_const_iterator; @@ -888,7 +888,7 @@ namespace CIAO ::std::vector< ::CIAO::Config_Handlers::ResourceDeploymentDescription > deployedResource_; // id - // + // public: bool id_p () const; ::XMLSchema::ID< char > const& id () const; @@ -918,7 +918,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // name - // + // public: ::XMLSchema::string< char > const& name () const; ::XMLSchema::string< char >& name (); @@ -928,7 +928,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > name_; // source - // + // public: typedef ::std::vector< ::XMLSchema::string< char > >::iterator source_iterator; typedef ::std::vector< ::XMLSchema::string< char > >::const_iterator source_const_iterator; @@ -942,7 +942,7 @@ namespace CIAO ::std::vector< ::XMLSchema::string< char > > source_; // artifact - // + // public: typedef ::std::vector< ::XMLSchema::IDREF< char > >::iterator artifact_iterator; typedef ::std::vector< ::XMLSchema::IDREF< char > >::const_iterator artifact_const_iterator; @@ -956,7 +956,7 @@ namespace CIAO ::std::vector< ::XMLSchema::IDREF< char > > artifact_; // execParameter - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::Property >::iterator execParameter_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::Property >::const_iterator execParameter_const_iterator; @@ -970,7 +970,7 @@ namespace CIAO ::std::vector< ::CIAO::Config_Handlers::Property > execParameter_; // deployRequirement - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::Requirement >::iterator deployRequirement_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::Requirement >::const_iterator deployRequirement_const_iterator; @@ -984,7 +984,7 @@ namespace CIAO ::std::vector< ::CIAO::Config_Handlers::Requirement > deployRequirement_; // id - // + // public: bool id_p () const; ::XMLSchema::ID< char > const& id () const; @@ -1050,7 +1050,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // resourceUsage - // + // public: ::CIAO::Config_Handlers::ResourceUsageKind const& resourceUsage () const; ::CIAO::Config_Handlers::ResourceUsageKind& resourceUsage (); @@ -1060,7 +1060,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::ResourceUsageKind > resourceUsage_; // requirementName - // + // public: ::XMLSchema::string< char > const& requirementName () const; ::XMLSchema::string< char >& requirementName (); @@ -1070,7 +1070,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > requirementName_; // resourceName - // + // public: ::XMLSchema::string< char > const& resourceName () const; ::XMLSchema::string< char >& resourceName (); @@ -1080,7 +1080,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > resourceName_; // resourceValue - // + // public: ::CIAO::Config_Handlers::Any const& resourceValue () const; ::CIAO::Config_Handlers::Any& resourceValue (); @@ -1111,7 +1111,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // name - // + // public: ::XMLSchema::string< char > const& name () const; ::XMLSchema::string< char >& name (); @@ -1121,7 +1121,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > name_; // node - // + // public: ::XMLSchema::string< char > const& node () const; ::XMLSchema::string< char >& node (); @@ -1131,7 +1131,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > node_; // source - // + // public: ::XMLSchema::string< char > const& source () const; ::XMLSchema::string< char >& source (); @@ -1141,7 +1141,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > source_; // implementation - // + // public: ::XMLSchema::IDREF< char > const& implementation () const; ::XMLSchema::IDREF< char >& implementation (); @@ -1151,7 +1151,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::IDREF< char > > implementation_; // configProperty - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; @@ -1165,7 +1165,7 @@ namespace CIAO ::std::vector< ::CIAO::Config_Handlers::Property > configProperty_; // deployedResource - // + // public: bool deployedResource_p () const; ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& deployedResource () const; @@ -1176,7 +1176,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > deployedResource_; // deployedSharedResource - // + // public: bool deployedSharedResource_p () const; ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription const& deployedSharedResource () const; @@ -1187,7 +1187,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > deployedSharedResource_; // id - // + // public: bool id_p () const; ::XMLSchema::ID< char > const& id () const; @@ -1258,7 +1258,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // name - // + // public: ::XMLSchema::string< char > const& name () const; ::XMLSchema::string< char >& name (); @@ -1268,7 +1268,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > name_; // specificType - // + // public: ::XMLSchema::string< char > const& specificType () const; ::XMLSchema::string< char >& specificType (); @@ -1278,7 +1278,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > specificType_; // supportedType - // + // public: ::XMLSchema::string< char > const& supportedType () const; ::XMLSchema::string< char >& supportedType (); @@ -1288,7 +1288,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > supportedType_; // provider - // + // public: ::XMLSchema::string< char > const& provider () const; ::XMLSchema::string< char >& provider (); @@ -1298,7 +1298,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > provider_; // exclusiveProvider - // + // public: ::XMLSchema::string< char > const& exclusiveProvider () const; ::XMLSchema::string< char >& exclusiveProvider (); @@ -1308,7 +1308,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > exclusiveProvider_; // exclusiveUser - // + // public: ::XMLSchema::string< char > const& exclusiveUser () const; ::XMLSchema::string< char >& exclusiveUser (); @@ -1318,7 +1318,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > exclusiveUser_; // optional - // + // public: ::XMLSchema::string< char > const& optional () const; ::XMLSchema::string< char >& optional (); @@ -1328,7 +1328,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > optional_; // kind - // + // public: ::CIAO::Config_Handlers::CCMComponentPortKind const& kind () const; ::CIAO::Config_Handlers::CCMComponentPortKind& kind (); @@ -1363,7 +1363,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // name - // + // public: ::XMLSchema::string< char > const& name () const; ::XMLSchema::string< char >& name (); @@ -1373,7 +1373,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > name_; // type - // + // public: ::CIAO::Config_Handlers::DataType const& type () const; ::CIAO::Config_Handlers::DataType& type (); @@ -1402,7 +1402,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // portName - // + // public: ::XMLSchema::string< char > const& portName () const; ::XMLSchema::string< char >& portName (); @@ -1430,7 +1430,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // portName - // + // public: ::XMLSchema::string< char > const& portName () const; ::XMLSchema::string< char >& portName (); @@ -1440,7 +1440,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > portName_; // provider - // + // public: bool provider_p () const; ::XMLSchema::string< char > const& provider () const; @@ -1451,7 +1451,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > provider_; // kind - // + // public: ::CIAO::Config_Handlers::CCMComponentPortKind const& kind () const; ::CIAO::Config_Handlers::CCMComponentPortKind& kind (); @@ -1461,7 +1461,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::CCMComponentPortKind > kind_; // instance - // + // public: ::XMLSchema::IDREF< char > const& instance () const; ::XMLSchema::IDREF< char >& instance (); @@ -1491,7 +1491,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // location - // + // public: ::XMLSchema::string< char > const& location () const; ::XMLSchema::string< char >& location (); @@ -1519,7 +1519,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // targetName - // + // public: ::XMLSchema::string< char > const& targetName () const; ::XMLSchema::string< char >& targetName (); @@ -1529,7 +1529,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > targetName_; // requirementName - // + // public: ::XMLSchema::string< char > const& requirementName () const; ::XMLSchema::string< char >& requirementName (); @@ -1539,7 +1539,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > requirementName_; // resourceName - // + // public: ::XMLSchema::string< char > const& resourceName () const; ::XMLSchema::string< char >& resourceName (); @@ -1549,7 +1549,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > resourceName_; // resourceValue - // + // public: ::CIAO::Config_Handlers::Any const& resourceValue () const; ::CIAO::Config_Handlers::Any& resourceValue (); @@ -1580,7 +1580,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // name - // + // public: ::XMLSchema::string< char > const& name () const; ::XMLSchema::string< char >& name (); @@ -1590,7 +1590,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > name_; // source - // + // public: bool source_p () const; ::XMLSchema::string< char > const& source () const; @@ -1601,7 +1601,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > source_; // deployRequirement - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::Requirement >::iterator deployRequirement_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::Requirement >::const_iterator deployRequirement_const_iterator; @@ -1615,7 +1615,7 @@ namespace CIAO ::std::vector< ::CIAO::Config_Handlers::Requirement > deployRequirement_; // externalEndpoint - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint >::iterator externalEndpoint_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint >::const_iterator externalEndpoint_const_iterator; @@ -1629,7 +1629,7 @@ namespace CIAO ::std::vector< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint > externalEndpoint_; // internalEndpoint - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint >::iterator internalEndpoint_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint >::const_iterator internalEndpoint_const_iterator; @@ -1643,7 +1643,7 @@ namespace CIAO ::std::vector< ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint > internalEndpoint_; // externalReference - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::ExternalReferenceEndpoint >::iterator externalReference_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::ExternalReferenceEndpoint >::const_iterator externalReference_const_iterator; @@ -1657,7 +1657,7 @@ namespace CIAO ::std::vector< ::CIAO::Config_Handlers::ExternalReferenceEndpoint > externalReference_; // deployedResource - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription >::iterator deployedResource_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription >::const_iterator deployedResource_const_iterator; @@ -1689,7 +1689,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // requiredType - // + // public: ::XMLSchema::string< char > const& requiredType () const; ::XMLSchema::string< char >& requiredType (); @@ -1717,7 +1717,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // name - // + // public: ::XMLSchema::string< char > const& name () const; ::XMLSchema::string< char >& name (); @@ -1727,7 +1727,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > name_; // resourceType - // + // public: ::XMLSchema::string< char > const& resourceType () const; ::XMLSchema::string< char >& resourceType (); @@ -1737,7 +1737,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > resourceType_; // property - // + // public: ::CIAO::Config_Handlers::SatisfierProperty const& property () const; ::CIAO::Config_Handlers::SatisfierProperty& property (); @@ -1767,7 +1767,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // resourceUsage - // + // public: ::CIAO::Config_Handlers::ResourceUsageKind const& resourceUsage () const; ::CIAO::Config_Handlers::ResourceUsageKind& resourceUsage (); @@ -1777,7 +1777,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::ResourceUsageKind > resourceUsage_; // resourcePort - // + // public: ::XMLSchema::string< char > const& resourcePort () const; ::XMLSchema::string< char >& resourcePort (); @@ -1787,7 +1787,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > resourcePort_; // componentPort - // + // public: ::XMLSchema::string< char > const& componentPort () const; ::XMLSchema::string< char >& componentPort (); @@ -1797,7 +1797,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > componentPort_; // resourceType - // + // public: ::XMLSchema::string< char > const& resourceType () const; ::XMLSchema::string< char >& resourceType (); @@ -1807,7 +1807,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > resourceType_; // name - // + // public: ::XMLSchema::string< char > const& name () const; ::XMLSchema::string< char >& name (); @@ -1817,7 +1817,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > name_; // property - // + // public: ::CIAO::Config_Handlers::Property const& property () const; ::CIAO::Config_Handlers::Property& property (); @@ -1850,7 +1850,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // requiredUUID - // + // public: ::XMLSchema::string< char > const& requiredUUID () const; ::XMLSchema::string< char >& requiredUUID (); @@ -1860,7 +1860,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > requiredUUID_; // requiredName - // + // public: ::XMLSchema::string< char > const& requiredName () const; ::XMLSchema::string< char >& requiredName (); @@ -1870,7 +1870,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > requiredName_; // requiredType - // + // public: ::XMLSchema::string< char > const& requiredType () const; ::XMLSchema::string< char >& requiredType (); @@ -1900,7 +1900,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // portName - // + // public: ::XMLSchema::string< char > const& portName () const; ::XMLSchema::string< char >& portName (); @@ -1910,7 +1910,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > portName_; // instance - // + // public: ::XMLSchema::IDREF< char > const& instance () const; ::XMLSchema::IDREF< char >& instance (); @@ -1939,7 +1939,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // name - // + // public: ::XMLSchema::string< char > const& name () const; ::XMLSchema::string< char >& name (); @@ -1949,7 +1949,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > name_; // deployRequirement - // + // public: bool deployRequirement_p () const; ::CIAO::Config_Handlers::Requirement const& deployRequirement () const; @@ -1960,7 +1960,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::Requirement > deployRequirement_; // externalEndpoint - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint >::iterator externalEndpoint_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint >::const_iterator externalEndpoint_const_iterator; @@ -1974,7 +1974,7 @@ namespace CIAO ::std::vector< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint > externalEndpoint_; // internalEndpoint - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::SubcomponentPortEndpoint >::iterator internalEndpoint_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::SubcomponentPortEndpoint >::const_iterator internalEndpoint_const_iterator; @@ -1988,7 +1988,7 @@ namespace CIAO ::std::vector< ::CIAO::Config_Handlers::SubcomponentPortEndpoint > internalEndpoint_; // externalReference - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::ExternalReferenceEndpoint >::iterator externalReference_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::ExternalReferenceEndpoint >::const_iterator externalReference_const_iterator; @@ -2023,4 +2023,2677 @@ namespace CIAO } } +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Traversal + { + typedef + ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::TCKind > + TCKind; + + struct DataType : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::DataType > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + kind (Type&); + + virtual void + kind (Type const&); + + virtual void + kind_none (Type&); + + virtual void + kind_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct DataValue : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::DataValue > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + short_ (Type&); + + virtual void + short_ (Type const&); + + virtual void + short_none (Type&); + + virtual void + short_none (Type const&); + + virtual void + long_ (Type&); + + virtual void + long_ (Type const&); + + virtual void + long_none (Type&); + + virtual void + long_none (Type const&); + + virtual void + ushort (Type&); + + virtual void + ushort (Type const&); + + virtual void + ushort_none (Type&); + + virtual void + ushort_none (Type const&); + + virtual void + ulong (Type&); + + virtual void + ulong (Type const&); + + virtual void + ulong_none (Type&); + + virtual void + ulong_none (Type const&); + + virtual void + float_ (Type&); + + virtual void + float_ (Type const&); + + virtual void + float_none (Type&); + + virtual void + float_none (Type const&); + + virtual void + double_ (Type&); + + virtual void + double_ (Type const&); + + virtual void + double_none (Type&); + + virtual void + double_none (Type const&); + + virtual void + boolean (Type&); + + virtual void + boolean (Type const&); + + virtual void + boolean_none (Type&); + + virtual void + boolean_none (Type const&); + + virtual void + octet (Type&); + + virtual void + octet (Type const&); + + virtual void + octet_none (Type&); + + virtual void + octet_none (Type const&); + + virtual void + objref (Type&); + + virtual void + objref (Type const&); + + virtual void + objref_none (Type&); + + virtual void + objref_none (Type const&); + + virtual void + enum_ (Type&); + + virtual void + enum_ (Type const&); + + virtual void + enum_none (Type&); + + virtual void + enum_none (Type const&); + + virtual void + string (Type&); + + virtual void + string (Type const&); + + virtual void + string_none (Type&); + + virtual void + string_none (Type const&); + + virtual void + longlong (Type&); + + virtual void + longlong (Type const&); + + virtual void + longlong_none (Type&); + + virtual void + longlong_none (Type const&); + + virtual void + ulonglong (Type&); + + virtual void + ulonglong (Type const&); + + virtual void + ulonglong_none (Type&); + + virtual void + ulonglong_none (Type const&); + + virtual void + longdouble (Type&); + + virtual void + longdouble (Type const&); + + virtual void + longdouble_none (Type&); + + virtual void + longdouble_none (Type const&); + + virtual void + fixed (Type&); + + virtual void + fixed (Type const&); + + virtual void + fixed_none (Type&); + + virtual void + fixed_none (Type const&); + + virtual void + typecode (Type&); + + virtual void + typecode (Type const&); + + virtual void + typecode_none (Type&); + + virtual void + typecode_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct Any : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Any > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + type (Type&); + + virtual void + type (Type const&); + + virtual void + value (Type&); + + virtual void + value (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct Property : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Property > + { + 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 + value (Type&); + + virtual void + value (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct Node : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Node > + { + 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 + label (Type&); + + virtual void + label (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + typedef + ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SatisfierPropertyKind > + SatisfierPropertyKind; + + struct SatisfierProperty : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SatisfierProperty > + { + 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 + kind (Type&); + + virtual void + kind (Type const&); + + virtual void + value (Type&); + + virtual void + value (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct Resource : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Resource > + { + 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 + resourceType (Type&); + + virtual void + resourceType (Type const&); + + virtual void + property (Type&); + + virtual void + property (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct SharedResource : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SharedResource > + { + 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 + resourceType (Type&); + + virtual void + resourceType (Type const&); + + virtual void + node (Type&); + + virtual void + node (Type const&); + + virtual void + property (Type&); + + virtual void + property (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct Requirement : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Requirement > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + resourceType (Type&); + + virtual void + resourceType (Type const&); + + virtual void + name (Type&); + + virtual void + name (Type const&); + + virtual void + property (Type&); + + virtual void + property (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct ResourceDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ResourceDeploymentDescription > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + requirementName (Type&); + + virtual void + requirementName (Type const&); + + virtual void + resourceName (Type&); + + virtual void + resourceName (Type const&); + + virtual void + resourceValue (Type&); + + virtual void + resourceValue (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct ArtifactDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ArtifactDeploymentDescription > + { + 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 + 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 + node (Type&); + + virtual void + node (Type const&); + + virtual void + location (Type&); + + virtual void + location (Type const&); + + virtual void + location_pre (Type&); + + virtual void + location_pre (Type const&); + + virtual void + location_next (Type&); + + virtual void + location_next (Type const&); + + virtual void + location_post (Type&); + + virtual void + location_post (Type const&); + + virtual void + execParameter (Type&); + + virtual void + execParameter (Type const&); + + virtual void + execParameter_pre (Type&); + + virtual void + execParameter_pre (Type const&); + + virtual void + execParameter_next (Type&); + + virtual void + execParameter_next (Type const&); + + virtual void + execParameter_post (Type&); + + virtual void + execParameter_post (Type const&); + + virtual void + execParameter_none (Type&); + + virtual void + execParameter_none (Type const&); + + virtual void + deployRequirement (Type&); + + virtual void + deployRequirement (Type const&); + + virtual void + deployRequirement_pre (Type&); + + virtual void + deployRequirement_pre (Type const&); + + virtual void + deployRequirement_next (Type&); + + virtual void + deployRequirement_next (Type const&); + + virtual void + deployRequirement_post (Type&); + + virtual void + deployRequirement_post (Type const&); + + virtual void + deployRequirement_none (Type&); + + virtual void + deployRequirement_none (Type const&); + + virtual void + deployedResource (Type&); + + virtual void + deployedResource (Type const&); + + virtual void + deployedResource_pre (Type&); + + virtual void + deployedResource_pre (Type const&); + + virtual void + deployedResource_next (Type&); + + virtual void + deployedResource_next (Type const&); + + virtual void + deployedResource_post (Type&); + + virtual void + deployedResource_post (Type const&); + + virtual void + deployedResource_none (Type&); + + virtual void + deployedResource_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&); + }; + + struct MonolithicDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::MonolithicDeploymentDescription > + { + 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 + 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 + artifact (Type&); + + virtual void + artifact (Type const&); + + virtual void + artifact_pre (Type&); + + virtual void + artifact_pre (Type const&); + + virtual void + artifact_next (Type&); + + virtual void + artifact_next (Type const&); + + virtual void + artifact_post (Type&); + + virtual void + artifact_post (Type const&); + + virtual void + execParameter (Type&); + + virtual void + execParameter (Type const&); + + virtual void + execParameter_pre (Type&); + + virtual void + execParameter_pre (Type const&); + + virtual void + execParameter_next (Type&); + + virtual void + execParameter_next (Type const&); + + virtual void + execParameter_post (Type&); + + virtual void + execParameter_post (Type const&); + + virtual void + deployRequirement (Type&); + + virtual void + deployRequirement (Type const&); + + virtual void + deployRequirement_pre (Type&); + + virtual void + deployRequirement_pre (Type const&); + + virtual void + deployRequirement_next (Type&); + + virtual void + deployRequirement_next (Type const&); + + virtual void + deployRequirement_post (Type&); + + virtual void + deployRequirement_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&); + }; + + typedef + ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ResourceUsageKind > + ResourceUsageKind; + + struct InstanceResourceDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + resourceUsage (Type&); + + virtual void + resourceUsage (Type const&); + + virtual void + requirementName (Type&); + + virtual void + requirementName (Type const&); + + virtual void + resourceName (Type&); + + virtual void + resourceName (Type const&); + + virtual void + resourceValue (Type&); + + virtual void + resourceValue (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct InstanceDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::InstanceDeploymentDescription > + { + 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 + source (Type&); + + virtual void + source (Type const&); + + virtual void + implementation (Type&); + + virtual void + implementation (Type const&); + + virtual void + configProperty (Type&); + + virtual void + configProperty (Type const&); + + virtual void + configProperty_pre (Type&); + + virtual void + configProperty_pre (Type const&); + + virtual void + configProperty_next (Type&); + + virtual void + configProperty_next (Type const&); + + virtual void + configProperty_post (Type&); + + virtual void + configProperty_post (Type const&); + + virtual void + configProperty_none (Type&); + + virtual void + configProperty_none (Type const&); + + virtual void + deployedResource (Type&); + + virtual void + deployedResource (Type const&); + + virtual void + deployedResource_none (Type&); + + virtual void + deployedResource_none (Type const&); + + virtual void + deployedSharedResource (Type&); + + virtual void + deployedSharedResource (Type const&); + + virtual void + deployedSharedResource_none (Type&); + + virtual void + deployedSharedResource_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::CCMComponentPortKind > + CCMComponentPortKind; + + struct ComponentPortDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPortDescription > + { + 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 + specificType (Type&); + + virtual void + specificType (Type const&); + + virtual void + supportedType (Type&); + + virtual void + supportedType (Type const&); + + virtual void + provider (Type&); + + virtual void + provider (Type const&); + + virtual void + exclusiveProvider (Type&); + + virtual void + exclusiveProvider (Type const&); + + virtual void + exclusiveUser (Type&); + + virtual void + exclusiveUser (Type const&); + + virtual void + optional (Type&); + + virtual void + optional (Type const&); + + virtual void + kind (Type&); + + virtual void + kind (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct ComponentPropertyDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPropertyDescription > + { + 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 + post (Type&); + + virtual void + post (Type const&); + }; + + struct ComponentExternalPortEndpoint : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentExternalPortEndpoint > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + portName (Type&); + + virtual void + portName (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct PlanSubcomponentPortEndpoint : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + portName (Type&); + + virtual void + portName (Type const&); + + virtual void + provider (Type&); + + virtual void + provider (Type const&); + + virtual void + provider_none (Type&); + + virtual void + provider_none (Type const&); + + virtual void + kind (Type&); + + virtual void + kind (Type const&); + + virtual void + instance (Type&); + + virtual void + instance (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct ExternalReferenceEndpoint : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ExternalReferenceEndpoint > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + location (Type&); + + virtual void + location (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct ConnectionResourceDeploymentDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + targetName (Type&); + + virtual void + targetName (Type const&); + + virtual void + requirementName (Type&); + + virtual void + requirementName (Type const&); + + virtual void + resourceName (Type&); + + virtual void + resourceName (Type const&); + + virtual void + resourceValue (Type&); + + virtual void + resourceValue (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct PlanConnectionDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::PlanConnectionDescription > + { + 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 + source (Type&); + + virtual void + source (Type const&); + + virtual void + source_none (Type&); + + virtual void + source_none (Type const&); + + virtual void + deployRequirement (Type&); + + virtual void + deployRequirement (Type const&); + + virtual void + deployRequirement_pre (Type&); + + virtual void + deployRequirement_pre (Type const&); + + virtual void + deployRequirement_next (Type&); + + virtual void + deployRequirement_next (Type const&); + + virtual void + deployRequirement_post (Type&); + + virtual void + deployRequirement_post (Type const&); + + virtual void + deployRequirement_none (Type&); + + virtual void + deployRequirement_none (Type const&); + + virtual void + externalEndpoint (Type&); + + virtual void + externalEndpoint (Type const&); + + virtual void + externalEndpoint_pre (Type&); + + virtual void + externalEndpoint_pre (Type const&); + + virtual void + externalEndpoint_next (Type&); + + virtual void + externalEndpoint_next (Type const&); + + virtual void + externalEndpoint_post (Type&); + + virtual void + externalEndpoint_post (Type const&); + + virtual void + externalEndpoint_none (Type&); + + virtual void + externalEndpoint_none (Type const&); + + virtual void + internalEndpoint (Type&); + + virtual void + internalEndpoint (Type const&); + + virtual void + internalEndpoint_pre (Type&); + + virtual void + internalEndpoint_pre (Type const&); + + virtual void + internalEndpoint_next (Type&); + + virtual void + internalEndpoint_next (Type const&); + + virtual void + internalEndpoint_post (Type&); + + virtual void + internalEndpoint_post (Type const&); + + virtual void + internalEndpoint_none (Type&); + + virtual void + internalEndpoint_none (Type const&); + + virtual void + externalReference (Type&); + + virtual void + externalReference (Type const&); + + virtual void + externalReference_pre (Type&); + + virtual void + externalReference_pre (Type const&); + + virtual void + externalReference_next (Type&); + + virtual void + externalReference_next (Type const&); + + virtual void + externalReference_post (Type&); + + virtual void + externalReference_post (Type const&); + + virtual void + externalReference_none (Type&); + + virtual void + externalReference_none (Type const&); + + virtual void + deployedResource (Type&); + + virtual void + deployedResource (Type const&); + + virtual void + deployedResource_pre (Type&); + + virtual void + deployedResource_pre (Type const&); + + virtual void + deployedResource_next (Type&); + + virtual void + deployedResource_next (Type const&); + + virtual void + deployedResource_post (Type&); + + virtual void + deployedResource_post (Type const&); + + virtual void + deployedResource_none (Type&); + + virtual void + deployedResource_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct ImplementationDependency : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ImplementationDependency > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + requiredType (Type&); + + virtual void + requiredType (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct Capability : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Capability > + { + 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 + resourceType (Type&); + + virtual void + resourceType (Type const&); + + virtual void + property (Type&); + + virtual void + property (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct ImplementationRequirement : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ImplementationRequirement > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + resourceUsage (Type&); + + virtual void + resourceUsage (Type const&); + + virtual void + resourcePort (Type&); + + virtual void + resourcePort (Type const&); + + virtual void + componentPort (Type&); + + virtual void + componentPort (Type const&); + + virtual void + resourceType (Type&); + + virtual void + resourceType (Type const&); + + virtual void + name (Type&); + + virtual void + name (Type const&); + + virtual void + property (Type&); + + virtual void + property (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct ComponentPackageReference : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPackageReference > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + requiredUUID (Type&); + + virtual void + requiredUUID (Type const&); + + virtual void + requiredName (Type&); + + virtual void + requiredName (Type const&); + + virtual void + requiredType (Type&); + + virtual void + requiredType (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct SubcomponentPortEndpoint : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SubcomponentPortEndpoint > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + portName (Type&); + + virtual void + portName (Type const&); + + virtual void + instance (Type&); + + virtual void + instance (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct AssemblyConnectionDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::AssemblyConnectionDescription > + { + 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 + deployRequirement (Type&); + + virtual void + deployRequirement (Type const&); + + virtual void + deployRequirement_none (Type&); + + virtual void + deployRequirement_none (Type const&); + + virtual void + externalEndpoint (Type&); + + virtual void + externalEndpoint (Type const&); + + virtual void + externalEndpoint_pre (Type&); + + virtual void + externalEndpoint_pre (Type const&); + + virtual void + externalEndpoint_next (Type&); + + virtual void + externalEndpoint_next (Type const&); + + virtual void + externalEndpoint_post (Type&); + + virtual void + externalEndpoint_post (Type const&); + + virtual void + externalEndpoint_none (Type&); + + virtual void + externalEndpoint_none (Type const&); + + virtual void + internalEndpoint (Type&); + + virtual void + internalEndpoint (Type const&); + + virtual void + internalEndpoint_pre (Type&); + + virtual void + internalEndpoint_pre (Type const&); + + virtual void + internalEndpoint_next (Type&); + + virtual void + internalEndpoint_next (Type const&); + + virtual void + internalEndpoint_post (Type&); + + virtual void + internalEndpoint_post (Type const&); + + virtual void + internalEndpoint_none (Type&); + + virtual void + internalEndpoint_none (Type const&); + + virtual void + externalReference (Type&); + + virtual void + externalReference (Type const&); + + virtual void + externalReference_pre (Type&); + + virtual void + externalReference_pre (Type const&); + + virtual void + externalReference_next (Type&); + + virtual void + externalReference_next (Type const&); + + virtual void + externalReference_post (Type&); + + virtual void + externalReference_post (Type const&); + + virtual void + externalReference_none (Type&); + + virtual void + externalReference_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + } + } +} + +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + struct TCKind : Traversal::TCKind, + virtual ::XSCRT::Writer< char > + { + TCKind (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + protected: + TCKind (); + }; + + struct DataType : Traversal::DataType, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::DataType Type; + DataType (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + kind (Type const&); + + protected: + DataType (); + }; + + struct DataValue : Traversal::DataValue, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::DataValue Type; + DataValue (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + short_ (Type const&); + + virtual void + long_ (Type const&); + + virtual void + ushort (Type const&); + + virtual void + ulong (Type const&); + + virtual void + float_ (Type const&); + + virtual void + double_ (Type const&); + + virtual void + boolean (Type const&); + + virtual void + octet (Type const&); + + virtual void + objref (Type const&); + + virtual void + enum_ (Type const&); + + virtual void + string (Type const&); + + virtual void + longlong (Type const&); + + virtual void + ulonglong (Type const&); + + virtual void + longdouble (Type const&); + + virtual void + fixed (Type const&); + + virtual void + typecode (Type const&); + + protected: + DataValue (); + }; + + struct Any : Traversal::Any, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::Any Type; + Any (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + type (Type const&); + + virtual void + value (Type const&); + + protected: + Any (); + }; + + struct Property : Traversal::Property, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::Property Type; + Property (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + name (Type const&); + + virtual void + value (Type const&); + + protected: + Property (); + }; + + struct Node : Traversal::Node, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::Node Type; + Node (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + name (Type const&); + + virtual void + label (Type const&); + + protected: + Node (); + }; + + struct SatisfierPropertyKind : Traversal::SatisfierPropertyKind, + virtual ::XSCRT::Writer< char > + { + SatisfierPropertyKind (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + protected: + SatisfierPropertyKind (); + }; + + struct SatisfierProperty : Traversal::SatisfierProperty, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::SatisfierProperty Type; + SatisfierProperty (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + name (Type const&); + + virtual void + kind (Type const&); + + virtual void + value (Type const&); + + protected: + SatisfierProperty (); + }; + + struct Resource : Traversal::Resource, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::Resource Type; + Resource (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + name (Type const&); + + virtual void + resourceType (Type const&); + + virtual void + property (Type const&); + + protected: + Resource (); + }; + + struct SharedResource : Traversal::SharedResource, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::SharedResource Type; + SharedResource (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + name (Type const&); + + virtual void + resourceType (Type const&); + + virtual void + node (Type const&); + + virtual void + property (Type const&); + + protected: + SharedResource (); + }; + + struct Requirement : Traversal::Requirement, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::Requirement Type; + Requirement (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + resourceType (Type const&); + + virtual void + name (Type const&); + + virtual void + property (Type const&); + + protected: + Requirement (); + }; + + struct ResourceDeploymentDescription : Traversal::ResourceDeploymentDescription, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::ResourceDeploymentDescription Type; + ResourceDeploymentDescription (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + requirementName (Type const&); + + virtual void + resourceName (Type const&); + + virtual void + resourceValue (Type const&); + + protected: + ResourceDeploymentDescription (); + }; + + struct ArtifactDeploymentDescription : Traversal::ArtifactDeploymentDescription, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::ArtifactDeploymentDescription Type; + ArtifactDeploymentDescription (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + name (Type const&); + + virtual void + source_pre (Type const&); + + virtual void + source_next (Type const&); + + virtual void + source_post (Type const&); + + virtual void + node (Type const&); + + virtual void + location_pre (Type const&); + + virtual void + location_next (Type const&); + + virtual void + location_post (Type const&); + + virtual void + execParameter_pre (Type const&); + + virtual void + execParameter_next (Type const&); + + virtual void + execParameter_post (Type const&); + + virtual void + deployRequirement_pre (Type const&); + + virtual void + deployRequirement_next (Type const&); + + virtual void + deployRequirement_post (Type const&); + + virtual void + deployedResource_pre (Type const&); + + virtual void + deployedResource_next (Type const&); + + virtual void + deployedResource_post (Type const&); + + virtual void + id (Type const&); + + protected: + ArtifactDeploymentDescription (); + }; + + struct MonolithicDeploymentDescription : Traversal::MonolithicDeploymentDescription, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::MonolithicDeploymentDescription Type; + MonolithicDeploymentDescription (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + name (Type const&); + + virtual void + source_pre (Type const&); + + virtual void + source_next (Type const&); + + virtual void + source_post (Type const&); + + virtual void + artifact_pre (Type const&); + + virtual void + artifact_next (Type const&); + + virtual void + artifact_post (Type const&); + + virtual void + execParameter_pre (Type const&); + + virtual void + execParameter_next (Type const&); + + virtual void + execParameter_post (Type const&); + + virtual void + deployRequirement_pre (Type const&); + + virtual void + deployRequirement_next (Type const&); + + virtual void + deployRequirement_post (Type const&); + + virtual void + id (Type const&); + + protected: + MonolithicDeploymentDescription (); + }; + + struct ResourceUsageKind : Traversal::ResourceUsageKind, + virtual ::XSCRT::Writer< char > + { + ResourceUsageKind (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + protected: + ResourceUsageKind (); + }; + + struct InstanceResourceDeploymentDescription : Traversal::InstanceResourceDeploymentDescription, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::InstanceResourceDeploymentDescription Type; + InstanceResourceDeploymentDescription (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + resourceUsage (Type const&); + + virtual void + requirementName (Type const&); + + virtual void + resourceName (Type const&); + + virtual void + resourceValue (Type const&); + + protected: + InstanceResourceDeploymentDescription (); + }; + + struct InstanceDeploymentDescription : Traversal::InstanceDeploymentDescription, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::InstanceDeploymentDescription Type; + InstanceDeploymentDescription (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + name (Type const&); + + virtual void + node (Type const&); + + virtual void + source (Type const&); + + virtual void + implementation (Type const&); + + virtual void + configProperty_pre (Type const&); + + virtual void + configProperty_next (Type const&); + + virtual void + configProperty_post (Type const&); + + virtual void + deployedResource (Type const&); + + virtual void + deployedSharedResource (Type const&); + + virtual void + id (Type const&); + + protected: + InstanceDeploymentDescription (); + }; + + struct CCMComponentPortKind : Traversal::CCMComponentPortKind, + virtual ::XSCRT::Writer< char > + { + CCMComponentPortKind (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + protected: + CCMComponentPortKind (); + }; + + struct ComponentPortDescription : Traversal::ComponentPortDescription, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::ComponentPortDescription Type; + ComponentPortDescription (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + name (Type const&); + + virtual void + specificType (Type const&); + + virtual void + supportedType (Type const&); + + virtual void + provider (Type const&); + + virtual void + exclusiveProvider (Type const&); + + virtual void + exclusiveUser (Type const&); + + virtual void + optional (Type const&); + + virtual void + kind (Type const&); + + protected: + ComponentPortDescription (); + }; + + struct ComponentPropertyDescription : Traversal::ComponentPropertyDescription, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::ComponentPropertyDescription Type; + ComponentPropertyDescription (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + name (Type const&); + + virtual void + type (Type const&); + + protected: + ComponentPropertyDescription (); + }; + + struct ComponentExternalPortEndpoint : Traversal::ComponentExternalPortEndpoint, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::ComponentExternalPortEndpoint Type; + ComponentExternalPortEndpoint (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + portName (Type const&); + + protected: + ComponentExternalPortEndpoint (); + }; + + struct PlanSubcomponentPortEndpoint : Traversal::PlanSubcomponentPortEndpoint, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::PlanSubcomponentPortEndpoint Type; + PlanSubcomponentPortEndpoint (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + portName (Type const&); + + virtual void + provider (Type const&); + + virtual void + kind (Type const&); + + virtual void + instance (Type const&); + + protected: + PlanSubcomponentPortEndpoint (); + }; + + struct ExternalReferenceEndpoint : Traversal::ExternalReferenceEndpoint, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::ExternalReferenceEndpoint Type; + ExternalReferenceEndpoint (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + location (Type const&); + + protected: + ExternalReferenceEndpoint (); + }; + + struct ConnectionResourceDeploymentDescription : Traversal::ConnectionResourceDeploymentDescription, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::ConnectionResourceDeploymentDescription Type; + ConnectionResourceDeploymentDescription (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + targetName (Type const&); + + virtual void + requirementName (Type const&); + + virtual void + resourceName (Type const&); + + virtual void + resourceValue (Type const&); + + protected: + ConnectionResourceDeploymentDescription (); + }; + + struct PlanConnectionDescription : Traversal::PlanConnectionDescription, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::PlanConnectionDescription Type; + PlanConnectionDescription (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + name (Type const&); + + virtual void + source (Type const&); + + virtual void + deployRequirement_pre (Type const&); + + virtual void + deployRequirement_next (Type const&); + + virtual void + deployRequirement_post (Type const&); + + virtual void + externalEndpoint_pre (Type const&); + + virtual void + externalEndpoint_next (Type const&); + + virtual void + externalEndpoint_post (Type const&); + + virtual void + internalEndpoint_pre (Type const&); + + virtual void + internalEndpoint_next (Type const&); + + virtual void + internalEndpoint_post (Type const&); + + virtual void + externalReference_pre (Type const&); + + virtual void + externalReference_next (Type const&); + + virtual void + externalReference_post (Type const&); + + virtual void + deployedResource_pre (Type const&); + + virtual void + deployedResource_next (Type const&); + + virtual void + deployedResource_post (Type const&); + + protected: + PlanConnectionDescription (); + }; + + struct ImplementationDependency : Traversal::ImplementationDependency, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::ImplementationDependency Type; + ImplementationDependency (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + requiredType (Type const&); + + protected: + ImplementationDependency (); + }; + + struct Capability : Traversal::Capability, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::Capability Type; + Capability (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + name (Type const&); + + virtual void + resourceType (Type const&); + + virtual void + property (Type const&); + + protected: + Capability (); + }; + + struct ImplementationRequirement : Traversal::ImplementationRequirement, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::ImplementationRequirement Type; + ImplementationRequirement (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + resourceUsage (Type const&); + + virtual void + resourcePort (Type const&); + + virtual void + componentPort (Type const&); + + virtual void + resourceType (Type const&); + + virtual void + name (Type const&); + + virtual void + property (Type const&); + + protected: + ImplementationRequirement (); + }; + + struct ComponentPackageReference : Traversal::ComponentPackageReference, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::ComponentPackageReference Type; + ComponentPackageReference (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + requiredUUID (Type const&); + + virtual void + requiredName (Type const&); + + virtual void + requiredType (Type const&); + + protected: + ComponentPackageReference (); + }; + + struct SubcomponentPortEndpoint : Traversal::SubcomponentPortEndpoint, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::SubcomponentPortEndpoint Type; + SubcomponentPortEndpoint (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + portName (Type const&); + + virtual void + instance (Type const&); + + protected: + SubcomponentPortEndpoint (); + }; + + struct AssemblyConnectionDescription : Traversal::AssemblyConnectionDescription, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::AssemblyConnectionDescription Type; + AssemblyConnectionDescription (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + name (Type const&); + + virtual void + deployRequirement (Type const&); + + virtual void + externalEndpoint_pre (Type const&); + + virtual void + externalEndpoint_next (Type const&); + + virtual void + externalEndpoint_post (Type const&); + + virtual void + internalEndpoint_pre (Type const&); + + virtual void + internalEndpoint_next (Type const&); + + virtual void + internalEndpoint_post (Type const&); + + virtual void + externalReference_pre (Type const&); + + virtual void + externalReference_next (Type const&); + + virtual void + externalReference_post (Type const&); + + protected: + AssemblyConnectionDescription (); + }; + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + } +} + #endif // BASIC_DEPLOYMENT_DATA_HPP diff --git a/TAO/CIAO/DAnCE/Config_Handlers/ChangeLog b/TAO/CIAO/DAnCE/Config_Handlers/ChangeLog index 3a1d3aa4c52..ef0ad5da0ef 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/ChangeLog +++ b/TAO/CIAO/DAnCE/Config_Handlers/ChangeLog @@ -1,5 +1,29 @@ -Thu Oct 7 02:52:31 2004 Balachandran Natarajan +Thu Oct 7 03:39:25 2004 Balachandran Natarajan + * DAnCE/Config_Handlers/Basic_Deployment_Data.cpp: + * DAnCE/Config_Handlers/Basic_Deployment_Data.hpp: + * DAnCE/Config_Handlers/Deployment.cpp: + * DAnCE/Config_Handlers/Deployment.hpp: + * DAnCE/Config_Handlers/ccd.cpp: + * DAnCE/Config_Handlers/ccd.hpp: + * DAnCE/Config_Handlers/cdd.cpp: + * DAnCE/Config_Handlers/cdd.hpp: + * DAnCE/Config_Handlers/cdp.cpp: + * DAnCE/Config_Handlers/cdp.hpp: + * DAnCE/Config_Handlers/cid.cpp: + * DAnCE/Config_Handlers/cid.hpp: + * DAnCE/Config_Handlers/cpd.cpp: + * DAnCE/Config_Handlers/cpd.hpp: + * DAnCE/Config_Handlers/iad.cpp: + * DAnCE/Config_Handlers/iad.hpp: + * DAnCE/Config_Handlers/pcd.cpp: + * DAnCE/Config_Handlers/pcd.hpp: + * DAnCE/Config_Handlers/toplevel.cpp: + * DAnCE/Config_Handlers/toplevel.hpp: + + Jules wanted XSC generated code with Writers. So here it is. + +Thu Oct 7 02:52:31 2004 Balachandran Natarajan * DAnCE/Config_Handlers/DP_Handler.cpp: * DAnCE/Config_Handlers/DP_Handler.h: diff --git a/TAO/CIAO/DAnCE/Config_Handlers/Deployment.cpp b/TAO/CIAO/DAnCE/Config_Handlers/Deployment.cpp index be15143889d..57ac66d50b9 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/Deployment.cpp +++ b/TAO/CIAO/DAnCE/Config_Handlers/Deployment.cpp @@ -149,3 +149,485 @@ namespace CIAO } } +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace + { + ::XMLSchema::TypeInfoInitializer < char > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Traversal + { + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + void + domain (::CIAO::Config_Handlers::Domain const& s, xercesc::DOMDocument* d) + { + ::XSCRT::XML::Element< char > e (d->getDocumentElement ()); + if (e.name () != "domain") + { + throw 1; + } + + struct W : virtual ::CIAO::Config_Handlers::Writer::Domain, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< char >, char >, + virtual ::CIAO::Config_Handlers::Writer::SharedResource, + virtual ::CIAO::Config_Handlers::Writer::Node, + virtual ::CIAO::Config_Handlers::Writer::SatisfierProperty, + virtual ::CIAO::Config_Handlers::Writer::SatisfierPropertyKind, + virtual ::CIAO::Config_Handlers::Writer::Any, + virtual ::CIAO::Config_Handlers::Writer::DataType, + virtual ::CIAO::Config_Handlers::Writer::TCKind, + virtual ::CIAO::Config_Handlers::Writer::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, char >, + virtual ::CIAO::Config_Handlers::Writer::Property, + virtual ::XSCRT::Writer< char > + { + W (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + }; + + W w (e); + w.dispatch (s); + } + + void + deploymentPlan (::CIAO::Config_Handlers::DeploymentPlan const& s, xercesc::DOMDocument* d) + { + ::XSCRT::XML::Element< char > e (d->getDocumentElement ()); + if (e.name () != "deploymentPlan") + { + throw 1; + } + + struct W : virtual ::CIAO::Config_Handlers::Writer::DeploymentPlan, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< char >, char >, + 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::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, char >, + 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< char >, + virtual ::CIAO::Config_Handlers::Writer::Requirement, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< char >, char >, + 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< char > + { + W (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + }; + + W w (e); + w.dispatch (s); + } + + void + implementationArtifactDescription (::CIAO::Config_Handlers::ImplementationArtifactDescription const& s, xercesc::DOMDocument* d) + { + ::XSCRT::XML::Element< char > e (d->getDocumentElement ()); + if (e.name () != "implementationArtifactDescription") + { + throw 1; + } + + struct W : virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< char >, char >, + 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::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, char >, + virtual ::CIAO::Config_Handlers::Writer::Requirement, + virtual ::CIAO::Config_Handlers::Writer::NamedImplementationArtifact, + virtual ::XSCRT::Writer< char > + { + W (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + }; + + W w (e); + w.dispatch (s); + } + + void + componentInterfaceDescription (::CIAO::Config_Handlers::ComponentInterfaceDescription const& s, xercesc::DOMDocument* d) + { + ::XSCRT::XML::Element< char > e (d->getDocumentElement ()); + if (e.name () != "componentInterfaceDescription") + { + throw 1; + } + + struct W : virtual ::CIAO::Config_Handlers::Writer::ComponentInterfaceDescription, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< char >, char >, + 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::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, char >, + virtual ::CIAO::Config_Handlers::Writer::ComponentPortDescription, + virtual ::CIAO::Config_Handlers::Writer::CCMComponentPortKind, + virtual ::CIAO::Config_Handlers::Writer::ComponentPropertyDescription, + virtual ::XSCRT::Writer< char > + { + W (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + }; + + W w (e); + w.dispatch (s); + } + + void + componentImplementationDescription (::CIAO::Config_Handlers::ComponentImplementationDescription const& s, xercesc::DOMDocument* d) + { + ::XSCRT::XML::Element< char > e (d->getDocumentElement ()); + if (e.name () != "componentImplementationDescription") + { + throw 1; + } + + struct W : virtual ::CIAO::Config_Handlers::Writer::ComponentImplementationDescription, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< char >, char >, + 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::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, char >, + 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::Requirement, + virtual ::CIAO::Config_Handlers::Writer::ComponentPackageReference, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< char >, char >, + virtual ::CIAO::Config_Handlers::Writer::AssemblyConnectionDescription, + virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentPortEndpoint, + virtual ::XMLSchema::Writer::IDREF< char >, + 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::NamedImplementationArtifact, + virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, + virtual ::CIAO::Config_Handlers::Writer::ImplementationRequirement, + virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, + 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< char > + { + W (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + }; + + W w (e); + w.dispatch (s); + } + + void + componentPackageDescription (::CIAO::Config_Handlers::ComponentPackageDescription const& s, xercesc::DOMDocument* d) + { + ::XSCRT::XML::Element< char > e (d->getDocumentElement ()); + if (e.name () != "componentPackageDescription") + { + throw 1; + } + + struct W : virtual ::CIAO::Config_Handlers::Writer::ComponentPackageDescription, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< char >, char >, + 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::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, char >, + 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 ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< char >, char >, + virtual ::CIAO::Config_Handlers::Writer::AssemblyConnectionDescription, + virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentPortEndpoint, + virtual ::XMLSchema::Writer::IDREF< char >, + 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::NamedImplementationArtifact, + virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, + virtual ::CIAO::Config_Handlers::Writer::ImplementationRequirement, + virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, + 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< char > + { + W (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + }; + + W w (e); + w.dispatch (s); + } + + void + packageConfiguration (::CIAO::Config_Handlers::PackageConfiguration const& s, xercesc::DOMDocument* d) + { + ::XSCRT::XML::Element< char > e (d->getDocumentElement ()); + if (e.name () != "packageConfiguration") + { + throw 1; + } + + struct W : virtual ::CIAO::Config_Handlers::Writer::PackageConfiguration, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< char >, char >, + 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::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, char >, + 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 ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< char >, char >, + virtual ::CIAO::Config_Handlers::Writer::AssemblyConnectionDescription, + virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentPortEndpoint, + virtual ::XMLSchema::Writer::IDREF< char >, + 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::NamedImplementationArtifact, + virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, + virtual ::CIAO::Config_Handlers::Writer::ImplementationRequirement, + virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, + 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< char > + { + W (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + }; + + W w (e); + w.dispatch (s); + } + + void + topLevelPackageDescription (::CIAO::Config_Handlers::TopLevelPackageDescription const& s, xercesc::DOMDocument* d) + { + ::XSCRT::XML::Element< char > e (d->getDocumentElement ()); + if (e.name () != "topLevelPackageDescription") + { + throw 1; + } + + struct W : virtual ::CIAO::Config_Handlers::Writer::TopLevelPackageDescription, + virtual ::CIAO::Config_Handlers::Writer::PackageConfiguration, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< char >, char >, + 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::DataValue, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::short_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::int_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedShort, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedInt, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::float_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::double_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::boolean, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedByte, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::long_, char >, + virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::unsignedLong, char >, + 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 ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< char >, char >, + virtual ::CIAO::Config_Handlers::Writer::AssemblyConnectionDescription, + virtual ::CIAO::Config_Handlers::Writer::ComponentExternalPortEndpoint, + virtual ::CIAO::Config_Handlers::Writer::SubcomponentPortEndpoint, + virtual ::XMLSchema::Writer::IDREF< char >, + 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::NamedImplementationArtifact, + virtual ::CIAO::Config_Handlers::Writer::ImplementationArtifactDescription, + virtual ::CIAO::Config_Handlers::Writer::ImplementationRequirement, + virtual ::CIAO::Config_Handlers::Writer::ResourceUsageKind, + 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< char > + { + W (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + }; + + W w (e); + w.dispatch (s); + } + } +} + diff --git a/TAO/CIAO/DAnCE/Config_Handlers/Deployment.hpp b/TAO/CIAO/DAnCE/Config_Handlers/Deployment.hpp index 08d531a727f..80334d8cd07 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/Deployment.hpp +++ b/TAO/CIAO/DAnCE/Config_Handlers/Deployment.hpp @@ -1,4 +1,4 @@ -//$Id$ +// $Id$ #ifndef DEPLOYMENT_HPP #define DEPLOYMENT_HPP @@ -65,4 +65,58 @@ namespace CIAO } } +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Traversal + { + } + } +} + +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + void + domain (::CIAO::Config_Handlers::Domain const&, xercesc::DOMDocument*); + + void + deploymentPlan (::CIAO::Config_Handlers::DeploymentPlan const&, xercesc::DOMDocument*); + + void + implementationArtifactDescription (::CIAO::Config_Handlers::ImplementationArtifactDescription const&, xercesc::DOMDocument*); + + void + componentInterfaceDescription (::CIAO::Config_Handlers::ComponentInterfaceDescription const&, xercesc::DOMDocument*); + + void + componentImplementationDescription (::CIAO::Config_Handlers::ComponentImplementationDescription const&, xercesc::DOMDocument*); + + void + componentPackageDescription (::CIAO::Config_Handlers::ComponentPackageDescription const&, xercesc::DOMDocument*); + + void + packageConfiguration (::CIAO::Config_Handlers::PackageConfiguration const&, xercesc::DOMDocument*); + + void + topLevelPackageDescription (::CIAO::Config_Handlers::TopLevelPackageDescription const&, xercesc::DOMDocument*); + } +} + #endif // DEPLOYMENT_HPP diff --git a/TAO/CIAO/DAnCE/Config_Handlers/ccd.cpp b/TAO/CIAO/DAnCE/Config_Handlers/ccd.cpp index 1708ce7c338..39f3fde3000 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/ccd.cpp +++ b/TAO/CIAO/DAnCE/Config_Handlers/ccd.cpp @@ -6,7 +6,7 @@ namespace CIAO namespace Config_Handlers { // ComponentInterfaceDescription - // + // ComponentInterfaceDescription:: ComponentInterfaceDescription () @@ -140,7 +140,7 @@ namespace CIAO // ComponentInterfaceDescription - // + // bool ComponentInterfaceDescription:: label_p () const { @@ -175,7 +175,7 @@ namespace CIAO } // ComponentInterfaceDescription - // + // bool ComponentInterfaceDescription:: UUID_p () const { @@ -210,7 +210,7 @@ namespace CIAO } // ComponentInterfaceDescription - // + // bool ComponentInterfaceDescription:: specificType_p () const { @@ -245,7 +245,7 @@ namespace CIAO } // ComponentInterfaceDescription - // + // ComponentInterfaceDescription::supportedType_iterator ComponentInterfaceDescription:: begin_supportedType () { @@ -296,7 +296,7 @@ namespace CIAO } // ComponentInterfaceDescription - // + // ComponentInterfaceDescription::idlFile_iterator ComponentInterfaceDescription:: begin_idlFile () { @@ -347,7 +347,7 @@ namespace CIAO } // ComponentInterfaceDescription - // + // ComponentInterfaceDescription::configProperty_iterator ComponentInterfaceDescription:: begin_configProperty () { @@ -398,7 +398,7 @@ namespace CIAO } // ComponentInterfaceDescription - // + // ComponentInterfaceDescription::port_iterator ComponentInterfaceDescription:: begin_port () { @@ -449,7 +449,7 @@ namespace CIAO } // ComponentInterfaceDescription - // + // ComponentInterfaceDescription::property_iterator ComponentInterfaceDescription:: begin_property () { @@ -500,7 +500,7 @@ namespace CIAO } // ComponentInterfaceDescription - // + // ComponentInterfaceDescription::infoProperty_iterator ComponentInterfaceDescription:: begin_infoProperty () { @@ -551,7 +551,7 @@ namespace CIAO } // ComponentInterfaceDescription - // + // bool ComponentInterfaceDescription:: contentLocation_p () const { @@ -666,9 +666,734 @@ namespace CIAO contentLocation (t); } - else + else + { + } + } + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + } +} + +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace + { + ::XMLSchema::TypeInfoInitializer < char > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); + + struct ComponentInterfaceDescriptionTypeInfoInitializer + { + ComponentInterfaceDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ComponentInterfaceDescription)); + ::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)); + } + }; + + ComponentInterfaceDescriptionTypeInfoInitializer ComponentInterfaceDescriptionTypeInfoInitializer_; + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Traversal + { + // ComponentInterfaceDescription + // + // + + void ComponentInterfaceDescription:: + 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.specificType_p ()) specificType (o); + else specificType_none (o); + supportedType (o); + idlFile (o); + configProperty (o); + port (o); + property (o); + infoProperty (o); + if (o.contentLocation_p ()) contentLocation (o); + else contentLocation_none (o); + post (o); + } + + void ComponentInterfaceDescription:: + 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.specificType_p ()) specificType (o); + else specificType_none (o); + supportedType (o); + idlFile (o); + configProperty (o); + port (o); + property (o); + infoProperty (o); + if (o.contentLocation_p ()) contentLocation (o); + else contentLocation_none (o); + post (o); + } + + void ComponentInterfaceDescription:: + pre (Type&) + { + } + + void ComponentInterfaceDescription:: + pre (Type const&) + { + } + + void ComponentInterfaceDescription:: + label (Type& o) + { + dispatch (o.label ()); + } + + void ComponentInterfaceDescription:: + label (Type const& o) + { + dispatch (o.label ()); + } + + void ComponentInterfaceDescription:: + label_none (Type&) + { + } + + void ComponentInterfaceDescription:: + label_none (Type const&) + { + } + + void ComponentInterfaceDescription:: + UUID (Type& o) + { + dispatch (o.UUID ()); + } + + void ComponentInterfaceDescription:: + UUID (Type const& o) + { + dispatch (o.UUID ()); + } + + void ComponentInterfaceDescription:: + UUID_none (Type&) + { + } + + void ComponentInterfaceDescription:: + UUID_none (Type const&) + { + } + + void ComponentInterfaceDescription:: + specificType (Type& o) + { + dispatch (o.specificType ()); + } + + void ComponentInterfaceDescription:: + specificType (Type const& o) + { + dispatch (o.specificType ()); + } + + void ComponentInterfaceDescription:: + specificType_none (Type&) + { + } + + void ComponentInterfaceDescription:: + specificType_none (Type const&) + { + } + + void ComponentInterfaceDescription:: + supportedType (Type& o) + { + // VC6 anathema strikes again + // + ComponentInterfaceDescription::Type::supportedType_iterator b (o.begin_supportedType()), e (o.end_supportedType()); + + if (b != e) + { + supportedType_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) supportedType_next (o); + } + + supportedType_post (o); + } + + else supportedType_none (o); + } + + void ComponentInterfaceDescription:: + supportedType (Type const& o) + { + // VC6 anathema strikes again + // + ComponentInterfaceDescription::Type::supportedType_const_iterator b (o.begin_supportedType()), e (o.end_supportedType()); + + if (b != e) + { + supportedType_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) supportedType_next (o); + } + + supportedType_post (o); + } + + else supportedType_none (o); + } + + void ComponentInterfaceDescription:: + supportedType_pre (Type&) + { + } + + void ComponentInterfaceDescription:: + supportedType_pre (Type const&) + { + } + + void ComponentInterfaceDescription:: + supportedType_next (Type&) + { + } + + void ComponentInterfaceDescription:: + supportedType_next (Type const&) + { + } + + void ComponentInterfaceDescription:: + supportedType_post (Type&) + { + } + + void ComponentInterfaceDescription:: + supportedType_post (Type const&) + { + } + + void ComponentInterfaceDescription:: + supportedType_none (Type&) + { + } + + void ComponentInterfaceDescription:: + supportedType_none (Type const&) + { + } + + void ComponentInterfaceDescription:: + idlFile (Type& o) + { + // VC6 anathema strikes again + // + ComponentInterfaceDescription::Type::idlFile_iterator b (o.begin_idlFile()), e (o.end_idlFile()); + + if (b != e) + { + idlFile_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) idlFile_next (o); + } + + idlFile_post (o); + } + + else idlFile_none (o); + } + + void ComponentInterfaceDescription:: + idlFile (Type const& o) + { + // VC6 anathema strikes again + // + ComponentInterfaceDescription::Type::idlFile_const_iterator b (o.begin_idlFile()), e (o.end_idlFile()); + + if (b != e) + { + idlFile_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) idlFile_next (o); + } + + idlFile_post (o); + } + + else idlFile_none (o); + } + + void ComponentInterfaceDescription:: + idlFile_pre (Type&) + { + } + + void ComponentInterfaceDescription:: + idlFile_pre (Type const&) + { + } + + void ComponentInterfaceDescription:: + idlFile_next (Type&) + { + } + + void ComponentInterfaceDescription:: + idlFile_next (Type const&) + { + } + + void ComponentInterfaceDescription:: + idlFile_post (Type&) + { + } + + void ComponentInterfaceDescription:: + idlFile_post (Type const&) + { + } + + void ComponentInterfaceDescription:: + idlFile_none (Type&) + { + } + + void ComponentInterfaceDescription:: + idlFile_none (Type const&) + { + } + + void ComponentInterfaceDescription:: + configProperty (Type& o) + { + // VC6 anathema strikes again + // + ComponentInterfaceDescription::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 ComponentInterfaceDescription:: + configProperty (Type const& o) + { + // VC6 anathema strikes again + // + ComponentInterfaceDescription::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 ComponentInterfaceDescription:: + configProperty_pre (Type&) + { + } + + void ComponentInterfaceDescription:: + configProperty_pre (Type const&) + { + } + + void ComponentInterfaceDescription:: + configProperty_next (Type&) + { + } + + void ComponentInterfaceDescription:: + configProperty_next (Type const&) + { + } + + void ComponentInterfaceDescription:: + configProperty_post (Type&) + { + } + + void ComponentInterfaceDescription:: + configProperty_post (Type const&) + { + } + + void ComponentInterfaceDescription:: + configProperty_none (Type&) + { + } + + void ComponentInterfaceDescription:: + configProperty_none (Type const&) + { + } + + void ComponentInterfaceDescription:: + port (Type& o) + { + // VC6 anathema strikes again + // + ComponentInterfaceDescription::Type::port_iterator b (o.begin_port()), e (o.end_port()); + + if (b != e) + { + port_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) port_next (o); + } + + port_post (o); + } + + else port_none (o); + } + + void ComponentInterfaceDescription:: + port (Type const& o) + { + // VC6 anathema strikes again + // + ComponentInterfaceDescription::Type::port_const_iterator b (o.begin_port()), e (o.end_port()); + + if (b != e) + { + port_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) port_next (o); + } + + port_post (o); + } + + else port_none (o); + } + + void ComponentInterfaceDescription:: + port_pre (Type&) + { + } + + void ComponentInterfaceDescription:: + port_pre (Type const&) + { + } + + void ComponentInterfaceDescription:: + port_next (Type&) + { + } + + void ComponentInterfaceDescription:: + port_next (Type const&) + { + } + + void ComponentInterfaceDescription:: + port_post (Type&) + { + } + + void ComponentInterfaceDescription:: + port_post (Type const&) + { + } + + void ComponentInterfaceDescription:: + port_none (Type&) + { + } + + void ComponentInterfaceDescription:: + port_none (Type const&) + { + } + + void ComponentInterfaceDescription:: + property (Type& o) + { + // VC6 anathema strikes again + // + ComponentInterfaceDescription::Type::property_iterator b (o.begin_property()), e (o.end_property()); + + if (b != e) + { + property_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) property_next (o); + } + + property_post (o); + } + + else property_none (o); + } + + void ComponentInterfaceDescription:: + property (Type const& o) + { + // VC6 anathema strikes again + // + ComponentInterfaceDescription::Type::property_const_iterator b (o.begin_property()), e (o.end_property()); + + if (b != e) + { + property_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) property_next (o); + } + + property_post (o); + } + + else property_none (o); + } + + void ComponentInterfaceDescription:: + property_pre (Type&) + { + } + + void ComponentInterfaceDescription:: + property_pre (Type const&) + { + } + + void ComponentInterfaceDescription:: + property_next (Type&) + { + } + + void ComponentInterfaceDescription:: + property_next (Type const&) + { + } + + void ComponentInterfaceDescription:: + property_post (Type&) + { + } + + void ComponentInterfaceDescription:: + property_post (Type const&) + { + } + + void ComponentInterfaceDescription:: + property_none (Type&) + { + } + + void ComponentInterfaceDescription:: + property_none (Type const&) + { + } + + void ComponentInterfaceDescription:: + infoProperty (Type& o) + { + // VC6 anathema strikes again + // + ComponentInterfaceDescription::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 ComponentInterfaceDescription:: + infoProperty (Type const& o) + { + // VC6 anathema strikes again + // + ComponentInterfaceDescription::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 ComponentInterfaceDescription:: + infoProperty_pre (Type&) + { + } + + void ComponentInterfaceDescription:: + infoProperty_pre (Type const&) + { + } + + void ComponentInterfaceDescription:: + infoProperty_next (Type&) + { + } + + void ComponentInterfaceDescription:: + infoProperty_next (Type const&) + { + } + + void ComponentInterfaceDescription:: + infoProperty_post (Type&) + { + } + + void ComponentInterfaceDescription:: + infoProperty_post (Type const&) + { + } + + void ComponentInterfaceDescription:: + infoProperty_none (Type&) + { + } + + void ComponentInterfaceDescription:: + infoProperty_none (Type const&) + { + } + + void ComponentInterfaceDescription:: + contentLocation (Type& o) + { + dispatch (o.contentLocation ()); + } + + void ComponentInterfaceDescription:: + contentLocation (Type const& o) + { + dispatch (o.contentLocation ()); + } + + void ComponentInterfaceDescription:: + contentLocation_none (Type&) + { + } + + void ComponentInterfaceDescription:: + contentLocation_none (Type const&) + { + } + + void ComponentInterfaceDescription:: + post (Type&) + { + } + + void ComponentInterfaceDescription:: + post (Type const&) + { } } } @@ -678,5 +1403,182 @@ namespace CIAO { namespace Config_Handlers { + namespace Writer + { + // ComponentInterfaceDescription + // + // + + ComponentInterfaceDescription:: + ComponentInterfaceDescription (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + ComponentInterfaceDescription:: + ComponentInterfaceDescription () + { + } + + void ComponentInterfaceDescription:: + traverse (Type const& o) + { + Traversal::ComponentInterfaceDescription::traverse (o); + } + + void ComponentInterfaceDescription:: + label (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("label", top_ ())); + Traversal::ComponentInterfaceDescription::label (o); + pop_ (); + } + + void ComponentInterfaceDescription:: + UUID (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("UUID", top_ ())); + Traversal::ComponentInterfaceDescription::UUID (o); + pop_ (); + } + + void ComponentInterfaceDescription:: + specificType (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("specificType", top_ ())); + Traversal::ComponentInterfaceDescription::specificType (o); + pop_ (); + } + + void ComponentInterfaceDescription:: + supportedType_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("supportedType", top_ ())); + } + + void ComponentInterfaceDescription:: + supportedType_next (Type const& o) + { + supportedType_post (o); + supportedType_pre (o); + } + + void ComponentInterfaceDescription:: + supportedType_post (Type const&) + { + pop_ (); + } + + void ComponentInterfaceDescription:: + idlFile_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("idlFile", top_ ())); + } + + void ComponentInterfaceDescription:: + idlFile_next (Type const& o) + { + idlFile_post (o); + idlFile_pre (o); + } + + void ComponentInterfaceDescription:: + idlFile_post (Type const&) + { + pop_ (); + } + + void ComponentInterfaceDescription:: + configProperty_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("configProperty", top_ ())); + } + + void ComponentInterfaceDescription:: + configProperty_next (Type const& o) + { + configProperty_post (o); + configProperty_pre (o); + } + + void ComponentInterfaceDescription:: + configProperty_post (Type const&) + { + pop_ (); + } + + void ComponentInterfaceDescription:: + port_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("port", top_ ())); + } + + void ComponentInterfaceDescription:: + port_next (Type const& o) + { + port_post (o); + port_pre (o); + } + + void ComponentInterfaceDescription:: + port_post (Type const&) + { + pop_ (); + } + + void ComponentInterfaceDescription:: + property_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("property", top_ ())); + } + + void ComponentInterfaceDescription:: + property_next (Type const& o) + { + property_post (o); + property_pre (o); + } + + void ComponentInterfaceDescription:: + property_post (Type const&) + { + pop_ (); + } + + void ComponentInterfaceDescription:: + infoProperty_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("infoProperty", top_ ())); + } + + void ComponentInterfaceDescription:: + infoProperty_next (Type const& o) + { + infoProperty_post (o); + infoProperty_pre (o); + } + + void ComponentInterfaceDescription:: + infoProperty_post (Type const&) + { + pop_ (); + } + + void ComponentInterfaceDescription:: + contentLocation (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("contentLocation", top_ ())); + Traversal::ComponentInterfaceDescription::contentLocation (o); + pop_ (); + } + } } } + +namespace CIAO +{ + namespace Config_Handlers + { + } +} + diff --git a/TAO/CIAO/DAnCE/Config_Handlers/ccd.hpp b/TAO/CIAO/DAnCE/Config_Handlers/ccd.hpp index 46339e47d8d..9c2818c2f08 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/ccd.hpp +++ b/TAO/CIAO/DAnCE/Config_Handlers/ccd.hpp @@ -29,7 +29,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // label - // + // public: bool label_p () const; ::XMLSchema::string< char > const& label () const; @@ -40,7 +40,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > label_; // UUID - // + // public: bool UUID_p () const; ::XMLSchema::string< char > const& UUID () const; @@ -51,7 +51,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > UUID_; // specificType - // + // public: bool specificType_p () const; ::XMLSchema::string< char > const& specificType () const; @@ -62,7 +62,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > specificType_; // supportedType - // + // public: typedef ::std::vector< ::XMLSchema::string< char > >::iterator supportedType_iterator; typedef ::std::vector< ::XMLSchema::string< char > >::const_iterator supportedType_const_iterator; @@ -76,7 +76,7 @@ namespace CIAO ::std::vector< ::XMLSchema::string< char > > supportedType_; // idlFile - // + // public: typedef ::std::vector< ::XMLSchema::string< char > >::iterator idlFile_iterator; typedef ::std::vector< ::XMLSchema::string< char > >::const_iterator idlFile_const_iterator; @@ -90,7 +90,7 @@ namespace CIAO ::std::vector< ::XMLSchema::string< char > > idlFile_; // configProperty - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::Property >::const_iterator configProperty_const_iterator; @@ -104,7 +104,7 @@ namespace CIAO ::std::vector< ::CIAO::Config_Handlers::Property > configProperty_; // port - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::ComponentPortDescription >::iterator port_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::ComponentPortDescription >::const_iterator port_const_iterator; @@ -118,7 +118,7 @@ namespace CIAO ::std::vector< ::CIAO::Config_Handlers::ComponentPortDescription > port_; // property - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::ComponentPropertyDescription >::iterator property_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::ComponentPropertyDescription >::const_iterator property_const_iterator; @@ -132,7 +132,7 @@ namespace CIAO ::std::vector< ::CIAO::Config_Handlers::ComponentPropertyDescription > property_; // infoProperty - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::Property >::const_iterator infoProperty_const_iterator; @@ -146,7 +146,7 @@ namespace CIAO ::std::vector< ::CIAO::Config_Handlers::Property > infoProperty_; // contentLocation - // + // public: bool contentLocation_p () const; ::XMLSchema::string< char > const& contentLocation () const; @@ -178,4 +178,361 @@ namespace CIAO } } +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Traversal + { + struct ComponentInterfaceDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentInterfaceDescription > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + label (Type&); + + virtual void + label (Type const&); + + virtual void + label_none (Type&); + + virtual void + label_none (Type const&); + + virtual void + UUID (Type&); + + virtual void + UUID (Type const&); + + virtual void + UUID_none (Type&); + + virtual void + UUID_none (Type const&); + + virtual void + specificType (Type&); + + virtual void + specificType (Type const&); + + virtual void + specificType_none (Type&); + + virtual void + specificType_none (Type const&); + + virtual void + supportedType (Type&); + + virtual void + supportedType (Type const&); + + virtual void + supportedType_pre (Type&); + + virtual void + supportedType_pre (Type const&); + + virtual void + supportedType_next (Type&); + + virtual void + supportedType_next (Type const&); + + virtual void + supportedType_post (Type&); + + virtual void + supportedType_post (Type const&); + + virtual void + supportedType_none (Type&); + + virtual void + supportedType_none (Type const&); + + virtual void + idlFile (Type&); + + virtual void + idlFile (Type const&); + + virtual void + idlFile_pre (Type&); + + virtual void + idlFile_pre (Type const&); + + virtual void + idlFile_next (Type&); + + virtual void + idlFile_next (Type const&); + + virtual void + idlFile_post (Type&); + + virtual void + idlFile_post (Type const&); + + virtual void + idlFile_none (Type&); + + virtual void + idlFile_none (Type const&); + + virtual void + configProperty (Type&); + + virtual void + configProperty (Type const&); + + virtual void + configProperty_pre (Type&); + + virtual void + configProperty_pre (Type const&); + + virtual void + configProperty_next (Type&); + + virtual void + configProperty_next (Type const&); + + virtual void + configProperty_post (Type&); + + virtual void + configProperty_post (Type const&); + + virtual void + configProperty_none (Type&); + + virtual void + configProperty_none (Type const&); + + virtual void + port (Type&); + + virtual void + port (Type const&); + + virtual void + port_pre (Type&); + + virtual void + port_pre (Type const&); + + virtual void + port_next (Type&); + + virtual void + port_next (Type const&); + + virtual void + port_post (Type&); + + virtual void + port_post (Type const&); + + virtual void + port_none (Type&); + + virtual void + port_none (Type const&); + + virtual void + property (Type&); + + virtual void + property (Type const&); + + virtual void + property_pre (Type&); + + virtual void + property_pre (Type const&); + + virtual void + property_next (Type&); + + virtual void + property_next (Type const&); + + virtual void + property_post (Type&); + + virtual void + property_post (Type const&); + + virtual void + property_none (Type&); + + virtual void + property_none (Type const&); + + virtual void + infoProperty (Type&); + + virtual void + infoProperty (Type const&); + + virtual void + infoProperty_pre (Type&); + + virtual void + infoProperty_pre (Type const&); + + virtual void + infoProperty_next (Type&); + + virtual void + infoProperty_next (Type const&); + + virtual void + infoProperty_post (Type&); + + virtual void + infoProperty_post (Type const&); + + virtual void + infoProperty_none (Type&); + + virtual void + infoProperty_none (Type const&); + + virtual void + contentLocation (Type&); + + virtual void + contentLocation (Type const&); + + virtual void + contentLocation_none (Type&); + + virtual void + contentLocation_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + } + } +} + +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + struct ComponentInterfaceDescription : Traversal::ComponentInterfaceDescription, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::ComponentInterfaceDescription Type; + ComponentInterfaceDescription (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + label (Type const&); + + virtual void + UUID (Type const&); + + virtual void + specificType (Type const&); + + virtual void + supportedType_pre (Type const&); + + virtual void + supportedType_next (Type const&); + + virtual void + supportedType_post (Type const&); + + virtual void + idlFile_pre (Type const&); + + virtual void + idlFile_next (Type const&); + + virtual void + idlFile_post (Type const&); + + virtual void + configProperty_pre (Type const&); + + virtual void + configProperty_next (Type const&); + + virtual void + configProperty_post (Type const&); + + virtual void + port_pre (Type const&); + + virtual void + port_next (Type const&); + + virtual void + port_post (Type const&); + + virtual void + property_pre (Type const&); + + virtual void + property_next (Type const&); + + virtual void + property_post (Type const&); + + virtual void + infoProperty_pre (Type const&); + + virtual void + infoProperty_next (Type const&); + + virtual void + infoProperty_post (Type const&); + + virtual void + contentLocation (Type const&); + + protected: + ComponentInterfaceDescription (); + }; + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + } +} + #endif // CCD_HPP diff --git a/TAO/CIAO/DAnCE/Config_Handlers/cdd.cpp b/TAO/CIAO/DAnCE/Config_Handlers/cdd.cpp index 1bdab3f3935..eedb9f7724b 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/cdd.cpp +++ b/TAO/CIAO/DAnCE/Config_Handlers/cdd.cpp @@ -294,3 +294,321 @@ namespace CIAO } } +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace + { + ::XMLSchema::TypeInfoInitializer < char > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); + + struct DomainTypeInfoInitializer + { + DomainTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (Domain)); + ::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)); + } + }; + + DomainTypeInfoInitializer DomainTypeInfoInitializer_; + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Traversal + { + // Domain + // + // + + void Domain:: + traverse (Type& o) + { + pre (o); + label (o); + UUID (o); + if (o.sharedResource_p ()) sharedResource (o); + else sharedResource_none (o); + node (o); + if (o.infoProperty_p ()) infoProperty (o); + else infoProperty_none (o); + post (o); + } + + void Domain:: + traverse (Type const& o) + { + pre (o); + label (o); + UUID (o); + if (o.sharedResource_p ()) sharedResource (o); + else sharedResource_none (o); + node (o); + if (o.infoProperty_p ()) infoProperty (o); + else infoProperty_none (o); + post (o); + } + + void Domain:: + pre (Type&) + { + } + + void Domain:: + pre (Type const&) + { + } + + void Domain:: + label (Type& o) + { + dispatch (o.label ()); + } + + void Domain:: + label (Type const& o) + { + dispatch (o.label ()); + } + + void Domain:: + UUID (Type& o) + { + dispatch (o.UUID ()); + } + + void Domain:: + UUID (Type const& o) + { + dispatch (o.UUID ()); + } + + void Domain:: + sharedResource (Type& o) + { + dispatch (o.sharedResource ()); + } + + void Domain:: + sharedResource (Type const& o) + { + dispatch (o.sharedResource ()); + } + + void Domain:: + sharedResource_none (Type&) + { + } + + void Domain:: + sharedResource_none (Type const&) + { + } + + void Domain:: + node (Type& o) + { + // VC6 anathema strikes again + // + Domain::Type::node_iterator b (o.begin_node()), e (o.end_node()); + + if (b != e) + { + node_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) node_next (o); + } + + node_post (o); + } + } + + 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) + { + node_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) node_next (o); + } + + node_post (o); + } + } + + void Domain:: + node_pre (Type&) + { + } + + void Domain:: + node_pre (Type const&) + { + } + + void Domain:: + node_next (Type&) + { + } + + void Domain:: + node_next (Type const&) + { + } + + void Domain:: + node_post (Type&) + { + } + + void Domain:: + node_post (Type const&) + { + } + + void Domain:: + infoProperty (Type& o) + { + dispatch (o.infoProperty ()); + } + + void Domain:: + infoProperty (Type const& o) + { + dispatch (o.infoProperty ()); + } + + void Domain:: + infoProperty_none (Type&) + { + } + + void Domain:: + infoProperty_none (Type const&) + { + } + + void Domain:: + post (Type&) + { + } + + void Domain:: + post (Type const&) + { + } + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + // Domain + // + // + + Domain:: + Domain (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + Domain:: + Domain () + { + } + + void Domain:: + traverse (Type const& o) + { + Traversal::Domain::traverse (o); + } + + void Domain:: + label (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("label", top_ ())); + Traversal::Domain::label (o); + pop_ (); + } + + void Domain:: + UUID (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("UUID", top_ ())); + Traversal::Domain::UUID (o); + pop_ (); + } + + void Domain:: + sharedResource (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("sharedResource", top_ ())); + Traversal::Domain::sharedResource (o); + pop_ (); + } + + void Domain:: + node_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("node", top_ ())); + } + + void Domain:: + node_next (Type const& o) + { + node_post (o); + node_pre (o); + } + + void Domain:: + node_post (Type const&) + { + pop_ (); + } + + void Domain:: + infoProperty (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("infoProperty", top_ ())); + Traversal::Domain::infoProperty (o); + pop_ (); + } + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + } +} + diff --git a/TAO/CIAO/DAnCE/Config_Handlers/cdd.hpp b/TAO/CIAO/DAnCE/Config_Handlers/cdd.hpp index b728c882aca..7f643034899 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/cdd.hpp +++ b/TAO/CIAO/DAnCE/Config_Handlers/cdd.hpp @@ -107,4 +107,148 @@ namespace CIAO } } +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Traversal + { + struct Domain : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Domain > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + label (Type&); + + virtual void + label (Type const&); + + virtual void + UUID (Type&); + + virtual void + UUID (Type const&); + + virtual void + sharedResource (Type&); + + virtual void + sharedResource (Type const&); + + virtual void + sharedResource_none (Type&); + + virtual void + sharedResource_none (Type const&); + + virtual void + node (Type&); + + virtual void + node (Type const&); + + virtual void + node_pre (Type&); + + virtual void + node_pre (Type const&); + + virtual void + node_next (Type&); + + virtual void + node_next (Type const&); + + virtual void + node_post (Type&); + + virtual void + node_post (Type const&); + + virtual void + infoProperty (Type&); + + virtual void + infoProperty (Type const&); + + virtual void + infoProperty_none (Type&); + + virtual void + infoProperty_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + } + } +} + +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + struct Domain : Traversal::Domain, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::Domain Type; + Domain (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + label (Type const&); + + virtual void + UUID (Type const&); + + virtual void + sharedResource (Type const&); + + virtual void + node_pre (Type const&); + + virtual void + node_next (Type const&); + + virtual void + node_post (Type const&); + + virtual void + infoProperty (Type const&); + + protected: + Domain (); + }; + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + } +} + #endif // CDD_HPP diff --git a/TAO/CIAO/DAnCE/Config_Handlers/cdp.cpp b/TAO/CIAO/DAnCE/Config_Handlers/cdp.cpp index 02146e0af7b..b975a98cbca 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/cdp.cpp +++ b/TAO/CIAO/DAnCE/Config_Handlers/cdp.cpp @@ -6,7 +6,7 @@ namespace CIAO namespace Config_Handlers { // DeploymentPlan - // + // DeploymentPlan:: DeploymentPlan (::CIAO::Config_Handlers::ComponentInterfaceDescription const& realizes__, @@ -127,7 +127,7 @@ namespace CIAO // DeploymentPlan - // + // bool DeploymentPlan:: label_p () const { @@ -162,7 +162,7 @@ namespace CIAO } // DeploymentPlan - // + // bool DeploymentPlan:: UUID_p () const { @@ -197,7 +197,7 @@ namespace CIAO } // DeploymentPlan - // + // ::CIAO::Config_Handlers::ComponentInterfaceDescription const& DeploymentPlan:: realizes () const { @@ -217,7 +217,7 @@ namespace CIAO } // DeploymentPlan - // + // ::CIAO::Config_Handlers::MonolithicDeploymentDescription const& DeploymentPlan:: implementation () const { @@ -237,7 +237,7 @@ namespace CIAO } // DeploymentPlan - // + // DeploymentPlan::instance_iterator DeploymentPlan:: begin_instance () { @@ -288,7 +288,7 @@ namespace CIAO } // DeploymentPlan - // + // DeploymentPlan::connection_iterator DeploymentPlan:: begin_connection () { @@ -339,7 +339,7 @@ namespace CIAO } // DeploymentPlan - // + // DeploymentPlan::dependsOn_iterator DeploymentPlan:: begin_dependsOn () { @@ -390,7 +390,7 @@ namespace CIAO } // DeploymentPlan - // + // DeploymentPlan::artifact_iterator DeploymentPlan:: begin_artifact () { @@ -441,7 +441,7 @@ namespace CIAO } // DeploymentPlan - // + // DeploymentPlan::infoProperty_iterator DeploymentPlan:: begin_infoProperty () { @@ -566,9 +566,777 @@ namespace CIAO add_infoProperty (t); } - else + else + { + } + } + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + } +} + +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace + { + ::XMLSchema::TypeInfoInitializer < char > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); + + struct DeploymentPlanTypeInfoInitializer + { + DeploymentPlanTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (DeploymentPlan)); + ::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)); + } + }; + + DeploymentPlanTypeInfoInitializer DeploymentPlanTypeInfoInitializer_; + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Traversal + { + // DeploymentPlan + // + // + + void DeploymentPlan:: + 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); + realizes (o); + implementation (o); + instance (o); + connection (o); + dependsOn (o); + artifact (o); + infoProperty (o); + post (o); + } + + void DeploymentPlan:: + 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); + realizes (o); + implementation (o); + instance (o); + connection (o); + dependsOn (o); + artifact (o); + infoProperty (o); + post (o); + } + + void DeploymentPlan:: + pre (Type&) + { + } + + void DeploymentPlan:: + pre (Type const&) + { + } + + void DeploymentPlan:: + label (Type& o) + { + dispatch (o.label ()); + } + + void DeploymentPlan:: + label (Type const& o) + { + dispatch (o.label ()); + } + + void DeploymentPlan:: + label_none (Type&) + { + } + + void DeploymentPlan:: + label_none (Type const&) + { + } + + void DeploymentPlan:: + UUID (Type& o) + { + dispatch (o.UUID ()); + } + + void DeploymentPlan:: + UUID (Type const& o) + { + dispatch (o.UUID ()); + } + + void DeploymentPlan:: + UUID_none (Type&) + { + } + + void DeploymentPlan:: + UUID_none (Type const&) + { + } + + void DeploymentPlan:: + realizes (Type& o) + { + dispatch (o.realizes ()); + } + + void DeploymentPlan:: + realizes (Type const& o) + { + dispatch (o.realizes ()); + } + + void DeploymentPlan:: + implementation (Type& o) + { + dispatch (o.implementation ()); + } + + void DeploymentPlan:: + implementation (Type const& o) + { + dispatch (o.implementation ()); + } + + void DeploymentPlan:: + instance (Type& o) + { + // VC6 anathema strikes again + // + DeploymentPlan::Type::instance_iterator b (o.begin_instance()), e (o.end_instance()); + + if (b != e) + { + instance_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) instance_next (o); + } + + instance_post (o); + } + + else instance_none (o); + } + + void DeploymentPlan:: + instance (Type const& o) + { + // VC6 anathema strikes again + // + DeploymentPlan::Type::instance_const_iterator b (o.begin_instance()), e (o.end_instance()); + + if (b != e) + { + instance_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) instance_next (o); + } + + instance_post (o); + } + + else instance_none (o); + } + + void DeploymentPlan:: + instance_pre (Type&) + { + } + + void DeploymentPlan:: + instance_pre (Type const&) + { + } + + void DeploymentPlan:: + instance_next (Type&) + { + } + + void DeploymentPlan:: + instance_next (Type const&) + { + } + + void DeploymentPlan:: + instance_post (Type&) + { + } + + void DeploymentPlan:: + instance_post (Type const&) + { + } + + void DeploymentPlan:: + instance_none (Type&) + { + } + + void DeploymentPlan:: + instance_none (Type const&) + { + } + + void DeploymentPlan:: + connection (Type& o) + { + // VC6 anathema strikes again + // + DeploymentPlan::Type::connection_iterator b (o.begin_connection()), e (o.end_connection()); + + if (b != e) + { + connection_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) connection_next (o); + } + + connection_post (o); + } + + else connection_none (o); + } + + void DeploymentPlan:: + connection (Type const& o) + { + // VC6 anathema strikes again + // + DeploymentPlan::Type::connection_const_iterator b (o.begin_connection()), e (o.end_connection()); + + if (b != e) + { + connection_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) connection_next (o); + } + + connection_post (o); + } + + else connection_none (o); + } + + void DeploymentPlan:: + connection_pre (Type&) + { + } + + void DeploymentPlan:: + connection_pre (Type const&) + { + } + + void DeploymentPlan:: + connection_next (Type&) + { + } + + void DeploymentPlan:: + connection_next (Type const&) + { + } + + void DeploymentPlan:: + connection_post (Type&) + { + } + + void DeploymentPlan:: + connection_post (Type const&) + { + } + + void DeploymentPlan:: + connection_none (Type&) + { + } + + void DeploymentPlan:: + connection_none (Type const&) + { + } + + void DeploymentPlan:: + dependsOn (Type& o) + { + // VC6 anathema strikes again + // + DeploymentPlan::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 DeploymentPlan:: + dependsOn (Type const& o) + { + // VC6 anathema strikes again + // + DeploymentPlan::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 DeploymentPlan:: + dependsOn_pre (Type&) + { + } + + void DeploymentPlan:: + dependsOn_pre (Type const&) + { + } + + void DeploymentPlan:: + dependsOn_next (Type&) + { + } + + void DeploymentPlan:: + dependsOn_next (Type const&) + { + } + + void DeploymentPlan:: + dependsOn_post (Type&) + { + } + + void DeploymentPlan:: + dependsOn_post (Type const&) + { + } + + void DeploymentPlan:: + dependsOn_none (Type&) + { + } + + void DeploymentPlan:: + dependsOn_none (Type const&) + { + } + + void DeploymentPlan:: + artifact (Type& o) + { + // VC6 anathema strikes again + // + DeploymentPlan::Type::artifact_iterator b (o.begin_artifact()), e (o.end_artifact()); + + if (b != e) + { + artifact_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) artifact_next (o); + } + + artifact_post (o); + } + + else artifact_none (o); + } + + void DeploymentPlan:: + artifact (Type const& o) + { + // VC6 anathema strikes again + // + DeploymentPlan::Type::artifact_const_iterator b (o.begin_artifact()), e (o.end_artifact()); + + if (b != e) { + artifact_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) artifact_next (o); + } + + artifact_post (o); } + + else artifact_none (o); + } + + void DeploymentPlan:: + artifact_pre (Type&) + { + } + + void DeploymentPlan:: + artifact_pre (Type const&) + { + } + + void DeploymentPlan:: + artifact_next (Type&) + { + } + + void DeploymentPlan:: + artifact_next (Type const&) + { + } + + void DeploymentPlan:: + artifact_post (Type&) + { + } + + void DeploymentPlan:: + artifact_post (Type const&) + { + } + + void DeploymentPlan:: + artifact_none (Type&) + { + } + + void DeploymentPlan:: + artifact_none (Type const&) + { + } + + void DeploymentPlan:: + infoProperty (Type& o) + { + // VC6 anathema strikes again + // + DeploymentPlan::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 DeploymentPlan:: + infoProperty (Type const& o) + { + // VC6 anathema strikes again + // + DeploymentPlan::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 DeploymentPlan:: + infoProperty_pre (Type&) + { + } + + void DeploymentPlan:: + infoProperty_pre (Type const&) + { + } + + void DeploymentPlan:: + infoProperty_next (Type&) + { + } + + void DeploymentPlan:: + infoProperty_next (Type const&) + { + } + + void DeploymentPlan:: + infoProperty_post (Type&) + { + } + + void DeploymentPlan:: + infoProperty_post (Type const&) + { + } + + void DeploymentPlan:: + infoProperty_none (Type&) + { + } + + void DeploymentPlan:: + infoProperty_none (Type const&) + { + } + + void DeploymentPlan:: + post (Type&) + { + } + + void DeploymentPlan:: + post (Type const&) + { + } + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + // DeploymentPlan + // + // + + DeploymentPlan:: + DeploymentPlan (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + DeploymentPlan:: + DeploymentPlan () + { + } + + void DeploymentPlan:: + traverse (Type const& o) + { + Traversal::DeploymentPlan::traverse (o); + } + + void DeploymentPlan:: + label (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("label", top_ ())); + Traversal::DeploymentPlan::label (o); + pop_ (); + } + + void DeploymentPlan:: + UUID (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("UUID", top_ ())); + Traversal::DeploymentPlan::UUID (o); + pop_ (); + } + + void DeploymentPlan:: + realizes (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("realizes", top_ ())); + Traversal::DeploymentPlan::realizes (o); + pop_ (); + } + + void DeploymentPlan:: + implementation (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("implementation", top_ ())); + Traversal::DeploymentPlan::implementation (o); + pop_ (); + } + + void DeploymentPlan:: + instance_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("instance", top_ ())); + } + + void DeploymentPlan:: + instance_next (Type const& o) + { + instance_post (o); + instance_pre (o); + } + + void DeploymentPlan:: + instance_post (Type const&) + { + pop_ (); + } + + void DeploymentPlan:: + connection_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("connection", top_ ())); + } + + void DeploymentPlan:: + connection_next (Type const& o) + { + connection_post (o); + connection_pre (o); + } + + void DeploymentPlan:: + connection_post (Type const&) + { + pop_ (); + } + + void DeploymentPlan:: + dependsOn_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("dependsOn", top_ ())); + } + + void DeploymentPlan:: + dependsOn_next (Type const& o) + { + dependsOn_post (o); + dependsOn_pre (o); + } + + void DeploymentPlan:: + dependsOn_post (Type const&) + { + pop_ (); + } + + void DeploymentPlan:: + artifact_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("artifact", top_ ())); + } + + void DeploymentPlan:: + artifact_next (Type const& o) + { + artifact_post (o); + artifact_pre (o); + } + + void DeploymentPlan:: + artifact_post (Type const&) + { + pop_ (); + } + + void DeploymentPlan:: + infoProperty_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("infoProperty", top_ ())); + } + + void DeploymentPlan:: + infoProperty_next (Type const& o) + { + infoProperty_post (o); + infoProperty_pre (o); + } + + void DeploymentPlan:: + infoProperty_post (Type const&) + { + pop_ (); } } } @@ -580,3 +1348,4 @@ namespace CIAO { } } + diff --git a/TAO/CIAO/DAnCE/Config_Handlers/cdp.hpp b/TAO/CIAO/DAnCE/Config_Handlers/cdp.hpp index f61735d422f..95121270351 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/cdp.hpp +++ b/TAO/CIAO/DAnCE/Config_Handlers/cdp.hpp @@ -29,7 +29,7 @@ namespace CIAO typedef ::XSCRT::Type Base__; // label - // + // public: bool label_p () const; ::XMLSchema::string< char > const& label () const; @@ -40,7 +40,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > label_; // UUID - // + // public: bool UUID_p () const; ::XMLSchema::string< char > const& UUID () const; @@ -51,7 +51,7 @@ namespace CIAO ::std::auto_ptr< ::XMLSchema::string< char > > UUID_; // realizes - // + // public: ::CIAO::Config_Handlers::ComponentInterfaceDescription const& realizes () const; ::CIAO::Config_Handlers::ComponentInterfaceDescription& realizes (); @@ -61,7 +61,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > realizes_; // implementation - // + // public: ::CIAO::Config_Handlers::MonolithicDeploymentDescription const& implementation () const; ::CIAO::Config_Handlers::MonolithicDeploymentDescription& implementation (); @@ -71,7 +71,7 @@ namespace CIAO ::std::auto_ptr< ::CIAO::Config_Handlers::MonolithicDeploymentDescription > implementation_; // instance - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::InstanceDeploymentDescription >::iterator instance_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::InstanceDeploymentDescription >::const_iterator instance_const_iterator; @@ -85,7 +85,7 @@ namespace CIAO ::std::vector< ::CIAO::Config_Handlers::InstanceDeploymentDescription > instance_; // connection - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::PlanConnectionDescription >::iterator connection_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::PlanConnectionDescription >::const_iterator connection_const_iterator; @@ -99,7 +99,7 @@ namespace CIAO ::std::vector< ::CIAO::Config_Handlers::PlanConnectionDescription > connection_; // dependsOn - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::ImplementationDependency >::iterator dependsOn_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::ImplementationDependency >::const_iterator dependsOn_const_iterator; @@ -113,7 +113,7 @@ namespace CIAO ::std::vector< ::CIAO::Config_Handlers::ImplementationDependency > dependsOn_; // artifact - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::ArtifactDeploymentDescription >::iterator artifact_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::ArtifactDeploymentDescription >::const_iterator artifact_const_iterator; @@ -127,7 +127,7 @@ namespace CIAO ::std::vector< ::CIAO::Config_Handlers::ArtifactDeploymentDescription > artifact_; // infoProperty - // + // public: typedef ::std::vector< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; typedef ::std::vector< ::CIAO::Config_Handlers::Property >::const_iterator infoProperty_const_iterator; @@ -163,4 +163,310 @@ namespace CIAO } } +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Traversal + { + struct DeploymentPlan : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::DeploymentPlan > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + label (Type&); + + virtual void + label (Type const&); + + virtual void + label_none (Type&); + + virtual void + label_none (Type const&); + + virtual void + UUID (Type&); + + virtual void + UUID (Type const&); + + virtual void + UUID_none (Type&); + + virtual void + UUID_none (Type const&); + + virtual void + realizes (Type&); + + virtual void + realizes (Type const&); + + virtual void + implementation (Type&); + + virtual void + implementation (Type const&); + + virtual void + instance (Type&); + + virtual void + instance (Type const&); + + virtual void + instance_pre (Type&); + + virtual void + instance_pre (Type const&); + + virtual void + instance_next (Type&); + + virtual void + instance_next (Type const&); + + virtual void + instance_post (Type&); + + virtual void + instance_post (Type const&); + + virtual void + instance_none (Type&); + + virtual void + instance_none (Type const&); + + virtual void + connection (Type&); + + virtual void + connection (Type const&); + + virtual void + connection_pre (Type&); + + virtual void + connection_pre (Type const&); + + virtual void + connection_next (Type&); + + virtual void + connection_next (Type const&); + + virtual void + connection_post (Type&); + + virtual void + connection_post (Type const&); + + virtual void + connection_none (Type&); + + virtual void + connection_none (Type const&); + + virtual void + dependsOn (Type&); + + virtual void + dependsOn (Type const&); + + virtual void + dependsOn_pre (Type&); + + virtual void + dependsOn_pre (Type const&); + + virtual void + dependsOn_next (Type&); + + virtual void + dependsOn_next (Type const&); + + virtual void + dependsOn_post (Type&); + + virtual void + dependsOn_post (Type const&); + + virtual void + dependsOn_none (Type&); + + virtual void + dependsOn_none (Type const&); + + virtual void + artifact (Type&); + + virtual void + artifact (Type const&); + + virtual void + artifact_pre (Type&); + + virtual void + artifact_pre (Type const&); + + virtual void + artifact_next (Type&); + + virtual void + artifact_next (Type const&); + + virtual void + artifact_post (Type&); + + virtual void + artifact_post (Type const&); + + virtual void + artifact_none (Type&); + + virtual void + artifact_none (Type const&); + + virtual void + infoProperty (Type&); + + virtual void + infoProperty (Type const&); + + virtual void + infoProperty_pre (Type&); + + virtual void + infoProperty_pre (Type const&); + + virtual void + infoProperty_next (Type&); + + virtual void + infoProperty_next (Type const&); + + virtual void + infoProperty_post (Type&); + + virtual void + infoProperty_post (Type const&); + + virtual void + infoProperty_none (Type&); + + virtual void + infoProperty_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + } + } +} + +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + struct DeploymentPlan : Traversal::DeploymentPlan, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::DeploymentPlan Type; + DeploymentPlan (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + label (Type const&); + + virtual void + UUID (Type const&); + + virtual void + realizes (Type const&); + + virtual void + implementation (Type const&); + + virtual void + instance_pre (Type const&); + + virtual void + instance_next (Type const&); + + virtual void + instance_post (Type const&); + + virtual void + connection_pre (Type const&); + + virtual void + connection_next (Type const&); + + virtual void + connection_post (Type const&); + + virtual void + dependsOn_pre (Type const&); + + virtual void + dependsOn_next (Type const&); + + virtual void + dependsOn_post (Type const&); + + virtual void + artifact_pre (Type const&); + + virtual void + artifact_next (Type const&); + + virtual void + artifact_post (Type const&); + + virtual void + infoProperty_pre (Type const&); + + virtual void + infoProperty_next (Type const&); + + virtual void + infoProperty_post (Type const&); + + protected: + DeploymentPlan (); + }; + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + } +} + #endif // CDP_HPP diff --git a/TAO/CIAO/DAnCE/Config_Handlers/cid.cpp b/TAO/CIAO/DAnCE/Config_Handlers/cid.cpp index 5d9d3641aab..233754a11dc 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/cid.cpp +++ b/TAO/CIAO/DAnCE/Config_Handlers/cid.cpp @@ -1530,3 +1530,1497 @@ namespace CIAO } } +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace + { + ::XMLSchema::TypeInfoInitializer < char > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); + + struct SubcomponentInstantiationDescriptionTypeInfoInitializer + { + SubcomponentInstantiationDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (SubcomponentInstantiationDescription)); + ::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)); + } + }; + + SubcomponentInstantiationDescriptionTypeInfoInitializer SubcomponentInstantiationDescriptionTypeInfoInitializer_; + + struct SubcomponentPropertyReferenceTypeInfoInitializer + { + SubcomponentPropertyReferenceTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (SubcomponentPropertyReference)); + ::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)); + } + }; + + SubcomponentPropertyReferenceTypeInfoInitializer SubcomponentPropertyReferenceTypeInfoInitializer_; + + struct AssemblyPropertyMappingTypeInfoInitializer + { + AssemblyPropertyMappingTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (AssemblyPropertyMapping)); + ::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)); + } + }; + + AssemblyPropertyMappingTypeInfoInitializer AssemblyPropertyMappingTypeInfoInitializer_; + + struct ComponentAssemblyDescriptionTypeInfoInitializer + { + ComponentAssemblyDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ComponentAssemblyDescription)); + ::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)); + } + }; + + ComponentAssemblyDescriptionTypeInfoInitializer ComponentAssemblyDescriptionTypeInfoInitializer_; + + struct MonolithicImplementationDescriptionTypeInfoInitializer + { + MonolithicImplementationDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (MonolithicImplementationDescription)); + ::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)); + } + }; + + MonolithicImplementationDescriptionTypeInfoInitializer MonolithicImplementationDescriptionTypeInfoInitializer_; + + struct ComponentImplementationDescriptionTypeInfoInitializer + { + ComponentImplementationDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (ComponentImplementationDescription)); + ::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)); + } + }; + + ComponentImplementationDescriptionTypeInfoInitializer ComponentImplementationDescriptionTypeInfoInitializer_; + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Traversal + { + // SubcomponentInstantiationDescription + // + // + + void SubcomponentInstantiationDescription:: + traverse (Type& o) + { + pre (o); + name (o); + package (o); + if (o.configProperty_p ()) configProperty (o); + else configProperty_none (o); + if (o.selectRequirement_p ()) selectRequirement (o); + else selectRequirement_none (o); + if (o.reference_p ()) reference (o); + else reference_none (o); + if (o.id_p ()) id (o); + else id_none (o); + post (o); + } + + void SubcomponentInstantiationDescription:: + traverse (Type const& o) + { + pre (o); + name (o); + package (o); + if (o.configProperty_p ()) configProperty (o); + else configProperty_none (o); + if (o.selectRequirement_p ()) selectRequirement (o); + else selectRequirement_none (o); + if (o.reference_p ()) reference (o); + else reference_none (o); + if (o.id_p ()) id (o); + else id_none (o); + post (o); + } + + void SubcomponentInstantiationDescription:: + pre (Type&) + { + } + + void SubcomponentInstantiationDescription:: + pre (Type const&) + { + } + + void SubcomponentInstantiationDescription:: + name (Type& o) + { + dispatch (o.name ()); + } + + void SubcomponentInstantiationDescription:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void SubcomponentInstantiationDescription:: + package (Type& o) + { + dispatch (o.package ()); + } + + void SubcomponentInstantiationDescription:: + package (Type const& o) + { + dispatch (o.package ()); + } + + void SubcomponentInstantiationDescription:: + configProperty (Type& o) + { + dispatch (o.configProperty ()); + } + + void SubcomponentInstantiationDescription:: + configProperty (Type const& o) + { + dispatch (o.configProperty ()); + } + + void SubcomponentInstantiationDescription:: + configProperty_none (Type&) + { + } + + void SubcomponentInstantiationDescription:: + configProperty_none (Type const&) + { + } + + void SubcomponentInstantiationDescription:: + selectRequirement (Type& o) + { + dispatch (o.selectRequirement ()); + } + + void SubcomponentInstantiationDescription:: + selectRequirement (Type const& o) + { + dispatch (o.selectRequirement ()); + } + + void SubcomponentInstantiationDescription:: + selectRequirement_none (Type&) + { + } + + void SubcomponentInstantiationDescription:: + selectRequirement_none (Type const&) + { + } + + void SubcomponentInstantiationDescription:: + reference (Type& o) + { + dispatch (o.reference ()); + } + + void SubcomponentInstantiationDescription:: + reference (Type const& o) + { + dispatch (o.reference ()); + } + + void SubcomponentInstantiationDescription:: + reference_none (Type&) + { + } + + void SubcomponentInstantiationDescription:: + reference_none (Type const&) + { + } + + void SubcomponentInstantiationDescription:: + id (Type& o) + { + dispatch (o.id ()); + } + + void SubcomponentInstantiationDescription:: + id (Type const& o) + { + dispatch (o.id ()); + } + + void SubcomponentInstantiationDescription:: + id_none (Type&) + { + } + + void SubcomponentInstantiationDescription:: + id_none (Type const&) + { + } + + void SubcomponentInstantiationDescription:: + post (Type&) + { + } + + void SubcomponentInstantiationDescription:: + post (Type const&) + { + } + + // SubcomponentPropertyReference + // + // + + void SubcomponentPropertyReference:: + traverse (Type& o) + { + pre (o); + propertyName (o); + instance (o); + post (o); + } + + void SubcomponentPropertyReference:: + traverse (Type const& o) + { + pre (o); + propertyName (o); + instance (o); + post (o); + } + + void SubcomponentPropertyReference:: + pre (Type&) + { + } + + void SubcomponentPropertyReference:: + pre (Type const&) + { + } + + void SubcomponentPropertyReference:: + propertyName (Type& o) + { + dispatch (o.propertyName ()); + } + + void SubcomponentPropertyReference:: + propertyName (Type const& o) + { + dispatch (o.propertyName ()); + } + + void SubcomponentPropertyReference:: + instance (Type& o) + { + dispatch (o.instance ()); + } + + void SubcomponentPropertyReference:: + instance (Type const& o) + { + dispatch (o.instance ()); + } + + void SubcomponentPropertyReference:: + post (Type&) + { + } + + void SubcomponentPropertyReference:: + post (Type const&) + { + } + + // AssemblyPropertyMapping + // + // + + void AssemblyPropertyMapping:: + traverse (Type& o) + { + pre (o); + name (o); + externalName (o); + delegatesTo (o); + post (o); + } + + void AssemblyPropertyMapping:: + traverse (Type const& o) + { + pre (o); + name (o); + externalName (o); + delegatesTo (o); + post (o); + } + + void AssemblyPropertyMapping:: + pre (Type&) + { + } + + void AssemblyPropertyMapping:: + pre (Type const&) + { + } + + void AssemblyPropertyMapping:: + name (Type& o) + { + dispatch (o.name ()); + } + + void AssemblyPropertyMapping:: + name (Type const& o) + { + dispatch (o.name ()); + } + + void AssemblyPropertyMapping:: + externalName (Type& o) + { + dispatch (o.externalName ()); + } + + void AssemblyPropertyMapping:: + externalName (Type const& o) + { + dispatch (o.externalName ()); + } + + void AssemblyPropertyMapping:: + delegatesTo (Type& o) + { + dispatch (o.delegatesTo ()); + } + + void AssemblyPropertyMapping:: + delegatesTo (Type const& o) + { + dispatch (o.delegatesTo ()); + } + + void AssemblyPropertyMapping:: + post (Type&) + { + } + + void AssemblyPropertyMapping:: + post (Type const&) + { + } + + // ComponentAssemblyDescription + // + // + + void ComponentAssemblyDescription:: + traverse (Type& o) + { + pre (o); + instance (o); + connection (o); + if (o.externalProperty_p ()) externalProperty (o); + else externalProperty_none (o); + post (o); + } + + void ComponentAssemblyDescription:: + traverse (Type const& o) + { + pre (o); + instance (o); + connection (o); + if (o.externalProperty_p ()) externalProperty (o); + else externalProperty_none (o); + post (o); + } + + void ComponentAssemblyDescription:: + pre (Type&) + { + } + + void ComponentAssemblyDescription:: + pre (Type const&) + { + } + + void ComponentAssemblyDescription:: + instance (Type& o) + { + // VC6 anathema strikes again + // + ComponentAssemblyDescription::Type::instance_iterator b (o.begin_instance()), e (o.end_instance()); + + if (b != e) + { + instance_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) instance_next (o); + } + + instance_post (o); + } + } + + void ComponentAssemblyDescription:: + instance (Type const& o) + { + // VC6 anathema strikes again + // + ComponentAssemblyDescription::Type::instance_const_iterator b (o.begin_instance()), e (o.end_instance()); + + if (b != e) + { + instance_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) instance_next (o); + } + + instance_post (o); + } + } + + void ComponentAssemblyDescription:: + instance_pre (Type&) + { + } + + void ComponentAssemblyDescription:: + instance_pre (Type const&) + { + } + + void ComponentAssemblyDescription:: + instance_next (Type&) + { + } + + void ComponentAssemblyDescription:: + instance_next (Type const&) + { + } + + void ComponentAssemblyDescription:: + instance_post (Type&) + { + } + + void ComponentAssemblyDescription:: + instance_post (Type const&) + { + } + + void ComponentAssemblyDescription:: + connection (Type& o) + { + // VC6 anathema strikes again + // + ComponentAssemblyDescription::Type::connection_iterator b (o.begin_connection()), e (o.end_connection()); + + if (b != e) + { + connection_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) connection_next (o); + } + + connection_post (o); + } + } + + void ComponentAssemblyDescription:: + connection (Type const& o) + { + // VC6 anathema strikes again + // + ComponentAssemblyDescription::Type::connection_const_iterator b (o.begin_connection()), e (o.end_connection()); + + if (b != e) + { + connection_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) connection_next (o); + } + + connection_post (o); + } + } + + void ComponentAssemblyDescription:: + connection_pre (Type&) + { + } + + void ComponentAssemblyDescription:: + connection_pre (Type const&) + { + } + + void ComponentAssemblyDescription:: + connection_next (Type&) + { + } + + void ComponentAssemblyDescription:: + connection_next (Type const&) + { + } + + void ComponentAssemblyDescription:: + connection_post (Type&) + { + } + + void ComponentAssemblyDescription:: + connection_post (Type const&) + { + } + + void ComponentAssemblyDescription:: + externalProperty (Type& o) + { + dispatch (o.externalProperty ()); + } + + void ComponentAssemblyDescription:: + externalProperty (Type const& o) + { + dispatch (o.externalProperty ()); + } + + void ComponentAssemblyDescription:: + externalProperty_none (Type&) + { + } + + void ComponentAssemblyDescription:: + externalProperty_none (Type const&) + { + } + + void ComponentAssemblyDescription:: + post (Type&) + { + } + + void ComponentAssemblyDescription:: + post (Type const&) + { + } + + // MonolithicImplementationDescription + // + // + + void MonolithicImplementationDescription:: + traverse (Type& o) + { + pre (o); + if (o.execParameter_p ()) execParameter (o); + else execParameter_none (o); + primaryArtifact (o); + if (o.deployRequirement_p ()) deployRequirement (o); + else deployRequirement_none (o); + post (o); + } + + void MonolithicImplementationDescription:: + traverse (Type const& o) + { + pre (o); + if (o.execParameter_p ()) execParameter (o); + else execParameter_none (o); + primaryArtifact (o); + if (o.deployRequirement_p ()) deployRequirement (o); + else deployRequirement_none (o); + post (o); + } + + void MonolithicImplementationDescription:: + pre (Type&) + { + } + + void MonolithicImplementationDescription:: + pre (Type const&) + { + } + + void MonolithicImplementationDescription:: + execParameter (Type& o) + { + dispatch (o.execParameter ()); + } + + void MonolithicImplementationDescription:: + execParameter (Type const& o) + { + dispatch (o.execParameter ()); + } + + void MonolithicImplementationDescription:: + execParameter_none (Type&) + { + } + + void MonolithicImplementationDescription:: + execParameter_none (Type const&) + { + } + + void MonolithicImplementationDescription:: + primaryArtifact (Type& o) + { + // VC6 anathema strikes again + // + MonolithicImplementationDescription::Type::primaryArtifact_iterator b (o.begin_primaryArtifact()), e (o.end_primaryArtifact()); + + if (b != e) + { + primaryArtifact_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) primaryArtifact_next (o); + } + + primaryArtifact_post (o); + } + } + + void MonolithicImplementationDescription:: + primaryArtifact (Type const& o) + { + // VC6 anathema strikes again + // + MonolithicImplementationDescription::Type::primaryArtifact_const_iterator b (o.begin_primaryArtifact()), e (o.end_primaryArtifact()); + + if (b != e) + { + primaryArtifact_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) primaryArtifact_next (o); + } + + primaryArtifact_post (o); + } + } + + void MonolithicImplementationDescription:: + primaryArtifact_pre (Type&) + { + } + + void MonolithicImplementationDescription:: + primaryArtifact_pre (Type const&) + { + } + + void MonolithicImplementationDescription:: + primaryArtifact_next (Type&) + { + } + + void MonolithicImplementationDescription:: + primaryArtifact_next (Type const&) + { + } + + void MonolithicImplementationDescription:: + primaryArtifact_post (Type&) + { + } + + void MonolithicImplementationDescription:: + primaryArtifact_post (Type const&) + { + } + + void MonolithicImplementationDescription:: + deployRequirement (Type& o) + { + dispatch (o.deployRequirement ()); + } + + void MonolithicImplementationDescription:: + deployRequirement (Type const& o) + { + dispatch (o.deployRequirement ()); + } + + void MonolithicImplementationDescription:: + deployRequirement_none (Type&) + { + } + + void MonolithicImplementationDescription:: + deployRequirement_none (Type const&) + { + } + + void MonolithicImplementationDescription:: + post (Type&) + { + } + + void MonolithicImplementationDescription:: + post (Type const&) + { + } + + // ComponentImplementationDescription + // + // + + 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); + if (o.configProperty_p ()) configProperty (o); + else configProperty_none (o); + if (o.capability_p ()) capability (o); + else capability_none (o); + if (o.dependsOn_p ()) dependsOn (o); + else dependsOn_none (o); + if (o.infoProperty_p ()) infoProperty (o); + else infoProperty_none (o); + if (o.contentLocation_p ()) contentLocation (o); + else contentLocation_none (o); + post (o); + } + + 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); + if (o.configProperty_p ()) configProperty (o); + else configProperty_none (o); + if (o.capability_p ()) capability (o); + else capability_none (o); + if (o.dependsOn_p ()) dependsOn (o); + else dependsOn_none (o); + if (o.infoProperty_p ()) infoProperty (o); + else infoProperty_none (o); + if (o.contentLocation_p ()) contentLocation (o); + else contentLocation_none (o); + post (o); + } + + void ComponentImplementationDescription:: + pre (Type&) + { + } + + void ComponentImplementationDescription:: + pre (Type const&) + { + } + + void ComponentImplementationDescription:: + label (Type& o) + { + dispatch (o.label ()); + } + + void ComponentImplementationDescription:: + label (Type const& o) + { + dispatch (o.label ()); + } + + void ComponentImplementationDescription:: + label_none (Type&) + { + } + + void ComponentImplementationDescription:: + label_none (Type const&) + { + } + + void ComponentImplementationDescription:: + UUID (Type& o) + { + dispatch (o.UUID ()); + } + + void ComponentImplementationDescription:: + UUID (Type const& o) + { + dispatch (o.UUID ()); + } + + void ComponentImplementationDescription:: + UUID_none (Type&) + { + } + + void ComponentImplementationDescription:: + UUID_none (Type const&) + { + } + + void ComponentImplementationDescription:: + implements (Type& o) + { + dispatch (o.implements ()); + } + + void ComponentImplementationDescription:: + implements (Type const& o) + { + dispatch (o.implements ()); + } + + void ComponentImplementationDescription:: + implements_none (Type&) + { + } + + void ComponentImplementationDescription:: + implements_none (Type const&) + { + } + + void ComponentImplementationDescription:: + assemblyImpl (Type& o) + { + dispatch (o.assemblyImpl ()); + } + + void ComponentImplementationDescription:: + assemblyImpl (Type const& o) + { + dispatch (o.assemblyImpl ()); + } + + void ComponentImplementationDescription:: + assemblyImpl_none (Type&) + { + } + + void ComponentImplementationDescription:: + assemblyImpl_none (Type const&) + { + } + + void ComponentImplementationDescription:: + monolithicImpl (Type& o) + { + dispatch (o.monolithicImpl ()); + } + + void ComponentImplementationDescription:: + monolithicImpl (Type const& o) + { + dispatch (o.monolithicImpl ()); + } + + void ComponentImplementationDescription:: + monolithicImpl_none (Type&) + { + } + + void ComponentImplementationDescription:: + monolithicImpl_none (Type const&) + { + } + + void ComponentImplementationDescription:: + configProperty (Type& o) + { + dispatch (o.configProperty ()); + } + + void ComponentImplementationDescription:: + configProperty (Type const& o) + { + dispatch (o.configProperty ()); + } + + void ComponentImplementationDescription:: + configProperty_none (Type&) + { + } + + void ComponentImplementationDescription:: + configProperty_none (Type const&) + { + } + + void ComponentImplementationDescription:: + capability (Type& o) + { + dispatch (o.capability ()); + } + + void ComponentImplementationDescription:: + capability (Type const& o) + { + dispatch (o.capability ()); + } + + void ComponentImplementationDescription:: + capability_none (Type&) + { + } + + void ComponentImplementationDescription:: + capability_none (Type const&) + { + } + + void ComponentImplementationDescription:: + dependsOn (Type& o) + { + dispatch (o.dependsOn ()); + } + + void ComponentImplementationDescription:: + dependsOn (Type const& o) + { + dispatch (o.dependsOn ()); + } + + void ComponentImplementationDescription:: + dependsOn_none (Type&) + { + } + + void ComponentImplementationDescription:: + dependsOn_none (Type const&) + { + } + + void ComponentImplementationDescription:: + infoProperty (Type& o) + { + dispatch (o.infoProperty ()); + } + + void ComponentImplementationDescription:: + infoProperty (Type const& o) + { + dispatch (o.infoProperty ()); + } + + void ComponentImplementationDescription:: + infoProperty_none (Type&) + { + } + + void ComponentImplementationDescription:: + infoProperty_none (Type const&) + { + } + + void ComponentImplementationDescription:: + contentLocation (Type& o) + { + dispatch (o.contentLocation ()); + } + + void ComponentImplementationDescription:: + contentLocation (Type const& o) + { + dispatch (o.contentLocation ()); + } + + void ComponentImplementationDescription:: + contentLocation_none (Type&) + { + } + + void ComponentImplementationDescription:: + contentLocation_none (Type const&) + { + } + + void ComponentImplementationDescription:: + post (Type&) + { + } + + void ComponentImplementationDescription:: + post (Type const&) + { + } + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + // SubcomponentInstantiationDescription + // + // + + SubcomponentInstantiationDescription:: + SubcomponentInstantiationDescription (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + SubcomponentInstantiationDescription:: + SubcomponentInstantiationDescription () + { + } + + void SubcomponentInstantiationDescription:: + traverse (Type const& o) + { + Traversal::SubcomponentInstantiationDescription::traverse (o); + } + + void SubcomponentInstantiationDescription:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("name", top_ ())); + Traversal::SubcomponentInstantiationDescription::name (o); + pop_ (); + } + + void SubcomponentInstantiationDescription:: + package (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("package", top_ ())); + Traversal::SubcomponentInstantiationDescription::package (o); + pop_ (); + } + + void SubcomponentInstantiationDescription:: + configProperty (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("configProperty", top_ ())); + Traversal::SubcomponentInstantiationDescription::configProperty (o); + pop_ (); + } + + void SubcomponentInstantiationDescription:: + selectRequirement (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("selectRequirement", top_ ())); + Traversal::SubcomponentInstantiationDescription::selectRequirement (o); + pop_ (); + } + + void SubcomponentInstantiationDescription:: + reference (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("reference", top_ ())); + Traversal::SubcomponentInstantiationDescription::reference (o); + pop_ (); + } + + void SubcomponentInstantiationDescription:: + id (Type const& o) + { + ::XSCRT::XML::Attribute< char > a ("id", "", top_ ()); + attr_ (&a); + Traversal::SubcomponentInstantiationDescription::id (o); + attr_ (0); + } + + // SubcomponentPropertyReference + // + // + + SubcomponentPropertyReference:: + SubcomponentPropertyReference (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + SubcomponentPropertyReference:: + SubcomponentPropertyReference () + { + } + + void SubcomponentPropertyReference:: + traverse (Type const& o) + { + Traversal::SubcomponentPropertyReference::traverse (o); + } + + void SubcomponentPropertyReference:: + propertyName (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("propertyName", top_ ())); + Traversal::SubcomponentPropertyReference::propertyName (o); + pop_ (); + } + + void SubcomponentPropertyReference:: + instance (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("instance", top_ ())); + Traversal::SubcomponentPropertyReference::instance (o); + pop_ (); + } + + // AssemblyPropertyMapping + // + // + + AssemblyPropertyMapping:: + AssemblyPropertyMapping (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + AssemblyPropertyMapping:: + AssemblyPropertyMapping () + { + } + + void AssemblyPropertyMapping:: + traverse (Type const& o) + { + Traversal::AssemblyPropertyMapping::traverse (o); + } + + void AssemblyPropertyMapping:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("name", top_ ())); + Traversal::AssemblyPropertyMapping::name (o); + pop_ (); + } + + void AssemblyPropertyMapping:: + externalName (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("externalName", top_ ())); + Traversal::AssemblyPropertyMapping::externalName (o); + pop_ (); + } + + void AssemblyPropertyMapping:: + delegatesTo (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("delegatesTo", top_ ())); + Traversal::AssemblyPropertyMapping::delegatesTo (o); + pop_ (); + } + + // ComponentAssemblyDescription + // + // + + ComponentAssemblyDescription:: + ComponentAssemblyDescription (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + ComponentAssemblyDescription:: + ComponentAssemblyDescription () + { + } + + void ComponentAssemblyDescription:: + traverse (Type const& o) + { + Traversal::ComponentAssemblyDescription::traverse (o); + } + + void ComponentAssemblyDescription:: + instance_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("instance", top_ ())); + } + + void ComponentAssemblyDescription:: + instance_next (Type const& o) + { + instance_post (o); + instance_pre (o); + } + + void ComponentAssemblyDescription:: + instance_post (Type const&) + { + pop_ (); + } + + void ComponentAssemblyDescription:: + connection_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("connection", top_ ())); + } + + void ComponentAssemblyDescription:: + connection_next (Type const& o) + { + connection_post (o); + connection_pre (o); + } + + void ComponentAssemblyDescription:: + connection_post (Type const&) + { + pop_ (); + } + + void ComponentAssemblyDescription:: + externalProperty (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("externalProperty", top_ ())); + Traversal::ComponentAssemblyDescription::externalProperty (o); + pop_ (); + } + + // MonolithicImplementationDescription + // + // + + MonolithicImplementationDescription:: + MonolithicImplementationDescription (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + MonolithicImplementationDescription:: + MonolithicImplementationDescription () + { + } + + void MonolithicImplementationDescription:: + traverse (Type const& o) + { + Traversal::MonolithicImplementationDescription::traverse (o); + } + + void MonolithicImplementationDescription:: + execParameter (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("execParameter", top_ ())); + Traversal::MonolithicImplementationDescription::execParameter (o); + pop_ (); + } + + void MonolithicImplementationDescription:: + primaryArtifact_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("primaryArtifact", top_ ())); + } + + void MonolithicImplementationDescription:: + primaryArtifact_next (Type const& o) + { + primaryArtifact_post (o); + primaryArtifact_pre (o); + } + + void MonolithicImplementationDescription:: + primaryArtifact_post (Type const&) + { + pop_ (); + } + + void MonolithicImplementationDescription:: + deployRequirement (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("deployRequirement", top_ ())); + Traversal::MonolithicImplementationDescription::deployRequirement (o); + pop_ (); + } + + // ComponentImplementationDescription + // + // + + ComponentImplementationDescription:: + ComponentImplementationDescription (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + ComponentImplementationDescription:: + ComponentImplementationDescription () + { + } + + void ComponentImplementationDescription:: + traverse (Type const& o) + { + Traversal::ComponentImplementationDescription::traverse (o); + } + + void ComponentImplementationDescription:: + label (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("label", top_ ())); + Traversal::ComponentImplementationDescription::label (o); + pop_ (); + } + + void ComponentImplementationDescription:: + UUID (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("UUID", top_ ())); + Traversal::ComponentImplementationDescription::UUID (o); + pop_ (); + } + + void ComponentImplementationDescription:: + implements (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("implements", top_ ())); + Traversal::ComponentImplementationDescription::implements (o); + pop_ (); + } + + void ComponentImplementationDescription:: + assemblyImpl (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("assemblyImpl", top_ ())); + Traversal::ComponentImplementationDescription::assemblyImpl (o); + pop_ (); + } + + void ComponentImplementationDescription:: + monolithicImpl (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("monolithicImpl", top_ ())); + Traversal::ComponentImplementationDescription::monolithicImpl (o); + pop_ (); + } + + void ComponentImplementationDescription:: + configProperty (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("configProperty", top_ ())); + Traversal::ComponentImplementationDescription::configProperty (o); + pop_ (); + } + + void ComponentImplementationDescription:: + capability (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("capability", top_ ())); + Traversal::ComponentImplementationDescription::capability (o); + pop_ (); + } + + void ComponentImplementationDescription:: + dependsOn (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("dependsOn", top_ ())); + Traversal::ComponentImplementationDescription::dependsOn (o); + pop_ (); + } + + void ComponentImplementationDescription:: + infoProperty (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("infoProperty", top_ ())); + Traversal::ComponentImplementationDescription::infoProperty (o); + pop_ (); + } + + void ComponentImplementationDescription:: + contentLocation (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("contentLocation", top_ ())); + Traversal::ComponentImplementationDescription::contentLocation (o); + pop_ (); + } + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + } +} + diff --git a/TAO/CIAO/DAnCE/Config_Handlers/cid.hpp b/TAO/CIAO/DAnCE/Config_Handlers/cid.hpp index 2e233389177..edbc0c68c71 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/cid.hpp +++ b/TAO/CIAO/DAnCE/Config_Handlers/cid.hpp @@ -452,4 +452,654 @@ namespace CIAO } } +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Traversal + { + struct SubcomponentInstantiationDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SubcomponentInstantiationDescription > + { + 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 + package (Type&); + + virtual void + package (Type const&); + + virtual void + configProperty (Type&); + + virtual void + configProperty (Type const&); + + virtual void + configProperty_none (Type&); + + virtual void + configProperty_none (Type const&); + + virtual void + selectRequirement (Type&); + + virtual void + selectRequirement (Type const&); + + virtual void + selectRequirement_none (Type&); + + virtual void + selectRequirement_none (Type const&); + + virtual void + reference (Type&); + + virtual void + reference (Type const&); + + virtual void + reference_none (Type&); + + virtual void + reference_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&); + }; + + struct SubcomponentPropertyReference : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::SubcomponentPropertyReference > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + propertyName (Type&); + + virtual void + propertyName (Type const&); + + virtual void + instance (Type&); + + virtual void + instance (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct AssemblyPropertyMapping : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::AssemblyPropertyMapping > + { + 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 + externalName (Type&); + + virtual void + externalName (Type const&); + + virtual void + delegatesTo (Type&); + + virtual void + delegatesTo (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct ComponentAssemblyDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentAssemblyDescription > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + instance (Type&); + + virtual void + instance (Type const&); + + virtual void + instance_pre (Type&); + + virtual void + instance_pre (Type const&); + + virtual void + instance_next (Type&); + + virtual void + instance_next (Type const&); + + virtual void + instance_post (Type&); + + virtual void + instance_post (Type const&); + + virtual void + connection (Type&); + + virtual void + connection (Type const&); + + virtual void + connection_pre (Type&); + + virtual void + connection_pre (Type const&); + + virtual void + connection_next (Type&); + + virtual void + connection_next (Type const&); + + virtual void + connection_post (Type&); + + virtual void + connection_post (Type const&); + + virtual void + externalProperty (Type&); + + virtual void + externalProperty (Type const&); + + virtual void + externalProperty_none (Type&); + + virtual void + externalProperty_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct MonolithicImplementationDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::MonolithicImplementationDescription > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + execParameter (Type&); + + virtual void + execParameter (Type const&); + + virtual void + execParameter_none (Type&); + + virtual void + execParameter_none (Type const&); + + virtual void + primaryArtifact (Type&); + + virtual void + primaryArtifact (Type const&); + + virtual void + primaryArtifact_pre (Type&); + + virtual void + primaryArtifact_pre (Type const&); + + virtual void + primaryArtifact_next (Type&); + + virtual void + primaryArtifact_next (Type const&); + + virtual void + primaryArtifact_post (Type&); + + virtual void + primaryArtifact_post (Type const&); + + virtual void + deployRequirement (Type&); + + virtual void + deployRequirement (Type const&); + + virtual void + deployRequirement_none (Type&); + + virtual void + deployRequirement_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct ComponentImplementationDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentImplementationDescription > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + label (Type&); + + virtual void + label (Type const&); + + virtual void + label_none (Type&); + + virtual void + label_none (Type const&); + + virtual void + UUID (Type&); + + virtual void + UUID (Type const&); + + virtual void + UUID_none (Type&); + + virtual void + UUID_none (Type const&); + + virtual void + implements (Type&); + + virtual void + implements (Type const&); + + virtual void + implements_none (Type&); + + virtual void + implements_none (Type const&); + + virtual void + assemblyImpl (Type&); + + virtual void + assemblyImpl (Type const&); + + virtual void + assemblyImpl_none (Type&); + + virtual void + assemblyImpl_none (Type const&); + + virtual void + monolithicImpl (Type&); + + virtual void + monolithicImpl (Type const&); + + virtual void + monolithicImpl_none (Type&); + + virtual void + monolithicImpl_none (Type const&); + + virtual void + configProperty (Type&); + + virtual void + configProperty (Type const&); + + virtual void + configProperty_none (Type&); + + virtual void + configProperty_none (Type const&); + + virtual void + capability (Type&); + + virtual void + capability (Type const&); + + virtual void + capability_none (Type&); + + virtual void + capability_none (Type const&); + + virtual void + dependsOn (Type&); + + virtual void + dependsOn (Type const&); + + virtual void + dependsOn_none (Type&); + + virtual void + dependsOn_none (Type const&); + + virtual void + infoProperty (Type&); + + virtual void + infoProperty (Type const&); + + virtual void + infoProperty_none (Type&); + + virtual void + infoProperty_none (Type const&); + + virtual void + contentLocation (Type&); + + virtual void + contentLocation (Type const&); + + virtual void + contentLocation_none (Type&); + + virtual void + contentLocation_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + } + } +} + +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + struct SubcomponentInstantiationDescription : Traversal::SubcomponentInstantiationDescription, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::SubcomponentInstantiationDescription Type; + SubcomponentInstantiationDescription (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + name (Type const&); + + virtual void + package (Type const&); + + virtual void + configProperty (Type const&); + + virtual void + selectRequirement (Type const&); + + virtual void + reference (Type const&); + + virtual void + id (Type const&); + + protected: + SubcomponentInstantiationDescription (); + }; + + struct SubcomponentPropertyReference : Traversal::SubcomponentPropertyReference, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::SubcomponentPropertyReference Type; + SubcomponentPropertyReference (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + propertyName (Type const&); + + virtual void + instance (Type const&); + + protected: + SubcomponentPropertyReference (); + }; + + struct AssemblyPropertyMapping : Traversal::AssemblyPropertyMapping, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::AssemblyPropertyMapping Type; + AssemblyPropertyMapping (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + name (Type const&); + + virtual void + externalName (Type const&); + + virtual void + delegatesTo (Type const&); + + protected: + AssemblyPropertyMapping (); + }; + + struct ComponentAssemblyDescription : Traversal::ComponentAssemblyDescription, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::ComponentAssemblyDescription Type; + ComponentAssemblyDescription (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + instance_pre (Type const&); + + virtual void + instance_next (Type const&); + + virtual void + instance_post (Type const&); + + virtual void + connection_pre (Type const&); + + virtual void + connection_next (Type const&); + + virtual void + connection_post (Type const&); + + virtual void + externalProperty (Type const&); + + protected: + ComponentAssemblyDescription (); + }; + + struct MonolithicImplementationDescription : Traversal::MonolithicImplementationDescription, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::MonolithicImplementationDescription Type; + MonolithicImplementationDescription (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + execParameter (Type const&); + + virtual void + primaryArtifact_pre (Type const&); + + virtual void + primaryArtifact_next (Type const&); + + virtual void + primaryArtifact_post (Type const&); + + virtual void + deployRequirement (Type const&); + + protected: + MonolithicImplementationDescription (); + }; + + struct ComponentImplementationDescription : Traversal::ComponentImplementationDescription, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::ComponentImplementationDescription Type; + ComponentImplementationDescription (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + label (Type const&); + + virtual void + UUID (Type const&); + + virtual void + implements (Type const&); + + virtual void + assemblyImpl (Type const&); + + virtual void + monolithicImpl (Type const&); + + virtual void + configProperty (Type const&); + + virtual void + capability (Type const&); + + virtual void + dependsOn (Type const&); + + virtual void + infoProperty (Type const&); + + virtual void + contentLocation (Type const&); + + protected: + ComponentImplementationDescription (); + }; + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + } +} + #endif // CID_HPP diff --git a/TAO/CIAO/DAnCE/Config_Handlers/cpd.cpp b/TAO/CIAO/DAnCE/Config_Handlers/cpd.cpp index 1417dc041af..763943f549b 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/cpd.cpp +++ b/TAO/CIAO/DAnCE/Config_Handlers/cpd.cpp @@ -498,3 +498,469 @@ namespace CIAO } } +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace + { + ::XMLSchema::TypeInfoInitializer < char > 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); + if (o.configProperty_p ()) configProperty (o); + else configProperty_none (o); + if (o.implementation_p ()) implementation (o); + else implementation_none (o); + if (o.infoProperty_p ()) infoProperty (o); + else infoProperty_none (o); + if (o.contentLocation_p ()) contentLocation (o); + else contentLocation_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); + if (o.configProperty_p ()) configProperty (o); + else configProperty_none (o); + if (o.implementation_p ()) implementation (o); + else implementation_none (o); + if (o.infoProperty_p ()) infoProperty (o); + else infoProperty_none (o); + if (o.contentLocation_p ()) contentLocation (o); + else contentLocation_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) + { + dispatch (o.configProperty ()); + } + + void ComponentPackageDescription:: + configProperty (Type const& o) + { + dispatch (o.configProperty ()); + } + + void ComponentPackageDescription:: + configProperty_none (Type&) + { + } + + void ComponentPackageDescription:: + configProperty_none (Type const&) + { + } + + void ComponentPackageDescription:: + implementation (Type& o) + { + dispatch (o.implementation ()); + } + + void ComponentPackageDescription:: + implementation (Type const& o) + { + dispatch (o.implementation ()); + } + + void ComponentPackageDescription:: + implementation_none (Type&) + { + } + + void ComponentPackageDescription:: + implementation_none (Type const&) + { + } + + void ComponentPackageDescription:: + infoProperty (Type& o) + { + dispatch (o.infoProperty ()); + } + + void ComponentPackageDescription:: + infoProperty (Type const& o) + { + dispatch (o.infoProperty ()); + } + + 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:: + post (Type&) + { + } + + void ComponentPackageDescription:: + post (Type const&) + { + } + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + // PackagedComponentImplementation + // + // + + PackagedComponentImplementation:: + PackagedComponentImplementation (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + PackagedComponentImplementation:: + PackagedComponentImplementation () + { + } + + void PackagedComponentImplementation:: + traverse (Type const& o) + { + Traversal::PackagedComponentImplementation::traverse (o); + } + + void PackagedComponentImplementation:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("name", top_ ())); + Traversal::PackagedComponentImplementation::name (o); + pop_ (); + } + + void PackagedComponentImplementation:: + referencedImplementation (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("referencedImplementation", top_ ())); + Traversal::PackagedComponentImplementation::referencedImplementation (o); + pop_ (); + } + + // ComponentPackageDescription + // + // + + ComponentPackageDescription:: + ComponentPackageDescription (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + ComponentPackageDescription:: + ComponentPackageDescription () + { + } + + void ComponentPackageDescription:: + traverse (Type const& o) + { + Traversal::ComponentPackageDescription::traverse (o); + } + + void ComponentPackageDescription:: + label (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("label", top_ ())); + Traversal::ComponentPackageDescription::label (o); + pop_ (); + } + + void ComponentPackageDescription:: + UUID (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("UUID", top_ ())); + Traversal::ComponentPackageDescription::UUID (o); + pop_ (); + } + + void ComponentPackageDescription:: + realizes (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("realizes", top_ ())); + Traversal::ComponentPackageDescription::realizes (o); + pop_ (); + } + + void ComponentPackageDescription:: + configProperty (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("configProperty", top_ ())); + Traversal::ComponentPackageDescription::configProperty (o); + pop_ (); + } + + void ComponentPackageDescription:: + implementation (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("implementation", top_ ())); + Traversal::ComponentPackageDescription::implementation (o); + pop_ (); + } + + void ComponentPackageDescription:: + infoProperty (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("infoProperty", top_ ())); + Traversal::ComponentPackageDescription::infoProperty (o); + pop_ (); + } + + void ComponentPackageDescription:: + contentLocation (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("contentLocation", top_ ())); + Traversal::ComponentPackageDescription::contentLocation (o); + pop_ (); + } + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + } +} + diff --git a/TAO/CIAO/DAnCE/Config_Handlers/cpd.hpp b/TAO/CIAO/DAnCE/Config_Handlers/cpd.hpp index b39a06eb2e2..be34e75c04f 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/cpd.hpp +++ b/TAO/CIAO/DAnCE/Config_Handlers/cpd.hpp @@ -169,4 +169,224 @@ namespace CIAO } } +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Traversal + { + struct PackagedComponentImplementation : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::PackagedComponentImplementation > + { + 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 + referencedImplementation (Type&); + + virtual void + referencedImplementation (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct ComponentPackageDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPackageDescription > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + label (Type&); + + virtual void + label (Type const&); + + virtual void + label_none (Type&); + + virtual void + label_none (Type const&); + + virtual void + UUID (Type&); + + virtual void + UUID (Type const&); + + virtual void + UUID_none (Type&); + + virtual void + UUID_none (Type const&); + + virtual void + realizes (Type&); + + virtual void + realizes (Type const&); + + virtual void + realizes_none (Type&); + + virtual void + realizes_none (Type const&); + + virtual void + configProperty (Type&); + + virtual void + configProperty (Type const&); + + virtual void + configProperty_none (Type&); + + virtual void + configProperty_none (Type const&); + + virtual void + implementation (Type&); + + virtual void + implementation (Type const&); + + virtual void + implementation_none (Type&); + + virtual void + implementation_none (Type const&); + + virtual void + infoProperty (Type&); + + virtual void + infoProperty (Type const&); + + virtual void + infoProperty_none (Type&); + + virtual void + infoProperty_none (Type const&); + + virtual void + contentLocation (Type&); + + virtual void + contentLocation (Type const&); + + virtual void + contentLocation_none (Type&); + + virtual void + contentLocation_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + } + } +} + +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + struct PackagedComponentImplementation : Traversal::PackagedComponentImplementation, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::PackagedComponentImplementation Type; + PackagedComponentImplementation (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + name (Type const&); + + virtual void + referencedImplementation (Type const&); + + protected: + PackagedComponentImplementation (); + }; + + struct ComponentPackageDescription : Traversal::ComponentPackageDescription, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::ComponentPackageDescription Type; + ComponentPackageDescription (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + label (Type const&); + + virtual void + UUID (Type const&); + + virtual void + realizes (Type const&); + + virtual void + configProperty (Type const&); + + virtual void + implementation (Type const&); + + virtual void + infoProperty (Type const&); + + virtual void + contentLocation (Type const&); + + protected: + ComponentPackageDescription (); + }; + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + } +} + #endif // CPD_HPP diff --git a/TAO/CIAO/DAnCE/Config_Handlers/iad.cpp b/TAO/CIAO/DAnCE/Config_Handlers/iad.cpp index febff70e66a..a4017c1ab95 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/iad.cpp +++ b/TAO/CIAO/DAnCE/Config_Handlers/iad.cpp @@ -596,3 +596,653 @@ namespace CIAO } } +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace + { + ::XMLSchema::TypeInfoInitializer < char > 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 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); + if (o.execParameter_p ()) execParameter (o); + else execParameter_none (o); + if (o.deployRequirement_p ()) deployRequirement (o); + else deployRequirement_none (o); + dependsOn (o); + if (o.infoProperty_p ()) infoProperty (o); + else infoProperty_none (o); + if (o.contentLocation_p ()) contentLocation (o); + else contentLocation_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); + if (o.execParameter_p ()) execParameter (o); + else execParameter_none (o); + if (o.deployRequirement_p ()) deployRequirement (o); + else deployRequirement_none (o); + dependsOn (o); + if (o.infoProperty_p ()) infoProperty (o); + else infoProperty_none (o); + if (o.contentLocation_p ()) contentLocation (o); + else contentLocation_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:: + execParameter (Type& o) + { + dispatch (o.execParameter ()); + } + + void ImplementationArtifactDescription:: + execParameter (Type const& o) + { + dispatch (o.execParameter ()); + } + + void ImplementationArtifactDescription:: + execParameter_none (Type&) + { + } + + void ImplementationArtifactDescription:: + execParameter_none (Type const&) + { + } + + void ImplementationArtifactDescription:: + deployRequirement (Type& o) + { + dispatch (o.deployRequirement ()); + } + + void ImplementationArtifactDescription:: + deployRequirement (Type const& o) + { + dispatch (o.deployRequirement ()); + } + + void ImplementationArtifactDescription:: + deployRequirement_none (Type&) + { + } + + void ImplementationArtifactDescription:: + deployRequirement_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:: + infoProperty (Type& o) + { + dispatch (o.infoProperty ()); + } + + void ImplementationArtifactDescription:: + infoProperty (Type const& o) + { + dispatch (o.infoProperty ()); + } + + void ImplementationArtifactDescription:: + infoProperty_none (Type&) + { + } + + void ImplementationArtifactDescription:: + infoProperty_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:: + post (Type&) + { + } + + void ImplementationArtifactDescription:: + post (Type const&) + { + } + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + // NamedImplementationArtifact + // + // + + NamedImplementationArtifact:: + NamedImplementationArtifact (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + NamedImplementationArtifact:: + NamedImplementationArtifact () + { + } + + void NamedImplementationArtifact:: + traverse (Type const& o) + { + Traversal::NamedImplementationArtifact::traverse (o); + } + + void NamedImplementationArtifact:: + name (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("name", top_ ())); + Traversal::NamedImplementationArtifact::name (o); + pop_ (); + } + + void NamedImplementationArtifact:: + referencedArtifact (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("referencedArtifact", top_ ())); + Traversal::NamedImplementationArtifact::referencedArtifact (o); + pop_ (); + } + + // ImplementationArtifactDescription + // + // + + ImplementationArtifactDescription:: + ImplementationArtifactDescription (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + ImplementationArtifactDescription:: + ImplementationArtifactDescription () + { + } + + void ImplementationArtifactDescription:: + traverse (Type const& o) + { + Traversal::ImplementationArtifactDescription::traverse (o); + } + + void ImplementationArtifactDescription:: + label (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("label", top_ ())); + Traversal::ImplementationArtifactDescription::label (o); + pop_ (); + } + + void ImplementationArtifactDescription:: + UUID (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("UUID", top_ ())); + Traversal::ImplementationArtifactDescription::UUID (o); + pop_ (); + } + + void ImplementationArtifactDescription:: + location_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("location", top_ ())); + } + + void ImplementationArtifactDescription:: + location_next (Type const& o) + { + location_post (o); + location_pre (o); + } + + void ImplementationArtifactDescription:: + location_post (Type const&) + { + pop_ (); + } + + void ImplementationArtifactDescription:: + execParameter (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("execParameter", top_ ())); + Traversal::ImplementationArtifactDescription::execParameter (o); + pop_ (); + } + + void ImplementationArtifactDescription:: + deployRequirement (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("deployRequirement", top_ ())); + Traversal::ImplementationArtifactDescription::deployRequirement (o); + pop_ (); + } + + void ImplementationArtifactDescription:: + dependsOn_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("dependsOn", top_ ())); + } + + void ImplementationArtifactDescription:: + dependsOn_next (Type const& o) + { + dependsOn_post (o); + dependsOn_pre (o); + } + + void ImplementationArtifactDescription:: + dependsOn_post (Type const&) + { + pop_ (); + } + + void ImplementationArtifactDescription:: + infoProperty (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("infoProperty", top_ ())); + Traversal::ImplementationArtifactDescription::infoProperty (o); + pop_ (); + } + + void ImplementationArtifactDescription:: + contentLocation (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("contentLocation", top_ ())); + Traversal::ImplementationArtifactDescription::contentLocation (o); + pop_ (); + } + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + } +} + diff --git a/TAO/CIAO/DAnCE/Config_Handlers/iad.hpp b/TAO/CIAO/DAnCE/Config_Handlers/iad.hpp index 641d9c2092b..954c6381461 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/iad.hpp +++ b/TAO/CIAO/DAnCE/Config_Handlers/iad.hpp @@ -184,4 +184,287 @@ namespace CIAO } } +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Traversal + { + struct NamedImplementationArtifact : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::NamedImplementationArtifact > + { + 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 + referencedArtifact (Type&); + + virtual void + referencedArtifact (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + + struct ImplementationArtifactDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ImplementationArtifactDescription > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + label (Type&); + + virtual void + label (Type const&); + + virtual void + label_none (Type&); + + virtual void + label_none (Type const&); + + virtual void + UUID (Type&); + + virtual void + UUID (Type const&); + + virtual void + UUID_none (Type&); + + virtual void + UUID_none (Type const&); + + virtual void + location (Type&); + + virtual void + location (Type const&); + + virtual void + location_pre (Type&); + + virtual void + location_pre (Type const&); + + virtual void + location_next (Type&); + + virtual void + location_next (Type const&); + + virtual void + location_post (Type&); + + virtual void + location_post (Type const&); + + virtual void + location_none (Type&); + + virtual void + location_none (Type const&); + + virtual void + execParameter (Type&); + + virtual void + execParameter (Type const&); + + virtual void + execParameter_none (Type&); + + virtual void + execParameter_none (Type const&); + + virtual void + deployRequirement (Type&); + + virtual void + deployRequirement (Type const&); + + virtual void + deployRequirement_none (Type&); + + virtual void + deployRequirement_none (Type const&); + + virtual void + dependsOn (Type&); + + virtual void + dependsOn (Type const&); + + virtual void + dependsOn_pre (Type&); + + virtual void + dependsOn_pre (Type const&); + + virtual void + dependsOn_next (Type&); + + virtual void + dependsOn_next (Type const&); + + virtual void + dependsOn_post (Type&); + + virtual void + dependsOn_post (Type const&); + + virtual void + dependsOn_none (Type&); + + virtual void + dependsOn_none (Type const&); + + virtual void + infoProperty (Type&); + + virtual void + infoProperty (Type const&); + + virtual void + infoProperty_none (Type&); + + virtual void + infoProperty_none (Type const&); + + virtual void + contentLocation (Type&); + + virtual void + contentLocation (Type const&); + + virtual void + contentLocation_none (Type&); + + virtual void + contentLocation_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + } + } +} + +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + struct NamedImplementationArtifact : Traversal::NamedImplementationArtifact, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::NamedImplementationArtifact Type; + NamedImplementationArtifact (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + name (Type const&); + + virtual void + referencedArtifact (Type const&); + + protected: + NamedImplementationArtifact (); + }; + + struct ImplementationArtifactDescription : Traversal::ImplementationArtifactDescription, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::ImplementationArtifactDescription Type; + ImplementationArtifactDescription (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + label (Type const&); + + virtual void + UUID (Type const&); + + virtual void + location_pre (Type const&); + + virtual void + location_next (Type const&); + + virtual void + location_post (Type const&); + + virtual void + execParameter (Type const&); + + virtual void + deployRequirement (Type const&); + + virtual void + dependsOn_pre (Type const&); + + virtual void + dependsOn_next (Type const&); + + virtual void + dependsOn_post (Type const&); + + virtual void + infoProperty (Type const&); + + virtual void + contentLocation (Type const&); + + protected: + ImplementationArtifactDescription (); + }; + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + } +} + #endif // IAD_HPP diff --git a/TAO/CIAO/DAnCE/Config_Handlers/pcd.cpp b/TAO/CIAO/DAnCE/Config_Handlers/pcd.cpp index 8e8e7cbcf44..33bc8239c24 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/pcd.cpp +++ b/TAO/CIAO/DAnCE/Config_Handlers/pcd.cpp @@ -387,3 +387,352 @@ namespace CIAO } } +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace + { + ::XMLSchema::TypeInfoInitializer < char > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); + + struct PackageConfigurationTypeInfoInitializer + { + PackageConfigurationTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (PackageConfiguration)); + ::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)); + } + }; + + PackageConfigurationTypeInfoInitializer PackageConfigurationTypeInfoInitializer_; + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Traversal + { + // PackageConfiguration + // + // + + void PackageConfiguration:: + 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.basePackage_p ()) basePackage (o); + else basePackage_none (o); + if (o.reference_p ()) reference (o); + else reference_none (o); + if (o.selectRequirement_p ()) selectRequirement (o); + else selectRequirement_none (o); + if (o.configProperty_p ()) configProperty (o); + else configProperty_none (o); + if (o.contentLocation_p ()) contentLocation (o); + else contentLocation_none (o); + post (o); + } + + void PackageConfiguration:: + 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.basePackage_p ()) basePackage (o); + else basePackage_none (o); + if (o.reference_p ()) reference (o); + else reference_none (o); + if (o.selectRequirement_p ()) selectRequirement (o); + else selectRequirement_none (o); + if (o.configProperty_p ()) configProperty (o); + else configProperty_none (o); + if (o.contentLocation_p ()) contentLocation (o); + else contentLocation_none (o); + post (o); + } + + void PackageConfiguration:: + pre (Type&) + { + } + + void PackageConfiguration:: + pre (Type const&) + { + } + + void PackageConfiguration:: + label (Type& o) + { + dispatch (o.label ()); + } + + void PackageConfiguration:: + label (Type const& o) + { + dispatch (o.label ()); + } + + void PackageConfiguration:: + label_none (Type&) + { + } + + void PackageConfiguration:: + label_none (Type const&) + { + } + + void PackageConfiguration:: + UUID (Type& o) + { + dispatch (o.UUID ()); + } + + void PackageConfiguration:: + UUID (Type const& o) + { + dispatch (o.UUID ()); + } + + void PackageConfiguration:: + UUID_none (Type&) + { + } + + void PackageConfiguration:: + UUID_none (Type const&) + { + } + + void PackageConfiguration:: + basePackage (Type& o) + { + dispatch (o.basePackage ()); + } + + void PackageConfiguration:: + basePackage (Type const& o) + { + dispatch (o.basePackage ()); + } + + void PackageConfiguration:: + basePackage_none (Type&) + { + } + + void PackageConfiguration:: + basePackage_none (Type const&) + { + } + + void PackageConfiguration:: + reference (Type& o) + { + dispatch (o.reference ()); + } + + void PackageConfiguration:: + reference (Type const& o) + { + dispatch (o.reference ()); + } + + void PackageConfiguration:: + reference_none (Type&) + { + } + + void PackageConfiguration:: + reference_none (Type const&) + { + } + + void PackageConfiguration:: + selectRequirement (Type& o) + { + dispatch (o.selectRequirement ()); + } + + void PackageConfiguration:: + selectRequirement (Type const& o) + { + dispatch (o.selectRequirement ()); + } + + void PackageConfiguration:: + selectRequirement_none (Type&) + { + } + + void PackageConfiguration:: + selectRequirement_none (Type const&) + { + } + + void PackageConfiguration:: + configProperty (Type& o) + { + dispatch (o.configProperty ()); + } + + void PackageConfiguration:: + configProperty (Type const& o) + { + dispatch (o.configProperty ()); + } + + void PackageConfiguration:: + configProperty_none (Type&) + { + } + + void PackageConfiguration:: + configProperty_none (Type const&) + { + } + + void PackageConfiguration:: + contentLocation (Type& o) + { + dispatch (o.contentLocation ()); + } + + void PackageConfiguration:: + contentLocation (Type const& o) + { + dispatch (o.contentLocation ()); + } + + void PackageConfiguration:: + contentLocation_none (Type&) + { + } + + void PackageConfiguration:: + contentLocation_none (Type const&) + { + } + + void PackageConfiguration:: + post (Type&) + { + } + + void PackageConfiguration:: + post (Type const&) + { + } + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + // PackageConfiguration + // + // + + PackageConfiguration:: + PackageConfiguration (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + PackageConfiguration:: + PackageConfiguration () + { + } + + void PackageConfiguration:: + traverse (Type const& o) + { + Traversal::PackageConfiguration::traverse (o); + } + + void PackageConfiguration:: + label (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("label", top_ ())); + Traversal::PackageConfiguration::label (o); + pop_ (); + } + + void PackageConfiguration:: + UUID (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("UUID", top_ ())); + Traversal::PackageConfiguration::UUID (o); + pop_ (); + } + + void PackageConfiguration:: + basePackage (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("basePackage", top_ ())); + Traversal::PackageConfiguration::basePackage (o); + pop_ (); + } + + void PackageConfiguration:: + reference (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("reference", top_ ())); + Traversal::PackageConfiguration::reference (o); + pop_ (); + } + + void PackageConfiguration:: + selectRequirement (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("selectRequirement", top_ ())); + Traversal::PackageConfiguration::selectRequirement (o); + pop_ (); + } + + void PackageConfiguration:: + configProperty (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("configProperty", top_ ())); + Traversal::PackageConfiguration::configProperty (o); + pop_ (); + } + + void PackageConfiguration:: + contentLocation (Type const& o) + { + push_ (::XSCRT::XML::Element< char > ("contentLocation", top_ ())); + Traversal::PackageConfiguration::contentLocation (o); + pop_ (); + } + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + } +} + diff --git a/TAO/CIAO/DAnCE/Config_Handlers/pcd.hpp b/TAO/CIAO/DAnCE/Config_Handlers/pcd.hpp index f6567777ed9..dbff44010ce 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/pcd.hpp +++ b/TAO/CIAO/DAnCE/Config_Handlers/pcd.hpp @@ -129,4 +129,172 @@ namespace CIAO } } +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Traversal + { + struct PackageConfiguration : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::PackageConfiguration > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + label (Type&); + + virtual void + label (Type const&); + + virtual void + label_none (Type&); + + virtual void + label_none (Type const&); + + virtual void + UUID (Type&); + + virtual void + UUID (Type const&); + + virtual void + UUID_none (Type&); + + virtual void + UUID_none (Type const&); + + virtual void + basePackage (Type&); + + virtual void + basePackage (Type const&); + + virtual void + basePackage_none (Type&); + + virtual void + basePackage_none (Type const&); + + virtual void + reference (Type&); + + virtual void + reference (Type const&); + + virtual void + reference_none (Type&); + + virtual void + reference_none (Type const&); + + virtual void + selectRequirement (Type&); + + virtual void + selectRequirement (Type const&); + + virtual void + selectRequirement_none (Type&); + + virtual void + selectRequirement_none (Type const&); + + virtual void + configProperty (Type&); + + virtual void + configProperty (Type const&); + + virtual void + configProperty_none (Type&); + + virtual void + configProperty_none (Type const&); + + virtual void + contentLocation (Type&); + + virtual void + contentLocation (Type const&); + + virtual void + contentLocation_none (Type&); + + virtual void + contentLocation_none (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + } + } +} + +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + struct PackageConfiguration : Traversal::PackageConfiguration, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::PackageConfiguration Type; + PackageConfiguration (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + label (Type const&); + + virtual void + UUID (Type const&); + + virtual void + basePackage (Type const&); + + virtual void + reference (Type const&); + + virtual void + selectRequirement (Type const&); + + virtual void + configProperty (Type const&); + + virtual void + contentLocation (Type const&); + + protected: + PackageConfiguration (); + }; + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + } +} + #endif // PCD_HPP diff --git a/TAO/CIAO/DAnCE/Config_Handlers/toplevel.cpp b/TAO/CIAO/DAnCE/Config_Handlers/toplevel.cpp index e5ff87f59ee..1d659de0717 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/toplevel.cpp +++ b/TAO/CIAO/DAnCE/Config_Handlers/toplevel.cpp @@ -136,3 +136,209 @@ namespace CIAO } } +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace + { + ::XMLSchema::TypeInfoInitializer < char > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ()); + + struct TopLevelPackageDescriptionTypeInfoInitializer + { + TopLevelPackageDescriptionTypeInfoInitializer () + { + ::XSCRT::TypeId id (typeid (TopLevelPackageDescription)); + ::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)); + } + }; + + TopLevelPackageDescriptionTypeInfoInitializer TopLevelPackageDescriptionTypeInfoInitializer_; + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Traversal + { + // TopLevelPackageDescription + // + // + + void TopLevelPackageDescription:: + traverse (Type& o) + { + pre (o); + package (o); + post (o); + } + + void TopLevelPackageDescription:: + traverse (Type const& o) + { + pre (o); + package (o); + post (o); + } + + void TopLevelPackageDescription:: + pre (Type&) + { + } + + void TopLevelPackageDescription:: + pre (Type const&) + { + } + + void TopLevelPackageDescription:: + package (Type& o) + { + // VC6 anathema strikes again + // + TopLevelPackageDescription::Type::package_iterator b (o.begin_package()), e (o.end_package()); + + if (b != e) + { + package_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) package_next (o); + } + + package_post (o); + } + } + + void TopLevelPackageDescription:: + package (Type const& o) + { + // VC6 anathema strikes again + // + TopLevelPackageDescription::Type::package_const_iterator b (o.begin_package()), e (o.end_package()); + + if (b != e) + { + package_pre (o); + for (; + b != e; + ) + { + dispatch (*b); + if (++b != e) package_next (o); + } + + package_post (o); + } + } + + void TopLevelPackageDescription:: + package_pre (Type&) + { + } + + void TopLevelPackageDescription:: + package_pre (Type const&) + { + } + + void TopLevelPackageDescription:: + package_next (Type&) + { + } + + void TopLevelPackageDescription:: + package_next (Type const&) + { + } + + void TopLevelPackageDescription:: + package_post (Type&) + { + } + + void TopLevelPackageDescription:: + package_post (Type const&) + { + } + + void TopLevelPackageDescription:: + post (Type&) + { + } + + void TopLevelPackageDescription:: + post (Type const&) + { + } + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + // TopLevelPackageDescription + // + // + + TopLevelPackageDescription:: + TopLevelPackageDescription (::XSCRT::XML::Element< char >& e) + : ::XSCRT::Writer< char > (e) + { + } + + TopLevelPackageDescription:: + TopLevelPackageDescription () + { + } + + void TopLevelPackageDescription:: + traverse (Type const& o) + { + Traversal::TopLevelPackageDescription::traverse (o); + } + + void TopLevelPackageDescription:: + package_pre (Type const&) + { + push_ (::XSCRT::XML::Element< char > ("package", top_ ())); + } + + void TopLevelPackageDescription:: + package_next (Type const& o) + { + package_post (o); + package_pre (o); + } + + void TopLevelPackageDescription:: + package_post (Type const&) + { + pop_ (); + } + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + } +} + diff --git a/TAO/CIAO/DAnCE/Config_Handlers/toplevel.hpp b/TAO/CIAO/DAnCE/Config_Handlers/toplevel.hpp index 201fd7d1fcd..dc674facff2 100644 --- a/TAO/CIAO/DAnCE/Config_Handlers/toplevel.hpp +++ b/TAO/CIAO/DAnCE/Config_Handlers/toplevel.hpp @@ -64,4 +64,100 @@ namespace CIAO } } +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Traversal + { + struct TopLevelPackageDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::TopLevelPackageDescription > + { + virtual void + traverse (Type&); + + virtual void + traverse (Type const&); + + virtual void + pre (Type&); + + virtual void + pre (Type const&); + + virtual void + package (Type&); + + virtual void + package (Type const&); + + virtual void + package_pre (Type&); + + virtual void + package_pre (Type const&); + + virtual void + package_next (Type&); + + virtual void + package_next (Type const&); + + virtual void + package_post (Type&); + + virtual void + package_post (Type const&); + + virtual void + post (Type&); + + virtual void + post (Type const&); + }; + } + } +} + +#include + +namespace CIAO +{ + namespace Config_Handlers + { + namespace Writer + { + struct TopLevelPackageDescription : Traversal::TopLevelPackageDescription, + virtual ::XSCRT::Writer< char > + { + typedef ::CIAO::Config_Handlers::TopLevelPackageDescription Type; + TopLevelPackageDescription (::XSCRT::XML::Element< char >&); + + virtual void + traverse (Type const&); + + virtual void + package_pre (Type const&); + + virtual void + package_next (Type const&); + + virtual void + package_post (Type const&); + + protected: + TopLevelPackageDescription (); + }; + } + } +} + +namespace CIAO +{ + namespace Config_Handlers + { + } +} + #endif // TOPLEVEL_HPP -- cgit v1.2.1