1 #ifndef GAME_MWWORLD_LIVECELLREF_H
2 #define GAME_MWWORLD_LIVECELLREF_H
106 template <
typename X>
112 template <
typename X>
118 template <
typename X>
121 return checkStateImp (state);
Used to create pointers to hold any type of LiveCellRef<> object.
Definition: livecellref.hpp:22
Encapsulated variant of ESM::CellRef with change tracking.
Definition: cellref.hpp:15
bool operator==(const LiveCellRef< X > &ref, int pRefnum)
Definition: cellstore.cpp:207
virtual void load(const ESM::ObjectState &state)
Definition: livecellref.hpp:107
virtual void save(ESM::ObjectState &state) const
Save LiveCellRef state into state.
Definition: livecellref.hpp:113
LiveCellRef(const X *b=NULL)
Definition: livecellref.hpp:83
MWWorld::CellRef mRef
Definition: livecellref.hpp:29
Definition: livecellref.hpp:77
const Class * mClass
Definition: livecellref.hpp:24
Definition: refdata.hpp:29
LiveCellRef(const ESM::CellRef &cref, const X *b=NULL)
Definition: livecellref.hpp:79
RefData mData
Definition: livecellref.hpp:32
Base class for referenceable esm records.
Definition: class.hpp:51
Definition: cellref.hpp:16
void saveImp(ESM::ObjectState &state) const
Save LiveCellRef state into state.
Definition: livecellref.cpp:57
virtual void save(ESM::ObjectState &state) const =0
Save LiveCellRef state into state.
<
Definition: objectstate.hpp:19
static bool checkStateImp(const ESM::ObjectState &state)
Definition: livecellref.cpp:68
LiveCellRefBase(const std::string &type, const ESM::CellRef &cref=ESM::CellRef())
Definition: livecellref.cpp:13
const X * mBase
Definition: livecellref.hpp:88
void loadImp(const ESM::ObjectState &state)
Definition: livecellref.cpp:18
Definition: cellref.hpp:36
virtual ~LiveCellRefBase()
Definition: livecellref.hpp:36
static bool checkState(const ESM::ObjectState &state)
Definition: livecellref.hpp:119
const ESM::RefNum & getRefNum() const
Definition: cellref.cpp:8
virtual void load(const ESM::ObjectState &state)=0
const char * name
Definition: crashcatcher.cpp:67