Interface ComConstants
- All Known Implementing Classes:
Constants
public interface ComConstants
Represents the ecu.test specific COMConstants API.
-
Method Details
-
getCount
Queries the number of constants.- Returns:
- the number of constants
- Throws:
ETComException
- in case of a COM exception
-
item
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 withgetCount()
.- Parameters:
id
- the id of the constant- Returns:
- the specified constant
- Throws:
ETComException
- in case of a COM exception
-
item
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
-