Interface ICPPEnumeration

    • Method Detail

      • isScoped

        boolean isScoped()
        Returns whether this enumeration is scoped. An enumeration can only be scoped in C++.
      • getFixedType

        IType getFixedType()
        Returns the underlying type of the enumeration if it is fixed, or null otherwise. The underlying type can only be fixed in C++.
      • asScope

        ICPPScope asScope()
        Returns the scope containing the enumerators. By the standard the scope is only defined for scoped enums, however it will be returned for any enum. In case the enum has no definition (just opaque declarations) an empty scope will be returned.
      • isNoDiscard

        boolean isNoDiscard()
        Returns weather the enum is marked as 'nodiscard'
        Since:
        7.0