Interface IBasicType

  • All Superinterfaces:
    Cloneable, IType
    All Known Subinterfaces:
    ICBasicType, ICPPBasicType, IGPPBasicType

    public interface IBasicType
    extends IType
    Interface for basic types.
    Restriction:
    This interface is not intended to be implemented by clients.
    Restriction:
    This interface is not intended to be extended by clients.
    • Field Detail

      • t_unspecified

        @Deprecated
        static final int t_unspecified
        Deprecated.
        Use the type-safe version getKind(), instead.
        See Also:
        Constant Field Values
        Restriction:
        This field is not intended to be referenced by clients.
      • t_void

        @Deprecated
        static final int t_void
        Deprecated.
        Use the type-safe version getKind(), instead.
        See Also:
        Constant Field Values
        Restriction:
        This field is not intended to be referenced by clients.
      • t_char

        @Deprecated
        static final int t_char
        Deprecated.
        Use the type-safe version getKind(), instead.
        See Also:
        Constant Field Values
        Restriction:
        This field is not intended to be referenced by clients.
      • t_int

        @Deprecated
        static final int t_int
        Deprecated.
        Use the type-safe version getKind(), instead.
        See Also:
        Constant Field Values
        Restriction:
        This field is not intended to be referenced by clients.
      • t_float

        @Deprecated
        static final int t_float
        Deprecated.
        Use the type-safe version getKind(), instead.
        See Also:
        Constant Field Values
        Restriction:
        This field is not intended to be referenced by clients.
      • t_double

        @Deprecated
        static final int t_double
        Deprecated.
        Use the type-safe version getKind(), instead.
        See Also:
        Constant Field Values
        Restriction:
        This field is not intended to be referenced by clients.
    • Method Detail

      • getKind

        IBasicType.Kind getKind()
        This returns the kind of basic type you are looking at. The type is then refined by qualifiers for signed/unsigned and short/long/long long.
        Since:
        5.2
      • getModifiers

        int getModifiers()
        This returns the combination of modifier bits for this type.
        Since:
        5.2
      • isSigned

        boolean isSigned()
      • isUnsigned

        boolean isUnsigned()
      • isShort

        boolean isShort()
      • isLong

        boolean isLong()
      • isLongLong

        boolean isLongLong()
        Since:
        5.2
      • isComplex

        boolean isComplex()
        Is complex number? e.g. _Complex t;
        Returns:
        true if it is a complex number, false otherwise
        Since:
        5.2
      • isImaginary

        boolean isImaginary()
        Is imaginary number? e.g. _Imaginr
        Returns:
        true if it is an imaginary number, false otherwise
        Since:
        5.2
      • getType

        @Deprecated
        int getType()
             throws DOMException
        Deprecated.
        Use the type-safe version getKind(), instead.
        Throws:
        DOMException
        Restriction:
        This method is not intended to be referenced by clients.