Package 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 | Description
    --- | --- | ---
    `java.util.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.
    `java.util.List<SMFWarningType>` | `warnings()` |

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

      `onError, onWarning`

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

      `onFinish, onStart, onVersionReceived`

- - ### Method Detail

    - #### errors

          java.util.List<SMFErrorType> errors()

      Returns:
        The list of errors encountered, if any

    - #### warnings

          java.util.List<SMFWarningType> warnings()

      Returns:
        The list of warnings encountered, if any

    - #### header

          SMFHeader header()
                    throws java.lang.IllegalStateException

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

    - #### mesh

          SMFMemoryMesh mesh()
                      throws java.lang.IllegalStateException

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