| PLaSK library
    | 
Allows to read XML from old C FILE. More...
#include <plask/utils/xml/reader.hpp>
| Public Member Functions | |
| CFileDataSource (FILE *desc) | |
| ~CFileDataSource () | |
| std::size_t | read (char *buff, std::size_t buf_size) override | 
| Read buf_sizebytes of data and store it in bufferbuff. | |
|  Public Member Functions inherited from plask::XMLReader::DataSource | |
| virtual | ~DataSource () | 
| Empty, virtual destructor. | |
| Public Attributes | |
| FILE * | desc | 
| Stream to read from. | |
Allows to read XML from old C FILE.
Definition at line 166 of file reader.hpp.
| 
 | inline | 
| desc | stream to read from | 
Definition at line 174 of file reader.hpp.
| 
 | inline | 
Definition at line 176 of file reader.hpp.
| 
 | overridevirtual | 
Read buf_size bytes of data and store it in buffer buff. 
Throws exception if can't read.
| buff | destination buffer | 
| buf_size | size of buff | 
buf_size only at the end of data Implements plask::XMLReader::DataSource.
Definition at line 30 of file reader.cpp.
| FILE* plask::XMLReader::CFileDataSource::desc | 
Stream to read from.
Definition at line 169 of file reader.hpp.