Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
DataIO_Parser.h
Package: ioSerialization.rar [view]
Upload User: kx_jwh
Upload Date: 2021-09-03
Package Size: 76k
Code Size: 1k
Category:
STL
Development Platform:
Visual C++
- /* vim: set tabstop=4 : */
- #ifndef __febird_io_DataIO_Parser_h__
- #define __febird_io_DataIO_Parser_h__
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- # pragma once
- #endif
- #include "StreamBuffer.h"
- #include "DataInput.h"
- #include <boost/spirit.hpp>
- namespace febird {
- template<class PrimInput>
- class DataIO_TextReader : public DataInput<PrimInput, DataIO_TextReader<PrimInput> >
- {
- public:
- protected:
- PrimInput* input;
- DataIO_Parser* parser;
- };
- template<class Final_Input>
- class DataIO_XML_Reader
- {
- InputBuffer* buf;
- public:
- Final_Input& operator>>(int& x)
- {
- int ch = buf->readByte();
- switch (ch)
- {
- case 0: // oct
- break;
- }
- do {
- ch =
- } while (isdigit(ch));
- }
- };
- class DataIO_Parser
- {
- public:
- protected:
- const char* szMemberText;
- std::vector<std::string> memberNames;
- };
- }
- #endif // __febird_io_DataIO_Parser_h__