OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Static Private Member Functions | List of all members
Nif::KeyMapT< T, getValue > Struct Template Reference

#include <nifkey.hpp>

Collaboration diagram for Nif::KeyMapT< T, getValue >:

Public Types

typedef std::map< float, KeyT
< T > > 
MapType
 
typedef T ValueType
 
typedef KeyT< T > KeyType
 

Public Member Functions

 KeyMapT ()
 
void read (NIFStream *nif, bool force=false)
 

Public Attributes

unsigned int mInterpolationType
 
MapType mKeys
 

Static Public Attributes

static const unsigned int sLinearInterpolation = 1
 
static const unsigned int sQuadraticInterpolation = 2
 
static const unsigned int sTBCInterpolation = 3
 
static const unsigned int sXYZInterpolation = 4
 

Static Private Member Functions

static void readValue (NIFStream &nif, KeyT< T > &key)
 
template<typename U >
static void readQuadratic (NIFStream &nif, KeyT< U > &key)
 
static void readQuadratic (NIFStream &nif, KeyT< osg::Quat > &key)
 
static void readTBC (NIFStream &nif, KeyT< T > &key)
 

Member Typedef Documentation

template<typename T , T(NIFStream::*)() getValue>
typedef KeyT<T> Nif::KeyMapT< T, getValue >::KeyType
template<typename T , T(NIFStream::*)() getValue>
typedef std::map< float, KeyT<T> > Nif::KeyMapT< T, getValue >::MapType
template<typename T , T(NIFStream::*)() getValue>
typedef T Nif::KeyMapT< T, getValue >::ValueType

Constructor & Destructor Documentation

template<typename T , T(NIFStream::*)() getValue>
Nif::KeyMapT< T, getValue >::KeyMapT ( )
inline

Member Function Documentation

template<typename T , T(NIFStream::*)() getValue>
void Nif::KeyMapT< T, getValue >::read ( NIFStream nif,
bool  force = false 
)
inline

Here is the call graph for this function:

template<typename T , T(NIFStream::*)() getValue>
template<typename U >
static void Nif::KeyMapT< T, getValue >::readQuadratic ( NIFStream nif,
KeyT< U > &  key 
)
inlinestaticprivate

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename T , T(NIFStream::*)() getValue>
static void Nif::KeyMapT< T, getValue >::readQuadratic ( NIFStream nif,
KeyT< osg::Quat > &  key 
)
inlinestaticprivate

Here is the call graph for this function:

template<typename T , T(NIFStream::*)() getValue>
static void Nif::KeyMapT< T, getValue >::readTBC ( NIFStream nif,
KeyT< T > &  key 
)
inlinestaticprivate

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename T , T(NIFStream::*)() getValue>
static void Nif::KeyMapT< T, getValue >::readValue ( NIFStream nif,
KeyT< T > &  key 
)
inlinestaticprivate

Here is the caller graph for this function:

Member Data Documentation

template<typename T , T(NIFStream::*)() getValue>
unsigned int Nif::KeyMapT< T, getValue >::mInterpolationType
template<typename T , T(NIFStream::*)() getValue>
MapType Nif::KeyMapT< T, getValue >::mKeys
template<typename T , T(NIFStream::*)() getValue>
const unsigned int Nif::KeyMapT< T, getValue >::sLinearInterpolation = 1
static
template<typename T , T(NIFStream::*)() getValue>
const unsigned int Nif::KeyMapT< T, getValue >::sQuadraticInterpolation = 2
static
template<typename T , T(NIFStream::*)() getValue>
const unsigned int Nif::KeyMapT< T, getValue >::sTBCInterpolation = 3
static
template<typename T , T(NIFStream::*)() getValue>
const unsigned int Nif::KeyMapT< T, getValue >::sXYZInterpolation = 4
static

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