1 // /home/jeremie/TaoParser/NGenerator/Option.cs
2 // Writtent by jeremie at 17:56 09/06/2007
4 // This file is licensed under the LGPL licence as described in the COPYING file
11 public static class Options
13 static bool isSealed
= false;
14 static InputType inputType
= InputType
.SingleFile
;
15 static UnsafeLevel unsafeLevel
= UnsafeLevel
.Safe
;
16 static StreamWriter output
= null;
17 static FileInfo inputFile
;
19 public static void Seal()
23 output
= new StreamWriter("output.cs");
26 public static InputType Input
{
37 public static UnsafeLevel Unsafe
{
48 public static StreamWriter Output
{
59 public static FileInfo InputFile
{
71 public enum InputType
{
76 public enum UnsafeLevel
{
81 // eg use pointer internally but give a safe api with IntPtr (take care of the marshalling and all)