source: OniSplit/Metadata/MetaTypeVisitor.cs@ 1119

Last change on this file since 1119 was 1114, checked in by iritscen, 5 years ago

Adding OniSplit source code (v0.9.99.0). Many thanks to Neo for all his work over the years.

File size: 2.4 KB
Line 
1namespace Oni.Metadata
2{
3 internal abstract class MetaTypeVisitor : IMetaTypeVisitor
4 {
5 public virtual void VisitStruct(MetaStruct type)
6 {
7 }
8
9 public virtual void VisitArray(MetaArray type)
10 {
11 }
12
13 public virtual void VisitVarArray(MetaVarArray type)
14 {
15 }
16
17 public virtual void VisitEnum(MetaEnum type)
18 {
19 type.BaseType.Accept(this);
20 }
21
22 public virtual void VisitByte(MetaByte type)
23 {
24 }
25
26 public virtual void VisitInt16(MetaInt16 type)
27 {
28 }
29
30 public virtual void VisitUInt16(MetaUInt16 type)
31 {
32 }
33
34 public virtual void VisitInt32(MetaInt32 type)
35 {
36 }
37
38 public virtual void VisitUInt32(MetaUInt32 type)
39 {
40 }
41
42 public virtual void VisitInt64(MetaInt64 type)
43 {
44 }
45
46 public virtual void VisitUInt64(MetaUInt64 type)
47 {
48 }
49
50 public virtual void VisitFloat(MetaFloat type)
51 {
52 }
53
54 public virtual void VisitString(MetaString type)
55 {
56 }
57
58 public virtual void VisitColor(MetaColor type)
59 {
60 }
61
62 public virtual void VisitVector2(MetaVector2 type)
63 {
64 VisitStruct(type);
65 }
66
67 public virtual void VisitVector3(MetaVector3 type)
68 {
69 VisitStruct(type);
70 }
71
72 public virtual void VisitQuaternion(MetaQuaternion type)
73 {
74 VisitStruct(type);
75 }
76
77 public virtual void VisitMatrix4x3(MetaMatrix4x3 type)
78 {
79 VisitStruct(type);
80 }
81
82 public virtual void VisitPlane(MetaPlane type)
83 {
84 VisitStruct(type);
85 }
86
87 public virtual void VisitBoundingSphere(MetaBoundingSphere type)
88 {
89 VisitStruct(type);
90 }
91
92 public virtual void VisitBoundingBox(MetaBoundingBox type)
93 {
94 VisitStruct(type);
95 }
96
97 public virtual void VisitPointer(MetaPointer type)
98 {
99 }
100
101 public virtual void VisitRawOffset(MetaRawOffset type)
102 {
103 }
104
105 public virtual void VisitSepOffset(MetaSepOffset type)
106 {
107 }
108
109 public virtual void VisitPadding(MetaPadding type)
110 {
111 }
112 }
113}
Note: See TracBrowser for help on using the repository browser.