NGL
6.5
The NCCA Graphics Library
|
Represents data loaded from a file. More...
#include <rapidxml_utils.hpp>
Public Member Functions | |
file (const char *filename) | |
file (std::basic_istream< Ch > &stream) | |
Ch * | data () |
const Ch * | data () const |
std::size_t | size () const |
Private Attributes | |
std::vector< Ch > | m_data |
Represents data loaded from a file.
Definition at line 21 of file rapidxml_utils.hpp.
|
inline |
Loads file into the memory. Data will be automatically destroyed by the destructor.
filename | Filename to load. |
Definition at line 28 of file rapidxml_utils.hpp.
References rapidxml::file< Ch >::m_data, and rapidxml::file< Ch >::size().
|
inline |
Loads file into the memory. Data will be automatically destroyed by the destructor
stream | Stream to load from |
Definition at line 51 of file rapidxml_utils.hpp.
References rapidxml::file< Ch >::m_data.
|
inline |
Gets file data.
Definition at line 65 of file rapidxml_utils.hpp.
References rapidxml::file< Ch >::m_data.
|
inline |
Gets file data.
Definition at line 72 of file rapidxml_utils.hpp.
References rapidxml::file< Ch >::m_data.
|
inline |
Gets file data size.
Definition at line 79 of file rapidxml_utils.hpp.
References rapidxml::file< Ch >::m_data.
|
private |
Definition at line 86 of file rapidxml_utils.hpp.