2026-01-11 21:25:39 -08:00
|
|
|
#ifndef _CSEGSTATEMENTSET
|
|
|
|
|
#define _CSEGSTATEMENTSET
|
|
|
|
|
|
2026-02-28 00:58:47 -07:00
|
|
|
#include "Kyoto/Animation/CSegId.hpp"
|
2026-01-11 21:25:39 -08:00
|
|
|
#include "Kyoto/Animation/CSegStatement.hpp"
|
|
|
|
|
|
|
|
|
|
class CSegStatementSet {
|
|
|
|
|
public:
|
|
|
|
|
CSegStatementSet(void* ptr);
|
|
|
|
|
inline virtual ~CSegStatementSet() {}
|
|
|
|
|
|
2026-02-28 00:58:47 -07:00
|
|
|
CSegStatement& operator[](const CSegId& id) { return mSegData[id.val()]; }
|
|
|
|
|
const CSegStatement& operator[](const CSegId& id) const { return mSegData[id.val()]; }
|
|
|
|
|
|
2026-01-11 21:25:39 -08:00
|
|
|
protected:
|
|
|
|
|
CSegStatement* mSegData;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class CStackSegStatementSet : public CSegStatementSet {
|
|
|
|
|
public:
|
|
|
|
|
CStackSegStatementSet();
|
|
|
|
|
~CStackSegStatementSet();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // _CSEGSTATEMENTSET
|