org.netbeans.modules.cnd.api.model/1 1.3 1

org.netbeans.modules.cnd.api.model
Enum CsmDeclaration.Kind

java.lang.Object
  
extended by java.lang.Enum<CsmDeclaration.Kind> extended by org.netbeans.modules.cnd.api.model.CsmDeclaration.Kind
All Implemented Interfaces:
Serializable, Comparable<CsmDeclaration.Kind>
Enclosing interface:
CsmDeclaration<T>

public static enum CsmDeclaration.Kind
extends Enum<CsmDeclaration.Kind>


Enum Constant Summary
ASM
           
BUILT_IN
           
CLASS
           
CLASS_FORWARD_DECLARATION
           
CLASS_FRIEND_DECLARATION
           
ENUM
           
ENUMERATOR
           
FUNCTION
           
FUNCTION_DEFINITION
           
MACRO
           
NAMESPACE_ALIAS
           
NAMESPACE_DEFINITION
           
STRUCT
           
TEMPLATE_DECLARATION
           
TEMPLATE_SPECIALIZATION
           
TYPEDEF
           
UNION
           
USING_DECLARATION
           
USING_DIRECTIVE
           
VARIABLE
           
VARIABLE_DEFINITION
           
 
Method Summary
static CsmDeclaration.Kind valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CsmDeclaration.Kind[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BUILT_IN

public static final CsmDeclaration.Kind BUILT_IN

CLASS

public static final CsmDeclaration.Kind CLASS

UNION

public static final CsmDeclaration.Kind UNION

STRUCT

public static final CsmDeclaration.Kind STRUCT

ENUM

public static final CsmDeclaration.Kind ENUM

ENUMERATOR

public static final CsmDeclaration.Kind ENUMERATOR

MACRO

public static final CsmDeclaration.Kind MACRO

VARIABLE

public static final CsmDeclaration.Kind VARIABLE

VARIABLE_DEFINITION

public static final CsmDeclaration.Kind VARIABLE_DEFINITION

FUNCTION

public static final CsmDeclaration.Kind FUNCTION

FUNCTION_DEFINITION

public static final CsmDeclaration.Kind FUNCTION_DEFINITION

TEMPLATE_SPECIALIZATION

public static final CsmDeclaration.Kind TEMPLATE_SPECIALIZATION

TYPEDEF

public static final CsmDeclaration.Kind TYPEDEF

ASM

public static final CsmDeclaration.Kind ASM

TEMPLATE_DECLARATION

public static final CsmDeclaration.Kind TEMPLATE_DECLARATION

NAMESPACE_DEFINITION

public static final CsmDeclaration.Kind NAMESPACE_DEFINITION

NAMESPACE_ALIAS

public static final CsmDeclaration.Kind NAMESPACE_ALIAS

USING_DIRECTIVE

public static final CsmDeclaration.Kind USING_DIRECTIVE

USING_DECLARATION

public static final CsmDeclaration.Kind USING_DECLARATION

CLASS_FORWARD_DECLARATION

public static final CsmDeclaration.Kind CLASS_FORWARD_DECLARATION

CLASS_FRIEND_DECLARATION

public static final CsmDeclaration.Kind CLASS_FRIEND_DECLARATION
Method Detail

values

public static final CsmDeclaration.Kind[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(CsmDeclaration.Kind c : CsmDeclaration.Kind.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static CsmDeclaration.Kind valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name

org.netbeans.modules.cnd.api.model/1 1.3 1

Built on November 23 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.

Project Features

About this Project

CND was started in November 2009, is owned by DimaZh, and has 204 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close