COOPY » Guide  version 0.6.5
Public Member Functions
coopy::format::FormatSniffer Class Reference

#include <FormatSniffer.h>

Inheritance diagram for coopy::format::FormatSniffer:
coopy::format::Reader

Public Member Functions

 FormatSniffer ()
virtual ~FormatSniffer ()
bool setString (const char *str)
bool open (const char *fname, bool caching=true)
bool close ()
bool wrap (coopy::store::FileIO &fin, bool caching)
Format getFormat ()
virtual std::string read ()
std::string readLine (bool &eof)

Detailed Description

Definition at line 18 of file FormatSniffer.h.


Constructor & Destructor Documentation

coopy::format::FormatSniffer::FormatSniffer ( ) [inline]

Definition at line 23 of file FormatSniffer.h.

virtual coopy::format::FormatSniffer::~FormatSniffer ( ) [inline, virtual]

Definition at line 26 of file FormatSniffer.h.

References close().


Member Function Documentation

bool FormatSniffer::close ( )

Definition at line 45 of file FormatSniffer.cpp.

Referenced by ~FormatSniffer().

Format FormatSniffer::getFormat ( ) [virtual]
bool FormatSniffer::open ( const char *  fname,
bool  caching = true 
)
virtual std::string coopy::format::FormatSniffer::read ( ) [inline, virtual]
string Reader::readLine ( bool &  eof) [inherited]

Definition at line 6 of file Reader.cpp.

bool FormatSniffer::setString ( const char *  str)

Definition at line 11 of file FormatSniffer.cpp.

Referenced by coopy::store::sqlite::SqliteTextBook::read().

bool FormatSniffer::wrap ( coopy::store::FileIO fin,
bool  caching 
)

Definition at line 17 of file FormatSniffer.cpp.

References coopy::store::FileIO::fread().


The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines