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
/
STEPSTRI.H
< prev
next >
Wrap
Text File
|
1994-08-06
|
1KB
|
59 lines
#ifndef STEPSTRING_H
#define STEPSTRING_H 1
/*
* NIST STEP Core Class Library
* clstepcore/STEPstring.h
* February, 1994
* KC Morris
* Development of this software was funded by the United States Government,
* and is not subject to copyright.
*/
/* $Id: STEPstring.h,v 2.0.1.1 1994/04/05 16:36:25 sauderd Exp $ */
#ifdef __O3DB__
#include <OpenOODB.h>
#endif
class ErrorDescriptor;
#include <scl_string.h>
#include <errordesc.h>
#ifndef STRING_DELIM
#define STRING_DELIM '\''
#endif
class SdaiString : public SCLstring {
public:
//constructor(s) & destructor
SdaiString (const char * str = 0, int max =0) : SCLstring (str,max) { }
SdaiString (const SCLstring& s) : SCLstring (s) { }
SdaiString (const SdaiString& s) : SCLstring (s) { }
~SdaiString () { }
// operators
SdaiString& operator= (const char* s);
// format for STEP
const char * asStr (SCLstring & s) const { return s = chars (); }
void STEPwrite (ostream& out =cout) const;
void STEPwrite (SCLstring &s) const;
Severity StrToVal (const char *s);
Severity STEPread (istream& in, ErrorDescriptor *err);
Severity STEPread (const char *s, ErrorDescriptor *err);
protected:
};
inline
SdaiString&
SdaiString::operator= (const char* s)
{ SCLstring::operator= (s);
return *this; }
#endif