00001
#ifndef EXPAT_EOL_H
00002
#define EXPAT_EOL_H
00003
00004
#include "EConfBase.h"
00005
00010 struct EConfEol :
public EConfBase
00011 {
00012 enum Eol
00013 {
00014
CR,
LF,
CRLF,
LFCR
00015 };
00016
00017
public:
00018
EConfEol(
const char* name );
00019
EConfEol(
const char* name, Eol def,
const char* comment );
00020
virtual ~EConfEol( );
00021
virtual bool start_child_element(
const char* name,
const char** atts, XML_Parser p );
00022
virtual bool end_child_element(
const char* name, XML_Parser p );
00023
virtual bool begin_parse(
const char* name,
const char** atts, XML_Parser p );
00024
virtual void dump(
int depth, ostream& ostr,
bool complete );
00025
00026
void specialize(
const EConfEol& o );
00027
const char*
get( ) const;
00028
00029 private:
00030 Eol _value;
00031
00032 private:
00033
EConfEol( );
00034 EConfEol( const EConfEol& );
00035 EConfEol& operator=( const EConfEol& );
00036 };
00037
00039
00040 #endif
00041