OpenMW
Public Member Functions | Private Types | Private Attributes
Nif::RecordListT< X > Class Template Reference

#include <recordptr.hpp>

List of all members.

Public Member Functions

void read (NIFStream *nif)
void post (NIFFile *nif)
const Ptroperator[] (size_t index) const
Ptroperator[] (size_t index)
size_t length () const

Private Types

typedef RecordPtrT< X > Ptr

Private Attributes

std::vector< Ptrlist

Detailed Description

template<class X>
class Nif::RecordListT< X >

A list of references to other records. These are read as a list, and later converted to pointers as needed. Not an optimized implementation.


Member Typedef Documentation

template<class X>
typedef RecordPtrT<X> Nif::RecordListT< X >::Ptr [private]

Member Function Documentation

template<class X>
size_t Nif::RecordListT< X >::length ( ) const [inline]
template<class X>
const Ptr& Nif::RecordListT< X >::operator[] ( size_t  index) const [inline]
template<class X>
Ptr& Nif::RecordListT< X >::operator[] ( size_t  index) [inline]
template<class X>
void Nif::RecordListT< X >::post ( NIFFile nif) [inline]
template<class X>
void Nif::RecordListT< X >::read ( NIFStream nif) [inline]

Member Data Documentation

template<class X>
std::vector<Ptr> Nif::RecordListT< X >::list [private]

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