Add GAPC and GEMT

This commit is contained in:
Phillip Stephens 2016-02-11 12:32:42 -08:00
parent 5b0dfde1d8
commit aa1bceb605
3 changed files with 32 additions and 0 deletions

View File

@ -207,6 +207,18 @@ bool CIEGTCP::GetValue(int frame, int& valOut) const
return false; return false;
} }
bool CIEGAPC::GetValue(int frame, int &valOut) const
{
/* TODO: Do */
return false;
}
bool CIEGEMT::GetValue(int frame, int &valOut) const
{
/* TODO: Do */
return false;
}
bool CIEModulo::GetValue(int frame, int& valOut) const bool CIEModulo::GetValue(int frame, int& valOut) const
{ {
int a, b; int a, b;

View File

@ -158,6 +158,18 @@ public:
bool GetValue(int frame, int& valOut) const; bool GetValue(int frame, int& valOut) const;
}; };
class CIEGAPC : public CIntElement
{
public:
bool GetValue(int frame, int &valOut) const;
};
class CIEGEMT : public CIntElement
{
public:
bool GetValue(int frame, int &valOut) const;
};
class CIEModulo : public CIntElement class CIEModulo : public CIntElement
{ {
std::unique_ptr<CIntElement> x4_a; std::unique_ptr<CIntElement> x4_a;

View File

@ -739,10 +739,18 @@ CIntElement* CParticleDataFactory::GetIntElement(CInputStream& in)
CRealElement* a = GetRealElement(in); CRealElement* a = GetRealElement(in);
return new CIETimeScale(a); return new CIETimeScale(a);
} }
case SBIG('GAPC'):
{
return new CIEGAPC;
}
case SBIG('GTCP'): case SBIG('GTCP'):
{ {
return new CIEGTCP; return new CIEGTCP;
} }
case SBIG('GEMT'):
{
return new GIEGEMT;
}
case SBIG('MODU'): case SBIG('MODU'):
{ {
CIntElement* a = GetIntElement(in); CIntElement* a = GetIntElement(in);