text: // Copyright (c) 2005-2014 Code Synthesis Tools CC
  //
  // This program was generated by CodeSynthesis XSD, an XML Schema to
  // C++ data binding compiler.
  //
  // This program is free software; you can redistribute it and/or modify
  // it under the terms of the GNU General Public License version 2 as
  // published by the Free Software Foundation.
  //
  // This program is distributed in the hope that it will be useful,
  // but WITHOUT ANY WARRANTY; without even the implied warranty of
  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  // GNU General Public License for more details.
  //
  // You should have received a copy of the GNU General Public License
  // along with this program; if not, write to the Free Software
  // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  //
  // In addition, as a special exception, Code Synthesis Tools CC gives
  // permission to link this program with the Xerces-C++ library (or with
  // modified versions of Xerces-C++ that use the same license as Xerces-C++),
  // and distribute linked combinations including the two. You must obey
  // the GNU General Public License version 2 in all respects for all of
  // the code used other than Xerces-C++. If you modify this copy of the
  // program, you may extend this exception to your version of the program,
  // but you are not obligated to do so. If you do not wish to do so, delete
  // this exception statement from your version.
  //
  // Furthermore, Code Synthesis Tools CC makes a special exception for
  // the Free/Libre and Open Source Software (FLOSS) which is described
  // in the accompanying FLOSSE file.
  //
  
  // Begin prologue.
  //
  //
  // End prologue.
  
  #include <xsd/cxx/pre.hxx>
  
  #include "SimControlScheme_ExternalInterfaceExport_ToActuator.hxx"
  
  namespace schema
  {
    namespace simxml
    {
      namespace ResourcesGeneral
      {
        // SimControlScheme_ExternalInterfaceExport_ToActuator
        // 
  
        const SimControlScheme_ExternalInterfaceExport_ToActuator::SimCntrlSchm_Name_optional& SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_Name () const
        {
          return this->SimCntrlSchm_Name_;
        }
  
        SimControlScheme_ExternalInterfaceExport_ToActuator::SimCntrlSchm_Name_optional& SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_Name ()
        {
          return this->SimCntrlSchm_Name_;
        }
  
        void SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_Name (const SimCntrlSchm_Name_type& x)
        {
          this->SimCntrlSchm_Name_.set (x);
        }
  
        void SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_Name (const SimCntrlSchm_Name_optional& x)
        {
          this->SimCntrlSchm_Name_ = x;
        }
  
        void SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_Name (::std::auto_ptr< SimCntrlSchm_Name_type > x)
        {
          this->SimCntrlSchm_Name_.set (x);
        }
  
        const SimControlScheme_ExternalInterfaceExport_ToActuator::SimCntrlSchm_InitVal_optional& SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_InitVal () const
        {
          return this->SimCntrlSchm_InitVal_;
        }
  
        SimControlScheme_ExternalInterfaceExport_ToActuator::SimCntrlSchm_InitVal_optional& SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_InitVal ()
        {
          return this->SimCntrlSchm_InitVal_;
        }
  
        void SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_InitVal (const SimCntrlSchm_InitVal_type& x)
        {
          this->SimCntrlSchm_InitVal_.set (x);
        }
  
        void SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_InitVal (const SimCntrlSchm_InitVal_optional& x)
        {
          this->SimCntrlSchm_InitVal_ = x;
        }
  
        const SimControlScheme_ExternalInterfaceExport_ToActuator::SimCntrlSchm_ActCompUniqueName_optional& SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_ActCompUniqueName () const
        {
          return this->SimCntrlSchm_ActCompUniqueName_;
        }
  
        SimControlScheme_ExternalInterfaceExport_ToActuator::SimCntrlSchm_ActCompUniqueName_optional& SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_ActCompUniqueName ()
        {
          return this->SimCntrlSchm_ActCompUniqueName_;
        }
  
        void SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_ActCompUniqueName (const SimCntrlSchm_ActCompUniqueName_type& x)
        {
          this->SimCntrlSchm_ActCompUniqueName_.set (x);
        }
  
        void SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_ActCompUniqueName (const SimCntrlSchm_ActCompUniqueName_optional& x)
        {
          this->SimCntrlSchm_ActCompUniqueName_ = x;
        }
  
        void SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_ActCompUniqueName (::std::auto_ptr< SimCntrlSchm_ActCompUniqueName_type > x)
        {
          this->SimCntrlSchm_ActCompUniqueName_.set (x);
        }
  
        const SimControlScheme_ExternalInterfaceExport_ToActuator::SimCntrlSchm_ActCompType_optional& SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_ActCompType () const
        {
          return this->SimCntrlSchm_ActCompType_;
        }
  
        SimControlScheme_ExternalInterfaceExport_ToActuator::SimCntrlSchm_ActCompType_optional& SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_ActCompType ()
        {
          return this->SimCntrlSchm_ActCompType_;
        }
  
        void SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_ActCompType (const SimCntrlSchm_ActCompType_type& x)
        {
          this->SimCntrlSchm_ActCompType_.set (x);
        }
  
        void SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_ActCompType (const SimCntrlSchm_ActCompType_optional& x)
        {
          this->SimCntrlSchm_ActCompType_ = x;
        }
  
        void SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_ActCompType (::std::auto_ptr< SimCntrlSchm_ActCompType_type > x)
        {
          this->SimCntrlSchm_ActCompType_.set (x);
        }
  
        const SimControlScheme_ExternalInterfaceExport_ToActuator::SimCntrlSchm_ActCompCntlType_optional& SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_ActCompCntlType () const
        {
          return this->SimCntrlSchm_ActCompCntlType_;
        }
  
        SimControlScheme_ExternalInterfaceExport_ToActuator::SimCntrlSchm_ActCompCntlType_optional& SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_ActCompCntlType ()
        {
          return this->SimCntrlSchm_ActCompCntlType_;
        }
  
        void SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_ActCompCntlType (const SimCntrlSchm_ActCompCntlType_type& x)
        {
          this->SimCntrlSchm_ActCompCntlType_.set (x);
        }
  
        void SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_ActCompCntlType (const SimCntrlSchm_ActCompCntlType_optional& x)
        {
          this->SimCntrlSchm_ActCompCntlType_ = x;
        }
  
        void SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimCntrlSchm_ActCompCntlType (::std::auto_ptr< SimCntrlSchm_ActCompCntlType_type > x)
        {
          this->SimCntrlSchm_ActCompCntlType_.set (x);
        }
      }
    }
  }
  
  #include <xsd/cxx/xml/dom/parsing-source.hxx>
  
  #include <xsd/cxx/tree/type-factory-map.hxx>
  
  namespace _xsd
  {
    static
    const ::xsd::cxx::tree::type_factory_plate< 0, char >
    type_factory_plate_init;
  }
  
  namespace schema
  {
    namespace simxml
    {
      namespace ResourcesGeneral
      {
        // SimControlScheme_ExternalInterfaceExport_ToActuator
        //
  
        SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimControlScheme_ExternalInterfaceExport_ToActuator ()
        : ::schema::simxml::ResourcesGeneral::SimControlScheme_ExternalInterfaceExport (),
          SimCntrlSchm_Name_ (this),
          SimCntrlSchm_InitVal_ (this),
          SimCntrlSchm_ActCompUniqueName_ (this),
          SimCntrlSchm_ActCompType_ (this),
          SimCntrlSchm_ActCompCntlType_ (this)
        {
        }
  
        SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimControlScheme_ExternalInterfaceExport_ToActuator (const RefId_type& RefId)
        : ::schema::simxml::ResourcesGeneral::SimControlScheme_ExternalInterfaceExport (RefId),
          SimCntrlSchm_Name_ (this),
          SimCntrlSchm_InitVal_ (this),
          SimCntrlSchm_ActCompUniqueName_ (this),
          SimCntrlSchm_ActCompType_ (this),
          SimCntrlSchm_ActCompCntlType_ (this)
        {
        }
  
        SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimControlScheme_ExternalInterfaceExport_ToActuator (const SimControlScheme_ExternalInterfaceExport_ToActuator& x,
                                                             ::xml_schema::flags f,
                                                             ::xml_schema::container* c)
        : ::schema::simxml::ResourcesGeneral::SimControlScheme_ExternalInterfaceExport (x, f, c),
          SimCntrlSchm_Name_ (x.SimCntrlSchm_Name_, f, this),
          SimCntrlSchm_InitVal_ (x.SimCntrlSchm_InitVal_, f, this),
          SimCntrlSchm_ActCompUniqueName_ (x.SimCntrlSchm_ActCompUniqueName_, f, this),
          SimCntrlSchm_ActCompType_ (x.SimCntrlSchm_ActCompType_, f, this),
          SimCntrlSchm_ActCompCntlType_ (x.SimCntrlSchm_ActCompCntlType_, f, this)
        {
        }
  
        SimControlScheme_ExternalInterfaceExport_ToActuator::
        SimControlScheme_ExternalInterfaceExport_ToActuator (const ::xercesc::DOMElement& e,
                                                             ::xml_schema::flags f,
                                                             ::xml_schema::container* c)
        : ::schema::simxml::ResourcesGeneral::SimControlScheme_ExternalInterfaceExport (e, f | ::xml_schema::flags::base, c),
          SimCntrlSchm_Name_ (this),
          SimCntrlSchm_InitVal_ (this),
          SimCntrlSchm_ActCompUniqueName_ (this),
          SimCntrlSchm_ActCompType_ (this),
          SimCntrlSchm_ActCompCntlType_ (this)
        {
          if ((f & ::xml_schema::flags::base) == 0)
          {
            ::xsd::cxx::xml::dom::parser< char > p (e, true, false, true);
            this->parse (p, f);
          }
        }
  
        void SimControlScheme_ExternalInterfaceExport_ToActuator::
        parse (::xsd::cxx::xml::dom::parser< char >& p,
               ::xml_schema::flags f)
        {
          this->::schema::simxml::ResourcesGeneral::SimControlScheme_ExternalInterfaceExport::parse (p, f);
  
          for (; p.more_content (); p.next_content (false))
          {
            const ::xercesc::DOMElement& i (p.cur_element ());
            const ::xsd::cxx::xml::qualified_name< char > n (
              ::xsd::cxx::xml::dom::name< char > (i));
  
            // SimCntrlSchm_Name
            //
            if (n.name () == "SimCntrlSchm_Name" && n.namespace_ () == "http://d-alchemy.com/schema/simxml/ResourcesGeneral")
            {
              ::std::auto_ptr< SimCntrlSchm_Name_type > r (
                SimCntrlSchm_Name_traits::create (i, f, this));
  
              if (!this->SimCntrlSchm_Name_)
              {
                this->SimCntrlSchm_Name_.set (r);
                continue;
              }
            }
  
            // SimCntrlSchm_InitVal
            //
            if (n.name () == "SimCntrlSchm_InitVal" && n.namespace_ () == "http://d-alchemy.com/schema/simxml/ResourcesGeneral")
            {
              if (!this->SimCntrlSchm_InitVal_)
              {
                this->SimCntrlSchm_InitVal_.set (SimCntrlSchm_InitVal_traits::create (i, f, this));
                continue;
              }
            }
  
            // SimCntrlSchm_ActCompUniqueName
            //
            if (n.name () == "SimCntrlSchm_ActCompUniqueName" && n.namespace_ () == "http://d-alchemy.com/schema/simxml/ResourcesGeneral")
            {
              ::std::auto_ptr< SimCntrlSchm_ActCompUniqueName_type > r (
                SimCntrlSchm_ActCompUniqueName_traits::create (i, f, this));
  
              if (!this->SimCntrlSchm_ActCompUniqueName_)
              {
                this->SimCntrlSchm_ActCompUniqueName_.set (r);
                continue;
              }
            }
  
            // SimCntrlSchm_ActCompType
            //
            if (n.name () == "SimCntrlSchm_ActCompType" && n.namespace_ () == "http://d-alchemy.com/schema/simxml/ResourcesGeneral")
            {
              ::std::auto_ptr< SimCntrlSchm_ActCompType_type > r (
                SimCntrlSchm_ActCompType_traits::create (i, f, this));
  
              if (!this->SimCntrlSchm_ActCompType_)
              {
                this->SimCntrlSchm_ActCompType_.set (r);
                continue;
              }
            }
  
            // SimCntrlSchm_ActCompCntlType
            //
            if (n.name () == "SimCntrlSchm_ActCompCntlType" && n.namespace_ () == "http://d-alchemy.com/schema/simxml/ResourcesGeneral")
            {
              ::std::auto_ptr< SimCntrlSchm_ActCompCntlType_type > r (
                SimCntrlSchm_ActCompCntlType_traits::create (i, f, this));
  
              if (!this->SimCntrlSchm_ActCompCntlType_)
              {
                this->SimCntrlSchm_ActCompCntlType_.set (r);
                continue;
              }
            }
  
            break;
          }
        }
  
        SimControlScheme_ExternalInterfaceExport_ToActuator* SimControlScheme_ExternalInterfaceExport_ToActuator::
        _clone (::xml_schema::flags f,
                ::xml_schema::container* c) const
        {
          return new class SimControlScheme_ExternalInterfaceExport_ToActuator (*this, f, c);
        }
  
        SimControlScheme_ExternalInterfaceExport_ToActuator& SimControlScheme_ExternalInterfaceExport_ToActuator::
        operator= (const SimControlScheme_ExternalInterfaceExport_ToActuator& x)
        {
          if (this != &x)
          {
            static_cast< ::schema::simxml::ResourcesGeneral::SimControlScheme_ExternalInterfaceExport& > (*this) = x;
            this->SimCntrlSchm_Name_ = x.SimCntrlSchm_Name_;
            this->SimCntrlSchm_InitVal_ = x.SimCntrlSchm_InitVal_;
            this->SimCntrlSchm_ActCompUniqueName_ = x.SimCntrlSchm_ActCompUniqueName_;
            this->SimCntrlSchm_ActCompType_ = x.SimCntrlSchm_ActCompType_;
            this->SimCntrlSchm_ActCompCntlType_ = x.SimCntrlSchm_ActCompCntlType_;
          }
  
          return *this;
        }
  
        SimControlScheme_ExternalInterfaceExport_ToActuator::
        ~SimControlScheme_ExternalInterfaceExport_ToActuator ()
        {
        }
      }
    }
  }
  
  #include <istream>
  #include <xsd/cxx/xml/sax/std-input-source.hxx>
  #include <xsd/cxx/tree/error-handler.hxx>
  
  namespace schema
  {
    namespace simxml
    {
      namespace ResourcesGeneral
      {
      }
    }
  }
  
  #include <xsd/cxx/post.hxx>
  
  // Begin epilogue.
  //
  //
  // End epilogue.
  
  