Interface ITypeLibrary


@Ser public interface ITypeLibrary
Definition of a type library. Type libraries are managed by a TypeLibraryService.
  • Method Details

    • getPrimaryProcessorType

      ProcessorType getPrimaryProcessorType()
      The intended processor the type library is valid for.
      Returns:
    • getProcessorTypes

      List<ProcessorType> getProcessorTypes()
      All processors the type library is valid for.
      Returns:
    • getPrimarySubsystemType

      SubsystemType getPrimarySubsystemType()
      Get the primary targeted subsystem. Indicative only, may be null.
      Returns:
      potentially null
    • getSubsystemTypes

      List<SubsystemType> getSubsystemTypes()
      Get a list of targeted subsystems. Indicative only, may be empty.
      Returns:
      never null, potentially empty
    • getCompilerType

      CompilerType getCompilerType()
      Get the optional compiler type this typelib was generated for.
      Returns:
    • getGroupId

      int getGroupId()
      The type library group id, 0 if none. Refer to TypeLibraryService for a list of constants.
      Returns:
      the optional group ID (0 if none)
    • getPriorityOrder

      double getPriorityOrder()
      The priority is used to discriminate two type libraries belonging to the same group. A lower number means the typelib will be loaded and consulted before another typelib (from the same group) with a higher priority order.
      Returns:
      the priority order (lower number = higher priority)
    • getUuid

      int getUuid()
      Returns:
    • getVersion

      int getVersion()
      Get the incremental version number of this type library.
      Returns:
      the optional version number (0 if none)
    • getCreationTimestamp

      long getCreationTimestamp()
      Get the creation timestamp of this type library.
      Returns:
      the create time Unix epoch (number of seconds since Jan 1, 1970), 0 if none
    • getName

      String getName()
      Get the type library name.
      Returns:
      the optional name (not necessarily unique)
    • getDescription

      String getDescription()
      Get the type library description string.
      Returns:
      the optional description
    • getAuthor

      String getAuthor()
      Get the author name.
      Returns:
      the optional author name
    • getTypes

      Collection<INativeType> getTypes()
      Get the list of types contained in this library.
      Returns:
      the list of types
    • getTypes

      Get a list of types contained in this library.
      Parameters:
      filter - optional
      Returns:
      the list of types
    • getRoutines

      Get the list of routine references contained in this library.
      Returns:
      the routines declared in the type library
    • getConstantManager

      CodeConstantManager getConstantManager()
      Get the constants managed by this typelib.
      Returns: