@@ -133,13 +133,13 @@ class STEPfile {
133133 int SetFileType ( FileTypeCode ft = VERSION_CURRENT );
134134
135135// Reading and Writing
136- Severity ReadExchangeFile ( const std::string filename = " " , int useTechCor = 1 );
137- Severity AppendExchangeFile ( const std::string filename = " " , int useTechCor = 1 );
136+ Severity ReadExchangeFile ( const std::string filename = " " , bool useTechCor = 1 );
137+ Severity AppendExchangeFile ( const std::string filename = " " , bool useTechCor = 1 );
138138
139- Severity ReadWorkingFile ( const std::string filename = " " , int useTechCor = 1 );
140- Severity AppendWorkingFile ( const std::string filename = " " , int useTechCor = 1 );
139+ Severity ReadWorkingFile ( const std::string filename = " " , bool useTechCor = 1 );
140+ Severity AppendWorkingFile ( const std::string filename = " " , bool useTechCor = 1 );
141141
142- Severity AppendFile ( istream * in, int useTechCor = 1 ) ;
142+ Severity AppendFile ( istream * in, bool useTechCor = 1 ) ;
143143
144144 Severity WriteExchangeFile ( ostream & out, int validate = 1 ,
145145 int clearError = 1 , int writeComments = 1 );
@@ -179,11 +179,11 @@ class STEPfile {
179179
180180 int ReadData1 ( istream & in ); // first pass to create instances
181181 // second pass to read instances
182- int ReadData2 ( istream & in, int useTechCor = 1 );
182+ int ReadData2 ( istream & in, bool useTechCor = true );
183183
184184// obsolete
185185 int ReadWorkingData1 ( istream & in );
186- int ReadWorkingData2 ( istream & in, int useTechCor = 1 );
186+ int ReadWorkingData2 ( istream & in, bool useTechCor = true );
187187
188188 void ReadRestOfFile ( istream & in );
189189
@@ -195,7 +195,7 @@ class STEPfile {
195195
196196 // read the instance - used by ReadData2()
197197 SDAI_Application_instance * ReadInstance ( istream & in, ostream & out,
198- std::string & cmtStr, int useTechCor = 1 );
198+ std::string & cmtStr, bool useTechCor = true );
199199
200200 // reading scopes are still incomplete
201201 // these functions are stubs
0 commit comments