summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormxiong <mxiong@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-03-24 17:10:27 +0000
committermxiong <mxiong@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-03-24 17:10:27 +0000
commit2ea8b1bcd1ed9ad0fd1d3a2b7e9ec0aa4a2cc418 (patch)
treebc5a871e515297614a6e9ba03c4e91d989e7abc8
parentea5869cfb43e4454b303c18623ffbb8d187edb3b (diff)
downloadATCD-2ea8b1bcd1ed9ad0fd1d3a2b7e9ec0aa4a2cc418.tar.gz
ChangeLogTag:Fri Mar 24 16:53:15 UTC 2006 xiong,ming <ming.xiong@vanderbilt.edu>
-rw-r--r--TAO/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents.cpp2717
-rw-r--r--TAO/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents.hpp1360
2 files changed, 4077 insertions, 0 deletions
diff --git a/TAO/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents.cpp b/TAO/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents.cpp
new file mode 100644
index 00000000000..db6b7dc0c18
--- /dev/null
+++ b/TAO/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents.cpp
@@ -0,0 +1,2717 @@
+/* $Id$
+ * This code was generated by the XML Schema Compiler.
+ *
+ * Changes made to this code will most likely be overwritten
+ * when the handlers are recompiled.
+ *
+ * If you find errors or feel that there are bugfixes to be made,
+ * please contact the current XSC maintainer:
+ * Will Otte <wotte@dre.vanderbilt.edu>
+ */
+
+#include "CIAOEvents.hpp"
+
+namespace CIAO
+{
+ namespace Config_Handlers
+ {
+
+ // EventServiceType
+ //
+
+ EventServiceType::Value EventServiceType::
+ integral () const
+ {
+ return v_;
+ }
+
+ bool
+ operator== (::CIAO::Config_Handlers::EventServiceType const& a, ::CIAO::Config_Handlers::EventServiceType const& b)
+ {
+ return a.v_ == b.v_;
+ }
+
+ bool
+ operator!= (::CIAO::Config_Handlers::EventServiceType const& a, ::CIAO::Config_Handlers::EventServiceType const& b)
+ {
+ return a.v_ != b.v_;
+ }
+
+ EventServiceType::
+ EventServiceType (EventServiceType::Value v)
+ : v_ (v)
+ {
+ }
+
+ // CIAOEventsDef
+ //
+
+ CIAOEventsDef::
+ CIAOEventsDef ()
+ :
+ ::XSCRT::Type (),
+ regulator__ ()
+ {
+ }
+
+ CIAOEventsDef::
+ CIAOEventsDef (::CIAO::Config_Handlers::CIAOEventsDef const& s)
+ :
+ ::XSCRT::Type (),
+ id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0),
+ regulator__ ()
+ {
+ {
+ for (eventServiceConfiguration_const_iterator i (s.eventServiceConfiguration_.begin ());i != s.eventServiceConfiguration_.end ();++i) add_eventServiceConfiguration (*i);
+ }
+
+ if (id_.get ()) id_->container (this);
+ }
+
+ ::CIAO::Config_Handlers::CIAOEventsDef& CIAOEventsDef::
+ operator= (::CIAO::Config_Handlers::CIAOEventsDef const& s)
+ {
+ eventServiceConfiguration_.clear ();
+ {
+ for (eventServiceConfiguration_const_iterator i (s.eventServiceConfiguration_.begin ());i != s.eventServiceConfiguration_.end ();++i) add_eventServiceConfiguration (*i);
+ }
+
+ if (s.id_.get ()) id (*(s.id_));
+ else id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (0);
+
+ return *this;
+ }
+
+
+ // CIAOEventsDef
+ //
+ CIAOEventsDef::eventServiceConfiguration_iterator CIAOEventsDef::
+ begin_eventServiceConfiguration ()
+ {
+ return eventServiceConfiguration_.begin ();
+ }
+
+ CIAOEventsDef::eventServiceConfiguration_iterator CIAOEventsDef::
+ end_eventServiceConfiguration ()
+ {
+ return eventServiceConfiguration_.end ();
+ }
+
+ CIAOEventsDef::eventServiceConfiguration_const_iterator CIAOEventsDef::
+ begin_eventServiceConfiguration () const
+ {
+ return eventServiceConfiguration_.begin ();
+ }
+
+ CIAOEventsDef::eventServiceConfiguration_const_iterator CIAOEventsDef::
+ end_eventServiceConfiguration () const
+ {
+ return eventServiceConfiguration_.end ();
+ }
+
+ void CIAOEventsDef::
+ add_eventServiceConfiguration (::CIAO::Config_Handlers::EventServiceDescription const& e)
+ {
+ eventServiceConfiguration_.push_back (e);
+ }
+
+ size_t CIAOEventsDef::
+ count_eventServiceConfiguration(void) const
+ {
+ return eventServiceConfiguration_.size ();
+ }
+
+ // CIAOEventsDef
+ //
+ bool CIAOEventsDef::
+ id_p () const
+ {
+ return id_.get () != 0;
+ }
+
+ ::XMLSchema::ID< ACE_TCHAR > const& CIAOEventsDef::
+ id () const
+ {
+ return *id_;
+ }
+
+ ::XMLSchema::ID< ACE_TCHAR >& CIAOEventsDef::
+ id ()
+ {
+ return *id_;
+ }
+
+ void CIAOEventsDef::
+ id (::XMLSchema::ID< ACE_TCHAR > const& e)
+ {
+ if (id_.get ())
+ {
+ *id_ = e;
+ }
+
+ else
+ {
+ id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e));
+ id_->container (this);
+ }
+ }
+
+
+ // EventServiceDescription
+ //
+
+ EventServiceDescription::
+ EventServiceDescription (::XMLSchema::string< ACE_TCHAR > const& name__,
+ ::XMLSchema::string< ACE_TCHAR > const& node__,
+ ::CIAO::Config_Handlers::EventServiceType const& type__,
+ ::XMLSchema::string< ACE_TCHAR > const& svc_cfg_file__)
+ :
+ ::XSCRT::Type (),
+ name_ (new ::XMLSchema::string< ACE_TCHAR > (name__)),
+ node_ (new ::XMLSchema::string< ACE_TCHAR > (node__)),
+ type_ (new ::CIAO::Config_Handlers::EventServiceType (type__)),
+ svc_cfg_file_ (new ::XMLSchema::string< ACE_TCHAR > (svc_cfg_file__)),
+ regulator__ ()
+ {
+ name_->container (this);
+ node_->container (this);
+ type_->container (this);
+ svc_cfg_file_->container (this);
+ }
+
+ EventServiceDescription::
+ EventServiceDescription (::CIAO::Config_Handlers::EventServiceDescription const& s)
+ :
+ ::XSCRT::Type (),
+ name_ (new ::XMLSchema::string< ACE_TCHAR > (*s.name_)),
+ node_ (new ::XMLSchema::string< ACE_TCHAR > (*s.node_)),
+ type_ (new ::CIAO::Config_Handlers::EventServiceType (*s.type_)),
+ svc_cfg_file_ (new ::XMLSchema::string< ACE_TCHAR > (*s.svc_cfg_file_)),
+ id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0),
+ regulator__ ()
+ {
+ name_->container (this);
+ node_->container (this);
+ type_->container (this);
+ svc_cfg_file_->container (this);
+ if (id_.get ()) id_->container (this);
+ }
+
+ ::CIAO::Config_Handlers::EventServiceDescription& EventServiceDescription::
+ operator= (::CIAO::Config_Handlers::EventServiceDescription const& s)
+ {
+ name (s.name ());
+
+ node (s.node ());
+
+ type (s.type ());
+
+ svc_cfg_file (s.svc_cfg_file ());
+
+ if (s.id_.get ()) id (*(s.id_));
+ else id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (0);
+
+ return *this;
+ }
+
+
+ // EventServiceDescription
+ //
+ ::XMLSchema::string< ACE_TCHAR > const& EventServiceDescription::
+ name () const
+ {
+ return *name_;
+ }
+
+ void EventServiceDescription::
+ name (::XMLSchema::string< ACE_TCHAR > const& e)
+ {
+ *name_ = e;
+ }
+
+ // EventServiceDescription
+ //
+ ::XMLSchema::string< ACE_TCHAR > const& EventServiceDescription::
+ node () const
+ {
+ return *node_;
+ }
+
+ void EventServiceDescription::
+ node (::XMLSchema::string< ACE_TCHAR > const& e)
+ {
+ *node_ = e;
+ }
+
+ // EventServiceDescription
+ //
+ ::CIAO::Config_Handlers::EventServiceType const& EventServiceDescription::
+ type () const
+ {
+ return *type_;
+ }
+
+ void EventServiceDescription::
+ type (::CIAO::Config_Handlers::EventServiceType const& e)
+ {
+ *type_ = e;
+ }
+
+ // EventServiceDescription
+ //
+ ::XMLSchema::string< ACE_TCHAR > const& EventServiceDescription::
+ svc_cfg_file () const
+ {
+ return *svc_cfg_file_;
+ }
+
+ void EventServiceDescription::
+ svc_cfg_file (::XMLSchema::string< ACE_TCHAR > const& e)
+ {
+ *svc_cfg_file_ = e;
+ }
+
+ // EventServiceDescription
+ //
+ bool EventServiceDescription::
+ id_p () const
+ {
+ return id_.get () != 0;
+ }
+
+ ::XMLSchema::ID< ACE_TCHAR > const& EventServiceDescription::
+ id () const
+ {
+ return *id_;
+ }
+
+ ::XMLSchema::ID< ACE_TCHAR >& EventServiceDescription::
+ id ()
+ {
+ return *id_;
+ }
+
+ void EventServiceDescription::
+ id (::XMLSchema::ID< ACE_TCHAR > const& e)
+ {
+ if (id_.get ())
+ {
+ *id_ = e;
+ }
+
+ else
+ {
+ id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e));
+ id_->container (this);
+ }
+ }
+
+
+ // FilterType
+ //
+
+ FilterType::Value FilterType::
+ integral () const
+ {
+ return v_;
+ }
+
+ bool
+ operator== (::CIAO::Config_Handlers::FilterType const& a, ::CIAO::Config_Handlers::FilterType const& b)
+ {
+ return a.v_ == b.v_;
+ }
+
+ bool
+ operator!= (::CIAO::Config_Handlers::FilterType const& a, ::CIAO::Config_Handlers::FilterType const& b)
+ {
+ return a.v_ != b.v_;
+ }
+
+ FilterType::
+ FilterType (FilterType::Value v)
+ : v_ (v)
+ {
+ }
+
+ // Filter
+ //
+
+ Filter::
+ Filter (::CIAO::Config_Handlers::FilterType const& type__,
+ ::XMLSchema::string< ACE_TCHAR > const& source__)
+ :
+ ::XSCRT::Type (),
+ type_ (new ::CIAO::Config_Handlers::FilterType (type__)),
+ source_ (new ::XMLSchema::string< ACE_TCHAR > (source__)),
+ regulator__ ()
+ {
+ type_->container (this);
+ source_->container (this);
+ }
+
+ Filter::
+ Filter (::CIAO::Config_Handlers::Filter const& s)
+ :
+ ::XSCRT::Type (),
+ type_ (new ::CIAO::Config_Handlers::FilterType (*s.type_)),
+ source_ (new ::XMLSchema::string< ACE_TCHAR > (*s.source_)),
+ id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0),
+ regulator__ ()
+ {
+ type_->container (this);
+ source_->container (this);
+ if (id_.get ()) id_->container (this);
+ }
+
+ ::CIAO::Config_Handlers::Filter& Filter::
+ operator= (::CIAO::Config_Handlers::Filter const& s)
+ {
+ type (s.type ());
+
+ source (s.source ());
+
+ if (s.id_.get ()) id (*(s.id_));
+ else id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (0);
+
+ return *this;
+ }
+
+
+ // Filter
+ //
+ ::CIAO::Config_Handlers::FilterType const& Filter::
+ type () const
+ {
+ return *type_;
+ }
+
+ void Filter::
+ type (::CIAO::Config_Handlers::FilterType const& e)
+ {
+ *type_ = e;
+ }
+
+ // Filter
+ //
+ ::XMLSchema::string< ACE_TCHAR > const& Filter::
+ source () const
+ {
+ return *source_;
+ }
+
+ void Filter::
+ source (::XMLSchema::string< ACE_TCHAR > const& e)
+ {
+ *source_ = e;
+ }
+
+ // Filter
+ //
+ bool Filter::
+ id_p () const
+ {
+ return id_.get () != 0;
+ }
+
+ ::XMLSchema::ID< ACE_TCHAR > const& Filter::
+ id () const
+ {
+ return *id_;
+ }
+
+ ::XMLSchema::ID< ACE_TCHAR >& Filter::
+ id ()
+ {
+ return *id_;
+ }
+
+ void Filter::
+ id (::XMLSchema::ID< ACE_TCHAR > const& e)
+ {
+ if (id_.get ())
+ {
+ *id_ = e;
+ }
+
+ else
+ {
+ id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e));
+ id_->container (this);
+ }
+ }
+
+
+ // MCastSenderDescription
+ //
+
+ MCastSenderDescription::
+ MCastSenderDescription (::XMLSchema::string< ACE_TCHAR > const& node__,
+ ::CIAO::Config_Handlers::EventServiceType const& type__,
+ ::XMLSchema::string< ACE_TCHAR > const& svc_cfg_file__)
+ :
+ ::XSCRT::Type (),
+ node_ (new ::XMLSchema::string< ACE_TCHAR > (node__)),
+ type_ (new ::CIAO::Config_Handlers::EventServiceType (type__)),
+ svc_cfg_file_ (new ::XMLSchema::string< ACE_TCHAR > (svc_cfg_file__)),
+ regulator__ ()
+ {
+ node_->container (this);
+ type_->container (this);
+ svc_cfg_file_->container (this);
+ }
+
+ MCastSenderDescription::
+ MCastSenderDescription (::CIAO::Config_Handlers::MCastSenderDescription const& s)
+ :
+ ::XSCRT::Type (),
+ node_ (new ::XMLSchema::string< ACE_TCHAR > (*s.node_)),
+ type_ (new ::CIAO::Config_Handlers::EventServiceType (*s.type_)),
+ svc_cfg_file_ (new ::XMLSchema::string< ACE_TCHAR > (*s.svc_cfg_file_)),
+ id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0),
+ regulator__ ()
+ {
+ node_->container (this);
+ type_->container (this);
+ svc_cfg_file_->container (this);
+ if (id_.get ()) id_->container (this);
+ }
+
+ ::CIAO::Config_Handlers::MCastSenderDescription& MCastSenderDescription::
+ operator= (::CIAO::Config_Handlers::MCastSenderDescription const& s)
+ {
+ node (s.node ());
+
+ type (s.type ());
+
+ svc_cfg_file (s.svc_cfg_file ());
+
+ if (s.id_.get ()) id (*(s.id_));
+ else id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (0);
+
+ return *this;
+ }
+
+
+ // MCastSenderDescription
+ //
+ ::XMLSchema::string< ACE_TCHAR > const& MCastSenderDescription::
+ node () const
+ {
+ return *node_;
+ }
+
+ void MCastSenderDescription::
+ node (::XMLSchema::string< ACE_TCHAR > const& e)
+ {
+ *node_ = e;
+ }
+
+ // MCastSenderDescription
+ //
+ ::CIAO::Config_Handlers::EventServiceType const& MCastSenderDescription::
+ type () const
+ {
+ return *type_;
+ }
+
+ void MCastSenderDescription::
+ type (::CIAO::Config_Handlers::EventServiceType const& e)
+ {
+ *type_ = e;
+ }
+
+ // MCastSenderDescription
+ //
+ ::XMLSchema::string< ACE_TCHAR > const& MCastSenderDescription::
+ svc_cfg_file () const
+ {
+ return *svc_cfg_file_;
+ }
+
+ void MCastSenderDescription::
+ svc_cfg_file (::XMLSchema::string< ACE_TCHAR > const& e)
+ {
+ *svc_cfg_file_ = e;
+ }
+
+ // MCastSenderDescription
+ //
+ bool MCastSenderDescription::
+ id_p () const
+ {
+ return id_.get () != 0;
+ }
+
+ ::XMLSchema::ID< ACE_TCHAR > const& MCastSenderDescription::
+ id () const
+ {
+ return *id_;
+ }
+
+ ::XMLSchema::ID< ACE_TCHAR >& MCastSenderDescription::
+ id ()
+ {
+ return *id_;
+ }
+
+ void MCastSenderDescription::
+ id (::XMLSchema::ID< ACE_TCHAR > const& e)
+ {
+ if (id_.get ())
+ {
+ *id_ = e;
+ }
+
+ else
+ {
+ id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e));
+ id_->container (this);
+ }
+ }
+
+
+ // MCastReceiverDescription
+ //
+
+ MCastReceiverDescription::
+ MCastReceiverDescription (::XMLSchema::string< ACE_TCHAR > const& node__,
+ ::CIAO::Config_Handlers::EventServiceType const& type__,
+ ::XMLSchema::string< ACE_TCHAR > const& svc_cfg_file__)
+ :
+ ::XSCRT::Type (),
+ node_ (new ::XMLSchema::string< ACE_TCHAR > (node__)),
+ type_ (new ::CIAO::Config_Handlers::EventServiceType (type__)),
+ svc_cfg_file_ (new ::XMLSchema::string< ACE_TCHAR > (svc_cfg_file__)),
+ regulator__ ()
+ {
+ node_->container (this);
+ type_->container (this);
+ svc_cfg_file_->container (this);
+ }
+
+ MCastReceiverDescription::
+ MCastReceiverDescription (::CIAO::Config_Handlers::MCastReceiverDescription const& s)
+ :
+ ::XSCRT::Type (),
+ node_ (new ::XMLSchema::string< ACE_TCHAR > (*s.node_)),
+ type_ (new ::CIAO::Config_Handlers::EventServiceType (*s.type_)),
+ svc_cfg_file_ (new ::XMLSchema::string< ACE_TCHAR > (*s.svc_cfg_file_)),
+ id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0),
+ regulator__ ()
+ {
+ node_->container (this);
+ type_->container (this);
+ svc_cfg_file_->container (this);
+ if (id_.get ()) id_->container (this);
+ }
+
+ ::CIAO::Config_Handlers::MCastReceiverDescription& MCastReceiverDescription::
+ operator= (::CIAO::Config_Handlers::MCastReceiverDescription const& s)
+ {
+ node (s.node ());
+
+ type (s.type ());
+
+ svc_cfg_file (s.svc_cfg_file ());
+
+ if (s.id_.get ()) id (*(s.id_));
+ else id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (0);
+
+ return *this;
+ }
+
+
+ // MCastReceiverDescription
+ //
+ ::XMLSchema::string< ACE_TCHAR > const& MCastReceiverDescription::
+ node () const
+ {
+ return *node_;
+ }
+
+ void MCastReceiverDescription::
+ node (::XMLSchema::string< ACE_TCHAR > const& e)
+ {
+ *node_ = e;
+ }
+
+ // MCastReceiverDescription
+ //
+ ::CIAO::Config_Handlers::EventServiceType const& MCastReceiverDescription::
+ type () const
+ {
+ return *type_;
+ }
+
+ void MCastReceiverDescription::
+ type (::CIAO::Config_Handlers::EventServiceType const& e)
+ {
+ *type_ = e;
+ }
+
+ // MCastReceiverDescription
+ //
+ ::XMLSchema::string< ACE_TCHAR > const& MCastReceiverDescription::
+ svc_cfg_file () const
+ {
+ return *svc_cfg_file_;
+ }
+
+ void MCastReceiverDescription::
+ svc_cfg_file (::XMLSchema::string< ACE_TCHAR > const& e)
+ {
+ *svc_cfg_file_ = e;
+ }
+
+ // MCastReceiverDescription
+ //
+ bool MCastReceiverDescription::
+ id_p () const
+ {
+ return id_.get () != 0;
+ }
+
+ ::XMLSchema::ID< ACE_TCHAR > const& MCastReceiverDescription::
+ id () const
+ {
+ return *id_;
+ }
+
+ ::XMLSchema::ID< ACE_TCHAR >& MCastReceiverDescription::
+ id ()
+ {
+ return *id_;
+ }
+
+ void MCastReceiverDescription::
+ id (::XMLSchema::ID< ACE_TCHAR > const& e)
+ {
+ if (id_.get ())
+ {
+ *id_ = e;
+ }
+
+ else
+ {
+ id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e));
+ id_->container (this);
+ }
+ }
+
+
+ // EC_to_MCastSender
+ //
+
+ EC_to_MCastSender::
+ EC_to_MCastSender (::XMLSchema::string< ACE_TCHAR > const& destination__)
+ :
+ ::XSCRT::Type (),
+ destination_ (new ::XMLSchema::string< ACE_TCHAR > (destination__)),
+ regulator__ ()
+ {
+ destination_->container (this);
+ }
+
+ EC_to_MCastSender::
+ EC_to_MCastSender (::CIAO::Config_Handlers::EC_to_MCastSender const& s)
+ :
+ ::XSCRT::Type (),
+ destination_ (new ::XMLSchema::string< ACE_TCHAR > (*s.destination_)),
+ id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0),
+ regulator__ ()
+ {
+ destination_->container (this);
+ if (id_.get ()) id_->container (this);
+ }
+
+ ::CIAO::Config_Handlers::EC_to_MCastSender& EC_to_MCastSender::
+ operator= (::CIAO::Config_Handlers::EC_to_MCastSender const& s)
+ {
+ destination (s.destination ());
+
+ if (s.id_.get ()) id (*(s.id_));
+ else id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (0);
+
+ return *this;
+ }
+
+
+ // EC_to_MCastSender
+ //
+ ::XMLSchema::string< ACE_TCHAR > const& EC_to_MCastSender::
+ destination () const
+ {
+ return *destination_;
+ }
+
+ void EC_to_MCastSender::
+ destination (::XMLSchema::string< ACE_TCHAR > const& e)
+ {
+ *destination_ = e;
+ }
+
+ // EC_to_MCastSender
+ //
+ bool EC_to_MCastSender::
+ id_p () const
+ {
+ return id_.get () != 0;
+ }
+
+ ::XMLSchema::ID< ACE_TCHAR > const& EC_to_MCastSender::
+ id () const
+ {
+ return *id_;
+ }
+
+ ::XMLSchema::ID< ACE_TCHAR >& EC_to_MCastSender::
+ id ()
+ {
+ return *id_;
+ }
+
+ void EC_to_MCastSender::
+ id (::XMLSchema::ID< ACE_TCHAR > const& e)
+ {
+ if (id_.get ())
+ {
+ *id_ = e;
+ }
+
+ else
+ {
+ id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e));
+ id_->container (this);
+ }
+ }
+
+
+ // MCastReceiver_to_EC
+ //
+
+ MCastReceiver_to_EC::
+ MCastReceiver_to_EC (::XMLSchema::string< ACE_TCHAR > const& source__,
+ ::XMLSchema::string< ACE_TCHAR > const& destination__)
+ :
+ ::XSCRT::Type (),
+ source_ (new ::XMLSchema::string< ACE_TCHAR > (source__)),
+ destination_ (new ::XMLSchema::string< ACE_TCHAR > (destination__)),
+ regulator__ ()
+ {
+ source_->container (this);
+ destination_->container (this);
+ }
+
+ MCastReceiver_to_EC::
+ MCastReceiver_to_EC (::CIAO::Config_Handlers::MCastReceiver_to_EC const& s)
+ :
+ ::XSCRT::Type (),
+ source_ (new ::XMLSchema::string< ACE_TCHAR > (*s.source_)),
+ destination_ (new ::XMLSchema::string< ACE_TCHAR > (*s.destination_)),
+ id_ (s.id_.get () ? new ::XMLSchema::ID< ACE_TCHAR > (*s.id_) : 0),
+ regulator__ ()
+ {
+ source_->container (this);
+ destination_->container (this);
+ if (id_.get ()) id_->container (this);
+ }
+
+ ::CIAO::Config_Handlers::MCastReceiver_to_EC& MCastReceiver_to_EC::
+ operator= (::CIAO::Config_Handlers::MCastReceiver_to_EC const& s)
+ {
+ source (s.source ());
+
+ destination (s.destination ());
+
+ if (s.id_.get ()) id (*(s.id_));
+ else id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (0);
+
+ return *this;
+ }
+
+
+ // MCastReceiver_to_EC
+ //
+ ::XMLSchema::string< ACE_TCHAR > const& MCastReceiver_to_EC::
+ source () const
+ {
+ return *source_;
+ }
+
+ void MCastReceiver_to_EC::
+ source (::XMLSchema::string< ACE_TCHAR > const& e)
+ {
+ *source_ = e;
+ }
+
+ // MCastReceiver_to_EC
+ //
+ ::XMLSchema::string< ACE_TCHAR > const& MCastReceiver_to_EC::
+ destination () const
+ {
+ return *destination_;
+ }
+
+ void MCastReceiver_to_EC::
+ destination (::XMLSchema::string< ACE_TCHAR > const& e)
+ {
+ *destination_ = e;
+ }
+
+ // MCastReceiver_to_EC
+ //
+ bool MCastReceiver_to_EC::
+ id_p () const
+ {
+ return id_.get () != 0;
+ }
+
+ ::XMLSchema::ID< ACE_TCHAR > const& MCastReceiver_to_EC::
+ id () const
+ {
+ return *id_;
+ }
+
+ ::XMLSchema::ID< ACE_TCHAR >& MCastReceiver_to_EC::
+ id ()
+ {
+ return *id_;
+ }
+
+ void MCastReceiver_to_EC::
+ id (::XMLSchema::ID< ACE_TCHAR > const& e)
+ {
+ if (id_.get ())
+ {
+ *id_ = e;
+ }
+
+ else
+ {
+ id_ = ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > (new ::XMLSchema::ID< ACE_TCHAR > (e));
+ id_->container (this);
+ }
+ }
+ }
+
+}
+
+namespace CIAO
+{
+ namespace Config_Handlers
+ {
+
+
+ // EventServiceType
+ //
+
+ EventServiceType::
+ EventServiceType (::XSCRT::XML::Element< ACE_TCHAR > const& e)
+ : ::XSCRT::Type (e)
+ {
+ ::std::basic_string< ACE_TCHAR > v (e.value ());
+
+ if (v == "EC") v_ = EC_l;
+ else if (v == "RTEC") v_ = RTEC_l;
+ else if (v == "NOTIFY") v_ = NOTIFY_l;
+ else if (v == "RTNOTIFY") v_ = RTNOTIFY_l;
+ else
+ {
+ }
+ }
+
+ EventServiceType::
+ EventServiceType (::XSCRT::XML::Attribute< ACE_TCHAR > const& a)
+ : ::XSCRT::Type (a)
+ {
+ ::std::basic_string< ACE_TCHAR > v (a.value ());
+
+ if (v == "EC") v_ = EC_l;
+ else if (v == "RTEC") v_ = RTEC_l;
+ else if (v == "NOTIFY") v_ = NOTIFY_l;
+ else if (v == "RTNOTIFY") v_ = RTNOTIFY_l;
+ else
+ {
+ }
+ }
+
+ EventServiceType const EventServiceType::EC (EventServiceType::EC_l);
+ EventServiceType const EventServiceType::RTEC (EventServiceType::RTEC_l);
+ EventServiceType const EventServiceType::NOTIFY (EventServiceType::NOTIFY_l);
+ EventServiceType const EventServiceType::RTNOTIFY (EventServiceType::RTNOTIFY_l);
+
+ // CIAOEventsDef
+ //
+
+ CIAOEventsDef::
+ CIAOEventsDef (::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 == "eventServiceConfiguration")
+ {
+ ::CIAO::Config_Handlers::EventServiceDescription t (e);
+ add_eventServiceConfiguration (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 == "id")
+ {
+ ::XMLSchema::ID< ACE_TCHAR > t (a);
+ id (t);
+ }
+
+ else
+ {
+ }
+ }
+ }
+
+ // EventServiceDescription
+ //
+
+ EventServiceDescription::
+ EventServiceDescription (::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 == "node")
+ {
+ node_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e));
+ node_->container (this);
+ }
+
+ else if (n == "type")
+ {
+ type_ = ::std::auto_ptr< ::CIAO::Config_Handlers::EventServiceType > (new ::CIAO::Config_Handlers::EventServiceType (e));
+ type_->container (this);
+ }
+
+ else if (n == "svc_cfg_file")
+ {
+ svc_cfg_file_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e));
+ svc_cfg_file_->container (this);
+ }
+
+ else
+ {
+ }
+ }
+
+ while (p.more_attributes ())
+ {
+ ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ());
+ ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ()));
+ if (n == "id")
+ {
+ ::XMLSchema::ID< ACE_TCHAR > t (a);
+ id (t);
+ }
+
+ else
+ {
+ }
+ }
+ }
+
+ // FilterType
+ //
+
+ FilterType::
+ FilterType (::XSCRT::XML::Element< ACE_TCHAR > const& e)
+ : ::XSCRT::Type (e)
+ {
+ ::std::basic_string< ACE_TCHAR > v (e.value ());
+
+ if (v == "CONJUNCTION") v_ = CONJUNCTION_l;
+ else if (v == "DISJUNCTION") v_ = DISJUNCTION_l;
+ else if (v == "LOGICAL_AND") v_ = LOGICAL_AND_l;
+ else if (v == "NEGATE") v_ = NEGATE_l;
+ else
+ {
+ }
+ }
+
+ FilterType::
+ FilterType (::XSCRT::XML::Attribute< ACE_TCHAR > const& a)
+ : ::XSCRT::Type (a)
+ {
+ ::std::basic_string< ACE_TCHAR > v (a.value ());
+
+ if (v == "CONJUNCTION") v_ = CONJUNCTION_l;
+ else if (v == "DISJUNCTION") v_ = DISJUNCTION_l;
+ else if (v == "LOGICAL_AND") v_ = LOGICAL_AND_l;
+ else if (v == "NEGATE") v_ = NEGATE_l;
+ else
+ {
+ }
+ }
+
+ FilterType const FilterType::CONJUNCTION (FilterType::CONJUNCTION_l);
+ FilterType const FilterType::DISJUNCTION (FilterType::DISJUNCTION_l);
+ FilterType const FilterType::LOGICAL_AND (FilterType::LOGICAL_AND_l);
+ FilterType const FilterType::NEGATE (FilterType::NEGATE_l);
+
+ // Filter
+ //
+
+ Filter::
+ Filter (::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 == "type")
+ {
+ type_ = ::std::auto_ptr< ::CIAO::Config_Handlers::FilterType > (new ::CIAO::Config_Handlers::FilterType (e));
+ type_->container (this);
+ }
+
+ else if (n == "source")
+ {
+ source_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e));
+ source_->container (this);
+ }
+
+ else
+ {
+ }
+ }
+
+ while (p.more_attributes ())
+ {
+ ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ());
+ ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ()));
+ if (n == "id")
+ {
+ ::XMLSchema::ID< ACE_TCHAR > t (a);
+ id (t);
+ }
+
+ else
+ {
+ }
+ }
+ }
+
+ // MCastSenderDescription
+ //
+
+ MCastSenderDescription::
+ MCastSenderDescription (::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 == "node")
+ {
+ node_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e));
+ node_->container (this);
+ }
+
+ else if (n == "type")
+ {
+ type_ = ::std::auto_ptr< ::CIAO::Config_Handlers::EventServiceType > (new ::CIAO::Config_Handlers::EventServiceType (e));
+ type_->container (this);
+ }
+
+ else if (n == "svc_cfg_file")
+ {
+ svc_cfg_file_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e));
+ svc_cfg_file_->container (this);
+ }
+
+ else
+ {
+ }
+ }
+
+ while (p.more_attributes ())
+ {
+ ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ());
+ ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ()));
+ if (n == "id")
+ {
+ ::XMLSchema::ID< ACE_TCHAR > t (a);
+ id (t);
+ }
+
+ else
+ {
+ }
+ }
+ }
+
+ // MCastReceiverDescription
+ //
+
+ MCastReceiverDescription::
+ MCastReceiverDescription (::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 == "node")
+ {
+ node_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e));
+ node_->container (this);
+ }
+
+ else if (n == "type")
+ {
+ type_ = ::std::auto_ptr< ::CIAO::Config_Handlers::EventServiceType > (new ::CIAO::Config_Handlers::EventServiceType (e));
+ type_->container (this);
+ }
+
+ else if (n == "svc_cfg_file")
+ {
+ svc_cfg_file_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e));
+ svc_cfg_file_->container (this);
+ }
+
+ else
+ {
+ }
+ }
+
+ while (p.more_attributes ())
+ {
+ ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ());
+ ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ()));
+ if (n == "id")
+ {
+ ::XMLSchema::ID< ACE_TCHAR > t (a);
+ id (t);
+ }
+
+ else
+ {
+ }
+ }
+ }
+
+ // EC_to_MCastSender
+ //
+
+ EC_to_MCastSender::
+ EC_to_MCastSender (::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 == "destination")
+ {
+ destination_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e));
+ destination_->container (this);
+ }
+
+ else
+ {
+ }
+ }
+
+ while (p.more_attributes ())
+ {
+ ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ());
+ ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ()));
+ if (n == "id")
+ {
+ ::XMLSchema::ID< ACE_TCHAR > t (a);
+ id (t);
+ }
+
+ else
+ {
+ }
+ }
+ }
+
+ // MCastReceiver_to_EC
+ //
+
+ MCastReceiver_to_EC::
+ MCastReceiver_to_EC (::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 == "source")
+ {
+ source_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e));
+ source_->container (this);
+ }
+
+ else if (n == "destination")
+ {
+ destination_ = ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > (new ::XMLSchema::string< ACE_TCHAR > (e));
+ destination_->container (this);
+ }
+
+ else
+ {
+ }
+ }
+
+ while (p.more_attributes ())
+ {
+ ::XSCRT::XML::Attribute< ACE_TCHAR > a (p.next_attribute ());
+ ::std::basic_string< ACE_TCHAR > n (::XSCRT::XML::uq_name (a.name ()));
+ if (n == "id")
+ {
+ ::XMLSchema::ID< ACE_TCHAR > t (a);
+ id (t);
+ }
+
+ else
+ {
+ }
+ }
+ }
+ }
+
+}
+
+namespace CIAO
+{
+ namespace Config_Handlers
+ {
+
+
+ ::CIAO::Config_Handlers::CIAOEventsDef
+ CIAOEvents (xercesc::DOMDocument const* d)
+ {
+ ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ());
+ if (e.name () == "CIAOEvents")
+ {
+ ::CIAO::Config_Handlers::CIAOEventsDef r (e);
+ return r;
+ }
+
+ else
+ {
+ throw 1;
+ }
+ }
+ }
+
+}
+
+#include "XMLSchema/TypeInfo.hpp"
+
+namespace CIAO
+{
+ namespace Config_Handlers
+ {
+
+
+ namespace
+ {
+ ::XMLSchema::TypeInfoInitializer < ACE_TCHAR > XMLSchemaTypeInfoInitializer_ (::XSCRT::extended_type_info_map ());
+
+ struct EventServiceTypeTypeInfoInitializer
+ {
+ EventServiceTypeTypeInfoInitializer ()
+ {
+ ::XSCRT::TypeId id (typeid (EventServiceType));
+ ::XSCRT::ExtendedTypeInfo nf (id);
+
+ nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type));
+
+ ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf));
+ }
+ };
+
+ EventServiceTypeTypeInfoInitializer EventServiceTypeTypeInfoInitializer_;
+
+ struct CIAOEventsDefTypeInfoInitializer
+ {
+ CIAOEventsDefTypeInfoInitializer ()
+ {
+ ::XSCRT::TypeId id (typeid (CIAOEventsDef));
+ ::XSCRT::ExtendedTypeInfo nf (id);
+
+ nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type));
+ ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf));
+ }
+ };
+
+ CIAOEventsDefTypeInfoInitializer CIAOEventsDefTypeInfoInitializer_;
+
+ struct EventServiceDescriptionTypeInfoInitializer
+ {
+ EventServiceDescriptionTypeInfoInitializer ()
+ {
+ ::XSCRT::TypeId id (typeid (EventServiceDescription));
+ ::XSCRT::ExtendedTypeInfo nf (id);
+
+ nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type));
+ ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf));
+ }
+ };
+
+ EventServiceDescriptionTypeInfoInitializer EventServiceDescriptionTypeInfoInitializer_;
+
+ struct FilterTypeTypeInfoInitializer
+ {
+ FilterTypeTypeInfoInitializer ()
+ {
+ ::XSCRT::TypeId id (typeid (FilterType));
+ ::XSCRT::ExtendedTypeInfo nf (id);
+
+ nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type));
+
+ ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf));
+ }
+ };
+
+ FilterTypeTypeInfoInitializer FilterTypeTypeInfoInitializer_;
+
+ struct FilterTypeInfoInitializer
+ {
+ FilterTypeInfoInitializer ()
+ {
+ ::XSCRT::TypeId id (typeid (Filter));
+ ::XSCRT::ExtendedTypeInfo nf (id);
+
+ nf.add_base (::XSCRT::ExtendedTypeInfo::Access::public_, false, typeid (::XSCRT::Type));
+ ::XSCRT::extended_type_info_map ().insert (::std::make_pair (id, nf));
+ }
+ };
+
+ FilterTypeInfoInitializer FilterTypeInfoInitializer_;
+
+ struct MCastSenderDescriptionTypeInfoInitializer
+ {
+ MCastSenderDescriptionTypeInfoInitializer ()
+ {
+ ::XSCRT::TypeId id (typeid (MCastSenderDescription));
+ ::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));
+ }
+ };
+
+ MCastSenderDescriptionTypeInfoInitializer MCastSenderDescriptionTypeInfoInitializer_;
+
+ struct MCastReceiverDescriptionTypeInfoInitializer
+ {
+ MCastReceiverDescriptionTypeInfoInitializer ()
+ {
+ ::XSCRT::TypeId id (typeid (MCastReceiverDescription));
+ ::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));
+ }
+ };
+
+ MCastReceiverDescriptionTypeInfoInitializer MCastReceiverDescriptionTypeInfoInitializer_;
+
+ struct EC_to_MCastSenderTypeInfoInitializer
+ {
+ EC_to_MCastSenderTypeInfoInitializer ()
+ {
+ ::XSCRT::TypeId id (typeid (EC_to_MCastSender));
+ ::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));
+ }
+ };
+
+ EC_to_MCastSenderTypeInfoInitializer EC_to_MCastSenderTypeInfoInitializer_;
+
+ struct MCastReceiver_to_ECTypeInfoInitializer
+ {
+ MCastReceiver_to_ECTypeInfoInitializer ()
+ {
+ ::XSCRT::TypeId id (typeid (MCastReceiver_to_EC));
+ ::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));
+ }
+ };
+
+ MCastReceiver_to_ECTypeInfoInitializer MCastReceiver_to_ECTypeInfoInitializer_;
+ }
+ }
+
+}
+
+namespace CIAO
+{
+ namespace Config_Handlers
+ {
+
+
+ namespace Traversal
+ {
+ // CIAOEventsDef
+ //
+ //
+
+ void CIAOEventsDef::
+ traverse (Type& o)
+ {
+ pre (o);
+ eventServiceConfiguration (o);
+ if (o.id_p ()) id (o);
+ else id_none (o);
+ post (o);
+ }
+
+ void CIAOEventsDef::
+ traverse (Type const& o)
+ {
+ pre (o);
+ eventServiceConfiguration (o);
+ if (o.id_p ()) id (o);
+ else id_none (o);
+ post (o);
+ }
+
+ void CIAOEventsDef::
+ pre (Type&)
+ {
+ }
+
+ void CIAOEventsDef::
+ pre (Type const&)
+ {
+ }
+
+ void CIAOEventsDef::
+ eventServiceConfiguration (Type& o)
+ {
+ // VC6 anathema strikes again
+ //
+ CIAOEventsDef::Type::eventServiceConfiguration_iterator b (o.begin_eventServiceConfiguration()), e (o.end_eventServiceConfiguration());
+
+ if (b != e)
+ {
+ eventServiceConfiguration_pre (o);
+ for (; b != e;)
+ {
+ dispatch (*b);
+ if (++b != e) eventServiceConfiguration_next (o);
+ }
+
+ eventServiceConfiguration_post (o);
+ }
+ }
+
+ void CIAOEventsDef::
+ eventServiceConfiguration (Type const& o)
+ {
+ // VC6 anathema strikes again
+ //
+ CIAOEventsDef::Type::eventServiceConfiguration_const_iterator b (o.begin_eventServiceConfiguration()), e (o.end_eventServiceConfiguration());
+
+ if (b != e)
+ {
+ eventServiceConfiguration_pre (o);
+ for (; b != e;)
+ {
+ dispatch (*b);
+ if (++b != e) eventServiceConfiguration_next (o);
+ }
+
+ eventServiceConfiguration_post (o);
+ }
+ }
+
+ void CIAOEventsDef::
+ eventServiceConfiguration_pre (Type&)
+ {
+ }
+
+ void CIAOEventsDef::
+ eventServiceConfiguration_pre (Type const&)
+ {
+ }
+
+ void CIAOEventsDef::
+ eventServiceConfiguration_next (Type&)
+ {
+ }
+
+ void CIAOEventsDef::
+ eventServiceConfiguration_next (Type const&)
+ {
+ }
+
+ void CIAOEventsDef::
+ eventServiceConfiguration_post (Type&)
+ {
+ }
+
+ void CIAOEventsDef::
+ eventServiceConfiguration_post (Type const&)
+ {
+ }
+
+ void CIAOEventsDef::
+ id (Type& o)
+ {
+ dispatch (o.id ());
+ }
+
+ void CIAOEventsDef::
+ id (Type const& o)
+ {
+ dispatch (o.id ());
+ }
+
+ void CIAOEventsDef::
+ id_none (Type&)
+ {
+ }
+
+ void CIAOEventsDef::
+ id_none (Type const&)
+ {
+ }
+
+ void CIAOEventsDef::
+ post (Type&)
+ {
+ }
+
+ void CIAOEventsDef::
+ post (Type const&)
+ {
+ }
+
+ // EventServiceDescription
+ //
+ //
+
+ void EventServiceDescription::
+ traverse (Type& o)
+ {
+ pre (o);
+ name (o);
+ node (o);
+ type (o);
+ svc_cfg_file (o);
+ if (o.id_p ()) id (o);
+ else id_none (o);
+ post (o);
+ }
+
+ void EventServiceDescription::
+ traverse (Type const& o)
+ {
+ pre (o);
+ name (o);
+ node (o);
+ type (o);
+ svc_cfg_file (o);
+ if (o.id_p ()) id (o);
+ else id_none (o);
+ post (o);
+ }
+
+ void EventServiceDescription::
+ pre (Type&)
+ {
+ }
+
+ void EventServiceDescription::
+ pre (Type const&)
+ {
+ }
+
+ void EventServiceDescription::
+ name (Type& o)
+ {
+ dispatch (o.name ());
+ }
+
+ void EventServiceDescription::
+ name (Type const& o)
+ {
+ dispatch (o.name ());
+ }
+
+ void EventServiceDescription::
+ node (Type& o)
+ {
+ dispatch (o.node ());
+ }
+
+ void EventServiceDescription::
+ node (Type const& o)
+ {
+ dispatch (o.node ());
+ }
+
+ void EventServiceDescription::
+ type (Type& o)
+ {
+ dispatch (o.type ());
+ }
+
+ void EventServiceDescription::
+ type (Type const& o)
+ {
+ dispatch (o.type ());
+ }
+
+ void EventServiceDescription::
+ svc_cfg_file (Type& o)
+ {
+ dispatch (o.svc_cfg_file ());
+ }
+
+ void EventServiceDescription::
+ svc_cfg_file (Type const& o)
+ {
+ dispatch (o.svc_cfg_file ());
+ }
+
+ void EventServiceDescription::
+ id (Type& o)
+ {
+ dispatch (o.id ());
+ }
+
+ void EventServiceDescription::
+ id (Type const& o)
+ {
+ dispatch (o.id ());
+ }
+
+ void EventServiceDescription::
+ id_none (Type&)
+ {
+ }
+
+ void EventServiceDescription::
+ id_none (Type const&)
+ {
+ }
+
+ void EventServiceDescription::
+ post (Type&)
+ {
+ }
+
+ void EventServiceDescription::
+ post (Type const&)
+ {
+ }
+
+ // Filter
+ //
+ //
+
+ void Filter::
+ traverse (Type& o)
+ {
+ pre (o);
+ type (o);
+ source (o);
+ if (o.id_p ()) id (o);
+ else id_none (o);
+ post (o);
+ }
+
+ void Filter::
+ traverse (Type const& o)
+ {
+ pre (o);
+ type (o);
+ source (o);
+ if (o.id_p ()) id (o);
+ else id_none (o);
+ post (o);
+ }
+
+ void Filter::
+ pre (Type&)
+ {
+ }
+
+ void Filter::
+ pre (Type const&)
+ {
+ }
+
+ void Filter::
+ type (Type& o)
+ {
+ dispatch (o.type ());
+ }
+
+ void Filter::
+ type (Type const& o)
+ {
+ dispatch (o.type ());
+ }
+
+ void Filter::
+ source (Type& o)
+ {
+ dispatch (o.source ());
+ }
+
+ void Filter::
+ source (Type const& o)
+ {
+ dispatch (o.source ());
+ }
+
+ void Filter::
+ id (Type& o)
+ {
+ dispatch (o.id ());
+ }
+
+ void Filter::
+ id (Type const& o)
+ {
+ dispatch (o.id ());
+ }
+
+ void Filter::
+ id_none (Type&)
+ {
+ }
+
+ void Filter::
+ id_none (Type const&)
+ {
+ }
+
+ void Filter::
+ post (Type&)
+ {
+ }
+
+ void Filter::
+ post (Type const&)
+ {
+ }
+
+ // MCastSenderDescription
+ //
+ //
+
+ void MCastSenderDescription::
+ traverse (Type& o)
+ {
+ pre (o);
+ node (o);
+ type (o);
+ svc_cfg_file (o);
+ if (o.id_p ()) id (o);
+ else id_none (o);
+ post (o);
+ }
+
+ void MCastSenderDescription::
+ traverse (Type const& o)
+ {
+ pre (o);
+ node (o);
+ type (o);
+ svc_cfg_file (o);
+ if (o.id_p ()) id (o);
+ else id_none (o);
+ post (o);
+ }
+
+ void MCastSenderDescription::
+ pre (Type&)
+ {
+ }
+
+ void MCastSenderDescription::
+ pre (Type const&)
+ {
+ }
+
+ void MCastSenderDescription::
+ node (Type& o)
+ {
+ dispatch (o.node ());
+ }
+
+ void MCastSenderDescription::
+ node (Type const& o)
+ {
+ dispatch (o.node ());
+ }
+
+ void MCastSenderDescription::
+ type (Type& o)
+ {
+ dispatch (o.type ());
+ }
+
+ void MCastSenderDescription::
+ type (Type const& o)
+ {
+ dispatch (o.type ());
+ }
+
+ void MCastSenderDescription::
+ svc_cfg_file (Type& o)
+ {
+ dispatch (o.svc_cfg_file ());
+ }
+
+ void MCastSenderDescription::
+ svc_cfg_file (Type const& o)
+ {
+ dispatch (o.svc_cfg_file ());
+ }
+
+ void MCastSenderDescription::
+ id (Type& o)
+ {
+ dispatch (o.id ());
+ }
+
+ void MCastSenderDescription::
+ id (Type const& o)
+ {
+ dispatch (o.id ());
+ }
+
+ void MCastSenderDescription::
+ id_none (Type&)
+ {
+ }
+
+ void MCastSenderDescription::
+ id_none (Type const&)
+ {
+ }
+
+ void MCastSenderDescription::
+ post (Type&)
+ {
+ }
+
+ void MCastSenderDescription::
+ post (Type const&)
+ {
+ }
+
+ // MCastReceiverDescription
+ //
+ //
+
+ void MCastReceiverDescription::
+ traverse (Type& o)
+ {
+ pre (o);
+ node (o);
+ type (o);
+ svc_cfg_file (o);
+ if (o.id_p ()) id (o);
+ else id_none (o);
+ post (o);
+ }
+
+ void MCastReceiverDescription::
+ traverse (Type const& o)
+ {
+ pre (o);
+ node (o);
+ type (o);
+ svc_cfg_file (o);
+ if (o.id_p ()) id (o);
+ else id_none (o);
+ post (o);
+ }
+
+ void MCastReceiverDescription::
+ pre (Type&)
+ {
+ }
+
+ void MCastReceiverDescription::
+ pre (Type const&)
+ {
+ }
+
+ void MCastReceiverDescription::
+ node (Type& o)
+ {
+ dispatch (o.node ());
+ }
+
+ void MCastReceiverDescription::
+ node (Type const& o)
+ {
+ dispatch (o.node ());
+ }
+
+ void MCastReceiverDescription::
+ type (Type& o)
+ {
+ dispatch (o.type ());
+ }
+
+ void MCastReceiverDescription::
+ type (Type const& o)
+ {
+ dispatch (o.type ());
+ }
+
+ void MCastReceiverDescription::
+ svc_cfg_file (Type& o)
+ {
+ dispatch (o.svc_cfg_file ());
+ }
+
+ void MCastReceiverDescription::
+ svc_cfg_file (Type const& o)
+ {
+ dispatch (o.svc_cfg_file ());
+ }
+
+ void MCastReceiverDescription::
+ id (Type& o)
+ {
+ dispatch (o.id ());
+ }
+
+ void MCastReceiverDescription::
+ id (Type const& o)
+ {
+ dispatch (o.id ());
+ }
+
+ void MCastReceiverDescription::
+ id_none (Type&)
+ {
+ }
+
+ void MCastReceiverDescription::
+ id_none (Type const&)
+ {
+ }
+
+ void MCastReceiverDescription::
+ post (Type&)
+ {
+ }
+
+ void MCastReceiverDescription::
+ post (Type const&)
+ {
+ }
+
+ // EC_to_MCastSender
+ //
+ //
+
+ void EC_to_MCastSender::
+ traverse (Type& o)
+ {
+ pre (o);
+ destination (o);
+ if (o.id_p ()) id (o);
+ else id_none (o);
+ post (o);
+ }
+
+ void EC_to_MCastSender::
+ traverse (Type const& o)
+ {
+ pre (o);
+ destination (o);
+ if (o.id_p ()) id (o);
+ else id_none (o);
+ post (o);
+ }
+
+ void EC_to_MCastSender::
+ pre (Type&)
+ {
+ }
+
+ void EC_to_MCastSender::
+ pre (Type const&)
+ {
+ }
+
+ void EC_to_MCastSender::
+ destination (Type& o)
+ {
+ dispatch (o.destination ());
+ }
+
+ void EC_to_MCastSender::
+ destination (Type const& o)
+ {
+ dispatch (o.destination ());
+ }
+
+ void EC_to_MCastSender::
+ id (Type& o)
+ {
+ dispatch (o.id ());
+ }
+
+ void EC_to_MCastSender::
+ id (Type const& o)
+ {
+ dispatch (o.id ());
+ }
+
+ void EC_to_MCastSender::
+ id_none (Type&)
+ {
+ }
+
+ void EC_to_MCastSender::
+ id_none (Type const&)
+ {
+ }
+
+ void EC_to_MCastSender::
+ post (Type&)
+ {
+ }
+
+ void EC_to_MCastSender::
+ post (Type const&)
+ {
+ }
+
+ // MCastReceiver_to_EC
+ //
+ //
+
+ void MCastReceiver_to_EC::
+ traverse (Type& o)
+ {
+ pre (o);
+ source (o);
+ destination (o);
+ if (o.id_p ()) id (o);
+ else id_none (o);
+ post (o);
+ }
+
+ void MCastReceiver_to_EC::
+ traverse (Type const& o)
+ {
+ pre (o);
+ source (o);
+ destination (o);
+ if (o.id_p ()) id (o);
+ else id_none (o);
+ post (o);
+ }
+
+ void MCastReceiver_to_EC::
+ pre (Type&)
+ {
+ }
+
+ void MCastReceiver_to_EC::
+ pre (Type const&)
+ {
+ }
+
+ void MCastReceiver_to_EC::
+ source (Type& o)
+ {
+ dispatch (o.source ());
+ }
+
+ void MCastReceiver_to_EC::
+ source (Type const& o)
+ {
+ dispatch (o.source ());
+ }
+
+ void MCastReceiver_to_EC::
+ destination (Type& o)
+ {
+ dispatch (o.destination ());
+ }
+
+ void MCastReceiver_to_EC::
+ destination (Type const& o)
+ {
+ dispatch (o.destination ());
+ }
+
+ void MCastReceiver_to_EC::
+ id (Type& o)
+ {
+ dispatch (o.id ());
+ }
+
+ void MCastReceiver_to_EC::
+ id (Type const& o)
+ {
+ dispatch (o.id ());
+ }
+
+ void MCastReceiver_to_EC::
+ id_none (Type&)
+ {
+ }
+
+ void MCastReceiver_to_EC::
+ id_none (Type const&)
+ {
+ }
+
+ void MCastReceiver_to_EC::
+ post (Type&)
+ {
+ }
+
+ void MCastReceiver_to_EC::
+ post (Type const&)
+ {
+ }
+ }
+ }
+
+}
+
+namespace CIAO
+{
+ namespace Config_Handlers
+ {
+
+
+ namespace Writer
+ {
+ // EventServiceType
+ //
+ //
+
+ EventServiceType::
+ EventServiceType (::XSCRT::XML::Element< ACE_TCHAR >& e)
+ : ::XSCRT::Writer< ACE_TCHAR > (e)
+ {
+ }
+
+ EventServiceType::
+ EventServiceType ()
+ {
+ }
+
+ void EventServiceType::
+ traverse (Type const& o)
+ {
+ ::std::basic_string< ACE_TCHAR > s;
+
+ if (o == ::CIAO::Config_Handlers::EventServiceType::EC) s = "EC";
+ else if (o == ::CIAO::Config_Handlers::EventServiceType::RTEC) s = "RTEC";
+ else if (o == ::CIAO::Config_Handlers::EventServiceType::NOTIFY) s = "NOTIFY";
+ else if (o == ::CIAO::Config_Handlers::EventServiceType::RTNOTIFY) s = "RTNOTIFY";
+ else
+ {
+ }
+
+ if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ())
+ {
+ a->value (s);
+ }
+
+ else
+ {
+ top_().value (s);
+ }
+ }
+
+ // CIAOEventsDef
+ //
+ //
+
+ CIAOEventsDef::
+ CIAOEventsDef (::XSCRT::XML::Element< ACE_TCHAR >& e)
+ : ::XSCRT::Writer< ACE_TCHAR > (e)
+ {
+ }
+
+ CIAOEventsDef::
+ CIAOEventsDef ()
+ {
+ }
+
+ void CIAOEventsDef::
+ traverse (Type const& o)
+ {
+ Traversal::CIAOEventsDef::traverse (o);
+ }
+
+ void CIAOEventsDef::
+ eventServiceConfiguration_pre (Type const&)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("eventServiceConfiguration", top_ ()));
+ }
+
+ void CIAOEventsDef::
+ eventServiceConfiguration_next (Type const& o)
+ {
+ eventServiceConfiguration_post (o);
+ eventServiceConfiguration_pre (o);
+ }
+
+ void CIAOEventsDef::
+ eventServiceConfiguration_post (Type const&)
+ {
+ pop_ ();
+ }
+
+ void CIAOEventsDef::
+ id (Type const& o)
+ {
+ ::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ());
+ attr_ (&a);
+ Traversal::CIAOEventsDef::id (o);
+ attr_ (0);
+ }
+
+ // EventServiceDescription
+ //
+ //
+
+ EventServiceDescription::
+ EventServiceDescription (::XSCRT::XML::Element< ACE_TCHAR >& e)
+ : ::XSCRT::Writer< ACE_TCHAR > (e)
+ {
+ }
+
+ EventServiceDescription::
+ EventServiceDescription ()
+ {
+ }
+
+ void EventServiceDescription::
+ traverse (Type const& o)
+ {
+ Traversal::EventServiceDescription::traverse (o);
+ }
+
+ void EventServiceDescription::
+ name (Type const& o)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("name", top_ ()));
+ Traversal::EventServiceDescription::name (o);
+ pop_ ();
+ }
+
+ void EventServiceDescription::
+ node (Type const& o)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("node", top_ ()));
+ Traversal::EventServiceDescription::node (o);
+ pop_ ();
+ }
+
+ void EventServiceDescription::
+ type (Type const& o)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("type", top_ ()));
+ Traversal::EventServiceDescription::type (o);
+ pop_ ();
+ }
+
+ void EventServiceDescription::
+ svc_cfg_file (Type const& o)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("svc_cfg_file", top_ ()));
+ Traversal::EventServiceDescription::svc_cfg_file (o);
+ pop_ ();
+ }
+
+ void EventServiceDescription::
+ id (Type const& o)
+ {
+ ::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ());
+ attr_ (&a);
+ Traversal::EventServiceDescription::id (o);
+ attr_ (0);
+ }
+
+ // FilterType
+ //
+ //
+
+ FilterType::
+ FilterType (::XSCRT::XML::Element< ACE_TCHAR >& e)
+ : ::XSCRT::Writer< ACE_TCHAR > (e)
+ {
+ }
+
+ FilterType::
+ FilterType ()
+ {
+ }
+
+ void FilterType::
+ traverse (Type const& o)
+ {
+ ::std::basic_string< ACE_TCHAR > s;
+
+ if (o == ::CIAO::Config_Handlers::FilterType::CONJUNCTION) s = "CONJUNCTION";
+ else if (o == ::CIAO::Config_Handlers::FilterType::DISJUNCTION) s = "DISJUNCTION";
+ else if (o == ::CIAO::Config_Handlers::FilterType::LOGICAL_AND) s = "LOGICAL_AND";
+ else if (o == ::CIAO::Config_Handlers::FilterType::NEGATE) s = "NEGATE";
+ else
+ {
+ }
+
+ if (::XSCRT::XML::Attribute< ACE_TCHAR >* a = attr_ ())
+ {
+ a->value (s);
+ }
+
+ else
+ {
+ top_().value (s);
+ }
+ }
+
+ // Filter
+ //
+ //
+
+ Filter::
+ Filter (::XSCRT::XML::Element< ACE_TCHAR >& e)
+ : ::XSCRT::Writer< ACE_TCHAR > (e)
+ {
+ }
+
+ Filter::
+ Filter ()
+ {
+ }
+
+ void Filter::
+ traverse (Type const& o)
+ {
+ Traversal::Filter::traverse (o);
+ }
+
+ void Filter::
+ type (Type const& o)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("type", top_ ()));
+ Traversal::Filter::type (o);
+ pop_ ();
+ }
+
+ void Filter::
+ source (Type const& o)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("source", top_ ()));
+ Traversal::Filter::source (o);
+ pop_ ();
+ }
+
+ void Filter::
+ id (Type const& o)
+ {
+ ::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ());
+ attr_ (&a);
+ Traversal::Filter::id (o);
+ attr_ (0);
+ }
+
+ // MCastSenderDescription
+ //
+ //
+
+ MCastSenderDescription::
+ MCastSenderDescription (::XSCRT::XML::Element< ACE_TCHAR >& e)
+ : ::XSCRT::Writer< ACE_TCHAR > (e)
+ {
+ }
+
+ MCastSenderDescription::
+ MCastSenderDescription ()
+ {
+ }
+
+ void MCastSenderDescription::
+ traverse (Type const& o)
+ {
+ Traversal::MCastSenderDescription::traverse (o);
+ }
+
+ void MCastSenderDescription::
+ node (Type const& o)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("node", top_ ()));
+ Traversal::MCastSenderDescription::node (o);
+ pop_ ();
+ }
+
+ void MCastSenderDescription::
+ type (Type const& o)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("type", top_ ()));
+ Traversal::MCastSenderDescription::type (o);
+ pop_ ();
+ }
+
+ void MCastSenderDescription::
+ svc_cfg_file (Type const& o)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("svc_cfg_file", top_ ()));
+ Traversal::MCastSenderDescription::svc_cfg_file (o);
+ pop_ ();
+ }
+
+ void MCastSenderDescription::
+ id (Type const& o)
+ {
+ ::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ());
+ attr_ (&a);
+ Traversal::MCastSenderDescription::id (o);
+ attr_ (0);
+ }
+
+ // MCastReceiverDescription
+ //
+ //
+
+ MCastReceiverDescription::
+ MCastReceiverDescription (::XSCRT::XML::Element< ACE_TCHAR >& e)
+ : ::XSCRT::Writer< ACE_TCHAR > (e)
+ {
+ }
+
+ MCastReceiverDescription::
+ MCastReceiverDescription ()
+ {
+ }
+
+ void MCastReceiverDescription::
+ traverse (Type const& o)
+ {
+ Traversal::MCastReceiverDescription::traverse (o);
+ }
+
+ void MCastReceiverDescription::
+ node (Type const& o)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("node", top_ ()));
+ Traversal::MCastReceiverDescription::node (o);
+ pop_ ();
+ }
+
+ void MCastReceiverDescription::
+ type (Type const& o)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("type", top_ ()));
+ Traversal::MCastReceiverDescription::type (o);
+ pop_ ();
+ }
+
+ void MCastReceiverDescription::
+ svc_cfg_file (Type const& o)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("svc_cfg_file", top_ ()));
+ Traversal::MCastReceiverDescription::svc_cfg_file (o);
+ pop_ ();
+ }
+
+ void MCastReceiverDescription::
+ id (Type const& o)
+ {
+ ::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ());
+ attr_ (&a);
+ Traversal::MCastReceiverDescription::id (o);
+ attr_ (0);
+ }
+
+ // EC_to_MCastSender
+ //
+ //
+
+ EC_to_MCastSender::
+ EC_to_MCastSender (::XSCRT::XML::Element< ACE_TCHAR >& e)
+ : ::XSCRT::Writer< ACE_TCHAR > (e)
+ {
+ }
+
+ EC_to_MCastSender::
+ EC_to_MCastSender ()
+ {
+ }
+
+ void EC_to_MCastSender::
+ traverse (Type const& o)
+ {
+ Traversal::EC_to_MCastSender::traverse (o);
+ }
+
+ void EC_to_MCastSender::
+ destination (Type const& o)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("destination", top_ ()));
+ Traversal::EC_to_MCastSender::destination (o);
+ pop_ ();
+ }
+
+ void EC_to_MCastSender::
+ id (Type const& o)
+ {
+ ::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ());
+ attr_ (&a);
+ Traversal::EC_to_MCastSender::id (o);
+ attr_ (0);
+ }
+
+ // MCastReceiver_to_EC
+ //
+ //
+
+ MCastReceiver_to_EC::
+ MCastReceiver_to_EC (::XSCRT::XML::Element< ACE_TCHAR >& e)
+ : ::XSCRT::Writer< ACE_TCHAR > (e)
+ {
+ }
+
+ MCastReceiver_to_EC::
+ MCastReceiver_to_EC ()
+ {
+ }
+
+ void MCastReceiver_to_EC::
+ traverse (Type const& o)
+ {
+ Traversal::MCastReceiver_to_EC::traverse (o);
+ }
+
+ void MCastReceiver_to_EC::
+ source (Type const& o)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("source", top_ ()));
+ Traversal::MCastReceiver_to_EC::source (o);
+ pop_ ();
+ }
+
+ void MCastReceiver_to_EC::
+ destination (Type const& o)
+ {
+ push_ (::XSCRT::XML::Element< ACE_TCHAR > ("destination", top_ ()));
+ Traversal::MCastReceiver_to_EC::destination (o);
+ pop_ ();
+ }
+
+ void MCastReceiver_to_EC::
+ id (Type const& o)
+ {
+ ::XSCRT::XML::Attribute< ACE_TCHAR > a ("id", "", top_ ());
+ attr_ (&a);
+ Traversal::MCastReceiver_to_EC::id (o);
+ attr_ (0);
+ }
+ }
+ }
+
+}
+
+namespace CIAO
+{
+ namespace Config_Handlers
+ {
+
+
+ void
+ CIAOEvents (::CIAO::Config_Handlers::CIAOEventsDef const& s, xercesc::DOMDocument* d)
+ {
+ ::XSCRT::XML::Element< ACE_TCHAR > e (d->getDocumentElement ());
+ if (e.name () != "CIAOEvents")
+ {
+ throw 1;
+ }
+
+ struct W : virtual ::CIAO::Config_Handlers::Writer::CIAOEventsDef,
+ virtual ::CIAO::Config_Handlers::Writer::EventServiceDescription,
+ virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::string< ACE_TCHAR >, ACE_TCHAR >,
+ virtual ::CIAO::Config_Handlers::Writer::EventServiceType,
+ virtual ::XMLSchema::Writer::FundamentalType< ::XMLSchema::ID< ACE_TCHAR >, ACE_TCHAR >,
+ virtual ::XSCRT::Writer< ACE_TCHAR >
+ {
+ W (::XSCRT::XML::Element< ACE_TCHAR >& e)
+ : ::XSCRT::Writer< ACE_TCHAR > (e)
+ {
+ }
+ };
+
+ W w (e);
+ w.dispatch (s);
+ }
+ }
+
+}
+
diff --git a/TAO/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents.hpp b/TAO/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents.hpp
new file mode 100644
index 00000000000..147ea3a6aaf
--- /dev/null
+++ b/TAO/CIAO/tools/Config_Handlers/CIAO_Events/CIAOEvents.hpp
@@ -0,0 +1,1360 @@
+/* $Id$
+ * This code was generated by the XML Schema Compiler.
+ *
+ * Changes made to this code will most likely be overwritten
+ * when the handlers are recompiled.
+ *
+ * If you find errors or feel that there are bugfixes to be made,
+ * please contact the current XSC maintainer:
+ * Will Otte <wotte@dre.vanderbilt.edu>
+ */
+
+
+// Fixes the VC6 warning 4786.
+#include "vc6-4786.h"
+
+// Fix for Borland compilers, which seem to have a broken
+// <string> include.
+#ifdef __BORLANDC__
+# include <string.h>
+#endif
+
+#include "CIAO_Events_Handlers_Export.h"
+#ifndef EVENT_HPP
+#define EVENT_HPP
+
+// Forward declarations.
+//
+namespace CIAO
+{
+ namespace Config_Handlers
+ {
+ class EventServiceType;
+ class CIAOEventsDef;
+ class EventServiceDescription;
+ class FilterType;
+ class Filter;
+ class MCastSenderDescription;
+ class MCastReceiverDescription;
+ class EC_to_MCastSender;
+ class MCastReceiver_to_EC;
+ }
+}
+
+#include <memory>
+#include <list>
+#include "XMLSchema/Types.hpp"
+
+namespace CIAO
+{
+ namespace Config_Handlers
+ {
+
+ class CIAO_Events_Handlers_Export EventServiceType : public ::XSCRT::Type
+ {
+ public:
+ EventServiceType (::XSCRT::XML::Element< ACE_TCHAR > const&);
+ EventServiceType (::XSCRT::XML::Attribute< ACE_TCHAR > const&);
+
+ static EventServiceType const EC;
+ static EventServiceType const RTEC;
+ static EventServiceType const NOTIFY;
+ static EventServiceType const RTNOTIFY;
+
+ enum Value
+ {
+ EC_l,RTEC_l,NOTIFY_l,RTNOTIFY_l,
+ };
+
+
+ Value
+ integral () const;
+
+ friend bool CIAO_Events_Handlers_Export
+ operator== (EventServiceType const& a, EventServiceType const& b);
+
+ friend bool CIAO_Events_Handlers_Export
+ operator!= (EventServiceType const& a, EventServiceType const& b);
+
+ private:
+ EventServiceType (Value v);
+
+ Value v_;
+ };
+
+ bool CIAO_Events_Handlers_Export operator== (EventServiceType const &a, EventServiceType const &b);
+
+ bool CIAO_Events_Handlers_Export operator!= (EventServiceType const &a, EventServiceType const &b);
+
+
+ class CIAO_Events_Handlers_Export CIAOEventsDef : public ::XSCRT::Type
+ {
+ //@@ VC6 anathema
+ typedef ::XSCRT::Type Base__;
+
+ // eventServiceConfiguration
+ //
+ public:
+ typedef ::std::list< ::CIAO::Config_Handlers::EventServiceDescription >::iterator eventServiceConfiguration_iterator;
+ typedef ::std::list< ::CIAO::Config_Handlers::EventServiceDescription >::const_iterator eventServiceConfiguration_const_iterator;
+ eventServiceConfiguration_iterator begin_eventServiceConfiguration ();
+ eventServiceConfiguration_iterator end_eventServiceConfiguration ();
+ eventServiceConfiguration_const_iterator begin_eventServiceConfiguration () const;
+ eventServiceConfiguration_const_iterator end_eventServiceConfiguration () const;
+ void add_eventServiceConfiguration (::CIAO::Config_Handlers::EventServiceDescription const& );
+ size_t count_eventServiceConfiguration (void) const;
+
+ protected:
+ ::std::list< ::CIAO::Config_Handlers::EventServiceDescription > eventServiceConfiguration_;
+
+ // id
+ //
+ public:
+ bool id_p () const;
+ ::XMLSchema::ID< ACE_TCHAR > const& id () const;
+ ::XMLSchema::ID< ACE_TCHAR >& id ();
+ void id (::XMLSchema::ID< ACE_TCHAR > const& );
+
+ protected:
+ ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_;
+
+ public:
+ CIAOEventsDef ();
+
+ CIAOEventsDef (::XSCRT::XML::Element< ACE_TCHAR > const&);
+ CIAOEventsDef (CIAOEventsDef const& s);
+
+ CIAOEventsDef&
+ operator= (CIAOEventsDef const& s);
+
+ private:
+ char regulator__;
+ };
+
+
+ class CIAO_Events_Handlers_Export EventServiceDescription : public ::XSCRT::Type
+ {
+ //@@ VC6 anathema
+ typedef ::XSCRT::Type Base__;
+
+ // name
+ //
+ public:
+ ::XMLSchema::string< ACE_TCHAR > const& name () const;
+ void name (::XMLSchema::string< ACE_TCHAR > const& );
+
+ protected:
+ ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > name_;
+
+ // node
+ //
+ public:
+ ::XMLSchema::string< ACE_TCHAR > const& node () const;
+ void node (::XMLSchema::string< ACE_TCHAR > const& );
+
+ protected:
+ ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > node_;
+
+ // type
+ //
+ public:
+ ::CIAO::Config_Handlers::EventServiceType const& type () const;
+ void type (::CIAO::Config_Handlers::EventServiceType const& );
+
+ protected:
+ ::std::auto_ptr< ::CIAO::Config_Handlers::EventServiceType > type_;
+
+ // svc_cfg_file
+ //
+ public:
+ ::XMLSchema::string< ACE_TCHAR > const& svc_cfg_file () const;
+ void svc_cfg_file (::XMLSchema::string< ACE_TCHAR > const& );
+
+ protected:
+ ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > svc_cfg_file_;
+
+ // id
+ //
+ public:
+ bool id_p () const;
+ ::XMLSchema::ID< ACE_TCHAR > const& id () const;
+ ::XMLSchema::ID< ACE_TCHAR >& id ();
+ void id (::XMLSchema::ID< ACE_TCHAR > const& );
+
+ protected:
+ ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_;
+
+ public:
+ EventServiceDescription (::XMLSchema::string< ACE_TCHAR > const& name__,
+ ::XMLSchema::string< ACE_TCHAR > const& node__,
+ ::CIAO::Config_Handlers::EventServiceType const& type__,
+ ::XMLSchema::string< ACE_TCHAR > const& svc_cfg_file__);
+
+ EventServiceDescription (::XSCRT::XML::Element< ACE_TCHAR > const&);
+ EventServiceDescription (EventServiceDescription const& s);
+
+ EventServiceDescription&
+ operator= (EventServiceDescription const& s);
+
+ private:
+ char regulator__;
+ };
+
+
+ class CIAO_Events_Handlers_Export FilterType : public ::XSCRT::Type
+ {
+ public:
+ FilterType (::XSCRT::XML::Element< ACE_TCHAR > const&);
+ FilterType (::XSCRT::XML::Attribute< ACE_TCHAR > const&);
+
+ static FilterType const CONJUNCTION;
+ static FilterType const DISJUNCTION;
+ static FilterType const LOGICAL_AND;
+ static FilterType const NEGATE;
+
+ enum Value
+ {
+ CONJUNCTION_l,DISJUNCTION_l,LOGICAL_AND_l,NEGATE_l,
+ };
+
+
+ Value
+ integral () const;
+
+ friend bool CIAO_Events_Handlers_Export
+ operator== (FilterType const& a, FilterType const& b);
+
+ friend bool CIAO_Events_Handlers_Export
+ operator!= (FilterType const& a, FilterType const& b);
+
+ private:
+ FilterType (Value v);
+
+ Value v_;
+ };
+
+ bool CIAO_Events_Handlers_Export operator== (FilterType const &a, FilterType const &b);
+
+ bool CIAO_Events_Handlers_Export operator!= (FilterType const &a, FilterType const &b);
+
+
+ class CIAO_Events_Handlers_Export Filter : public ::XSCRT::Type
+ {
+ //@@ VC6 anathema
+ typedef ::XSCRT::Type Base__;
+
+ // type
+ //
+ public:
+ ::CIAO::Config_Handlers::FilterType const& type () const;
+ void type (::CIAO::Config_Handlers::FilterType const& );
+
+ protected:
+ ::std::auto_ptr< ::CIAO::Config_Handlers::FilterType > type_;
+
+ // source
+ //
+ public:
+ ::XMLSchema::string< ACE_TCHAR > const& source () const;
+ void source (::XMLSchema::string< ACE_TCHAR > const& );
+
+ protected:
+ ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > source_;
+
+ // id
+ //
+ public:
+ bool id_p () const;
+ ::XMLSchema::ID< ACE_TCHAR > const& id () const;
+ ::XMLSchema::ID< ACE_TCHAR >& id ();
+ void id (::XMLSchema::ID< ACE_TCHAR > const& );
+
+ protected:
+ ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_;
+
+ public:
+ Filter (::CIAO::Config_Handlers::FilterType const& type__,
+ ::XMLSchema::string< ACE_TCHAR > const& source__);
+
+ Filter (::XSCRT::XML::Element< ACE_TCHAR > const&);
+ Filter (Filter const& s);
+
+ Filter&
+ operator= (Filter const& s);
+
+ private:
+ char regulator__;
+ };
+
+
+ class CIAO_Events_Handlers_Export MCastSenderDescription : public ::XSCRT::Type
+ {
+ //@@ VC6 anathema
+ typedef ::XSCRT::Type Base__;
+
+ // node
+ //
+ public:
+ ::XMLSchema::string< ACE_TCHAR > const& node () const;
+ void node (::XMLSchema::string< ACE_TCHAR > const& );
+
+ protected:
+ ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > node_;
+
+ // type
+ //
+ public:
+ ::CIAO::Config_Handlers::EventServiceType const& type () const;
+ void type (::CIAO::Config_Handlers::EventServiceType const& );
+
+ protected:
+ ::std::auto_ptr< ::CIAO::Config_Handlers::EventServiceType > type_;
+
+ // svc_cfg_file
+ //
+ public:
+ ::XMLSchema::string< ACE_TCHAR > const& svc_cfg_file () const;
+ void svc_cfg_file (::XMLSchema::string< ACE_TCHAR > const& );
+
+ protected:
+ ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > svc_cfg_file_;
+
+ // id
+ //
+ public:
+ bool id_p () const;
+ ::XMLSchema::ID< ACE_TCHAR > const& id () const;
+ ::XMLSchema::ID< ACE_TCHAR >& id ();
+ void id (::XMLSchema::ID< ACE_TCHAR > const& );
+
+ protected:
+ ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_;
+
+ public:
+ MCastSenderDescription (::XMLSchema::string< ACE_TCHAR > const& node__,
+ ::CIAO::Config_Handlers::EventServiceType const& type__,
+ ::XMLSchema::string< ACE_TCHAR > const& svc_cfg_file__);
+
+ MCastSenderDescription (::XSCRT::XML::Element< ACE_TCHAR > const&);
+ MCastSenderDescription (MCastSenderDescription const& s);
+
+ MCastSenderDescription&
+ operator= (MCastSenderDescription const& s);
+
+ private:
+ char regulator__;
+ };
+
+
+ class CIAO_Events_Handlers_Export MCastReceiverDescription : public ::XSCRT::Type
+ {
+ //@@ VC6 anathema
+ typedef ::XSCRT::Type Base__;
+
+ // node
+ //
+ public:
+ ::XMLSchema::string< ACE_TCHAR > const& node () const;
+ void node (::XMLSchema::string< ACE_TCHAR > const& );
+
+ protected:
+ ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > node_;
+
+ // type
+ //
+ public:
+ ::CIAO::Config_Handlers::EventServiceType const& type () const;
+ void type (::CIAO::Config_Handlers::EventServiceType const& );
+
+ protected:
+ ::std::auto_ptr< ::CIAO::Config_Handlers::EventServiceType > type_;
+
+ // svc_cfg_file
+ //
+ public:
+ ::XMLSchema::string< ACE_TCHAR > const& svc_cfg_file () const;
+ void svc_cfg_file (::XMLSchema::string< ACE_TCHAR > const& );
+
+ protected:
+ ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > svc_cfg_file_;
+
+ // id
+ //
+ public:
+ bool id_p () const;
+ ::XMLSchema::ID< ACE_TCHAR > const& id () const;
+ ::XMLSchema::ID< ACE_TCHAR >& id ();
+ void id (::XMLSchema::ID< ACE_TCHAR > const& );
+
+ protected:
+ ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_;
+
+ public:
+ MCastReceiverDescription (::XMLSchema::string< ACE_TCHAR > const& node__,
+ ::CIAO::Config_Handlers::EventServiceType const& type__,
+ ::XMLSchema::string< ACE_TCHAR > const& svc_cfg_file__);
+
+ MCastReceiverDescription (::XSCRT::XML::Element< ACE_TCHAR > const&);
+ MCastReceiverDescription (MCastReceiverDescription const& s);
+
+ MCastReceiverDescription&
+ operator= (MCastReceiverDescription const& s);
+
+ private:
+ char regulator__;
+ };
+
+
+ class CIAO_Events_Handlers_Export EC_to_MCastSender : public ::XSCRT::Type
+ {
+ //@@ VC6 anathema
+ typedef ::XSCRT::Type Base__;
+
+ // destination
+ //
+ public:
+ ::XMLSchema::string< ACE_TCHAR > const& destination () const;
+ void destination (::XMLSchema::string< ACE_TCHAR > const& );
+
+ protected:
+ ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > destination_;
+
+ // id
+ //
+ public:
+ bool id_p () const;
+ ::XMLSchema::ID< ACE_TCHAR > const& id () const;
+ ::XMLSchema::ID< ACE_TCHAR >& id ();
+ void id (::XMLSchema::ID< ACE_TCHAR > const& );
+
+ protected:
+ ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_;
+
+ public:
+ EC_to_MCastSender (::XMLSchema::string< ACE_TCHAR > const& destination__);
+
+ EC_to_MCastSender (::XSCRT::XML::Element< ACE_TCHAR > const&);
+ EC_to_MCastSender (EC_to_MCastSender const& s);
+
+ EC_to_MCastSender&
+ operator= (EC_to_MCastSender const& s);
+
+ private:
+ char regulator__;
+ };
+
+
+ class CIAO_Events_Handlers_Export MCastReceiver_to_EC : public ::XSCRT::Type
+ {
+ //@@ VC6 anathema
+ typedef ::XSCRT::Type Base__;
+
+ // source
+ //
+ public:
+ ::XMLSchema::string< ACE_TCHAR > const& source () const;
+ void source (::XMLSchema::string< ACE_TCHAR > const& );
+
+ protected:
+ ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > source_;
+
+ // destination
+ //
+ public:
+ ::XMLSchema::string< ACE_TCHAR > const& destination () const;
+ void destination (::XMLSchema::string< ACE_TCHAR > const& );
+
+ protected:
+ ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > destination_;
+
+ // id
+ //
+ public:
+ bool id_p () const;
+ ::XMLSchema::ID< ACE_TCHAR > const& id () const;
+ ::XMLSchema::ID< ACE_TCHAR >& id ();
+ void id (::XMLSchema::ID< ACE_TCHAR > const& );
+
+ protected:
+ ::std::auto_ptr< ::XMLSchema::ID< ACE_TCHAR > > id_;
+
+ public:
+ MCastReceiver_to_EC (::XMLSchema::string< ACE_TCHAR > const& source__,
+ ::XMLSchema::string< ACE_TCHAR > const& destination__);
+
+ MCastReceiver_to_EC (::XSCRT::XML::Element< ACE_TCHAR > const&);
+ MCastReceiver_to_EC (MCastReceiver_to_EC const& s);
+
+ MCastReceiver_to_EC&
+ operator= (MCastReceiver_to_EC const& s);
+
+ private:
+ char regulator__;
+ };
+ }
+
+}
+
+namespace CIAO
+{
+ namespace Config_Handlers
+ {
+
+ CIAO_Events_Handlers_Export
+ ::CIAO::Config_Handlers::CIAOEventsDef
+ CIAOEvents (xercesc::DOMDocument const*);
+ }
+
+}
+
+#include "XMLSchema/Traversal.hpp"
+
+namespace CIAO
+{
+ namespace Config_Handlers
+ {
+
+ namespace Traversal
+ {
+ typedef
+ ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::EventServiceType >
+ EventServiceType;
+
+ struct CIAO_Events_Handlers_Export CIAOEventsDef : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::CIAOEventsDef >
+ {
+ virtual void
+ traverse (Type&);
+
+ virtual void
+ traverse (Type const&);
+
+ virtual void
+ pre (Type&);
+
+ virtual void
+ pre (Type const&);
+
+ virtual void
+ eventServiceConfiguration (Type&);
+
+ virtual void
+ eventServiceConfiguration (Type const&);
+
+ virtual void
+ eventServiceConfiguration_pre (Type&);
+
+ virtual void
+ eventServiceConfiguration_pre (Type const&);
+
+ virtual void
+ eventServiceConfiguration_next (Type&);
+
+ virtual void
+ eventServiceConfiguration_next (Type const&);
+
+ virtual void
+ eventServiceConfiguration_post (Type&);
+
+ virtual void
+ eventServiceConfiguration_post (Type const&);
+
+ virtual void
+ id (Type&);
+
+ virtual void
+ id (Type const&);
+
+ virtual void
+ id_none (Type&);
+
+ virtual void
+ id_none (Type const&);
+
+ virtual void
+ post (Type&);
+
+ virtual void
+ post (Type const&);
+ };
+
+ struct CIAO_Events_Handlers_Export EventServiceDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::EventServiceDescription >
+ {
+ virtual void
+ traverse (Type&);
+
+ virtual void
+ traverse (Type const&);
+
+ virtual void
+ pre (Type&);
+
+ virtual void
+ pre (Type const&);
+
+ virtual void
+ name (Type&);
+
+ virtual void
+ name (Type const&);
+
+ virtual void
+ node (Type&);
+
+ virtual void
+ node (Type const&);
+
+ virtual void
+ type (Type&);
+
+ virtual void
+ type (Type const&);
+
+ virtual void
+ svc_cfg_file (Type&);
+
+ virtual void
+ svc_cfg_file (Type const&);
+
+ virtual void
+ id (Type&);
+
+ virtual void
+ id (Type const&);
+
+ virtual void
+ id_none (Type&);
+
+ virtual void
+ id_none (Type const&);
+
+ virtual void
+ post (Type&);
+
+ virtual void
+ post (Type const&);
+ };
+
+ typedef
+ ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::FilterType >
+ FilterType;
+
+ struct CIAO_Events_Handlers_Export Filter : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::Filter >
+ {
+ virtual void
+ traverse (Type&);
+
+ virtual void
+ traverse (Type const&);
+
+ virtual void
+ pre (Type&);
+
+ virtual void
+ pre (Type const&);
+
+ virtual void
+ type (Type&);
+
+ virtual void
+ type (Type const&);
+
+ virtual void
+ source (Type&);
+
+ virtual void
+ source (Type const&);
+
+ virtual void
+ id (Type&);
+
+ virtual void
+ id (Type const&);
+
+ virtual void
+ id_none (Type&);
+
+ virtual void
+ id_none (Type const&);
+
+ virtual void
+ post (Type&);
+
+ virtual void
+ post (Type const&);
+ };
+
+ struct CIAO_Events_Handlers_Export MCastSenderDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::MCastSenderDescription >
+ {
+ virtual void
+ traverse (Type&);
+
+ virtual void
+ traverse (Type const&);
+
+ virtual void
+ pre (Type&);
+
+ virtual void
+ pre (Type const&);
+
+ virtual void
+ node (Type&);
+
+ virtual void
+ node (Type const&);
+
+ virtual void
+ type (Type&);
+
+ virtual void
+ type (Type const&);
+
+ virtual void
+ svc_cfg_file (Type&);
+
+ virtual void
+ svc_cfg_file (Type const&);
+
+ virtual void
+ id (Type&);
+
+ virtual void
+ id (Type const&);
+
+ virtual void
+ id_none (Type&);
+
+ virtual void
+ id_none (Type const&);
+
+ virtual void
+ post (Type&);
+
+ virtual void
+ post (Type const&);
+ };
+
+ struct CIAO_Events_Handlers_Export MCastReceiverDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::MCastReceiverDescription >
+ {
+ virtual void
+ traverse (Type&);
+
+ virtual void
+ traverse (Type const&);
+
+ virtual void
+ pre (Type&);
+
+ virtual void
+ pre (Type const&);
+
+ virtual void
+ node (Type&);
+
+ virtual void
+ node (Type const&);
+
+ virtual void
+ type (Type&);
+
+ virtual void
+ type (Type const&);
+
+ virtual void
+ svc_cfg_file (Type&);
+
+ virtual void
+ svc_cfg_file (Type const&);
+
+ virtual void
+ id (Type&);
+
+ virtual void
+ id (Type const&);
+
+ virtual void
+ id_none (Type&);
+
+ virtual void
+ id_none (Type const&);
+
+ virtual void
+ post (Type&);
+
+ virtual void
+ post (Type const&);
+ };
+
+ struct CIAO_Events_Handlers_Export EC_to_MCastSender : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::EC_to_MCastSender >
+ {
+ virtual void
+ traverse (Type&);
+
+ virtual void
+ traverse (Type const&);
+
+ virtual void
+ pre (Type&);
+
+ virtual void
+ pre (Type const&);
+
+ virtual void
+ destination (Type&);
+
+ virtual void
+ destination (Type const&);
+
+ virtual void
+ id (Type&);
+
+ virtual void
+ id (Type const&);
+
+ virtual void
+ id_none (Type&);
+
+ virtual void
+ id_none (Type const&);
+
+ virtual void
+ post (Type&);
+
+ virtual void
+ post (Type const&);
+ };
+
+ struct CIAO_Events_Handlers_Export MCastReceiver_to_EC : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::MCastReceiver_to_EC >
+ {
+ virtual void
+ traverse (Type&);
+
+ virtual void
+ traverse (Type const&);
+
+ virtual void
+ pre (Type&);
+
+ virtual void
+ pre (Type const&);
+
+ virtual void
+ source (Type&);
+
+ virtual void
+ source (Type const&);
+
+ virtual void
+ destination (Type&);
+
+ virtual void
+ destination (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&);
+ };
+ }
+ }
+
+}
+
+#include "XMLSchema/Writer.hpp"
+
+namespace CIAO
+{
+ namespace Config_Handlers
+ {
+
+ namespace Writer
+ {
+ struct EventServiceType : Traversal::EventServiceType,
+ virtual ::XSCRT::Writer< ACE_TCHAR >
+ {
+ EventServiceType (::XSCRT::XML::Element< ACE_TCHAR >&);
+
+ virtual void
+ traverse (Type &o)
+ {
+ this->traverse (const_cast <Type const &> (o));
+ }
+
+ virtual void
+ traverse (Type const&);
+
+ protected:
+ EventServiceType ();
+ };
+
+ struct CIAOEventsDef : Traversal::CIAOEventsDef,
+ virtual ::XSCRT::Writer< ACE_TCHAR >
+ {
+ typedef ::CIAO::Config_Handlers::CIAOEventsDef Type;
+ CIAOEventsDef (::XSCRT::XML::Element< ACE_TCHAR >&);
+
+ virtual void
+ traverse (Type &o)
+ {
+
+ this->traverse (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ traverse (Type const&);
+
+ virtual void
+ eventServiceConfiguration_pre (Type &o)
+ {
+
+ this->eventServiceConfiguration_pre (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ eventServiceConfiguration_pre (Type const&);
+
+ virtual void
+ eventServiceConfiguration_next (Type &o)
+ {
+
+ this->eventServiceConfiguration_next (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ eventServiceConfiguration_next (Type const&);
+
+ virtual void
+ eventServiceConfiguration_post (Type &o)
+ {
+
+ this->eventServiceConfiguration_post (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ eventServiceConfiguration_post (Type const&);
+
+ virtual void
+ id (Type &o)
+ {
+
+ this->id (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ id (Type const&);
+
+ protected:
+ CIAOEventsDef ();
+ };
+
+ struct EventServiceDescription : Traversal::EventServiceDescription,
+ virtual ::XSCRT::Writer< ACE_TCHAR >
+ {
+ typedef ::CIAO::Config_Handlers::EventServiceDescription Type;
+ EventServiceDescription (::XSCRT::XML::Element< ACE_TCHAR >&);
+
+ virtual void
+ traverse (Type &o)
+ {
+
+ this->traverse (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ traverse (Type const&);
+
+ virtual void
+ name (Type &o)
+ {
+
+ this->name (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ name (Type const&);
+
+ virtual void
+ node (Type &o)
+ {
+
+ this->node (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ node (Type const&);
+
+ virtual void
+ type (Type &o)
+ {
+
+ this->type (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ type (Type const&);
+
+ virtual void
+ svc_cfg_file (Type &o)
+ {
+
+ this->svc_cfg_file (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ svc_cfg_file (Type const&);
+
+ virtual void
+ id (Type &o)
+ {
+
+ this->id (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ id (Type const&);
+
+ protected:
+ EventServiceDescription ();
+ };
+
+ struct FilterType : Traversal::FilterType,
+ virtual ::XSCRT::Writer< ACE_TCHAR >
+ {
+ FilterType (::XSCRT::XML::Element< ACE_TCHAR >&);
+
+ virtual void
+ traverse (Type &o)
+ {
+ this->traverse (const_cast <Type const &> (o));
+ }
+
+ virtual void
+ traverse (Type const&);
+
+ protected:
+ FilterType ();
+ };
+
+ struct Filter : Traversal::Filter,
+ virtual ::XSCRT::Writer< ACE_TCHAR >
+ {
+ typedef ::CIAO::Config_Handlers::Filter Type;
+ Filter (::XSCRT::XML::Element< ACE_TCHAR >&);
+
+ virtual void
+ traverse (Type &o)
+ {
+
+ this->traverse (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ traverse (Type const&);
+
+ virtual void
+ type (Type &o)
+ {
+
+ this->type (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ type (Type const&);
+
+ virtual void
+ source (Type &o)
+ {
+
+ this->source (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ source (Type const&);
+
+ virtual void
+ id (Type &o)
+ {
+
+ this->id (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ id (Type const&);
+
+ protected:
+ Filter ();
+ };
+
+ struct MCastSenderDescription : Traversal::MCastSenderDescription,
+ virtual ::XSCRT::Writer< ACE_TCHAR >
+ {
+ typedef ::CIAO::Config_Handlers::MCastSenderDescription Type;
+ MCastSenderDescription (::XSCRT::XML::Element< ACE_TCHAR >&);
+
+ virtual void
+ traverse (Type &o)
+ {
+
+ this->traverse (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ traverse (Type const&);
+
+ virtual void
+ node (Type &o)
+ {
+
+ this->node (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ node (Type const&);
+
+ virtual void
+ type (Type &o)
+ {
+
+ this->type (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ type (Type const&);
+
+ virtual void
+ svc_cfg_file (Type &o)
+ {
+
+ this->svc_cfg_file (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ svc_cfg_file (Type const&);
+
+ virtual void
+ id (Type &o)
+ {
+
+ this->id (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ id (Type const&);
+
+ protected:
+ MCastSenderDescription ();
+ };
+
+ struct MCastReceiverDescription : Traversal::MCastReceiverDescription,
+ virtual ::XSCRT::Writer< ACE_TCHAR >
+ {
+ typedef ::CIAO::Config_Handlers::MCastReceiverDescription Type;
+ MCastReceiverDescription (::XSCRT::XML::Element< ACE_TCHAR >&);
+
+ virtual void
+ traverse (Type &o)
+ {
+
+ this->traverse (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ traverse (Type const&);
+
+ virtual void
+ node (Type &o)
+ {
+
+ this->node (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ node (Type const&);
+
+ virtual void
+ type (Type &o)
+ {
+
+ this->type (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ type (Type const&);
+
+ virtual void
+ svc_cfg_file (Type &o)
+ {
+
+ this->svc_cfg_file (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ svc_cfg_file (Type const&);
+
+ virtual void
+ id (Type &o)
+ {
+
+ this->id (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ id (Type const&);
+
+ protected:
+ MCastReceiverDescription ();
+ };
+
+ struct EC_to_MCastSender : Traversal::EC_to_MCastSender,
+ virtual ::XSCRT::Writer< ACE_TCHAR >
+ {
+ typedef ::CIAO::Config_Handlers::EC_to_MCastSender Type;
+ EC_to_MCastSender (::XSCRT::XML::Element< ACE_TCHAR >&);
+
+ virtual void
+ traverse (Type &o)
+ {
+
+ this->traverse (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ traverse (Type const&);
+
+ virtual void
+ destination (Type &o)
+ {
+
+ this->destination (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ destination (Type const&);
+
+ virtual void
+ id (Type &o)
+ {
+
+ this->id (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ id (Type const&);
+
+ protected:
+ EC_to_MCastSender ();
+ };
+
+ struct MCastReceiver_to_EC : Traversal::MCastReceiver_to_EC,
+ virtual ::XSCRT::Writer< ACE_TCHAR >
+ {
+ typedef ::CIAO::Config_Handlers::MCastReceiver_to_EC Type;
+ MCastReceiver_to_EC (::XSCRT::XML::Element< ACE_TCHAR >&);
+
+ virtual void
+ traverse (Type &o)
+ {
+
+ this->traverse (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ traverse (Type const&);
+
+ virtual void
+ source (Type &o)
+ {
+
+ this->source (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ source (Type const&);
+
+ virtual void
+ destination (Type &o)
+ {
+
+ this->destination (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ destination (Type const&);
+
+ virtual void
+ id (Type &o)
+ {
+
+ this->id (const_cast <Type const &> (o));
+ }
+
+
+ virtual void
+ id (Type const&);
+
+ protected:
+ MCastReceiver_to_EC ();
+ };
+ }
+ }
+
+}
+
+namespace CIAO
+{
+ namespace Config_Handlers
+ {
+
+
+ CIAO_Events_Handlers_Export
+ void
+ CIAOEvents (::CIAO::Config_Handlers::CIAOEventsDef const&, xercesc::DOMDocument*);
+ }
+
+}
+
+#endif // EVENT_HPP