diff options
Diffstat (limited to 'TAO/CIAO/DAnCE/Config_Handlers/ccd.cpp')
-rw-r--r-- | TAO/CIAO/DAnCE/Config_Handlers/ccd.cpp | 926 |
1 files changed, 914 insertions, 12 deletions
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 <XSCRT/ExtendedTypeInfo.hpp> + +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 + { + } +} + |