com.jogamp.gluegen.pcpp

## Class PCPP

- java.lang.Object
- - com.jogamp.gluegen.pcpp.PCPP

-     public class PCPP
      extends Object

  A minimal pseudo-C-preprocessor designed in particular to preserve #define statements defining constants so they can be observed by a glue code generator.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PCPP(List<String> includePaths, boolean debug, boolean copyOutput2Stderr)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addDefine(String name, String value)`
    `String` | `findFile(String filename)`
    `static void` | `main(String[] args)`
    `OutputStream` | `out()`
    `void` | `run(Reader reader, String filename)`
    `void` | `setOut(OutputStream out)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PCPP

          public PCPP(List<String> includePaths,
              boolean debug,
              boolean copyOutput2Stderr)

  - ### Method Detail

    - #### run

          public void run(Reader reader,
                 String filename)
                   throws IOException

      Throws:
        `IOException`

    - #### findFile

          public String findFile(String filename)

    - #### out

          public OutputStream out()

    - #### setOut

          public void setOut(OutputStream out)

    - #### addDefine

          public void addDefine(String name,
                       String value)

    - #### main

          public static void main(String[] args)
                           throws IOException

      Throws:
        `IOException`