#include using namespace Athena; typedef io::DNA BigDNA; struct TESTSubFile : public BigDNA { DECL_DNA Value sub1; Value sub2; }; struct TESTSubClassFile : public TESTSubFile { DECL_DNA Value sub3; Value sub4; }; struct TESTSubSubClassFile : public TESTSubClassFile { DECL_DNA Value sub5; Value sub6; }; struct TESTFile : public BigDNA { DECL_DNA Value varBool; Value var32; Value var16; Value vec3; Value vec4; struct TESTNestedSubFile : public BigDNA { DECL_DNA Value nestSub1; Value nestSub2; } nestedSubFile; TESTSubFile subFile; Align<4> align; struct TESTExplicitSubFile : public BigDNA { DECL_EXPLICIT_DNA Value explSub1; Value explSub2; } explSubFile; Value arrCount[2]; Vector array; Seek<21, Current> seek; Value arrCount2; Vector array2; Value bufSz; Buffer buf; String<32> str; WString<64> wstr; UTF8<> utf8str[5]; };