summaryrefslogtreecommitdiff
path: root/CIAO/tools/Config_Handlers/cpd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/tools/Config_Handlers/cpd.cpp')
-rw-r--r--CIAO/tools/Config_Handlers/cpd.cpp2308
1 files changed, 1157 insertions, 1151 deletions
diff --git a/CIAO/tools/Config_Handlers/cpd.cpp b/CIAO/tools/Config_Handlers/cpd.cpp
index 234843d14d4..c59e5e18fef 100644
--- a/CIAO/tools/Config_Handlers/cpd.cpp
+++ b/CIAO/tools/Config_Handlers/cpd.cpp
@@ -9,23 +9,29 @@
* Will Otte <wotte@dre.vanderbilt.edu>
*/
+// Fix for Borland compilers, which seem to have a broken
+// <string> include.
+#ifdef __BORLANDC__
+# include <string.h>
+#endif
+
#include "cpd.hpp"
-#include <iostream>
+
namespace CIAO
{
namespace Config_Handlers
{
// PackagedComponentImplementation
- //
+ //
PackagedComponentImplementation::
PackagedComponentImplementation (::XMLSchema::string< ACE_TCHAR > const& name__,
::CIAO::Config_Handlers::ComponentImplementationDescription const& referencedImplementation__)
- :
- ::XSCRT::Type (),
- name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)),
- referencedImplementation_ (new ::CIAO::Config_Handlers::ComponentImplementationDescription (referencedImplementation__)),
- regulator__ ()
+ :
+ ::XSCRT::Type (),
+ name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)),
+ referencedImplementation_ (new ::CIAO::Config_Handlers::ComponentImplementationDescription (referencedImplementation__)),
+ regulator__ ()
{
name_->container (this);
referencedImplementation_->container (this);
@@ -33,1236 +39,1236 @@ namespace CIAO
PackagedComponentImplementation::
PackagedComponentImplementation (::CIAO::Config_Handlers::PackagedComponentImplementation const& s)
- :
- ::XSCRT::Type (),
- name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)),
-referencedImplementation_ (new ::CIAO::Config_Handlers::ComponentImplementationDescription (*s.referencedImplementation_)),
-regulator__ ()
-{
-name_->container (this);
-referencedImplementation_->container (this);
-}
-
-::CIAO::Config_Handlers::PackagedComponentImplementation& PackagedComponentImplementation::
-operator= (::CIAO::Config_Handlers::PackagedComponentImplementation const& s)
-{
-name (s.name ());
-
-referencedImplementation (s.referencedImplementation ());
-
-return *this;
-}
-
-
-// PackagedComponentImplementation
-//
-::XMLSchema::string< ACE_TCHAR > const& PackagedComponentImplementation::
-name () const
-{
-return *name_;
-}
-
-void PackagedComponentImplementation::
-name (::XMLSchema::string< ACE_TCHAR > const& e)
-{
-*name_ = e;
-}
-
-// PackagedComponentImplementation
-//
-::CIAO::Config_Handlers::ComponentImplementationDescription const& PackagedComponentImplementation::
-referencedImplementation () const
-{
-return *referencedImplementation_;
-}
-
-void PackagedComponentImplementation::
-referencedImplementation (::CIAO::Config_Handlers::ComponentImplementationDescription const& e)
-{
-*referencedImplementation_ = e;
-}
+ :
+ ::XSCRT::Type (),
+ name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)),
+ referencedImplementation_ (new ::CIAO::Config_Handlers::ComponentImplementationDescription (*s.referencedImplementation_)),
+ regulator__ ()
+ {
+ name_->container (this);
+ referencedImplementation_->container (this);
+ }
+ ::CIAO::Config_Handlers::PackagedComponentImplementation& PackagedComponentImplementation::
+ operator= (::CIAO::Config_Handlers::PackagedComponentImplementation const& s)
+ {
+ name (s.name ());
-// ComponentPackageDescription
-//
+ referencedImplementation (s.referencedImplementation ());
-ComponentPackageDescription::
-ComponentPackageDescription ()
-:
-::XSCRT::Type (),
-regulator__ ()
-{
-}
+ return *this;
+ }
-ComponentPackageDescription::
-ComponentPackageDescription (::CIAO::Config_Handlers::ComponentPackageDescription const& s)
-:
-::XSCRT::Type (),
-label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0),
-UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0),
-realizes_ (s.realizes_.get () ? new ::CIAO::Config_Handlers::ComponentInterfaceDescription (*s.realizes_) : 0),
-contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0),
-href_ (s.href_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.href_) : 0),
-regulator__ ()
-{
-if (label_.get ()) label_->container (this);
-if (UUID_.get ()) UUID_->container (this);
-if (realizes_.get ()) realizes_->container (this);
-{
-for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i);
-}
-{
-for (implementation_const_iterator i (s.implementation_.begin ());i != s.implementation_.end ();++i) add_implementation (*i);
-}
+ // PackagedComponentImplementation
+ //
+ ::XMLSchema::string< ACE_TCHAR > const& PackagedComponentImplementation::
+ name () const
+ {
+ return *name_;
+ }
-{
-for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i);
-}
+ void PackagedComponentImplementation::
+ name (::XMLSchema::string< ACE_TCHAR > const& e)
+ {
+ *name_ = e;
+ }
-if (contentLocation_.get ()) contentLocation_->container (this);
-if (href_.get ()) href_->container (this);
-}
+ // PackagedComponentImplementation
+ //
+ ::CIAO::Config_Handlers::ComponentImplementationDescription const& PackagedComponentImplementation::
+ referencedImplementation () const
+ {
+ return *referencedImplementation_;
+ }
-::CIAO::Config_Handlers::ComponentPackageDescription& ComponentPackageDescription::
-operator= (::CIAO::Config_Handlers::ComponentPackageDescription const& s)
-{
-if (s.label_.get ()) label (*(s.label_));
-else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0);
+ void PackagedComponentImplementation::
+ referencedImplementation (::CIAO::Config_Handlers::ComponentImplementationDescription const& e)
+ {
+ *referencedImplementation_ = e;
+ }
-if (s.UUID_.get ()) UUID (*(s.UUID_));
-else UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0);
-if (s.realizes_.get ()) realizes (*(s.realizes_));
-else realizes_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (0);
+ // ComponentPackageDescription
+ //
-configProperty_.clear ();
-{
-for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i);
-}
+ ComponentPackageDescription::
+ ComponentPackageDescription ()
+ :
+ ::XSCRT::Type (),
+ regulator__ ()
+ {
+ }
-implementation_.clear ();
-{
-for (implementation_const_iterator i (s.implementation_.begin ());i != s.implementation_.end ();++i) add_implementation (*i);
-}
+ ComponentPackageDescription::
+ ComponentPackageDescription (::CIAO::Config_Handlers::ComponentPackageDescription const& s)
+ :
+ ::XSCRT::Type (),
+ label_ (s.label_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.label_) : 0),
+ UUID_ (s.UUID_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.UUID_) : 0),
+ realizes_ (s.realizes_.get () ? new ::CIAO::Config_Handlers::ComponentInterfaceDescription (*s.realizes_) : 0),
+ contentLocation_ (s.contentLocation_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.contentLocation_) : 0),
+ href_ (s.href_.get () ? new ::XMLSchema::string< ACE_TCHAR > (*s.href_) : 0),
+ regulator__ ()
+ {
+ if (label_.get ()) label_->container (this);
+ if (UUID_.get ()) UUID_->container (this);
+ if (realizes_.get ()) realizes_->container (this);
+ {
+ for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i);
+ }
+
+ {
+ for (implementation_const_iterator i (s.implementation_.begin ());i != s.implementation_.end ();++i) add_implementation (*i);
+ }
+
+ {
+ for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i);
+ }
+
+ if (contentLocation_.get ()) contentLocation_->container (this);
+ if (href_.get ()) href_->container (this);
+ }
-infoProperty_.clear ();
-{
-for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i);
-}
+ ::CIAO::Config_Handlers::ComponentPackageDescription& ComponentPackageDescription::
+ operator= (::CIAO::Config_Handlers::ComponentPackageDescription const& s)
+ {
+ if (s.label_.get ()) label (*(s.label_));
+ else label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0);
-if (s.contentLocation_.get ()) contentLocation (*(s.contentLocation_));
-else contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0);
+ if (s.UUID_.get ()) UUID (*(s.UUID_));
+ else UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0);
-if (s.href_.get ()) href (*(s.href_));
-else href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0);
+ if (s.realizes_.get ()) realizes (*(s.realizes_));
+ else realizes_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (0);
-return *this;
-}
+ configProperty_.clear ();
+ {
+ for (configProperty_const_iterator i (s.configProperty_.begin ());i != s.configProperty_.end ();++i) add_configProperty (*i);
+ }
+ implementation_.clear ();
+ {
+ for (implementation_const_iterator i (s.implementation_.begin ());i != s.implementation_.end ();++i) add_implementation (*i);
+ }
-// ComponentPackageDescription
-//
-bool ComponentPackageDescription::
-label_p () const
-{
-return label_.get () != 0;
-}
+ infoProperty_.clear ();
+ {
+ for (infoProperty_const_iterator i (s.infoProperty_.begin ());i != s.infoProperty_.end ();++i) add_infoProperty (*i);
+ }
-::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription::
-label () const
-{
-return *label_;
-}
+ if (s.contentLocation_.get ()) contentLocation (*(s.contentLocation_));
+ else contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0);
-void ComponentPackageDescription::
-label (::XMLSchema::string< ACE_TCHAR > const& e)
-{
-if (label_.get ())
-{
-*label_ = e;
-}
+ if (s.href_.get ()) href (*(s.href_));
+ else href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (0);
-else
-{
-label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e));
-label_->container (this);
-}
-}
+ return *this;
+ }
-// ComponentPackageDescription
-//
-bool ComponentPackageDescription::
-UUID_p () const
-{
-return UUID_.get () != 0;
-}
-::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription::
-UUID () const
-{
-return *UUID_;
-}
+ // ComponentPackageDescription
+ //
+ bool ComponentPackageDescription::
+ label_p () const
+ {
+ return label_.get () != 0;
+ }
-void ComponentPackageDescription::
-UUID (::XMLSchema::string< ACE_TCHAR > const& e)
-{
-if (UUID_.get ())
-{
-*UUID_ = e;
-}
+ ::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription::
+ label () const
+ {
+ return *label_;
+ }
-else
-{
-UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e));
-UUID_->container (this);
-}
-}
+ void ComponentPackageDescription::
+ label (::XMLSchema::string< ACE_TCHAR > const& e)
+ {
+ if (label_.get ())
+ {
+ *label_ = e;
+ }
+
+ else
+ {
+ label_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e));
+ label_->container (this);
+ }
+ }
-// ComponentPackageDescription
-//
-bool ComponentPackageDescription::
-realizes_p () const
-{
-return realizes_.get () != 0;
-}
+ // ComponentPackageDescription
+ //
+ bool ComponentPackageDescription::
+ UUID_p () const
+ {
+ return UUID_.get () != 0;
+ }
-::CIAO::Config_Handlers::ComponentInterfaceDescription const& ComponentPackageDescription::
-realizes () const
-{
-return *realizes_;
-}
+ ::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription::
+ UUID () const
+ {
+ return *UUID_;
+ }
-void ComponentPackageDescription::
-realizes (::CIAO::Config_Handlers::ComponentInterfaceDescription const& e)
-{
-if (realizes_.get ())
-{
-*realizes_ = e;
-}
+ void ComponentPackageDescription::
+ UUID (::XMLSchema::string< ACE_TCHAR > const& e)
+ {
+ if (UUID_.get ())
+ {
+ *UUID_ = e;
+ }
+
+ else
+ {
+ UUID_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e));
+ UUID_->container (this);
+ }
+ }
-else
-{
-realizes_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (new ::CIAO::Config_Handlers::ComponentInterfaceDescription (e));
-realizes_->container (this);
-}
-}
+ // ComponentPackageDescription
+ //
+ bool ComponentPackageDescription::
+ realizes_p () const
+ {
+ return realizes_.get () != 0;
+ }
-// ComponentPackageDescription
-//
-ComponentPackageDescription::configProperty_iterator ComponentPackageDescription::
-begin_configProperty ()
-{
-return configProperty_.begin ();
-}
+ ::CIAO::Config_Handlers::ComponentInterfaceDescription const& ComponentPackageDescription::
+ realizes () const
+ {
+ return *realizes_;
+ }
-ComponentPackageDescription::configProperty_iterator ComponentPackageDescription::
-end_configProperty ()
-{
-return configProperty_.end ();
-}
+ void ComponentPackageDescription::
+ realizes (::CIAO::Config_Handlers::ComponentInterfaceDescription const& e)
+ {
+ if (realizes_.get ())
+ {
+ *realizes_ = e;
+ }
+
+ else
+ {
+ realizes_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > (new ::CIAO::Config_Handlers::ComponentInterfaceDescription (e));
+ realizes_->container (this);
+ }
+ }
-ComponentPackageDescription::configProperty_const_iterator ComponentPackageDescription::
-begin_configProperty () const
-{
-return configProperty_.begin ();
-}
+ // ComponentPackageDescription
+ //
+ ComponentPackageDescription::configProperty_iterator ComponentPackageDescription::
+ begin_configProperty ()
+ {
+ return configProperty_.begin ();
+ }
-ComponentPackageDescription::configProperty_const_iterator ComponentPackageDescription::
-end_configProperty () const
-{
-return configProperty_.end ();
-}
+ ComponentPackageDescription::configProperty_iterator ComponentPackageDescription::
+ end_configProperty ()
+ {
+ return configProperty_.end ();
+ }
-void ComponentPackageDescription::
-add_configProperty (::CIAO::Config_Handlers::Property const& e)
-{
-configProperty_.push_back (e);
-}
+ ComponentPackageDescription::configProperty_const_iterator ComponentPackageDescription::
+ begin_configProperty () const
+ {
+ return configProperty_.begin ();
+ }
-size_t ComponentPackageDescription::
-count_configProperty(void) const
-{
-return configProperty_.size ();
-}
+ ComponentPackageDescription::configProperty_const_iterator ComponentPackageDescription::
+ end_configProperty () const
+ {
+ return configProperty_.end ();
+ }
-// ComponentPackageDescription
-//
-ComponentPackageDescription::implementation_iterator ComponentPackageDescription::
-begin_implementation ()
-{
-return implementation_.begin ();
-}
+ void ComponentPackageDescription::
+ add_configProperty (::CIAO::Config_Handlers::Property const& e)
+ {
+ configProperty_.push_back (e);
+ }
-ComponentPackageDescription::implementation_iterator ComponentPackageDescription::
-end_implementation ()
-{
-return implementation_.end ();
-}
+ size_t ComponentPackageDescription::
+ count_configProperty(void) const
+ {
+ return configProperty_.size ();
+ }
-ComponentPackageDescription::implementation_const_iterator ComponentPackageDescription::
-begin_implementation () const
-{
-return implementation_.begin ();
-}
+ // ComponentPackageDescription
+ //
+ ComponentPackageDescription::implementation_iterator ComponentPackageDescription::
+ begin_implementation ()
+ {
+ return implementation_.begin ();
+ }
-ComponentPackageDescription::implementation_const_iterator ComponentPackageDescription::
-end_implementation () const
-{
-return implementation_.end ();
-}
+ ComponentPackageDescription::implementation_iterator ComponentPackageDescription::
+ end_implementation ()
+ {
+ return implementation_.end ();
+ }
-void ComponentPackageDescription::
-add_implementation (::CIAO::Config_Handlers::PackagedComponentImplementation const& e)
-{
-implementation_.push_back (e);
-}
+ ComponentPackageDescription::implementation_const_iterator ComponentPackageDescription::
+ begin_implementation () const
+ {
+ return implementation_.begin ();
+ }
-size_t ComponentPackageDescription::
-count_implementation(void) const
-{
-return implementation_.size ();
-}
+ ComponentPackageDescription::implementation_const_iterator ComponentPackageDescription::
+ end_implementation () const
+ {
+ return implementation_.end ();
+ }
-// ComponentPackageDescription
-//
-ComponentPackageDescription::infoProperty_iterator ComponentPackageDescription::
-begin_infoProperty ()
-{
-return infoProperty_.begin ();
-}
+ void ComponentPackageDescription::
+ add_implementation (::CIAO::Config_Handlers::PackagedComponentImplementation const& e)
+ {
+ implementation_.push_back (e);
+ }
-ComponentPackageDescription::infoProperty_iterator ComponentPackageDescription::
-end_infoProperty ()
-{
-return infoProperty_.end ();
-}
+ size_t ComponentPackageDescription::
+ count_implementation(void) const
+ {
+ return implementation_.size ();
+ }
-ComponentPackageDescription::infoProperty_const_iterator ComponentPackageDescription::
-begin_infoProperty () const
-{
-return infoProperty_.begin ();
-}
+ // ComponentPackageDescription
+ //
+ ComponentPackageDescription::infoProperty_iterator ComponentPackageDescription::
+ begin_infoProperty ()
+ {
+ return infoProperty_.begin ();
+ }
-ComponentPackageDescription::infoProperty_const_iterator ComponentPackageDescription::
-end_infoProperty () const
-{
-return infoProperty_.end ();
-}
+ ComponentPackageDescription::infoProperty_iterator ComponentPackageDescription::
+ end_infoProperty ()
+ {
+ return infoProperty_.end ();
+ }
-void ComponentPackageDescription::
-add_infoProperty (::CIAO::Config_Handlers::Property const& e)
-{
-infoProperty_.push_back (e);
-}
+ ComponentPackageDescription::infoProperty_const_iterator ComponentPackageDescription::
+ begin_infoProperty () const
+ {
+ return infoProperty_.begin ();
+ }
-size_t ComponentPackageDescription::
-count_infoProperty(void) const
-{
-return infoProperty_.size ();
-}
+ ComponentPackageDescription::infoProperty_const_iterator ComponentPackageDescription::
+ end_infoProperty () const
+ {
+ return infoProperty_.end ();
+ }
-// ComponentPackageDescription
-//
-bool ComponentPackageDescription::
-contentLocation_p () const
-{
-return contentLocation_.get () != 0;
-}
+ void ComponentPackageDescription::
+ add_infoProperty (::CIAO::Config_Handlers::Property const& e)
+ {
+ infoProperty_.push_back (e);
+ }
-::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription::
-contentLocation () const
-{
-return *contentLocation_;
-}
+ size_t ComponentPackageDescription::
+ count_infoProperty(void) const
+ {
+ return infoProperty_.size ();
+ }
-void ComponentPackageDescription::
-contentLocation (::XMLSchema::string< ACE_TCHAR > const& e)
-{
-if (contentLocation_.get ())
-{
-*contentLocation_ = e;
-}
+ // ComponentPackageDescription
+ //
+ bool ComponentPackageDescription::
+ contentLocation_p () const
+ {
+ return contentLocation_.get () != 0;
+ }
-else
-{
-contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e));
-contentLocation_->container (this);
-}
-}
+ ::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription::
+ contentLocation () const
+ {
+ return *contentLocation_;
+ }
-// ComponentPackageDescription
-//
-bool ComponentPackageDescription::
-href_p () const
-{
-return href_.get () != 0;
-}
+ void ComponentPackageDescription::
+ contentLocation (::XMLSchema::string< ACE_TCHAR > const& e)
+ {
+ if (contentLocation_.get ())
+ {
+ *contentLocation_ = e;
+ }
+
+ else
+ {
+ contentLocation_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e));
+ contentLocation_->container (this);
+ }
+ }
-::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription::
-href () const
-{
-return *href_;
-}
+ // ComponentPackageDescription
+ //
+ bool ComponentPackageDescription::
+ href_p () const
+ {
+ return href_.get () != 0;
+ }
-::XMLSchema::string< ACE_TCHAR >& ComponentPackageDescription::
-href ()
-{
-return *href_;
-}
+ ::XMLSchema::string< ACE_TCHAR > const& ComponentPackageDescription::
+ href () const
+ {
+ return *href_;
+ }
-void ComponentPackageDescription::
-href (::XMLSchema::string< ACE_TCHAR > const& e)
-{
-if (href_.get ())
-{
-*href_ = e;
-}
+ ::XMLSchema::string< ACE_TCHAR >& ComponentPackageDescription::
+ href ()
+ {
+ return *href_;
+ }
-else
-{
-href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e));
-href_->container (this);
-}
-}
-}
+ void ComponentPackageDescription::
+ href (::XMLSchema::string< ACE_TCHAR > const& e)
+ {
+ if (href_.get ())
+ {
+ *href_ = e;
+ }
+
+ else
+ {
+ href_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e));
+ href_->container (this);
+ }
+ }
+ }
}
namespace CIAO
{
-namespace Config_Handlers
-{
-// PackagedComponentImplementation
-//
-
-PackagedComponentImplementation::
-PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR > const& e)
-:Base__ (e), regulator__ ()
-{
-
-::XSCRT::Parser< ACE_TCHAR > p (e);
-
-while (p.more_elements ())
-{
-::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ());
-::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ()));
-
-if (n == "name")
-{
-name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e));
-name_->container (this);
-}
-
-else if (n == "referencedImplementation")
-{
-referencedImplementation_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentImplementationDescription > (new ::CIAO::Config_Handlers::ComponentImplementationDescription (e));
-referencedImplementation_->container (this);
-}
-
-else
-{
-}
-}
-}
-
-// ComponentPackageDescription
-//
-
-ComponentPackageDescription::
-ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e)
-:Base__ (e), regulator__ ()
-{
-
-::XSCRT::Parser< ACE_TCHAR > p (e);
-
-while (p.more_elements ())
-{
-::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ());
-::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ()));
-
-if (n == "label")
-{
-::XMLSchema::string< ACE_TCHAR > t (e);
-label (t);
-}
-
-else if (n == "UUID")
-{
-::XMLSchema::string< ACE_TCHAR > t (e);
-UUID (t);
-}
-
-else if (n == "realizes")
-{
-::CIAO::Config_Handlers::ComponentInterfaceDescription t (e);
-realizes (t);
-}
-
-else if (n == "configProperty")
-{
-::CIAO::Config_Handlers::Property t (e);
-add_configProperty (t);
-}
-
-else if (n == "implementation")
-{
-::CIAO::Config_Handlers::PackagedComponentImplementation t (e);
-add_implementation (t);
-}
+ namespace Config_Handlers
+ {
+ // PackagedComponentImplementation
+ //
-else if (n == "infoProperty")
-{
-::CIAO::Config_Handlers::Property t (e);
-add_infoProperty (t);
-}
+ PackagedComponentImplementation::
+ PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR > const& e)
+ :Base (e), regulator__ ()
+ {
-else if (n == "contentLocation")
-{
-::XMLSchema::string< ACE_TCHAR > t (e);
-contentLocation (t);
-}
+ ::XSCRT::Parser< ACE_TCHAR > p (e);
+
+ while (p.more_elements ())
+ {
+ ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ());
+ ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ()));
+
+ if (n == "name")
+ {
+ name_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e));
+ name_->container (this);
+ }
+
+ else if (n == "referencedImplementation")
+ {
+ referencedImplementation_ = ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentImplementationDescription > (new ::CIAO::Config_Handlers::ComponentImplementationDescription (e));
+ referencedImplementation_->container (this);
+ }
+
+ else
+ {
+ }
+ }
+ }
-else
-{
-}
-}
+ // ComponentPackageDescription
+ //
-while (p.more_attributes ())
-{
-::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ());
-::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ()));
-if (n == "href")
-{
-::XMLSchema::string< ACE_TCHAR > t (a);
-href (t);
-}
+ ComponentPackageDescription::
+ ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR > const& e)
+ :Base (e), regulator__ ()
+ {
-else
-{
-}
-}
-}
-}
+ ::XSCRT::Parser< ACE_TCHAR > p (e);
+
+ while (p.more_elements ())
+ {
+ ::XSCRT::XML::Element< ACE_TCHAR > e (p.next_element ());
+ ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (e.name ()));
+
+ if (n == "label")
+ {
+ ::XMLSchema::string< ACE_TCHAR > t (e);
+ label (t);
+ }
+
+ else if (n == "UUID")
+ {
+ ::XMLSchema::string< ACE_TCHAR > t (e);
+ UUID (t);
+ }
+
+ else if (n == "realizes")
+ {
+ ::CIAO::Config_Handlers::ComponentInterfaceDescription t (e);
+ realizes (t);
+ }
+
+ else if (n == "configProperty")
+ {
+ ::CIAO::Config_Handlers::Property t (e);
+ add_configProperty (t);
+ }
+
+ else if (n == "implementation")
+ {
+ ::CIAO::Config_Handlers::PackagedComponentImplementation t (e);
+ add_implementation (t);
+ }
+
+ else if (n == "infoProperty")
+ {
+ ::CIAO::Config_Handlers::Property t (e);
+ add_infoProperty (t);
+ }
+
+ else if (n == "contentLocation")
+ {
+ ::XMLSchema::string< ACE_TCHAR > t (e);
+ contentLocation (t);
+ }
+
+ else
+ {
+ }
+ }
+
+ while (p.more_attributes ())
+ {
+ ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ());
+ ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ()));
+ if (n == "href")
+ {
+ ::XMLSchema::string< ACE_TCHAR > t (a);
+ href (t);
+ }
+
+ else
+ {
+ }
+ }
+ }
+ }
}
namespace CIAO
{
-namespace Config_Handlers
-{
-}
+ namespace Config_Handlers
+ {
+ }
}
#include "XMLSchema/TypeInfo.hpp"
namespace CIAO
{
-namespace Config_Handlers
-{
-namespace
-{
-::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ());
-
-struct PackagedComponentImplementationTypeInfoInitializer
-{
-PackagedComponentImplementationTypeInfoInitializer ()
-{
-::XSCRT::TypeId id (typeid (PackagedComponentImplementation));
-::XSCRT::ExtendedTypeInfo nf (id);
-
-nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type));
-::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf));
-}
-};
-
-PackagedComponentImplementationTypeInfoInitializer PackagedComponentImplementationTypeInfoInitializer_;
-
-struct ComponentPackageDescriptionTypeInfoInitializer
-{
-ComponentPackageDescriptionTypeInfoInitializer ()
-{
-::XSCRT::TypeId id (typeid (ComponentPackageDescription));
-::XSCRT::ExtendedTypeInfo nf (id);
-
-nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type));
-::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf));
-}
-};
-
-ComponentPackageDescriptionTypeInfoInitializer ComponentPackageDescriptionTypeInfoInitializer_;
-}
-}
+ namespace Config_Handlers
+ {
+ namespace
+ {
+ ::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ());
+
+ struct PackagedComponentImplementationTypeInfoInitializer
+ {
+ PackagedComponentImplementationTypeInfoInitializer ()
+ {
+ ::XSCRT::TypeId id (typeid (PackagedComponentImplementation));
+ ::XSCRT::ExtendedTypeInfo nf (id);
+
+ nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type));
+ ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf));
+ }
+ };
+
+ PackagedComponentImplementationTypeInfoInitializer PackagedComponentImplementationTypeInfoInitializer_;
+
+ struct ComponentPackageDescriptionTypeInfoInitializer
+ {
+ ComponentPackageDescriptionTypeInfoInitializer ()
+ {
+ ::XSCRT::TypeId id (typeid (ComponentPackageDescription));
+ ::XSCRT::ExtendedTypeInfo nf (id);
+
+ nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type));
+ ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf));
+ }
+ };
+
+ ComponentPackageDescriptionTypeInfoInitializer ComponentPackageDescriptionTypeInfoInitializer_;
+ }
+ }
}
namespace CIAO
{
-namespace Config_Handlers
-{
-namespace Traversal
-{
-// PackagedComponentImplementation
-//
-//
-
-void PackagedComponentImplementation::
-traverse (Type& o)
-{
-pre (o);
-name (o);
-referencedImplementation (o);
-post (o);
-}
-
-void PackagedComponentImplementation::
-traverse (Type const& o)
-{
-pre (o);
-name (o);
-referencedImplementation (o);
-post (o);
-}
-
-void PackagedComponentImplementation::
-pre (Type&)
-{
-}
-
-void PackagedComponentImplementation::
-pre (Type const&)
-{
-}
-
-void PackagedComponentImplementation::
-name (Type& o)
-{
-dispatch (o.name ());
-}
-
-void PackagedComponentImplementation::
-name (Type const& o)
-{
-dispatch (o.name ());
-}
-
-void PackagedComponentImplementation::
-referencedImplementation (Type& o)
-{
-dispatch (o.referencedImplementation ());
-}
-
-void PackagedComponentImplementation::
-referencedImplementation (Type const& o)
-{
-dispatch (o.referencedImplementation ());
-}
-
-void PackagedComponentImplementation::
-post (Type&)
-{
-}
-
-void PackagedComponentImplementation::
-post (Type const&)
-{
-}
-
-// ComponentPackageDescription
-//
-//
-
-void ComponentPackageDescription::
-traverse (Type& o)
-{
-pre (o);
-if (o.label_p ()) label (o);
-else label_none (o);
-if (o.UUID_p ()) UUID (o);
-else UUID_none (o);
-if (o.realizes_p ()) realizes (o);
-else realizes_none (o);
-configProperty (o);
-implementation (o);
-infoProperty (o);
-if (o.contentLocation_p ()) contentLocation (o);
-else contentLocation_none (o);
-if (o.href_p ()) href (o);
-else href_none (o);
-post (o);
-}
-
-void ComponentPackageDescription::
-traverse (Type const& o)
-{
-pre (o);
-if (o.label_p ()) label (o);
-else label_none (o);
-if (o.UUID_p ()) UUID (o);
-else UUID_none (o);
-if (o.realizes_p ()) realizes (o);
-else realizes_none (o);
-configProperty (o);
-implementation (o);
-infoProperty (o);
-if (o.contentLocation_p ()) contentLocation (o);
-else contentLocation_none (o);
-if (o.href_p ()) href (o);
-else href_none (o);
-post (o);
-}
-
-void ComponentPackageDescription::
-pre (Type&)
-{
-}
-
-void ComponentPackageDescription::
-pre (Type const&)
-{
-}
-
-void ComponentPackageDescription::
-label (Type& o)
-{
-dispatch (o.label ());
-}
-
-void ComponentPackageDescription::
-label (Type const& o)
-{
-dispatch (o.label ());
-}
-
-void ComponentPackageDescription::
-label_none (Type&)
-{
-}
-
-void ComponentPackageDescription::
-label_none (Type const&)
-{
-}
-
-void ComponentPackageDescription::
-UUID (Type& o)
-{
-dispatch (o.UUID ());
-}
-
-void ComponentPackageDescription::
-UUID (Type const& o)
-{
-dispatch (o.UUID ());
-}
-
-void ComponentPackageDescription::
-UUID_none (Type&)
-{
-}
-
-void ComponentPackageDescription::
-UUID_none (Type const&)
-{
-}
-
-void ComponentPackageDescription::
-realizes (Type& o)
-{
-dispatch (o.realizes ());
-}
-
-void ComponentPackageDescription::
-realizes (Type const& o)
-{
-dispatch (o.realizes ());
-}
-
-void ComponentPackageDescription::
-realizes_none (Type&)
-{
-}
-
-void ComponentPackageDescription::
-realizes_none (Type const&)
-{
-}
-
-void ComponentPackageDescription::
-configProperty (Type& o)
-{
-// VC6 anathema strikes again
-//
-ComponentPackageDescription::Type::configProperty_iterator b (o.begin_configProperty()), e (o.end_configProperty());
-
-if (b != e)
-{
-configProperty_pre (o);
-for (; b != e;)
-{
-dispatch (*b);
-if (++b != e) configProperty_next (o);
-}
-
-configProperty_post (o);
-}
-
-else configProperty_none (o);
-}
-
-void ComponentPackageDescription::
-configProperty (Type const& o)
-{
-// VC6 anathema strikes again
-//
-ComponentPackageDescription::Type::configProperty_const_iterator b (o.begin_configProperty()), e (o.end_configProperty());
-
-if (b != e)
-{
-configProperty_pre (o);
-for (; b != e;)
-{
-dispatch (*b);
-if (++b != e) configProperty_next (o);
-}
-
-configProperty_post (o);
-}
-
-else configProperty_none (o);
-}
-
-void ComponentPackageDescription::
-configProperty_pre (Type&)
-{
-}
-
-void ComponentPackageDescription::
-configProperty_pre (Type const&)
-{
-}
-
-void ComponentPackageDescription::
-configProperty_next (Type&)
-{
-}
-
-void ComponentPackageDescription::
-configProperty_next (Type const&)
-{
-}
-
-void ComponentPackageDescription::
-configProperty_post (Type&)
-{
-}
-
-void ComponentPackageDescription::
-configProperty_post (Type const&)
-{
-}
-
-void ComponentPackageDescription::
-configProperty_none (Type&)
-{
-}
-
-void ComponentPackageDescription::
-configProperty_none (Type const&)
-{
-}
-
-void ComponentPackageDescription::
-implementation (Type& o)
-{
-// VC6 anathema strikes again
-//
-ComponentPackageDescription::Type::implementation_iterator b (o.begin_implementation()), e (o.end_implementation());
-
-if (b != e)
-{
-implementation_pre (o);
-for (; b != e;)
-{
-dispatch (*b);
-if (++b != e) implementation_next (o);
-}
-
-implementation_post (o);
-}
-
-else implementation_none (o);
-}
-
-void ComponentPackageDescription::
-implementation (Type const& o)
-{
-// VC6 anathema strikes again
-//
-ComponentPackageDescription::Type::implementation_const_iterator b (o.begin_implementation()), e (o.end_implementation());
-
-if (b != e)
-{
-implementation_pre (o);
-for (; b != e;)
-{
-dispatch (*b);
-if (++b != e) implementation_next (o);
-}
-
-implementation_post (o);
-}
-
-else implementation_none (o);
-}
-
-void ComponentPackageDescription::
-implementation_pre (Type&)
-{
-}
-
-void ComponentPackageDescription::
-implementation_pre (Type const&)
-{
-}
-
-void ComponentPackageDescription::
-implementation_next (Type&)
-{
-}
-
-void ComponentPackageDescription::
-implementation_next (Type const&)
-{
-}
-
-void ComponentPackageDescription::
-implementation_post (Type&)
-{
-}
-
-void ComponentPackageDescription::
-implementation_post (Type const&)
-{
-}
-
-void ComponentPackageDescription::
-implementation_none (Type&)
-{
-}
-
-void ComponentPackageDescription::
-implementation_none (Type const&)
-{
-}
-
-void ComponentPackageDescription::
-infoProperty (Type& o)
-{
-// VC6 anathema strikes again
-//
-ComponentPackageDescription::Type::infoProperty_iterator b (o.begin_infoProperty()), e (o.end_infoProperty());
-
-if (b != e)
-{
-infoProperty_pre (o);
-for (; b != e;)
-{
-dispatch (*b);
-if (++b != e) infoProperty_next (o);
-}
-
-infoProperty_post (o);
-}
-
-else infoProperty_none (o);
-}
-
-void ComponentPackageDescription::
-infoProperty (Type const& o)
-{
-// VC6 anathema strikes again
-//
-ComponentPackageDescription::Type::infoProperty_const_iterator b (o.begin_infoProperty()), e (o.end_infoProperty());
-
-if (b != e)
-{
-infoProperty_pre (o);
-for (; b != e;)
-{
-dispatch (*b);
-if (++b != e) infoProperty_next (o);
-}
-
-infoProperty_post (o);
-}
-
-else infoProperty_none (o);
-}
-
-void ComponentPackageDescription::
-infoProperty_pre (Type&)
-{
-}
-
-void ComponentPackageDescription::
-infoProperty_pre (Type const&)
-{
-}
-
-void ComponentPackageDescription::
-infoProperty_next (Type&)
-{
-}
-
-void ComponentPackageDescription::
-infoProperty_next (Type const&)
-{
-}
-
-void ComponentPackageDescription::
-infoProperty_post (Type&)
-{
-}
-
-void ComponentPackageDescription::
-infoProperty_post (Type const&)
-{
-}
-
-void ComponentPackageDescription::
-infoProperty_none (Type&)
-{
-}
-
-void ComponentPackageDescription::
-infoProperty_none (Type const&)
-{
-}
-
-void ComponentPackageDescription::
-contentLocation (Type& o)
-{
-dispatch (o.contentLocation ());
-}
-
-void ComponentPackageDescription::
-contentLocation (Type const& o)
-{
-dispatch (o.contentLocation ());
-}
-
-void ComponentPackageDescription::
-contentLocation_none (Type&)
-{
-}
-
-void ComponentPackageDescription::
-contentLocation_none (Type const&)
-{
-}
-
-void ComponentPackageDescription::
-href (Type& o)
-{
-dispatch (o.href ());
-}
-
-void ComponentPackageDescription::
-href (Type const& o)
-{
-dispatch (o.href ());
-}
-
-void ComponentPackageDescription::
-href_none (Type&)
-{
-}
-
-void ComponentPackageDescription::
-href_none (Type const&)
-{
-}
-
-void ComponentPackageDescription::
-post (Type&)
-{
-}
-
-void ComponentPackageDescription::
-post (Type const&)
-{
-}
-}
-}
+ namespace Config_Handlers
+ {
+ namespace Traversal
+ {
+ // PackagedComponentImplementation
+ //
+ //
+
+ void PackagedComponentImplementation::
+ traverse (Type& o)
+ {
+ pre (o);
+ name (o);
+ referencedImplementation (o);
+ post (o);
+ }
+
+ void PackagedComponentImplementation::
+ traverse (Type const& o)
+ {
+ pre (o);
+ name (o);
+ referencedImplementation (o);
+ post (o);
+ }
+
+ void PackagedComponentImplementation::
+ pre (Type&)
+ {
+ }
+
+ void PackagedComponentImplementation::
+ pre (Type const&)
+ {
+ }
+
+ void PackagedComponentImplementation::
+ name (Type& o)
+ {
+ dispatch (o.name ());
+ }
+
+ void PackagedComponentImplementation::
+ name (Type const& o)
+ {
+ dispatch (o.name ());
+ }
+
+ void PackagedComponentImplementation::
+ referencedImplementation (Type& o)
+ {
+ dispatch (o.referencedImplementation ());
+ }
+
+ void PackagedComponentImplementation::
+ referencedImplementation (Type const& o)
+ {
+ dispatch (o.referencedImplementation ());
+ }
+
+ void PackagedComponentImplementation::
+ post (Type&)
+ {
+ }
+
+ void PackagedComponentImplementation::
+ post (Type const&)
+ {
+ }
+
+ // ComponentPackageDescription
+ //
+ //
+
+ void ComponentPackageDescription::
+ traverse (Type& o)
+ {
+ pre (o);
+ if (o.label_p ()) label (o);
+ else label_none (o);
+ if (o.UUID_p ()) UUID (o);
+ else UUID_none (o);
+ if (o.realizes_p ()) realizes (o);
+ else realizes_none (o);
+ configProperty (o);
+ implementation (o);
+ infoProperty (o);
+ if (o.contentLocation_p ()) contentLocation (o);
+ else contentLocation_none (o);
+ if (o.href_p ()) href (o);
+ else href_none (o);
+ post (o);
+ }
+
+ void ComponentPackageDescription::
+ traverse (Type const& o)
+ {
+ pre (o);
+ if (o.label_p ()) label (o);
+ else label_none (o);
+ if (o.UUID_p ()) UUID (o);
+ else UUID_none (o);
+ if (o.realizes_p ()) realizes (o);
+ else realizes_none (o);
+ configProperty (o);
+ implementation (o);
+ infoProperty (o);
+ if (o.contentLocation_p ()) contentLocation (o);
+ else contentLocation_none (o);
+ if (o.href_p ()) href (o);
+ else href_none (o);
+ post (o);
+ }
+
+ void ComponentPackageDescription::
+ pre (Type&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ pre (Type const&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ label (Type& o)
+ {
+ dispatch (o.label ());
+ }
+
+ void ComponentPackageDescription::
+ label (Type const& o)
+ {
+ dispatch (o.label ());
+ }
+
+ void ComponentPackageDescription::
+ label_none (Type&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ label_none (Type const&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ UUID (Type& o)
+ {
+ dispatch (o.UUID ());
+ }
+
+ void ComponentPackageDescription::
+ UUID (Type const& o)
+ {
+ dispatch (o.UUID ());
+ }
+
+ void ComponentPackageDescription::
+ UUID_none (Type&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ UUID_none (Type const&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ realizes (Type& o)
+ {
+ dispatch (o.realizes ());
+ }
+
+ void ComponentPackageDescription::
+ realizes (Type const& o)
+ {
+ dispatch (o.realizes ());
+ }
+
+ void ComponentPackageDescription::
+ realizes_none (Type&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ realizes_none (Type const&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ configProperty (Type& o)
+ {
+ // VC6 anathema strikes again
+ //
+ ComponentPackageDescription::Type::configProperty_iterator b (o.begin_configProperty()), e (o.end_configProperty());
+
+ if (b != e)
+ {
+ configProperty_pre (o);
+ for (; b != e;)
+ {
+ dispatch (*b);
+ if (++b != e) configProperty_next (o);
+ }
+
+ configProperty_post (o);
+ }
+
+ else configProperty_none (o);
+ }
+
+ void ComponentPackageDescription::
+ configProperty (Type const& o)
+ {
+ // VC6 anathema strikes again
+ //
+ ComponentPackageDescription::Type::configProperty_const_iterator b (o.begin_configProperty()), e (o.end_configProperty());
+
+ if (b != e)
+ {
+ configProperty_pre (o);
+ for (; b != e;)
+ {
+ dispatch (*b);
+ if (++b != e) configProperty_next (o);
+ }
+
+ configProperty_post (o);
+ }
+
+ else configProperty_none (o);
+ }
+
+ void ComponentPackageDescription::
+ configProperty_pre (Type&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ configProperty_pre (Type const&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ configProperty_next (Type&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ configProperty_next (Type const&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ configProperty_post (Type&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ configProperty_post (Type const&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ configProperty_none (Type&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ configProperty_none (Type const&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ implementation (Type& o)
+ {
+ // VC6 anathema strikes again
+ //
+ ComponentPackageDescription::Type::implementation_iterator b (o.begin_implementation()), e (o.end_implementation());
+
+ if (b != e)
+ {
+ implementation_pre (o);
+ for (; b != e;)
+ {
+ dispatch (*b);
+ if (++b != e) implementation_next (o);
+ }
+
+ implementation_post (o);
+ }
+
+ else implementation_none (o);
+ }
+
+ void ComponentPackageDescription::
+ implementation (Type const& o)
+ {
+ // VC6 anathema strikes again
+ //
+ ComponentPackageDescription::Type::implementation_const_iterator b (o.begin_implementation()), e (o.end_implementation());
+
+ if (b != e)
+ {
+ implementation_pre (o);
+ for (; b != e;)
+ {
+ dispatch (*b);
+ if (++b != e) implementation_next (o);
+ }
+
+ implementation_post (o);
+ }
+
+ else implementation_none (o);
+ }
+
+ void ComponentPackageDescription::
+ implementation_pre (Type&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ implementation_pre (Type const&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ implementation_next (Type&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ implementation_next (Type const&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ implementation_post (Type&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ implementation_post (Type const&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ implementation_none (Type&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ implementation_none (Type const&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ infoProperty (Type& o)
+ {
+ // VC6 anathema strikes again
+ //
+ ComponentPackageDescription::Type::infoProperty_iterator b (o.begin_infoProperty()), e (o.end_infoProperty());
+
+ if (b != e)
+ {
+ infoProperty_pre (o);
+ for (; b != e;)
+ {
+ dispatch (*b);
+ if (++b != e) infoProperty_next (o);
+ }
+
+ infoProperty_post (o);
+ }
+
+ else infoProperty_none (o);
+ }
+
+ void ComponentPackageDescription::
+ infoProperty (Type const& o)
+ {
+ // VC6 anathema strikes again
+ //
+ ComponentPackageDescription::Type::infoProperty_const_iterator b (o.begin_infoProperty()), e (o.end_infoProperty());
+
+ if (b != e)
+ {
+ infoProperty_pre (o);
+ for (; b != e;)
+ {
+ dispatch (*b);
+ if (++b != e) infoProperty_next (o);
+ }
+
+ infoProperty_post (o);
+ }
+
+ else infoProperty_none (o);
+ }
+
+ void ComponentPackageDescription::
+ infoProperty_pre (Type&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ infoProperty_pre (Type const&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ infoProperty_next (Type&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ infoProperty_next (Type const&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ infoProperty_post (Type&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ infoProperty_post (Type const&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ infoProperty_none (Type&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ infoProperty_none (Type const&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ contentLocation (Type& o)
+ {
+ dispatch (o.contentLocation ());
+ }
+
+ void ComponentPackageDescription::
+ contentLocation (Type const& o)
+ {
+ dispatch (o.contentLocation ());
+ }
+
+ void ComponentPackageDescription::
+ contentLocation_none (Type&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ contentLocation_none (Type const&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ href (Type& o)
+ {
+ dispatch (o.href ());
+ }
+
+ void ComponentPackageDescription::
+ href (Type const& o)
+ {
+ dispatch (o.href ());
+ }
+
+ void ComponentPackageDescription::
+ href_none (Type&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ href_none (Type const&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ post (Type&)
+ {
+ }
+
+ void ComponentPackageDescription::
+ post (Type const&)
+ {
+ }
+ }
+ }
}
namespace CIAO
{
-namespace Config_Handlers
-{
-namespace Writer
-{
-// PackagedComponentImplementation
-//
-//
-
-PackagedComponentImplementation::
-PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR >& e)
-: ::XSCRT::Writer< ACE_TCHAR > (e)
-{
-}
-
-PackagedComponentImplementation::
-PackagedComponentImplementation ()
-{
-}
-
-void PackagedComponentImplementation::
-traverse (Type const& o)
-{
-Traversal::PackagedComponentImplementation::traverse (o);
-}
-
-void PackagedComponentImplementation::
-name (Type const& o)
-{
-push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ()));
-Traversal::PackagedComponentImplementation::name (o);
-pop_ ();
-}
-
-void PackagedComponentImplementation::
-referencedImplementation (Type const& o)
-{
-push_ (::XSCRT::XML::Element< ACE_TCHAR > ("referencedImplementation", top_ ()));
-Traversal::PackagedComponentImplementation::referencedImplementation (o);
-pop_ ();
-}
-
-// ComponentPackageDescription
-//
-//
-
-ComponentPackageDescription::
-ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR >& e)
-: ::XSCRT::Writer< ACE_TCHAR > (e)
-{
-}
-
-ComponentPackageDescription::
-ComponentPackageDescription ()
-{
-}
-
-void ComponentPackageDescription::
-traverse (Type const& o)
-{
-Traversal::ComponentPackageDescription::traverse (o);
-}
-
-void ComponentPackageDescription::
-label (Type const& o)
-{
-push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ()));
-Traversal::ComponentPackageDescription::label (o);
-pop_ ();
-}
-
-void ComponentPackageDescription::
-UUID (Type const& o)
-{
-push_ (::XSCRT::XML::Element< ACE_TCHAR > ("UUID", top_ ()));
-Traversal::ComponentPackageDescription::UUID (o);
-pop_ ();
-}
-
-void ComponentPackageDescription::
-realizes (Type const& o)
-{
-push_ (::XSCRT::XML::Element< ACE_TCHAR > ("realizes", top_ ()));
-Traversal::ComponentPackageDescription::realizes (o);
-pop_ ();
-}
-
-void ComponentPackageDescription::
-configProperty_pre (Type const&)
-{
-push_ (::XSCRT::XML::Element< ACE_TCHAR > ("configProperty", top_ ()));
-}
-
-void ComponentPackageDescription::
-configProperty_next (Type const& o)
-{
-configProperty_post (o);
-configProperty_pre (o);
-}
-
-void ComponentPackageDescription::
-configProperty_post (Type const&)
-{
-pop_ ();
-}
-
-void ComponentPackageDescription::
-implementation_pre (Type const&)
-{
-push_ (::XSCRT::XML::Element< ACE_TCHAR > ("implementation", top_ ()));
-}
-
-void ComponentPackageDescription::
-implementation_next (Type const& o)
-{
-implementation_post (o);
-implementation_pre (o);
-}
-
-void ComponentPackageDescription::
-implementation_post (Type const&)
-{
-pop_ ();
-}
-
-void ComponentPackageDescription::
-infoProperty_pre (Type const&)
-{
-push_ (::XSCRT::XML::Element< ACE_TCHAR > ("infoProperty", top_ ()));
-}
-
-void ComponentPackageDescription::
-infoProperty_next (Type const& o)
-{
-infoProperty_post (o);
-infoProperty_pre (o);
-}
-
-void ComponentPackageDescription::
-infoProperty_post (Type const&)
-{
-pop_ ();
-}
-
-void ComponentPackageDescription::
-contentLocation (Type const& o)
-{
-push_ (::XSCRT::XML::Element< ACE_TCHAR > ("contentLocation", top_ ()));
-Traversal::ComponentPackageDescription::contentLocation (o);
-pop_ ();
-}
-
-void ComponentPackageDescription::
-href (Type const& o)
-{
-::XSCRT::XML::Attribute< ACE_TCHAR > a ("href", "", top_ ());
-attr_ (&a);
-Traversal::ComponentPackageDescription::href (o);
-attr_ (0);
-}
-}
-}
+ namespace Config_Handlers
+ {
+ namespace Writer
+ {
+ // PackagedComponentImplementation
+ //
+ //
+
+ PackagedComponentImplementation::
+ PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR >& e)
+ : ::XSCRT::Writer< ACE_TCHAR > (e)
+ {
+ }
+
+ PackagedComponentImplementation::
+ PackagedComponentImplementation ()
+ {
+ }
+
+ void PackagedComponentImplementation::
+ traverse (Type const& o)
+ {
+ Traversal::PackagedComponentImplementation::traverse (o);
+ }
+
+ void PackagedComponentImplementation::
+ name (Type const& o)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ()));
+ Traversal::PackagedComponentImplementation::name (o);
+ pop_ ();
+ }
+
+ void PackagedComponentImplementation::
+ referencedImplementation (Type const& o)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("referencedImplementation", top_ ()));
+ Traversal::PackagedComponentImplementation::referencedImplementation (o);
+ pop_ ();
+ }
+
+ // ComponentPackageDescription
+ //
+ //
+
+ ComponentPackageDescription::
+ ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR >& e)
+ : ::XSCRT::Writer< ACE_TCHAR > (e)
+ {
+ }
+
+ ComponentPackageDescription::
+ ComponentPackageDescription ()
+ {
+ }
+
+ void ComponentPackageDescription::
+ traverse (Type const& o)
+ {
+ Traversal::ComponentPackageDescription::traverse (o);
+ }
+
+ void ComponentPackageDescription::
+ label (Type const& o)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("label", top_ ()));
+ Traversal::ComponentPackageDescription::label (o);
+ pop_ ();
+ }
+
+ void ComponentPackageDescription::
+ UUID (Type const& o)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("UUID", top_ ()));
+ Traversal::ComponentPackageDescription::UUID (o);
+ pop_ ();
+ }
+
+ void ComponentPackageDescription::
+ realizes (Type const& o)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("realizes", top_ ()));
+ Traversal::ComponentPackageDescription::realizes (o);
+ pop_ ();
+ }
+
+ void ComponentPackageDescription::
+ configProperty_pre (Type const&)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("configProperty", top_ ()));
+ }
+
+ void ComponentPackageDescription::
+ configProperty_next (Type const& o)
+ {
+ configProperty_post (o);
+ configProperty_pre (o);
+ }
+
+ void ComponentPackageDescription::
+ configProperty_post (Type const&)
+ {
+ pop_ ();
+ }
+
+ void ComponentPackageDescription::
+ implementation_pre (Type const&)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("implementation", top_ ()));
+ }
+
+ void ComponentPackageDescription::
+ implementation_next (Type const& o)
+ {
+ implementation_post (o);
+ implementation_pre (o);
+ }
+
+ void ComponentPackageDescription::
+ implementation_post (Type const&)
+ {
+ pop_ ();
+ }
+
+ void ComponentPackageDescription::
+ infoProperty_pre (Type const&)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("infoProperty", top_ ()));
+ }
+
+ void ComponentPackageDescription::
+ infoProperty_next (Type const& o)
+ {
+ infoProperty_post (o);
+ infoProperty_pre (o);
+ }
+
+ void ComponentPackageDescription::
+ infoProperty_post (Type const&)
+ {
+ pop_ ();
+ }
+
+ void ComponentPackageDescription::
+ contentLocation (Type const& o)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("contentLocation", top_ ()));
+ Traversal::ComponentPackageDescription::contentLocation (o);
+ pop_ ();
+ }
+
+ void ComponentPackageDescription::
+ href (Type const& o)
+ {
+ ::XSCRT::XML::Attribute< ACE_TCHAR > a ("href", "", top_ ());
+ attr_ (&a);
+ Traversal::ComponentPackageDescription::href (o);
+ attr_ (0);
+ }
+ }
+ }
}
namespace CIAO
{
-namespace Config_Handlers
-{
-}
+ namespace Config_Handlers
+ {
+ }
}