mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 07:49:56 +00:00
34 lines
667 B
C++
34 lines
667 B
C++
|
#ifndef CSM_WOLRD_NESTEDTABLEWRAPPER_H
|
||
|
#define CSM_WOLRD_NESTEDTABLEWRAPPER_H
|
||
|
|
||
|
#include <components/esm/loadcont.hpp>
|
||
|
|
||
|
#include <vector>
|
||
|
namespace CSMWorld
|
||
|
{
|
||
|
struct NestedTableWrapperBase
|
||
|
{
|
||
|
virtual ~NestedTableWrapperBase();
|
||
|
|
||
|
NestedTableWrapperBase();
|
||
|
};
|
||
|
|
||
|
template<typename NestedTable>
|
||
|
class NestedTableWrapper : public NestedTableWrapperBase
|
||
|
{
|
||
|
NestedTable mNestedTable;
|
||
|
|
||
|
public:
|
||
|
|
||
|
NestedTableWrapper(const NestedTable& nestedTable) {}
|
||
|
|
||
|
NestedTable getNestedTable() const
|
||
|
{
|
||
|
return mNestedTable;
|
||
|
}
|
||
|
|
||
|
virtual ~NestedTableWrapper() {}
|
||
|
};
|
||
|
}
|
||
|
#endif
|