diff options
Diffstat (limited to 'ddl/out/LambdaCube.PipelineSchema.cs')
-rw-r--r-- | ddl/out/LambdaCube.PipelineSchema.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ddl/out/LambdaCube.PipelineSchema.cs b/ddl/out/LambdaCube.PipelineSchema.cs index 4336b74..349d5c1 100644 --- a/ddl/out/LambdaCube.PipelineSchema.cs +++ b/ddl/out/LambdaCube.PipelineSchema.cs | |||
@@ -1,5 +1,5 @@ | |||
1 | // generated file, do not modify! | 1 | // generated file, do not modify! |
2 | // 2016-03-27T21:14:12.321500000000Z | 2 | // 2016-03-29T11:30:13.180467000000Z |
3 | 3 | ||
4 | using System; | 4 | using System; |
5 | using System.Linq; | 5 | using System.Linq; |
@@ -9,7 +9,7 @@ using Newtonsoft.Json.Linq; | |||
9 | using LambdaCube.IR; | 9 | using LambdaCube.IR; |
10 | 10 | ||
11 | namespace LambdaCube.PipelineSchema { | 11 | namespace LambdaCube.PipelineSchema { |
12 | class StreamType { | 12 | public class StreamType { |
13 | public enum Tag { | 13 | public enum Tag { |
14 | Attribute_Word, | 14 | Attribute_Word, |
15 | Attribute_V2U, | 15 | Attribute_V2U, |
@@ -38,7 +38,7 @@ namespace LambdaCube.PipelineSchema { | |||
38 | 38 | ||
39 | namespace data { | 39 | namespace data { |
40 | } | 40 | } |
41 | class ObjectArraySchema { | 41 | public class ObjectArraySchema { |
42 | public enum Tag { | 42 | public enum Tag { |
43 | ObjectArraySchema | 43 | ObjectArraySchema |
44 | }; | 44 | }; |
@@ -46,13 +46,13 @@ namespace LambdaCube.PipelineSchema { | |||
46 | }; | 46 | }; |
47 | 47 | ||
48 | namespace data { | 48 | namespace data { |
49 | class ObjectArraySchema : LambdaCube.PipelineSchema.ObjectArraySchema { | 49 | public class ObjectArraySchema : LambdaCube.PipelineSchema.ObjectArraySchema { |
50 | public global::LambdaCube.PipelineSchema.FetchPrimitive primitive; | 50 | public global::LambdaCube.PipelineSchema.FetchPrimitive primitive; |
51 | public Dictionary<string, global::LambdaCube.PipelineSchema.StreamType> attributes; | 51 | public Dictionary<string, global::LambdaCube.PipelineSchema.StreamType> attributes; |
52 | public ObjectArraySchema() { tag = LambdaCube.PipelineSchema.ObjectArraySchema.Tag.ObjectArraySchema; } | 52 | public ObjectArraySchema() { tag = LambdaCube.PipelineSchema.ObjectArraySchema.Tag.ObjectArraySchema; } |
53 | }; | 53 | }; |
54 | } | 54 | } |
55 | class PipelineSchema { | 55 | public class PipelineSchema { |
56 | public enum Tag { | 56 | public enum Tag { |
57 | PipelineSchema | 57 | PipelineSchema |
58 | }; | 58 | }; |
@@ -60,7 +60,7 @@ namespace LambdaCube.PipelineSchema { | |||
60 | }; | 60 | }; |
61 | 61 | ||
62 | namespace data { | 62 | namespace data { |
63 | class PipelineSchema : LambdaCube.PipelineSchema.PipelineSchema { | 63 | public class PipelineSchema : LambdaCube.PipelineSchema.PipelineSchema { |
64 | public Dictionary<string, global::LambdaCube.PipelineSchema.ObjectArraySchema> objectArrays; | 64 | public Dictionary<string, global::LambdaCube.PipelineSchema.ObjectArraySchema> objectArrays; |
65 | public Dictionary<string, global::LambdaCube.PipelineSchema.InputType> uniforms; | 65 | public Dictionary<string, global::LambdaCube.PipelineSchema.InputType> uniforms; |
66 | public PipelineSchema() { tag = LambdaCube.PipelineSchema.PipelineSchema.Tag.PipelineSchema; } | 66 | public PipelineSchema() { tag = LambdaCube.PipelineSchema.PipelineSchema.Tag.PipelineSchema; } |
@@ -68,7 +68,7 @@ namespace LambdaCube.PipelineSchema { | |||
68 | } | 68 | } |
69 | 69 | ||
70 | // JSON deserializer | 70 | // JSON deserializer |
71 | enum Type { | 71 | public enum Type { |
72 | String, | 72 | String, |
73 | Map_String_InputType, | 73 | Map_String_InputType, |
74 | Map_String_ObjectArraySchema, | 74 | Map_String_ObjectArraySchema, |
@@ -80,7 +80,7 @@ namespace LambdaCube.PipelineSchema { | |||
80 | StreamType | 80 | StreamType |
81 | } | 81 | } |
82 | 82 | ||
83 | class Loader { | 83 | public class Loader { |
84 | public static object fromJSON(Type type, JToken obj) { | 84 | public static object fromJSON(Type type, JToken obj) { |
85 | switch (type) { | 85 | switch (type) { |
86 | case Type.String: return (string)obj; | 86 | case Type.String: return (string)obj; |