Interface ILcyModelDecoderContainer

All Known Subinterfaces:
ILcyLucyEnv
All Known Implementing Classes:
TLcyCompositeModelDecoder

@Deprecated public interface ILcyModelDecoderContainer
Deprecated.
Container for ILcdModelDecoders. Offers basic functionality to add, remove and retrieve the model decoders in this collection.
  • Method Details

    • addModelDecoder

      void addModelDecoder(ILcdModelDecoder aModelDecoder, ALcyFileTypeDescriptor aFileTypeDescriptor)
      Deprecated.
      Adds the given model decoder to this container.
      Parameters:
      aModelDecoder - The model decoder to add
      aFileTypeDescriptor - The file type descriptor that provides more information on the file types this decoder can handle, or null if this decoder does not work with files.
    • removeModelDecoder

      void removeModelDecoder(ILcdModelDecoder aModelDecoder)
      Deprecated.
      Removes the given model decoder from this container. Does nothing if the given decoder was not in this container. The corresponding ALcyFileTypeDescriptor is also removed.
      Parameters:
      aModelDecoder - The model decoder to remove.
    • getModelDecoderCount

      int getModelDecoderCount()
      Deprecated.
      Returns the number of model decoders currently in this container.
      Returns:
      the number of model decoders currently in this container.
    • getModelDecoder

      ILcdModelDecoder getModelDecoder(int aIndex)
      Deprecated.
      Returns the model decoder at the given index.
      Parameters:
      aIndex - The index of the asked model decoder. Make sure 0 <= aIndex < getModelDecoderCount()
      Returns:
      The model decoder at the given index.
    • getDecoderFileTypeDescriptor

      ALcyFileTypeDescriptor getDecoderFileTypeDescriptor(int aIndex)
      Deprecated.
      Retrieves the file type descriptor at the given index, or null if the decoder was added with null as a descriptor.
      Parameters:
      aIndex - The index to retrieve the file type descriptor for.
      Returns:
      the file type descriptor at the given index.