#include using namespace Athena; typedef io::DNAYaml BigDNA; struct TESTSubFile : public BigDNA { DECL_DNA DECL_YAML Value sub1; Value sub2; }; struct TESTSubClassFile : public TESTSubFile { DECL_DNA DECL_YAML Value sub3; Value sub4; }; struct TESTSubSubClassFile : public TESTSubClassFile { DECL_DNA DECL_YAML Value sub5; Value sub6; }; struct TESTFile : public BigDNA { DECL_DNA DECL_YAML Value varBool; Value var32; Value var16; Value vec3; Value vec4; struct TESTNestedSubFile : public BigDNA { DECL_DNA DECL_YAML Value nestSub1; Value nestSub2; } nestedSubFile; TESTSubFile subFile; Align<4> align; struct TESTExplicitSubFile : public BigDNA { DECL_EXPLICIT_DNA DECL_YAML 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; WStringAsString<> utf8str[5]; };