xoreos  0.0.5
Static Protected Member Functions | List of all members
Aurora::NitroFile Class Reference

#include <nitrofile.h>

Inheritance diagram for Aurora::NitroFile:
Inheritance graph
[legend]

Static Protected Member Functions

static Common::SeekableSubReadStreamEndianopen (Common::SeekableReadStream &stream)
 Treat this stream as a Nitro file and return an endian'd stream according to its BOM. More...
 
static Common::SeekableSubReadStreamEndianopen (Common::SeekableReadStream *stream)
 Treat this stream as a Nitro file, take it over and return an endian'd stream according to its BOM. More...
 

Detailed Description

Definition at line 35 of file nitrofile.h.

Member Function Documentation

◆ open() [1/2]

Common::SeekableSubReadStreamEndian * Aurora::NitroFile::open ( Common::SeekableReadStream stream)
staticprotected

Treat this stream as a Nitro file and return an endian'd stream according to its BOM.

Definition at line 52 of file nitrofile.cpp.

References Aurora::isBigEndian(), Common::SeekableReadStream::pos(), and Common::SeekableReadStream::size().

Referenced by Graphics::NCLR::load(), Graphics::NCGR::load(), Graphics::Aurora::NFTRFont::NFTRFont(), Aurora::NSBTXFile::NSBTXFile(), and Graphics::Aurora::Model_Sonic::ParserContext::ParserContext().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ open() [2/2]

Common::SeekableSubReadStreamEndian * Aurora::NitroFile::open ( Common::SeekableReadStream stream)
staticprotected

Treat this stream as a Nitro file, take it over and return an endian'd stream according to its BOM.

Definition at line 61 of file nitrofile.cpp.

References Aurora::isBigEndian(), and Common::ScopedPtrBase< T, Deallocator >::release().

Here is the call graph for this function:

The documentation for this class was generated from the following files: