#include using namespace athena; typedef io::DNAYaml BigDNA; struct TESTSubFile : public BigDNA { DECL_YAML enum ETest : atUint8 { ZERO, ONE, TWO, THREE }; Value varE; Value sub1; Value sub2; }; struct TESTSubClassFile : public TESTSubFile { DECL_YAML Value sub3; Value sub4; }; struct TESTSubSubClassFile : public TESTSubClassFile { DECL_YAML Value sub5; Value sub6; }; struct TESTFile : public BigDNA { DECL_YAML Value varBool; Value var32; Value var16; Value vec3; Value vec4; struct TESTNestedSubFile : public BigDNA { DECL_YAML Value nestSub1; Value nestSub2; } nestedSubFile; using TESTSubFileUsing = TESTSubFile; TESTSubFileUsing subFile; Align<4> align; struct TESTExplicitSubFile : public BigDNA { 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]; };