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 Class & getClass () const
template<typename T >
MWWorld::LiveCellRef< T > * get () const
ESM::CellRef & getCellRef () const
RefData & getRefData () const
Ptr::CellStore * getCell () const
bool isInCell () const
void setContainerStore (ContainerStore *store)
 Must not be called on references that are in a cell.
ContainerStore * getContainerStore () const
 May return a 0-pointer, if reference is not in a container.

Public Attributes

MWWorld::LiveCellRefBase * mRef
CellStore * mCell
ContainerStore * mContainerStore

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: