g4tools  5.4.0
Public Member Functions | List of all members
tools::file::reader Class Referenceabstract
Inheritance diagram for tools::file::reader:
Inheritance graph
[legend]

Public Member Functions

virtual ~reader ()
 
virtual bool open (const std::string &)=0
 
virtual void close ()=0
 
virtual bool is_open () const =0
 
virtual bool read (char *, unsigned int, size_t &)=0
 
virtual bool get_line (char *, unsigned int)=0
 
virtual bool eof () const =0
 

Detailed Description

Definition at line 13 of file file_reader.

Constructor & Destructor Documentation

◆ ~reader()

virtual tools::file::reader::~reader ( )
inlinevirtual

Definition at line 15 of file file_reader.

15 {}

Member Function Documentation

◆ close()

virtual void tools::file::reader::close ( )
pure virtual

Implemented in tools::FILE_reader.

◆ eof()

virtual bool tools::file::reader::eof ( ) const
pure virtual

Implemented in tools::FILE_reader.

◆ get_line()

virtual bool tools::file::reader::get_line ( char *  ,
unsigned int   
)
pure virtual

Implemented in tools::FILE_reader.

◆ is_open()

virtual bool tools::file::reader::is_open ( ) const
pure virtual

Implemented in tools::FILE_reader.

◆ open()

virtual bool tools::file::reader::open ( const std::string &  )
pure virtual

Implemented in tools::FILE_reader.

◆ read()

virtual bool tools::file::reader::read ( char *  ,
unsigned int  ,
size_t &   
)
pure virtual

Implemented in tools::FILE_reader.


The documentation for this class was generated from the following file: