/* $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 */ // Fix for Borland compilers, which seem to have a broken // include. #ifdef __BORLANDC__ # include #endif #ifndef CPD_HPP #define CPD_HPP #include "XSC_XML_Handlers_Export.h" // Forward declarations. // namespace DAnCE { namespace Config_Handlers { class PackagedComponentImplementation; class ComponentPackageDescription; class ConnectorPackageDescription; } } #include #include #include #include "ace/XML_Utils/XMLSchema/Types.hpp" #include "ace/XML_Utils/XMLSchema/id_map.hpp" #include "ace/Refcounted_Auto_Ptr.h" #include "ace/Null_Mutex.h" #include "ace/TSS_T.h" #include "ace/ace_wchar.h" #include "ace/Singleton.h" #include "cid.hpp" namespace DAnCE { namespace Config_Handlers { class XSC_XML_Handlers_Export PackagedComponentImplementation : public ::XSCRT::Type { typedef ::XSCRT::Type Base; public: typedef ACE_Refcounted_Auto_Ptr < PackagedComponentImplementation, ACE_Null_Mutex > _ptr; // 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_; // referencedImplementation // public: ::DAnCE::Config_Handlers::ComponentImplementationDescription const& referencedImplementation () const; void referencedImplementation (::DAnCE::Config_Handlers::ComponentImplementationDescription const& ); protected: ::std::auto_ptr< ::DAnCE::Config_Handlers::ComponentImplementationDescription > referencedImplementation_; public: PackagedComponentImplementation (::XMLSchema::string< ACE_TCHAR > const& name__, ::DAnCE::Config_Handlers::ComponentImplementationDescription const& referencedImplementation__); PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR > const&); PackagedComponentImplementation (PackagedComponentImplementation const& s); PackagedComponentImplementation& operator= (PackagedComponentImplementation const& s); private: char regulator__; }; class XSC_XML_Handlers_Export ComponentPackageDescription : public ::XSCRT::Type { typedef ::XSCRT::Type Base; public: typedef ACE_Refcounted_Auto_Ptr < ComponentPackageDescription, ACE_Null_Mutex > _ptr; // label // public: bool label_p () const; ::XMLSchema::string< ACE_TCHAR > const& label () const; void label (::XMLSchema::string< ACE_TCHAR > const& ); protected: ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; // UUID // public: bool UUID_p () const; ::XMLSchema::string< ACE_TCHAR > const& UUID () const; void UUID (::XMLSchema::string< ACE_TCHAR > const& ); protected: ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; // realizes // public: bool realizes_p () const; ::DAnCE::Config_Handlers::ComponentInterfaceDescription const& realizes () const; void realizes (::DAnCE::Config_Handlers::ComponentInterfaceDescription const& ); protected: ::std::auto_ptr< ::DAnCE::Config_Handlers::ComponentInterfaceDescription > realizes_; // configProperty // public: typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::Property, ACE_Null_Mutex > >::iterator configProperty_iterator; typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::Property, ACE_Null_Mutex > >::const_iterator configProperty_const_iterator; configProperty_iterator begin_configProperty (); configProperty_iterator end_configProperty (); configProperty_const_iterator begin_configProperty () const; configProperty_const_iterator end_configProperty () const; void add_configProperty ( ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::Property, ACE_Null_Mutex > const& ); XSCRT::Type* configProperty_ptr ( std::basic_string idref ); size_t count_configProperty (void) const; protected: ::std::list< ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::Property, ACE_Null_Mutex > > configProperty_; // implementation // public: typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::PackagedComponentImplementation, ACE_Null_Mutex > >::iterator implementation_iterator; typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::PackagedComponentImplementation, ACE_Null_Mutex > >::const_iterator implementation_const_iterator; implementation_iterator begin_implementation (); implementation_iterator end_implementation (); implementation_const_iterator begin_implementation () const; implementation_const_iterator end_implementation () const; void add_implementation ( ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::PackagedComponentImplementation, ACE_Null_Mutex > const& ); XSCRT::Type* implementation_ptr ( std::basic_string idref ); size_t count_implementation (void) const; protected: ::std::list< ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::PackagedComponentImplementation, ACE_Null_Mutex > > implementation_; // infoProperty // public: typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::Property, ACE_Null_Mutex > >::iterator infoProperty_iterator; typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::Property, ACE_Null_Mutex > >::const_iterator infoProperty_const_iterator; infoProperty_iterator begin_infoProperty (); infoProperty_iterator end_infoProperty (); infoProperty_const_iterator begin_infoProperty () const; infoProperty_const_iterator end_infoProperty () const; void add_infoProperty ( ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::Property, ACE_Null_Mutex > const& ); XSCRT::Type* infoProperty_ptr ( std::basic_string idref ); size_t count_infoProperty (void) const; protected: ::std::list< ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::Property, ACE_Null_Mutex > > infoProperty_; // href // public: bool href_p () const; ::XMLSchema::string< ACE_TCHAR > const& href () const; ::XMLSchema::string< ACE_TCHAR >& href (); void href (::XMLSchema::string< ACE_TCHAR > const& ); protected: ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > href_; public: ComponentPackageDescription (); ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); ComponentPackageDescription (ComponentPackageDescription const& s); ComponentPackageDescription& operator= (ComponentPackageDescription const& s); private: char regulator__; }; class XSC_XML_Handlers_Export ConnectorPackageDescription : public ::XSCRT::Type { typedef ::XSCRT::Type Base; public: typedef ACE_Refcounted_Auto_Ptr < ConnectorPackageDescription, ACE_Null_Mutex > _ptr; // label // public: bool label_p () const; ::XMLSchema::string< ACE_TCHAR > const& label () const; void label (::XMLSchema::string< ACE_TCHAR > const& ); protected: ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > label_; // UUID // public: bool UUID_p () const; ::XMLSchema::string< ACE_TCHAR > const& UUID () const; void UUID (::XMLSchema::string< ACE_TCHAR > const& ); protected: ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > UUID_; // realizes // public: bool realizes_p () const; ::DAnCE::Config_Handlers::ComponentInterfaceDescription const& realizes () const; void realizes (::DAnCE::Config_Handlers::ComponentInterfaceDescription const& ); protected: ::std::auto_ptr< ::DAnCE::Config_Handlers::ComponentInterfaceDescription > realizes_; // configProperty // public: typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::Property, ACE_Null_Mutex > >::iterator configProperty_iterator; typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::Property, ACE_Null_Mutex > >::const_iterator configProperty_const_iterator; configProperty_iterator begin_configProperty (); configProperty_iterator end_configProperty (); configProperty_const_iterator begin_configProperty () const; configProperty_const_iterator end_configProperty () const; void add_configProperty ( ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::Property, ACE_Null_Mutex > const& ); XSCRT::Type* configProperty_ptr ( std::basic_string idref ); size_t count_configProperty (void) const; protected: ::std::list< ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::Property, ACE_Null_Mutex > > configProperty_; // implementation // public: typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::ConnectorImplementationDescription, ACE_Null_Mutex > >::iterator implementation_iterator; typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::ConnectorImplementationDescription, ACE_Null_Mutex > >::const_iterator implementation_const_iterator; implementation_iterator begin_implementation (); implementation_iterator end_implementation (); implementation_const_iterator begin_implementation () const; implementation_const_iterator end_implementation () const; void add_implementation ( ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::ConnectorImplementationDescription, ACE_Null_Mutex > const& ); XSCRT::Type* implementation_ptr ( std::basic_string idref ); size_t count_implementation (void) const; protected: ::std::list< ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::ConnectorImplementationDescription, ACE_Null_Mutex > > implementation_; // infoProperty // public: typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::Property, ACE_Null_Mutex > >::iterator infoProperty_iterator; typedef ::std::list< ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::Property, ACE_Null_Mutex > >::const_iterator infoProperty_const_iterator; infoProperty_iterator begin_infoProperty (); infoProperty_iterator end_infoProperty (); infoProperty_const_iterator begin_infoProperty () const; infoProperty_const_iterator end_infoProperty () const; void add_infoProperty ( ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::Property, ACE_Null_Mutex > const& ); XSCRT::Type* infoProperty_ptr ( std::basic_string idref ); size_t count_infoProperty (void) const; protected: ::std::list< ACE_Refcounted_Auto_Ptr < ::DAnCE::Config_Handlers::Property, ACE_Null_Mutex > > infoProperty_; // href // public: bool href_p () const; ::XMLSchema::string< ACE_TCHAR > const& href () const; ::XMLSchema::string< ACE_TCHAR >& href (); void href (::XMLSchema::string< ACE_TCHAR > const& ); protected: ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > href_; public: ConnectorPackageDescription (); ConnectorPackageDescription (::XSCRT::XML::Element< ACE_TCHAR > const&); ConnectorPackageDescription (ConnectorPackageDescription const& s); ConnectorPackageDescription& operator= (ConnectorPackageDescription const& s); private: char regulator__; }; } } namespace DAnCE { namespace Config_Handlers { } } #include "ace/XML_Utils/XMLSchema/Traversal.hpp" namespace DAnCE { namespace Config_Handlers { namespace Traversal { struct XSC_XML_Handlers_Export PackagedComponentImplementation : ::XMLSchema::Traversal::Traverser< ::DAnCE::Config_Handlers::PackagedComponentImplementation > { virtual void traverse (Type&); virtual void traverse (Type const&); virtual void pre (Type&); virtual void pre (Type const&); virtual void name (Type&); virtual void name (Type const&); virtual void referencedImplementation (Type&); virtual void referencedImplementation (Type const&); virtual void post (Type&); virtual void post (Type const&); }; struct XSC_XML_Handlers_Export ComponentPackageDescription : ::XMLSchema::Traversal::Traverser< ::DAnCE::Config_Handlers::ComponentPackageDescription > { virtual void traverse (Type&); virtual void traverse (Type const&); virtual void pre (Type&); virtual void pre (Type const&); virtual void label (Type&); virtual void label (Type const&); virtual void label_none (Type&); virtual void label_none (Type const&); virtual void UUID (Type&); virtual void UUID (Type const&); virtual void UUID_none (Type&); virtual void UUID_none (Type const&); virtual void realizes (Type&); virtual void realizes (Type const&); virtual void realizes_none (Type&); virtual void realizes_none (Type const&); virtual void configProperty (Type&); virtual void configProperty (Type const&); virtual void configProperty_pre (Type&); virtual void configProperty_pre (Type const&); virtual void configProperty_next (Type&); virtual void configProperty_next (Type const&); virtual void configProperty_post (Type&); virtual void configProperty_post (Type const&); virtual void configProperty_none (Type&); virtual void configProperty_none (Type const&); virtual void implementation (Type&); virtual void implementation (Type const&); virtual void implementation_pre (Type&); virtual void implementation_pre (Type const&); virtual void implementation_next (Type&); virtual void implementation_next (Type const&); virtual void implementation_post (Type&); virtual void implementation_post (Type const&); virtual void implementation_none (Type&); virtual void implementation_none (Type const&); virtual void infoProperty (Type&); virtual void infoProperty (Type const&); virtual void infoProperty_pre (Type&); virtual void infoProperty_pre (Type const&); virtual void infoProperty_next (Type&); virtual void infoProperty_next (Type const&); virtual void infoProperty_post (Type&); virtual void infoProperty_post (Type const&); virtual void infoProperty_none (Type&); virtual void infoProperty_none (Type const&); virtual void href (Type&); virtual void href (Type const&); virtual void href_none (Type&); virtual void href_none (Type const&); virtual void post (Type&); virtual void post (Type const&); }; struct XSC_XML_Handlers_Export ConnectorPackageDescription : ::XMLSchema::Traversal::Traverser< ::DAnCE::Config_Handlers::ConnectorPackageDescription > { virtual void traverse (Type&); virtual void traverse (Type const&); virtual void pre (Type&); virtual void pre (Type const&); virtual void label (Type&); virtual void label (Type const&); virtual void label_none (Type&); virtual void label_none (Type const&); virtual void UUID (Type&); virtual void UUID (Type const&); virtual void UUID_none (Type&); virtual void UUID_none (Type const&); virtual void realizes (Type&); virtual void realizes (Type const&); virtual void realizes_none (Type&); virtual void realizes_none (Type const&); virtual void configProperty (Type&); virtual void configProperty (Type const&); virtual void configProperty_pre (Type&); virtual void configProperty_pre (Type const&); virtual void configProperty_next (Type&); virtual void configProperty_next (Type const&); virtual void configProperty_post (Type&); virtual void configProperty_post (Type const&); virtual void configProperty_none (Type&); virtual void configProperty_none (Type const&); virtual void implementation (Type&); virtual void implementation (Type const&); virtual void implementation_pre (Type&); virtual void implementation_pre (Type const&); virtual void implementation_next (Type&); virtual void implementation_next (Type const&); virtual void implementation_post (Type&); virtual void implementation_post (Type const&); virtual void implementation_none (Type&); virtual void implementation_none (Type const&); virtual void infoProperty (Type&); virtual void infoProperty (Type const&); virtual void infoProperty_pre (Type&); virtual void infoProperty_pre (Type const&); virtual void infoProperty_next (Type&); virtual void infoProperty_next (Type const&); virtual void infoProperty_post (Type&); virtual void infoProperty_post (Type const&); virtual void infoProperty_none (Type&); virtual void infoProperty_none (Type const&); virtual void href (Type&); virtual void href (Type const&); virtual void href_none (Type&); virtual void href_none (Type const&); virtual void post (Type&); virtual void post (Type const&); }; } } } #include "ace/XML_Utils/XMLSchema/Writer.hpp" namespace DAnCE { namespace Config_Handlers { namespace Writer { struct PackagedComponentImplementation : Traversal::PackagedComponentImplementation, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::DAnCE::Config_Handlers::PackagedComponentImplementation Type; PackagedComponentImplementation (::XSCRT::XML::Element< ACE_TCHAR >&); virtual void traverse (Type &o) { this->traverse (const_cast (o)); } virtual void traverse (Type const&); virtual void name (Type &o) { this->name (const_cast (o)); } virtual void name (Type const&); virtual void referencedImplementation (Type &o) { this->referencedImplementation (const_cast (o)); } virtual void referencedImplementation (Type const&); protected: PackagedComponentImplementation (); }; struct ComponentPackageDescription : Traversal::ComponentPackageDescription, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::DAnCE::Config_Handlers::ComponentPackageDescription Type; ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR >&); virtual void traverse (Type &o) { this->traverse (const_cast (o)); } virtual void traverse (Type const&); virtual void label (Type &o) { this->label (const_cast (o)); } virtual void label (Type const&); virtual void UUID (Type &o) { this->UUID (const_cast (o)); } virtual void UUID (Type const&); virtual void realizes (Type &o) { this->realizes (const_cast (o)); } virtual void realizes (Type const&); virtual void configProperty_pre (Type &o) { this->configProperty_pre (const_cast (o)); } virtual void configProperty_pre (Type const&); virtual void configProperty_next (Type &o) { this->configProperty_next (const_cast (o)); } virtual void configProperty_next (Type const&); virtual void configProperty_post (Type &o) { this->configProperty_post (const_cast (o)); } virtual void configProperty_post (Type const&); virtual void implementation_pre (Type &o) { this->implementation_pre (const_cast (o)); } virtual void implementation_pre (Type const&); virtual void implementation_next (Type &o) { this->implementation_next (const_cast (o)); } virtual void implementation_next (Type const&); virtual void implementation_post (Type &o) { this->implementation_post (const_cast (o)); } virtual void implementation_post (Type const&); virtual void infoProperty_pre (Type &o) { this->infoProperty_pre (const_cast (o)); } virtual void infoProperty_pre (Type const&); virtual void infoProperty_next (Type &o) { this->infoProperty_next (const_cast (o)); } virtual void infoProperty_next (Type const&); virtual void infoProperty_post (Type &o) { this->infoProperty_post (const_cast (o)); } virtual void infoProperty_post (Type const&); virtual void href (Type &o) { this->href (const_cast (o)); } virtual void href (Type const&); protected: ComponentPackageDescription (); }; struct ConnectorPackageDescription : Traversal::ConnectorPackageDescription, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::DAnCE::Config_Handlers::ConnectorPackageDescription Type; ConnectorPackageDescription (::XSCRT::XML::Element< ACE_TCHAR >&); virtual void traverse (Type &o) { this->traverse (const_cast (o)); } virtual void traverse (Type const&); virtual void label (Type &o) { this->label (const_cast (o)); } virtual void label (Type const&); virtual void UUID (Type &o) { this->UUID (const_cast (o)); } virtual void UUID (Type const&); virtual void realizes (Type &o) { this->realizes (const_cast (o)); } virtual void realizes (Type const&); virtual void configProperty_pre (Type &o) { this->configProperty_pre (const_cast (o)); } virtual void configProperty_pre (Type const&); virtual void configProperty_next (Type &o) { this->configProperty_next (const_cast (o)); } virtual void configProperty_next (Type const&); virtual void configProperty_post (Type &o) { this->configProperty_post (const_cast (o)); } virtual void configProperty_post (Type const&); virtual void implementation_pre (Type &o) { this->implementation_pre (const_cast (o)); } virtual void implementation_pre (Type const&); virtual void implementation_next (Type &o) { this->implementation_next (const_cast (o)); } virtual void implementation_next (Type const&); virtual void implementation_post (Type &o) { this->implementation_post (const_cast (o)); } virtual void implementation_post (Type const&); virtual void infoProperty_pre (Type &o) { this->infoProperty_pre (const_cast (o)); } virtual void infoProperty_pre (Type const&); virtual void infoProperty_next (Type &o) { this->infoProperty_next (const_cast (o)); } virtual void infoProperty_next (Type const&); virtual void infoProperty_post (Type &o) { this->infoProperty_post (const_cast (o)); } virtual void infoProperty_post (Type const&); virtual void href (Type &o) { this->href (const_cast (o)); } virtual void href (Type const&); protected: ConnectorPackageDescription (); }; } } } namespace DAnCE { namespace Config_Handlers { } } #endif // CPD_HPP