2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-01 02:53:29 +00:00
metaforce/Runtime/Character/TSegIdMap.hpp
2016-04-13 13:07:18 -10:00

21 lines
308 B
C++

#ifndef __URDE_TSEGIDMAP_HPP__
#define __URDE_TSEGIDMAP_HPP__
#include <map>
#include "CSegId.hpp"
namespace urde
{
template <class T>
class TSegIdMap
{
std::map<CSegId, T> x0_map;
public:
const T& AccessElement(const CSegId& id) const {return x0_map[id];}
};
}
#endif // __URDE_TSEGIDMAP_HPP__