|
OpenMW
|
Pointer to a LiveCellRef. More...
#include <ptr.hpp>
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 |
| MWWorld::LiveCellRefBase * | getBase () const |
| MWWorld::CellRef & | getCellRef () const |
| RefData & | getRefData () const |
| CellStore * | getCell () const |
| bool | isInCell () const |
| void | setContainerStore (ContainerStore *store) |
| Must not be called on references that are in a cell. More... | |
| ContainerStore * | getContainerStore () const |
| May return a 0-pointer, if reference is not in a container. More... | |
| operator const void * () | |
| Return a 0-pointer, if Ptr is empty; return a non-0-pointer, if Ptr is not empty. More... | |
Public Attributes | |
| MWWorld::LiveCellRefBase * | mRef |
| CellStore * | mCell |
| ContainerStore * | mContainerStore |
Pointer to a LiveCellRef.
|
inline |
|
inline |
| MWWorld::LiveCellRefBase * MWWorld::Ptr::getBase | ( | ) | const |
|
inline |
| MWWorld::CellRef & MWWorld::Ptr::getCellRef | ( | ) | const |
|
inline |
| MWWorld::ContainerStore * MWWorld::Ptr::getContainerStore | ( | ) | const |
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 |
|
inline |
|
inline |
| MWWorld::Ptr::operator const void * | ( | ) |
| void MWWorld::Ptr::setContainerStore | ( | ContainerStore * | store | ) |
Must not be called on references that are in a cell.
| CellStore* MWWorld::Ptr::mCell |
| ContainerStore* MWWorld::Ptr::mContainerStore |
| MWWorld::LiveCellRefBase* MWWorld::Ptr::mRef |
1.8.6