Interface SourceFileItem

  • All Superinterfaces:
    IdentifiableRemote, java.rmi.Remote, TptRemote

    public interface SourceFileItem
    extends IdentifiableRemote
    The setting of a single source file in the C\C++ platform in TPT
    Author:
    Copyright (c) 2014-2024 Piketec GmbH - MIT License (MIT) - All rights reserved
    • Method Detail

      • getPath

        java.lang.String getPath()
                          throws java.rmi.RemoteException
        Returns:
        The path of this source file relative to the TPT project
        Throws:
        java.rmi.RemoteException - remote communication problem
      • setPath

        void setPath​(java.lang.String path)
              throws java.rmi.RemoteException
        Parameters:
        path - The path of this source file relative to the TPT project
        Throws:
        java.rmi.RemoteException - remote communication problem
      • isAnalyze

        boolean isAnalyze()
                   throws java.rmi.RemoteException
        Returns:
        Will this source be analyzed when importing the interface
        Throws:
        java.rmi.RemoteException - remote communication problem
      • setAnalyze

        void setAnalyze​(boolean analyze)
                 throws java.rmi.RemoteException
        Parameters:
        analyze - Set if this source will be analyzed when importing the interface
        Throws:
        java.rmi.RemoteException - remote communication problem
      • getExtraOptions

        java.lang.String getExtraOptions()
                                  throws java.rmi.RemoteException
        Returns:
        The extra compiler options for parsing or compiling this file.
        Throws:
        java.rmi.RemoteException - remote communication problem
      • setExtraOptions

        void setExtraOptions​(java.lang.String extraOptions)
                      throws java.rmi.RemoteException
        Parameters:
        extraOptions - Set the extra compiler options for parsing or compiling this file.
        Throws:
        java.rmi.RemoteException - remote communication problem
      • getAdditionalHeaderFiles

        RemoteList<java.lang.String> getAdditionalHeaderFiles()
                                                       throws java.rmi.RemoteException
        Get the additional header files used when this file is compiled or parsed
        Returns:
        The additional header files for this file
        Throws:
        java.rmi.RemoteException - remote communication problem
      • addAdditionalHeaderFile

        void addAdditionalHeaderFile​(java.lang.String path)
                              throws java.rmi.RemoteException
        Add a new addition header file that is used when this file is compiled or parsed
        Parameters:
        path - The path to the header file
        Throws:
        java.rmi.RemoteException - remote communication problem