52 lines
1.2 KiB
C++
52 lines
1.2 KiB
C++
#ifndef STEPUNDEFINED_H
|
|
#define STEPUNDEFINED_H
|
|
|
|
/*
|
|
* NIST STEP Core Class Library
|
|
* clstepcore/STEPundefined.h
|
|
* April 1997
|
|
* KC Morris
|
|
* David Sauder
|
|
|
|
* Development of this software was funded by the United States Government,
|
|
* and is not subject to copyright.
|
|
*/
|
|
|
|
/* $Id: STEPundefined.h,v 1.4 2000/01/21 13:42:33 gcosmo Exp $ */
|
|
|
|
#ifdef __O3DB__
|
|
#include <OpenOODB.h>
|
|
#endif
|
|
|
|
#include <errordesc.h>
|
|
#include <scl_string.h>
|
|
#include <read_func.h>
|
|
|
|
class SCLundefined {
|
|
protected:
|
|
SCLstring val;
|
|
|
|
public:
|
|
// INPUT
|
|
virtual Severity StrToVal(const char *s, ErrorDescriptor *err);
|
|
virtual Severity StrToVal(G4std::istream &in, ErrorDescriptor *err);
|
|
|
|
virtual Severity STEPread(const char *s, ErrorDescriptor *err);
|
|
virtual Severity STEPread(G4std::istream &in, ErrorDescriptor *err);
|
|
|
|
// OUTPUT
|
|
virtual const char *asStr(SCLstring &s) const;
|
|
virtual const char *STEPwrite(SCLstring &s);
|
|
virtual void STEPwrite (G4std::ostream& out =G4cout);
|
|
|
|
int set_null ();
|
|
int is_null ();
|
|
SCLundefined& operator= (const SCLundefined&);
|
|
SCLundefined& operator= (const char *str);
|
|
SCLundefined ();
|
|
virtual ~SCLundefined ();
|
|
}
|
|
;
|
|
|
|
#endif
|