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

# /Users/fpy/titan-1-5-MBARI/Mers/Utils/Io/Xml/Sax/DoubleCH.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_UTILS_IO_XML_SAX_DOUBLECH_HEADER_FILE
    00012 #define MERS_UTILS_IO_XML_SAX_DOUBLECH_HEADER_FILE
    00013
    00014 #include "ContentHandler.h"
    00015 #include "ContentCallback.h"
    00016
    00017 namespace Mers {
    00018         namespace Utils {
    00019                 namespace Io {
    00020                         namespace Xml {
    00021                                 namespace Sax {
    00025                                         class DoubleCH : public ContentHandler
    00026                                         {
    00027                                         public:
    00041                                                 DoubleCH( XERCES_CPP_NAMESPACE::SAX2XMLReader * reader,
    00042                                                         ContentHandler * parent,
    00043                                                         ContentCallback< double > * callback );
    00044
    00074                                                 virtual void characters(
    00075                                                         const XMLCh * const chars,
    00076                                                         const unsigned int length);
    00077
    00096                                                 virtual void endElement(
    00097                                                         const XMLCh * const uri,
    00098                                                         const XMLCh * const localname,
    00099                                                         const XMLCh * const qname);
    00100
    00101                                         protected:
    00102                                                 // Our value
    00103                                                 double m_Value;
    00104
    00105                                                 // Our callback object.
    00106                                                 ContentCallback< double > * m_Callback;
    00107                                         private:
    00109                                                 DoubleCH();
    00110                                                 DoubleCH(const DoubleCH &other);
    00111                                                 DoubleCH & operator =(const DoubleCH &other);
    00112                                         };
    00113                                 }
    00114                         }
    00115                 }
    00116         }
    00117 }
    00118
    00119 #endif