Interface IMethodDeclaration

    • Method Detail

      • isConstructor

        boolean isConstructor()
                       throws CModelException
        Returns whether this method is a constructor.
        Throws:
        CModelException - if this element does not exist or if an exception occurs while accessing its corresponding resource.
      • isDestructor

        boolean isDestructor()
                      throws CModelException
        Returns whether this method is a destructor.
        Throws:
        CModelException - if this element does not exist or if an exception occurs while accessing its corresponding resource.
      • isOperator

        boolean isOperator()
                    throws CModelException
        Returns whether this method is an operator method.
        Throws:
        CModelException - if this element does not exist or if an exception occurs while accessing its corresponding resource.
      • isPureVirtual

        boolean isPureVirtual()
                       throws CModelException
        Returns whether this method is declared pure virtual.

        For example, a source method declared as virtual void m() = 0;.

        Throws:
        CModelException - if this element does not exist or if an exception occurs while accessing its corresponding resource.
      • isVirtual

        boolean isVirtual()
                   throws CModelException
        Returns whether this method is declared virtual.
        Throws:
        CModelException - if this element does not exist or if an exception occurs while accessing its corresponding resource.