summaryrefslogtreecommitdiff
path: root/TAO/CIAO/DAnCE/Config_Handlers/cdp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/DAnCE/Config_Handlers/cdp.cpp')
-rw-r--r--TAO/CIAO/DAnCE/Config_Handlers/cdp.cpp791
1 files changed, 780 insertions, 11 deletions
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 <XSCRT/ExtendedTypeInfo.hpp>
+
+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
{
}
}
+