com.io7m.smfj.processing.api

## Interface SMFMemoryMeshProducerType

- All Superinterfaces:
    SMFParserEventsErrorType, SMFParserEventsType
  All Known Implementing Classes:
    SMFMemoryMeshProducer

      public interface SMFMemoryMeshProducerType
      extends SMFParserEventsType

  The type of parser event listeners that produce values of type `SMFMemoryMeshType` as a result.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `javaslang.collection.List<SMFErrorType>` | `errors()`
    `SMFHeader` | `header()` The parsed header, if no parse errors were encountered.
    `SMFMemoryMesh` | `mesh()` The parsed mesh, if no parse errors were encountered.
    `javaslang.collection.List<SMFWarningType>` | `warnings()`

    - ### Methods inherited from interface com.io7m.smfj.parser.api.SMFParserEventsType

      `onFinish, onStart, onVersionReceived`

    - ### Methods inherited from interface com.io7m.smfj.parser.api.SMFParserEventsErrorType

      `onError, onWarning`

- - ### Method Detail

    - #### errors

          javaslang.collection.List<SMFErrorType> errors()

      Returns:
        The list of errors encountered, if any

    - #### warnings

          javaslang.collection.List<SMFWarningType> warnings()

      Returns:
        The list of warnings encountered, if any

    - #### header

          SMFHeader header()
                    throws IllegalStateException

      The parsed header, if no parse errors were encountered.
      Returns:
        The parsed header
      Throws:
        `IllegalStateException` - If `errors()` is non-empty

    - #### mesh

          SMFMemoryMesh mesh()
                      throws IllegalStateException

      The parsed mesh, if no parse errors were encountered.
      Returns:
        The parsed mesh
      Throws:
        `IllegalStateException` - If `errors()` is non-empty

Copyright © 2017 <code@io7m.com> http://io7m.com