#include <niffile.hpp>
Nif::NIFFile::NIFFile |
( |
NIFFile const & |
| ) |
|
|
private |
Private Copy Constructor.
Open a NIF stream. The name is used for error messages.
Nif::NIFFile::~NIFFile |
( |
| ) |
|
void Nif::NIFFile::fail |
( |
const std::string & |
msg | ) |
const |
|
inline |
Used if file parsing fails.
std::string Nif::NIFFile::getFilename |
( |
| ) |
const |
|
inline |
Get the name of the file.
Record* Nif::NIFFile::getRecord |
( |
size_t |
index | ) |
const |
|
inline |
Record* Nif::NIFFile::getRoot |
( |
size_t |
index = 0 | ) |
const |
|
inline |
bool Nif::NIFFile::getUseSkinning |
( |
| ) |
const |
size_t Nif::NIFFile::numRecords |
( |
| ) |
const |
|
inline |
size_t Nif::NIFFile::numRoots |
( |
| ) |
const |
|
inline |
void Nif::NIFFile::operator= |
( |
NIFFile const & |
| ) |
|
|
private |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
std::string Nif::NIFFile::printVersion |
( |
unsigned int |
version | ) |
|
|
private |
Get the file's version in a human readable form
- Returns
- A string containing a human readable NIF version number
void Nif::NIFFile::setUseSkinning |
( |
bool |
skinning | ) |
|
Set whether there is skinning contained in this NIF file.
- Note
- This is just a hint for users of the NIF file and has no effect on the loading procedure.
void Nif::NIFFile::warn |
( |
const std::string & |
msg | ) |
const |
|
inline |
Used when something goes wrong, but not catastrophically so.
std::string Nif::NIFFile::filename |
|
private |
File name, used for error messages and opening the file.
bool Nif::NIFFile::mUseSkinning |
|
private |
std::vector<Record*> Nif::NIFFile::records |
|
private |
std::vector<Record*> Nif::NIFFile::roots |
|
private |
Root list. This is a select portion of the pointers from records.
unsigned int Nif::NIFFile::ver |
|
private |
The documentation for this class was generated from the following files:
- /home/travis/build/OpenMW/openmw/components/nif/niffile.hpp
- /home/travis/build/OpenMW/openmw/components/nif/niffile.cpp