OpenMW
|
Pointer to a LiveCellRef. More...
#include <ptr.hpp>
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 |
Pointer to a LiveCellRef.
MWWorld::Ptr::Ptr | ( | MWWorld::LiveCellRefBase * | liveCellRef = 0 , |
CellStore * | cell = 0 |
||
) | [inline] |
MWWorld::LiveCellRef<T>* MWWorld::Ptr::get | ( | ) | const [inline] |
Ptr::CellStore* MWWorld::Ptr::getCell | ( | ) | const [inline] |
ESM::CellRef & MWWorld::Ptr::getCellRef | ( | ) | const |
const Class& MWWorld::Ptr::getClass | ( | ) | const [inline] |
May return a 0-pointer, if reference is not in a container.
MWWorld::RefData & MWWorld::Ptr::getRefData | ( | ) | const |
const std::string & MWWorld::Ptr::getTypeName | ( | ) | const |
bool MWWorld::Ptr::isEmpty | ( | ) | const [inline] |
bool MWWorld::Ptr::isInCell | ( | ) | const [inline] |
void MWWorld::Ptr::setContainerStore | ( | ContainerStore * | store | ) |
Must not be called on references that are in a cell.