forked from stepcode/stepcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSTEPundefined.h
More file actions
45 lines (36 loc) · 1.15 KB
/
STEPundefined.h
File metadata and controls
45 lines (36 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#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.
*/
#include <scl_export.h>
#include <errordesc.h>
#include <string>
#include <read_func.h>
class SCL_CORE_EXPORT SCLundefined {
protected:
std::string val;
public:
// INPUT
virtual Severity StrToVal( const char * s, ErrorDescriptor * err );
virtual Severity StrToVal( istream & in, ErrorDescriptor * err );
virtual Severity STEPread( const char * s, ErrorDescriptor * err );
virtual Severity STEPread( istream & in, ErrorDescriptor * err );
// OUTPUT
virtual const char * asStr( std::string & s ) const;
virtual const char * STEPwrite( std::string & s );
virtual void STEPwrite( ostream & out = cout );
int set_null();
int is_null();
SCLundefined & operator= ( const SCLundefined & );
SCLundefined & operator= ( const char * str );
SCLundefined();
virtual ~SCLundefined();
};
#endif