mirror of
https://github.com/PrimeDecomp/prime.git
synced 2026-07-12 18:18:56 -07:00
26 lines
602 B
C++
26 lines
602 B
C++
#ifndef _CSEGSTATEMENTSET
|
|
#define _CSEGSTATEMENTSET
|
|
|
|
#include "Kyoto/Animation/CSegId.hpp"
|
|
#include "Kyoto/Animation/CSegStatement.hpp"
|
|
|
|
class CSegStatementSet {
|
|
public:
|
|
CSegStatementSet(void* ptr);
|
|
inline virtual ~CSegStatementSet() {}
|
|
|
|
CSegStatement& operator[](const CSegId& id) { return mSegData[id.val()]; }
|
|
const CSegStatement& operator[](const CSegId& id) const { return mSegData[id.val()]; }
|
|
|
|
protected:
|
|
CSegStatement* mSegData;
|
|
};
|
|
|
|
class CStackSegStatementSet : public CSegStatementSet {
|
|
public:
|
|
CStackSegStatementSet();
|
|
~CStackSegStatementSet();
|
|
};
|
|
|
|
#endif // _CSEGSTATEMENTSET
|