OpenMW
Public Types | Public Member Functions | Public Attributes
MWWorld::Ptr Class Reference

Pointer to a LiveCellRef. More...

#include <ptr.hpp>

List of all members.

Public Types

typedef MWWorld::CellStore CellStore

Public Member Functions

 Ptr (MWWorld::LiveCellRefBase *liveCellRef=0, CellStore *cell=0)
bool isEmpty () const
const std::string & getTypeName () const
const ClassgetClass () const
template<typename T >
MWWorld::LiveCellRef< T > * get () const
ESM::CellRefgetCellRef () const
RefDatagetRefData () const
Ptr::CellStoregetCell () const
bool isInCell () const
void setContainerStore (ContainerStore *store)
 Must not be called on references that are in a cell.
ContainerStoregetContainerStore () const
 May return a 0-pointer, if reference is not in a container.

Public Attributes

MWWorld::LiveCellRefBasemRef
CellStoremCell
ContainerStoremContainerStore

Detailed Description

Pointer to a LiveCellRef.


Member Typedef Documentation


Constructor & Destructor Documentation

MWWorld::Ptr::Ptr ( MWWorld::LiveCellRefBase liveCellRef = 0,
CellStore cell = 0 
) [inline]

Member Function Documentation

template<typename T >
MWWorld::LiveCellRef<T>* MWWorld::Ptr::get ( ) const [inline]
const Class& MWWorld::Ptr::getClass ( ) const [inline]

May return a 0-pointer, if reference is not in a container.

const std::string & MWWorld::Ptr::getTypeName ( ) const
bool MWWorld::Ptr::isEmpty ( ) const [inline]
bool MWWorld::Ptr::isInCell ( ) const [inline]

Must not be called on references that are in a cell.


Member Data Documentation


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