/* $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 CIAO { namespace Config_Handlers { class PackagedComponentImplementation; class ComponentPackageDescription; } } #include #include #include "XMLSchema/Types.hpp" #include "cid.hpp" namespace CIAO { namespace Config_Handlers { class XSC_XML_Handlers_Export PackagedComponentImplementation : public ::XSCRT::Type { 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_; // referencedImplementation // public: ::CIAO::Config_Handlers::ComponentImplementationDescription const& referencedImplementation () const; void referencedImplementation (::CIAO::Config_Handlers::ComponentImplementationDescription const& ); protected: ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentImplementationDescription > referencedImplementation_; public: PackagedComponentImplementation (::XMLSchema::string< ACE_TCHAR > const& name__, ::CIAO::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; // 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; ::CIAO::Config_Handlers::ComponentInterfaceDescription const& realizes () const; void realizes (::CIAO::Config_Handlers::ComponentInterfaceDescription const& ); protected: ::std::auto_ptr< ::CIAO::Config_Handlers::ComponentInterfaceDescription > realizes_; // configProperty // public: typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator configProperty_iterator; typedef ::std::list< ::CIAO::Config_Handlers::Property >::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 (::CIAO::Config_Handlers::Property const& ); size_t count_configProperty (void) const; protected: ::std::list< ::CIAO::Config_Handlers::Property > configProperty_; // implementation // public: typedef ::std::list< ::CIAO::Config_Handlers::PackagedComponentImplementation >::iterator implementation_iterator; typedef ::std::list< ::CIAO::Config_Handlers::PackagedComponentImplementation >::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 (::CIAO::Config_Handlers::PackagedComponentImplementation const& ); size_t count_implementation (void) const; protected: ::std::list< ::CIAO::Config_Handlers::PackagedComponentImplementation > implementation_; // infoProperty // public: typedef ::std::list< ::CIAO::Config_Handlers::Property >::iterator infoProperty_iterator; typedef ::std::list< ::CIAO::Config_Handlers::Property >::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 (::CIAO::Config_Handlers::Property const& ); size_t count_infoProperty (void) const; protected: ::std::list< ::CIAO::Config_Handlers::Property > infoProperty_; // contentLocation // public: bool contentLocation_p () const; ::XMLSchema::string< ACE_TCHAR > const& contentLocation () const; void contentLocation (::XMLSchema::string< ACE_TCHAR > const& ); protected: ::std::auto_ptr< ::XMLSchema::string< ACE_TCHAR > > contentLocation_; // 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__; }; } } namespace CIAO { namespace Config_Handlers { } } #include "XMLSchema/Traversal.hpp" namespace CIAO { namespace Config_Handlers { namespace Traversal { struct XSC_XML_Handlers_Export PackagedComponentImplementation : ::XMLSchema::Traversal::Traverser< ::CIAO::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< ::CIAO::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 contentLocation (Type&); virtual void contentLocation (Type const&); virtual void contentLocation_none (Type&); virtual void contentLocation_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 "XMLSchema/Writer.hpp" namespace CIAO { namespace Config_Handlers { namespace Writer { struct PackagedComponentImplementation : Traversal::PackagedComponentImplementation, virtual ::XSCRT::Writer< ACE_TCHAR > { typedef ::CIAO::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 ::CIAO::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 contentLocation (Type &o) { this->contentLocation (const_cast (o)); } virtual void contentLocation (Type const&); virtual void href (Type &o) { this->href (const_cast (o)); } virtual void href (Type const&); protected: ComponentPackageDescription (); }; } } } namespace CIAO { namespace Config_Handlers { } } #endif // CPD_HPP