au.com.swz.jatlom
Class TypeKind

java.lang.Object
  extended by au.com.swz.jatlom.TypeKind

public class TypeKind
extends java.lang.Object

An enumeration for the different kinds of types within a type library.

Author:
Mark Richter

Field Summary
static TypeKind TKIND_ALIAS
          A type that is an alias for another type.
static TypeKind TKIND_COCLASS
          A set of implemented component object interfaces.
static TypeKind TKIND_DISPATCH
          A set of methods and properties that are accessible through IDispatch::Invoke.
static TypeKind TKIND_ENUM
          A set of enumerators.
static TypeKind TKIND_INTERFACE
          A type that has virtual and pure functions.
static TypeKind TKIND_MODULE
          A module that can only have static functions and data (for example, a DLL).
static TypeKind TKIND_RECORD
          A structure with no methods.
static TypeKind TKIND_UNION
          A union, all of whose members have an offset of zero.
static TypeKind UNKNOWN
          An unknown or unsupported type
 
Method Summary
 boolean equals(java.lang.Object object)
          Determines if this TypeKind equals the specified Object.
 boolean equals(TypeKind typeKind)
          Determines if this TypeKind equals the specified TypeKind.
 int hashCode()
          Returns a hash code for this type kind for use with HashMaps.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TKIND_ENUM

public static final TypeKind TKIND_ENUM
A set of enumerators.


TKIND_RECORD

public static final TypeKind TKIND_RECORD
A structure with no methods.


TKIND_MODULE

public static final TypeKind TKIND_MODULE
A module that can only have static functions and data (for example, a DLL).


TKIND_INTERFACE

public static final TypeKind TKIND_INTERFACE
A type that has virtual and pure functions.


TKIND_DISPATCH

public static final TypeKind TKIND_DISPATCH
A set of methods and properties that are accessible through IDispatch::Invoke. By default, dual interfaces return TKIND_DISPATCH.


TKIND_COCLASS

public static final TypeKind TKIND_COCLASS
A set of implemented component object interfaces.


TKIND_ALIAS

public static final TypeKind TKIND_ALIAS
A type that is an alias for another type.


TKIND_UNION

public static final TypeKind TKIND_UNION
A union, all of whose members have an offset of zero.


UNKNOWN

public static final TypeKind UNKNOWN
An unknown or unsupported type

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object object)
Determines if this TypeKind equals the specified Object. If the object is not an instance of TypeKind then this method returns false. Otherwise if the kind is the same then this method returns true.

Overrides:
equals in class java.lang.Object
Returns:
true if this TypeKind equals the specified object.

equals

public boolean equals(TypeKind typeKind)
Determines if this TypeKind equals the specified TypeKind.

Returns:
true if this TypeKind equals the specified TypeKind.

hashCode

public int hashCode()
Returns a hash code for this type kind for use with HashMaps.

Overrides:
hashCode in class java.lang.Object
Returns:
a hash code for this type kind.