- Main Page
- Namespaces
- Classes
- Files
- Related Pages

# /Users/fpy/titan-1-5-MBARI/Mers/Estimation/Discrete/Io/Xml/Sax/EstCH.h

    00001
    00002 //
    00003 // Copyright (c) 2005           Model-based Embedded and Robotic Systems Group
    00004 // All Rights Reserved          Massachusetts Institute of Technology
    00005 //
    00006 // This software is provided as is. Model-based Embedded and Robotic Systems
    00007 // (MERS) group does not assume any responsibility.
    00008 //
    00010
    00011 #ifndef MERS_ESTIMATION_DISCRETE_IO_XML_SAX_ESTCH_HEADER_FILE
    00012 #define MERS_ESTIMATION_DISCRETE_IO_XML_SAX_ESTCH_HEADER_FILE
    00013
    00014 #include <Mers/Utils/Io/Xml/Sax/TypedCH.h>
    00015 #include <Mers/Utils/Io/Xml/Sax/ContentCallback.h>
    00016 #include <Mers/Utils/Io/Xml/Sax/CallbackStore.h>
    00017
    00018 namespace Mers {
    00019         namespace Models {
    00020                 namespace Base {
    00021                         class BaseModel;
    00022                         class BaseModelAssignment;
    00023                         class BaseModelAssignmentArray;
    00024                 }
    00025         }
    00026         namespace Estimation {
    00027                 namespace Discrete {
    00028                         class Estimate;
    00029
    00030                         namespace Io {
    00031                                 namespace Xml {
    00032                                         namespace Sax {
    00036                                         class EstCH
    00037                                                 : public ::Mers::Utils::Io::Xml::Sax::TypedCH
    00038                                                                 < const ::Mers::Models::Base::BaseModel * >,
    00039                                                         protected ::Mers::Utils::Io::Xml::Sax::ContentCallback
    00040                                                                 < ::Mers::Models::Base::BaseModelAssignment * >,
    00041                                                         protected ::Mers::Utils::Io::Xml::Sax::CallbackStore< double >
    00042                                         {
    00043                                         public:
    00057                                                 EstCH( XERCES_CPP_NAMESPACE::SAX2XMLReader * reader,
    00058                                                         const Mers::Models::Base::BaseModel * model,
    00059                                                         ::Mers::Utils::Io::Xml::Sax::ContentHandler * parent,
    00060                                                         ::Mers::Utils::Io::Xml::Sax::ContentCallback
    00061                                                                 < ::Mers::Estimation::Discrete::Estimate * > * callback );
    00062
    00066                                                 virtual ~EstCH();
    00067
    00098                                                 virtual void startElement(
    00099                                                         const XMLCh * const uri,
    00100                                                         const XMLCh * const localname,
    00101                                                         const XMLCh * const qname,
    00102                                                         const XERCES_CPP_NAMESPACE::Attributes& attrs);
    00103
    00122                                                 virtual void endElement(
    00123                                                         const XMLCh * const uri,
    00124                                                         const XMLCh * const localname,
    00125                                                         const XMLCh * const qname);
    00126
    00127                                         protected:
    00137                                                 virtual void handleContent(
    00138                                                         ::Mers::Models::Base::BaseModelAssignment * asg,
    00139                                                         const XMLCh * element );
    00140
    00141                                         protected:
    00142                                                 // Our list of assignments for creating the estimate.
    00143                                                 ::Mers::Models::Base::BaseModelAssignmentArray * m_Assigns;
    00144
    00145                                                 // Our callback object.
    00146                                                 ::Mers::Utils::Io::Xml::Sax::ContentCallback
    00147                                                         < ::Mers::Estimation::Discrete::Estimate * > * m_Callback;
    00148                                         private:
    00150                                                 EstCH();
    00151                                                 EstCH(const EstCH &other);
    00152                                                 EstCH & operator =(const EstCH &other);
    00153                                         };
    00154                                         }
    00155                                 }
    00156                         }
    00157                 }
    00158         }
    00159 }
    00160
    00161 #endif