We want to be consistent with the previous layout, to avoid needlessly breaking existing codes. The header update means client codes are not required to include all of the stepcode library includes explicitly - i.e., stepcode itself does not force this requirement with its own internal includes. However, if client codes do not want to add the library prefixes to their own includes as we have for stepcode, they should still be able to add the various includes and work as before. Adjust the include directory names accordingly.
47 lines
1.3 KiB
C++
47 lines
1.3 KiB
C++
#ifndef STEPAGGRREAL_H
|
|
#define STEPAGGRREAL_H
|
|
|
|
#include "clstepcore/STEPaggregate.h"
|
|
#include <sc_export.h>
|
|
|
|
class SC_CORE_EXPORT RealAggregate : public STEPaggregate {
|
|
|
|
public:
|
|
virtual SingleLinkNode * NewNode();
|
|
virtual STEPaggregate & ShallowCopy( const STEPaggregate & );
|
|
|
|
RealAggregate();
|
|
virtual ~RealAggregate();
|
|
};
|
|
typedef RealAggregate * RealAggregateH;
|
|
typedef RealAggregate * RealAggregate_ptr;
|
|
typedef const RealAggregate * RealAggregate_ptr_c;
|
|
typedef RealAggregate_ptr RealAggregate_var;
|
|
|
|
class SC_CORE_EXPORT RealNode : public STEPnode {
|
|
public:
|
|
SDAI_Real value; // double
|
|
// 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 );
|
|
virtual const char * STEPwrite( std::string & s, const char * = 0 );
|
|
virtual void STEPwrite( ostream & out = cout );
|
|
|
|
// CONSTRUCTORS
|
|
RealNode( SDAI_Real v );
|
|
RealNode();
|
|
~RealNode();
|
|
|
|
virtual SingleLinkNode * NewNode();
|
|
};
|
|
|
|
|
|
|
|
#endif //STEPAGGRREAL_H
|