home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Graphics / Gnuplot / Source / FunctionObject.h < prev    next >
Encoding:
Text File  |  1993-03-18  |  1.1 KB  |  53 lines

  1.  
  2. /* $Id: FunctionObject.h,v 1.1.1.1 1993/03/18 03:33:12 davis Exp $ */
  3.  
  4. #import "SubObject.h"
  5.  
  6. #define FUNCTION_NOSTYLE    99
  7. #define    FUNCTION_LINES        0
  8. #define FUNCTION_POINTS        1
  9. #define FUNCTION_LINESPOINTS    2
  10. #define FUNCTION_DOTS        3
  11. #define FUNCTION_IMPULSES    4
  12. #define FUNCTION_ERRORBARS    5
  13. #define FUNCTION_BOXES        6
  14. #define FUNCTION_BOXERRORBARS    7
  15.  
  16. #define POINTS_NOSTYLE        0
  17. #define LINE_NOSTYLE        0
  18.  
  19. @interface FunctionObject:SubObject
  20. {
  21.     BOOL    isDataFile;    /* Is stringValue path of a data file?    */
  22.     char    *title;        /* Optional key title            */
  23.     int        style;        /* Optional style            */
  24.     int        pointsStyle;    /* Kind of points (if style has points)    */
  25.     int        lineStyle;    /* Kind of line (if style has points)    */
  26. }
  27.  
  28. + (BOOL) isAcceptableStringValue:(const char *)aString;
  29. + (BOOL) isAcceptableDataFile:(const char *)aString;
  30.  
  31. - initFromString:(const char *)aString;
  32. - free;
  33.  
  34. - setDataFile:(BOOL)cond;
  35. - (BOOL)isDataFile;
  36.  
  37. - setTitle: (const char *)aString;
  38. - (const char *)title;
  39.  
  40. - setStyle: (int)anInt;
  41. - (int)style;
  42. - (const char *)styleString;
  43.  
  44. - setPointsStyle: (int)anInt;
  45. - (int)pointsStyle;
  46.  
  47. - setLineStyle: (int)anInt;
  48. - (int)lineStyle;
  49.  
  50. - (BOOL)isAttachment;
  51.  
  52. @end
  53.