Represents data loaded from a file.
More...
#include <rapidxml_utils.hpp>
|
| Ch * | data () |
| |
| const Ch * | data () const |
| |
| | file (const char *filename) |
| |
| | file (std::basic_istream< Ch > &stream) |
| |
| std::size_t | size () const |
| |
template<class Ch = char>
class rapidxml::file< Ch >
Represents data loaded from a file.
Definition at line 21 of file rapidxml_utils.hpp.
◆ file() [1/2]
template<class Ch = char>
Loads file into the memory. Data will be automatically destroyed by the destructor.
- Parameters
-
| filename | Filename to load. |
Definition at line 28 of file rapidxml_utils.hpp.
◆ file() [2/2]
template<class Ch = char>
Loads file into the memory. Data will be automatically destroyed by the destructor
- Parameters
-
| stream | Stream to load from |
Definition at line 51 of file rapidxml_utils.hpp.
◆ data() [1/2]
template<class Ch = char>
◆ data() [2/2]
template<class Ch = char>
◆ size()
template<class Ch = char>
Gets file data size.
- Returns
- Size of file data, in characters.
Definition at line 79 of file rapidxml_utils.hpp.
◆ m_data
template<class Ch = char>
The documentation for this class was generated from the following file: