+/** @file\r
+ToolChainAttribute class\r
+\r
+This file is to define enumeration value for tool chain attribute names.\r
+\r
+Copyright (c) 2006, Intel Corporation\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution. The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+**/\r
+\r
+package org.tianocore.build.toolchain;\r
+\r
+/**\r
+\r
+ ToolChainAttribute is used to define the enumeration value for the attributes\r
+ used in tool chain definition file. \r
+\r
+ **/\r
+public class ToolChainAttribute {\r
+ private static int nextValue = 0;\r
+\r
+ ///\r
+ /// "NAME", "PATH", "DPATH", "SPATH", "EXT", "FAMILY", "FLAGS"\r
+ /// \r
+ public final static ToolChainAttribute NAME = new ToolChainAttribute("NAME");\r
+ public final static ToolChainAttribute PATH = new ToolChainAttribute("PATH");\r
+ public final static ToolChainAttribute DPATH = new ToolChainAttribute("DPATH");\r
+ public final static ToolChainAttribute SPATH = new ToolChainAttribute("SPATH");\r
+ public final static ToolChainAttribute EXT = new ToolChainAttribute("EXT");\r
+ public final static ToolChainAttribute FAMILY = new ToolChainAttribute("FAMILY");\r
+ public final static ToolChainAttribute FLAGS = new ToolChainAttribute("FLAGS");\r
+\r
+ private final String name;\r
+ public final int value = nextValue++;\r
+\r
+ /**\r
+ * Default constructor\r
+ */\r
+ private ToolChainAttribute(String name) {\r
+ this.name = name;\r
+ }\r
+\r
+ public String toString() {\r
+ return name;\r
+ }\r
+}\r
+\r