Class GPlot

java.lang.Object
com.sun.jna.Structure
net.sourceforge.lept4j.GPlot
Direct Known Subclasses:
GPlot.ByReference, GPlot.ByValue

public class GPlot extends com.sun.jna.Structure
Data structure for generating gnuplot files
native declaration : gplot.h:50
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java or JNA.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class com.sun.jna.Structure

    com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    command file contents
    C type : Sarray*
    com.sun.jna.Pointer
    command file name
    C type : char*
    data file names
    C type : Sarray*
    int
    current number of plots
    C type : l_int32
    int
    GPLOT_OUTPUT values
    C type : l_int32
    com.sun.jna.Pointer
    output file name
    C type : char*
    plot data (1 string/file)
    C type : Sarray*
    label for each individual plot
    C type : Sarray*
    plot style for individual plots
    C type : Numa*
    com.sun.jna.Pointer
    for cmd, data, output
    C type : char*
    int
    GPLOT_SCALING values
    C type : l_int32
    com.sun.jna.Pointer
    optional
    C type : char*
    com.sun.jna.Pointer
    optional x axis label
    C type : char*
    com.sun.jna.Pointer
    optional y axis label
    C type : char*

    Fields inherited from class com.sun.jna.Structure

    ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    GPlot​(com.sun.jna.Pointer peer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected List<String>
    Gets this Structure's field names in their proper order.

    Methods inherited from class com.sun.jna.Structure

    allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • rootname

      public com.sun.jna.Pointer rootname
      for cmd, data, output
      C type : char*
    • cmdname

      public com.sun.jna.Pointer cmdname
      command file name
      C type : char*
    • cmddata

      public Sarray.ByReference cmddata
      command file contents
      C type : Sarray*
    • datanames

      public Sarray.ByReference datanames
      data file names
      C type : Sarray*
    • plotdata

      public Sarray.ByReference plotdata
      plot data (1 string/file)
      C type : Sarray*
    • plotlabels

      public Sarray.ByReference plotlabels
      label for each individual plot
      C type : Sarray*
    • plotstyles

      public Numa.ByReference plotstyles
      plot style for individual plots
      C type : Numa*
    • nplots

      public int nplots
      current number of plots
      C type : l_int32
    • outname

      public com.sun.jna.Pointer outname
      output file name
      C type : char*
    • outformat

      public int outformat
      GPLOT_OUTPUT values
      C type : l_int32
    • scaling

      public int scaling
      GPLOT_SCALING values
      C type : l_int32
    • title

      public com.sun.jna.Pointer title
      optional
      C type : char*
    • xlabel

      public com.sun.jna.Pointer xlabel
      optional x axis label
      C type : char*
    • ylabel

      public com.sun.jna.Pointer ylabel
      optional y axis label
      C type : char*
  • Constructor Details

    • GPlot

      public GPlot()
    • GPlot

      public GPlot(com.sun.jna.Pointer peer)
  • Method Details

    • getFieldOrder

      protected List<String> getFieldOrder()
      Gets this Structure's field names in their proper order.
      Overrides:
      getFieldOrder in class com.sun.jna.Structure
      Returns:
      list of ordered field names