diff options
Diffstat (limited to 'TAO/CIAO/tools/Config_Handlers/cpd.hpp')
-rw-r--r-- | TAO/CIAO/tools/Config_Handlers/cpd.hpp | 883 |
1 files changed, 509 insertions, 374 deletions
diff --git a/TAO/CIAO/tools/Config_Handlers/cpd.hpp b/TAO/CIAO/tools/Config_Handlers/cpd.hpp index 5fc156ff616..d8418345115 100644 --- a/TAO/CIAO/tools/Config_Handlers/cpd.hpp +++ b/TAO/CIAO/tools/Config_Handlers/cpd.hpp @@ -1,18 +1,18 @@ /* $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> - */ +* 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__ @@ -27,11 +27,11 @@ // namespace CIAO { - namespace Config_Handlers - { - class PackagedComponentImplementation; - class ComponentPackageDescription; - } +namespace Config_Handlers +{ +class PackagedComponentImplementation; +class ComponentPackageDescription; +} } #include <memory> @@ -44,483 +44,618 @@ namespace CIAO namespace CIAO { - namespace Config_Handlers - { - class XSC_XML_Handlers_Export PackagedComponentImplementation : 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_; - - // 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 - { - //@@ VC6 anathema - 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: - bool configProperty_p () const; - ::CIAO::Config_Handlers::Property const& configProperty () const; - void configProperty (::CIAO::Config_Handlers::Property const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::Property > configProperty_; - - // implementation - // - public: - bool implementation_p () const; - ::CIAO::Config_Handlers::PackagedComponentImplementation const& implementation () const; - void implementation (::CIAO::Config_Handlers::PackagedComponentImplementation const& ); - - protected: - ::std::auto_ptr< ::CIAO::Config_Handlers::PackagedComponentImplementation > implementation_; - - // infoProperty - // - public: - bool infoProperty_p () const; - ::CIAO::Config_Handlers::Property const& infoProperty () const; - void infoProperty (::CIAO::Config_Handlers::Property const& ); - - protected: - ::std::auto_ptr< ::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 Config_Handlers +{ +class XSC_XML_Handlers_Export PackagedComponentImplementation : 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_; + +// 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 +{ +//@@ VC6 anathema +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 - { - } +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&); +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 - traverse (Type const&); +virtual void +label (Type&); - virtual void - pre (Type&); +virtual void +label (Type const&); - virtual void - pre (Type const&); +virtual void +label_none (Type&); - virtual void - name (Type&); +virtual void +label_none (Type const&); - virtual void - name (Type const&); +virtual void +UUID (Type&); - virtual void - referencedImplementation (Type&); +virtual void +UUID (Type const&); - virtual void - referencedImplementation (Type const&); +virtual void +UUID_none (Type&); - virtual void - post (Type&); +virtual void +UUID_none (Type const&); - virtual void - post (Type const&); - }; +virtual void +realizes (Type&); - struct XSC_XML_Handlers_Export ComponentPackageDescription : ::XMLSchema::Traversal::Traverser< ::CIAO::Config_Handlers::ComponentPackageDescription > - { - virtual void - traverse (Type&); +virtual void +realizes (Type const&); - virtual void - traverse (Type const&); +virtual void +realizes_none (Type&); - virtual void - pre (Type&); +virtual void +realizes_none (Type const&); - virtual void - pre (Type const&); +virtual void +configProperty (Type&); - virtual void - label (Type&); +virtual void +configProperty (Type const&); - virtual void - label (Type const&); +virtual void +configProperty_pre (Type&); - virtual void - label_none (Type&); +virtual void +configProperty_pre (Type const&); - virtual void - label_none (Type const&); +virtual void +configProperty_next (Type&); - virtual void - UUID (Type&); +virtual void +configProperty_next (Type const&); - virtual void - UUID (Type const&); +virtual void +configProperty_post (Type&); - virtual void - UUID_none (Type&); +virtual void +configProperty_post (Type const&); - virtual void - UUID_none (Type const&); +virtual void +configProperty_none (Type&); - virtual void - realizes (Type&); +virtual void +configProperty_none (Type const&); - virtual void - realizes (Type const&); +virtual void +implementation (Type&); - virtual void - realizes_none (Type&); +virtual void +implementation (Type const&); - virtual void - realizes_none (Type const&); +virtual void +implementation_pre (Type&); - virtual void - configProperty (Type&); +virtual void +implementation_pre (Type const&); - virtual void - configProperty (Type const&); +virtual void +implementation_next (Type&); - virtual void - configProperty_none (Type&); +virtual void +implementation_next (Type const&); - virtual void - configProperty_none (Type const&); +virtual void +implementation_post (Type&); - virtual void - implementation (Type&); +virtual void +implementation_post (Type const&); - virtual void - implementation (Type const&); +virtual void +implementation_none (Type&); - virtual void - implementation_none (Type&); +virtual void +implementation_none (Type const&); - virtual void - implementation_none (Type const&); +virtual void +infoProperty (Type&); - virtual void - infoProperty (Type&); +virtual void +infoProperty (Type const&); - virtual void - infoProperty (Type const&); +virtual void +infoProperty_pre (Type&); - virtual void - infoProperty_none (Type&); +virtual void +infoProperty_pre (Type const&); - virtual void - infoProperty_none (Type const&); +virtual void +infoProperty_next (Type&); - virtual void - contentLocation (Type&); +virtual void +infoProperty_next (Type const&); - virtual void - contentLocation (Type const&); +virtual void +infoProperty_post (Type&); - virtual void - contentLocation_none (Type&); +virtual void +infoProperty_post (Type const&); - virtual void - contentLocation_none (Type const&); +virtual void +infoProperty_none (Type&); - virtual void - href (Type&); +virtual void +infoProperty_none (Type const&); - virtual void - href (Type const&); +virtual void +contentLocation (Type&); - virtual void - href_none (Type&); +virtual void +contentLocation (Type const&); - virtual void - href_none (Type const&); +virtual void +contentLocation_none (Type&); - virtual void - post (Type&); +virtual void +contentLocation_none (Type const&); - virtual void - post (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 >&); +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) - { +virtual void +traverse (Type &o) +{ - this->traverse (const_cast <Type const &> (o)); - } +this->traverse (const_cast <Type const &> (o)); +} - virtual void - traverse (Type const&); +virtual void +traverse (Type const&); - virtual void - name (Type &o) - { +virtual void +name (Type &o) +{ - this->name (const_cast <Type const &> (o)); - } +this->name (const_cast <Type const &> (o)); +} - virtual void - name (Type const&); +virtual void +name (Type const&); - virtual void - referencedImplementation (Type &o) - { +virtual void +referencedImplementation (Type &o) +{ - this->referencedImplementation (const_cast <Type const &> (o)); - } +this->referencedImplementation (const_cast <Type const &> (o)); +} - virtual void - referencedImplementation (Type const&); +virtual void +referencedImplementation (Type const&); - protected: - PackagedComponentImplementation (); - }; +protected: +PackagedComponentImplementation (); +}; - struct ComponentPackageDescription : Traversal::ComponentPackageDescription, - virtual ::XSCRT::Writer< ACE_TCHAR > - { - typedef ::CIAO::Config_Handlers::ComponentPackageDescription Type; - ComponentPackageDescription (::XSCRT::XML::Element< ACE_TCHAR >&); +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) - { +virtual void +traverse (Type &o) +{ + +this->traverse (const_cast <Type const &> (o)); +} - this->traverse (const_cast <Type const &> (o)); - } +virtual void +traverse (Type const&); - virtual void - traverse (Type const&); +virtual void +label (Type &o) +{ - virtual void - label (Type &o) - { +this->label (const_cast <Type const &> (o)); +} - this->label (const_cast <Type const &> (o)); - } +virtual void +label (Type const&); - virtual void - label (Type const&); +virtual void +UUID (Type &o) +{ - virtual void - UUID (Type &o) - { +this->UUID (const_cast <Type const &> (o)); +} - this->UUID (const_cast <Type const &> (o)); - } +virtual void +UUID (Type const&); - virtual void - UUID (Type const&); +virtual void +realizes (Type &o) +{ - virtual void - realizes (Type &o) - { +this->realizes (const_cast <Type const &> (o)); +} - this->realizes (const_cast <Type const &> (o)); - } +virtual void +realizes (Type const&); - virtual void - realizes (Type const&); +virtual void +configProperty_pre (Type &o) +{ - virtual void - configProperty (Type &o) - { +this->configProperty_pre (const_cast <Type const &> (o)); +} - this->configProperty (const_cast <Type const &> (o)); - } +virtual void +configProperty_pre (Type const&); - virtual void - configProperty (Type const&); +virtual void +configProperty_next (Type &o) +{ - virtual void - implementation (Type &o) - { +this->configProperty_next (const_cast <Type const &> (o)); +} - this->implementation (const_cast <Type const &> (o)); - } +virtual void +configProperty_next (Type const&); - virtual void - implementation (Type const&); +virtual void +configProperty_post (Type &o) +{ - virtual void - infoProperty (Type &o) - { +this->configProperty_post (const_cast <Type const &> (o)); +} - this->infoProperty (const_cast <Type const &> (o)); - } +virtual void +configProperty_post (Type const&); - virtual void - infoProperty (Type const&); +virtual void +implementation_pre (Type &o) +{ - virtual void - contentLocation (Type &o) - { +this->implementation_pre (const_cast <Type const &> (o)); +} - this->contentLocation (const_cast <Type const &> (o)); - } +virtual void +implementation_pre (Type const&); - virtual void - contentLocation (Type const&); +virtual void +implementation_next (Type &o) +{ - virtual void - href (Type &o) - { +this->implementation_next (const_cast <Type const &> (o)); +} - this->href (const_cast <Type const &> (o)); - } +virtual void +implementation_next (Type const&); - virtual void - href (Type const&); +virtual void +implementation_post (Type &o) +{ - protected: - ComponentPackageDescription (); - }; - } - } +this->implementation_post (const_cast <Type const &> (o)); +} + + +virtual void +implementation_post (Type const&); + +virtual void +infoProperty_pre (Type &o) +{ + +this->infoProperty_pre (const_cast <Type const &> (o)); +} + + +virtual void +infoProperty_pre (Type const&); + +virtual void +infoProperty_next (Type &o) +{ + +this->infoProperty_next (const_cast <Type const &> (o)); +} + + +virtual void +infoProperty_next (Type const&); + +virtual void +infoProperty_post (Type &o) +{ + +this->infoProperty_post (const_cast <Type const &> (o)); +} + + +virtual void +infoProperty_post (Type const&); + +virtual void +contentLocation (Type &o) +{ + +this->contentLocation (const_cast <Type const &> (o)); +} + + +virtual void +contentLocation (Type const&); + +virtual void +href (Type &o) +{ + +this->href (const_cast <Type const &> (o)); +} + + +virtual void +href (Type const&); + +protected: +ComponentPackageDescription (); +}; +} +} } namespace CIAO { - namespace Config_Handlers - { - } +namespace Config_Handlers +{ +} } #endif // CPD_HPP |