GAF Library
Generic Animation Format
 All Classes Functions Pages
TagDefines.h
1 #pragma once
2 
3 struct Tags
4 {
5  enum Enum
6  {
7  TagEnd = 0,
8  TagDefineAtlas = 1,
14  TagDefineStage = 9,
15  };
16 
17  static std::string toString(Enum e)
18  {
19  switch (e)
20  {
21  case Tags::TagEnd:
22  return "TagEnd";
23  break;
24  case Tags::TagDefineAtlas:
25  return "TagDefineAtlas";
26  break;
27  case Tags::TagDefineAnimationMasks:
28  return "TagDefineAnimationMasks";
29  break;
30  case Tags::TagDefineAnimationObjects:
31  return "TagDefineAnimationObjects";
32  break;
33  case Tags::TagDefineAnimationFrames:
34  return "TagDefineAnimationFrames";
35  break;
36  case Tags::TagDefineNamedParts:
37  return "TagDefineNamedParts";
38  break;
39  case Tags::TagDefineSequences:
40  return "TagDefineSequences";
41  break;
42  case Tags::TagDefineStage:
43  return "TagDefineStage";
44  break;
45  default:
46  return "";
47  assert(false);
48  }
49  }
50 };
Definition: TagDefineNamedParts.h:5
Definition: TagDefineAnimationObjects.h:5
Definition: TagDefines.h:3
Definition: TagDefineAnimationMasks.h:5
Definition: TagDefineAtlas.h:5
Definition: TagDefineAnimationFrames.h:7
Definition: TagDefineStage.h:5
Definition: TagDefineSequences.h:5