home *** CD-ROM | disk | FTP | other *** search
/ ftptest.leeds.ac.uk / 2015.02.ftptest.leeds.ac.uk.tar / ftptest.leeds.ac.uk / bionet / CAE-GROUP / SCL-WIN3x / SCL.EXE / UNDEFINE.H < prev   
C/C++ Source or Header  |  1994-08-06  |  2KB  |  65 lines

  1. #ifndef    UNDEFINED_H
  2. #define    UNDEFINED_H
  3.  
  4. /*
  5. * NIST STEP Core Class Library
  6. * clstepcore/STEPundefined.h
  7. * February, 1994
  8. * KC Morris
  9. * David Sauder
  10.  
  11. * Development of this software was funded by the United States Government,
  12. * and is not subject to copyright.
  13. */
  14.  
  15. /* $Id: STEPundefined.h,v 2.0.1.1 1994/04/05 16:36:27 sauderd Exp $ */
  16.  
  17.  
  18. #include <errordesc.h>
  19. #include <scl_string.h>
  20.  
  21. ////////////////////
  22.  
  23. extern int   QuoteInString(istream& in);
  24.  
  25. extern void  AppendChar(char c, int& index, char *&s, int& sSize);
  26.  
  27. extern void 
  28. PushPastString (istream& in, SCLstring &s, ErrorDescriptor *err);
  29.  
  30. extern void 
  31. PushPastImbedAggr (istream& in, SCLstring &s, ErrorDescriptor *err);
  32.  
  33. extern void 
  34. PushPastAggr1Dim(istream& in, SCLstring &s, ErrorDescriptor *err);
  35.  
  36. ////////////////////
  37.  
  38. class SCLundefined  {
  39.   protected:
  40.     SCLstring val;
  41.     
  42.   public:
  43. //    INPUT
  44.     virtual Severity StrToVal(const char *s, ErrorDescriptor *err);
  45.     virtual Severity StrToVal(istream &in, ErrorDescriptor *err);
  46.  
  47.     virtual Severity STEPread(const char *s, ErrorDescriptor *err);
  48.     virtual Severity STEPread(istream &in, ErrorDescriptor *err);
  49.  
  50. //    OUTPUT
  51.     virtual const char *asStr(SCLstring &s) const;
  52.     virtual const char *STEPwrite(SCLstring &s);
  53.     virtual void     STEPwrite (ostream& out =cout);
  54.  
  55.     int set_null ();
  56.     int is_null ();
  57.     SCLundefined& operator= (const SCLundefined&); 
  58.     SCLundefined& operator= (const char *str); 
  59.     SCLundefined ();
  60.     virtual ~SCLundefined ();
  61. }
  62. ;
  63.  
  64. #endif
  65.