OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
manualref.hpp
Go to the documentation of this file.
1 #ifndef GAME_MWWORLD_MANUALREF_H
2 #define GAME_MWWORLD_MANUALREF_H
3 
4 #include <boost/any.hpp>
5 
6 #include "ptr.hpp"
7 
8 namespace MWWorld
9 {
11  class ManualRef
12  {
13  boost::any mRef;
15 
16  ManualRef (const ManualRef&);
18 
19  public:
20  ManualRef(const MWWorld::ESMStore& store, const std::string& name, const int count = 1);
21 
22  const Ptr& getPtr() const
23  {
24  return mPtr;
25  }
26  };
27 }
28 
29 #endif
boost::any mRef
Definition: manualref.hpp:13
Ptr mPtr
Definition: manualref.hpp:14
const Ptr & getPtr() const
Definition: manualref.hpp:22
Definition: esmstore.hpp:17
ManualRef & operator=(const ManualRef &)
Manually constructed live cell ref.
Definition: manualref.hpp:11
ManualRef(const ManualRef &)
Pointer to a LiveCellRef.
Definition: ptr.hpp:19
const char * name
Definition: crashcatcher.cpp:59