print more details in STEPread_error()
This commit is contained in:
1 parent
c4971681e5
commit
99abb18825
1 file changed
+7
-1
@@ -496,7 +496,13 @@ void STEPcomplex::BuildAttrs( const char * s ) {
|
||||
}
|
||||
|
||||
void STEPcomplex::STEPread_error( char c, int index, istream & in ) {
|
||||
cout << "STEPcomplex::STEPread_error() \n";
|
||||
cout << "STEPcomplex::STEPread_error(), index=" << index << ", entity #" << STEPfile_id << "." << endl;
|
||||
streampos p = in.tellg();
|
||||
std::string q,r;
|
||||
getline(in,q);
|
||||
getline(in,r);
|
||||
cout << "Remainder of this line:" << endl << c << q << endl << "Next line:" << endl << r << endl;
|
||||
in.seekg(p);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user