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