Sleeping Wombat Common Library  0.50.0
swCommonLibrary
TestAttribs.h
1 #pragma once
2 
5 
7 
8 
9 
11 {
12  char VoxtreeLetters[ 7 ];
14  Size GridSize;
16 
17 // ================================ //
18 //
19  inline VoxtreeHeader()
20  : GridSize( 0 )
21  , FreeIndirectOffset( 0 )
22  {
23  const char* voxtree = "voxtree";
24  memcpy( VoxtreeLetters, voxtree, 7 );
25  }
26 };
27 
28 
29 
30 template<>
31 inline sw::AttributeType GetAttributeTypeID< VoxtreeHeader > ()
32 {
33  return sw::HCF::UserDefinedAttributes + 1;
34 }
35 
Plik zawiera definicje podstawowych typów zmiennych.
Size FreeIndirectOffset
Offset to first free indirect pointer.
Definition: TestAttribs.h:15
Definition: TestAttribs.h:10
Version VoxtreeVersion
Version of this file format.
Definition: TestAttribs.h:13
Standard version structure.
Definition: Version.h:17
char VoxtreeLetters[7]
Letters "voxtree" can be used to check if file contains proper format.
Definition: TestAttribs.h:12