All Known Implementing Classes:
Constants

public interface ComConstants
Represents the ecu.test specific COMConstants API.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Queries the number of constants.
    item(int id)
    Returns a specified constant by index.
    item(String name)
    Returns a specified constant by name.
  • Method Details

    • getCount

      int getCount() throws ETComException
      Queries the number of constants.
      Returns:
      the number of constants
      Throws:
      ETComException - in case of a COM exception
    • item

      ComConstant item(int id) throws ETComException
      Returns a specified constant by index. The index should be larger than 0 and lesser than the number of constants. The count of constants can be determined with getCount().
      Parameters:
      id - the id of the constant
      Returns:
      the specified constant
      Throws:
      ETComException - in case of a COM exception
    • item

      ComConstant item(String name) throws ETComException
      Returns a specified constant by name.
      Parameters:
      name - the name of the constant
      Returns:
      the specified constant
      Throws:
      ETComException - in case of a COM exception