Interface ICompositeType

    • Method Detail

      • isAnonymous

        boolean isAnonymous()
        Returns whether the type is anonymous or not. A type for which objects or pointers are declared is not considered an anonymous type.
         struct Outer {
            struct {int a;}; // anonymous
            struct {int b;} c; // not anonymous
         }
         
        Since:
        5.1
      • getFields

        IField[] getFields()
        Returns the fields for this type.
        Returns:
        List of IField
      • findField

        IField findField​(String name)
        Returns the field that matches name, or null if there is no such field.
        Parameters:
        name -
      • getCompositeScope

        IScope getCompositeScope()
        Returns the IScope object that is associated with this composite type.