37 char* cp = m_file->ReadLine(); \
50 m_fileline = m_file->LineNumber(); \
54 m_error = " * [INFO] input line too long"; \
69 if(
nullptr == aLineReader )
78 wxFileName fn( tname );
91 if(
m_buf.compare( 0, 16,
"#VRML V1.0 ascii" ) == 0 )
104 if(
m_buf.compare( 0, 15,
"#VRML V2.0 utf8" ) == 0 )
130 m_error =
"not a valid VRML file: '";
167 while( !
m_buf.empty() && ( *
m_buf.rbegin() ==
'\r' || *
m_buf.rbegin() ==
'\n' ) )
172 std::string::iterator sS =
m_buf.begin();
173 std::string::iterator eS =
m_buf.end();
177 if( ( ( *sS ) & 0x80 ) )
179 m_error =
" non-ASCII character sequence in VRML1 file";
267 size_t ssize =
m_buf.size();
311 size_t ssize =
m_buf.size();
326 std::ostringstream ostr;
327 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
328 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
330 ostr <<
" -- invalid name";
339 std::ostringstream ostr;
340 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
341 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
343 ostr <<
" -- invalid character in name";
351 std::ostringstream ostr;
352 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
353 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
355 ostr <<
" -- name must not start with a digit";
378 std::ostringstream ostr;
379 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
380 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
381 ostr <<
" * [INFO] " <<
m_error;
389 std::ostringstream ostr;
390 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
391 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
392 ostr <<
" * [INFO] expecting character '{' at line " <<
m_fileline;
412 std::ostringstream ostr;
413 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
414 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
415 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
417 ostr <<
" * [INFO] " <<
m_error;
460 std::ostringstream ostr;
461 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
462 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
463 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
465 ostr <<
" * [INFO] " <<
m_error;
475 std::ostringstream ostr;
476 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
477 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
478 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
480 ostr <<
" * [INFO] " <<
m_error;
501 std::ostringstream ostr;
502 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
503 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
504 ostr <<
" * [INFO] " <<
m_error;
512 std::ostringstream ostr;
513 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
514 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
515 ostr <<
" * [INFO] expecting character '[' at line " <<
m_fileline;
533 std::ostringstream ostr;
534 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
535 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
536 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
538 ostr <<
" * [INFO] " <<
m_error;
581 std::ostringstream ostr;
582 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
583 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
584 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
586 ostr <<
" * [INFO] " <<
m_error;
596 std::ostringstream ostr;
597 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
598 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
599 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
601 ostr <<
" * [INFO] " <<
m_error;
631 std::ostringstream ostr;
632 ostr <<
"invalid VRML file; expecting string at line " << ifline <<
633 " but found nothing";
648 m_error =
"invalid VRML2 file (string not quoted)";
658 std::ostringstream ostr;
659 ostr <<
"invalid VRML1 file at lines " << ifline <<
"--" <<
m_fileline;
680 aSFString.append( 1,
'\n' );
684 std::ostringstream ostr;
685 ostr <<
"invalid VRML1 file at lines " << ifline <<
"--" <<
m_fileline;
686 ostr <<
"; could not find end of string\n";
697 aSFString.append( 1,
'\n' );
710 aSFString.append( 1,
'"' );
741 if( !tmp.compare(
"0" ) )
745 else if( !tmp.compare(
"1" ) )
749 else if( !tmp.compare(
"TRUE" ) )
753 else if( !tmp.compare(
"FALSE" ) )
759 std::ostringstream ostr;
760 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
761 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
762 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
764 ostr <<
" * [INFO] expected one of 0, 1, TRUE, FALSE but got '" << tmp <<
"'\n";
788 if( aSFColor.x < 0.0 || aSFColor.x > 1.0 || aSFColor.y < 0.0 || aSFColor.y > 1.0
789 || aSFColor.z < 0.0 || aSFColor.z > 1.0 )
791 std::ostringstream ostr;
792 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
793 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
794 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
796 ostr <<
" * [INFO] invalid RGB value in color triplet";
835 std::ostringstream ostr;
836 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
837 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
838 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
840 ostr <<
" * [INFO] " <<
m_error;
846 std::istringstream istr;
850 if( istr.fail() || !istr.eof() )
852 std::ostringstream ostr;
853 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
854 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
855 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
857 ostr <<
" * [INFO] invalid character in SFFloat";
895 std::ostringstream ostr;
896 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
897 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
898 ostr <<
" * [INFO] line " << fileline<<
", char " << linepos <<
" -- ";
900 ostr <<
" * [INFO] " <<
m_error;
906 if( tmp.find(
"0x" ) != std::string::npos )
910 std::stringstream sstr;
911 sstr << std::hex << tmp;
916 std::istringstream istr;
920 if( istr.fail() || !istr.eof() )
922 std::ostringstream ostr;
923 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
924 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
925 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
927 ostr <<
" * [INFO] invalid character in SFInt";
968 for(
int i = 0; i < 4; ++i )
972 std::ostringstream ostr;
973 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
974 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
975 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
977 ostr <<
" * [INFO] " <<
m_error;
983 std::istringstream istr;
987 if( istr.fail() || !istr.eof() )
989 std::ostringstream ostr;
990 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
991 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
992 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
994 ostr <<
" * [INFO] invalid character in space delimited quartet";
1002 aSFRotation.x = trot[0];
1003 aSFRotation.y = trot[1];
1004 aSFRotation.z = trot[2];
1005 aSFRotation.w = trot[3];
1041 for(
int i = 0; i < 2; ++i )
1045 std::ostringstream ostr;
1046 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1047 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1048 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1050 ostr <<
" * [INFO] " <<
m_error;
1056 std::istringstream istr;
1060 if( istr.fail() || !istr.eof() )
1062 std::ostringstream ostr;
1063 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1064 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1065 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1067 ostr <<
" * [INFO] invalid character in space delimited pair";
1075 aSFVec2f.x = tcol[0];
1076 aSFVec2f.y = tcol[1];
1113 for(
int i = 0; i < 3; ++i )
1117 std::ostringstream ostr;
1118 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1119 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1120 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1122 ostr <<
" * [INFO] " <<
m_error;
1135 std::istringstream istr;
1139 if( istr.fail() || !istr.eof() )
1141 std::ostringstream ostr;
1142 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1143 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1144 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1146 ostr <<
" * [INFO] invalid character in space delimited triplet";
1154 aSFVec3f.x = tcol[0];
1155 aSFVec3f.y = tcol[1];
1156 aSFVec3f.z = tcol[2];
1192 std::ostringstream ostr;
1193 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1194 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1195 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1197 ostr <<
" * [INFO] " <<
m_error;
1205 std::ostringstream ostr;
1206 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1207 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1208 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1210 ostr <<
" * [INFO] could not check characters after the string";
1219 aMFString.push_back( lstr );
1229 std::ostringstream ostr;
1230 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1231 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1232 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1234 ostr <<
" * [INFO] " <<
m_error;
1242 std::ostringstream ostr;
1243 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1244 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1245 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1247 ostr <<
" * [INFO] could not check characters after the string";
1256 aMFString.push_back( lstr );
1260 std::ostringstream ostr;
1261 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1262 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1263 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1265 ostr <<
" * [INFO] problems encountered while reading list";
1311 std::ostringstream ostr;
1312 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1313 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1314 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1316 ostr <<
" * [INFO] " <<
m_error;
1324 std::ostringstream ostr;
1325 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1326 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1327 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1329 ostr <<
" * [INFO] could not check characters after the string";
1338 aMFColor.push_back( lcolor );
1354 std::ostringstream ostr;
1355 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1356 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1357 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1359 ostr <<
" * [INFO] " <<
m_error;
1365 aMFColor.push_back( lcolor );
1369 std::ostringstream ostr;
1370 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1371 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1372 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1374 ostr <<
" * [INFO] could not check characters after the string";
1423 std::ostringstream ostr;
1424 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1425 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1426 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1428 ostr <<
" * [INFO] " <<
m_error;
1436 std::ostringstream ostr;
1437 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1438 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1439 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1441 ostr <<
" * [INFO] could not check characters after the string";
1450 aMFFloat.push_back( temp );
1466 std::ostringstream ostr;
1467 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1468 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1469 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1471 ostr <<
" * [INFO] " <<
m_error;
1477 aMFFloat.push_back( temp );
1481 std::ostringstream ostr;
1482 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1483 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1484 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1486 ostr <<
" * [INFO] could not check characters after the string";
1534 std::ostringstream ostr;
1535 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1536 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1537 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1539 ostr <<
" * [INFO] " <<
m_error;
1547 std::ostringstream ostr;
1548 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1549 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1550 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1552 ostr <<
" * [INFO] could not check characters after the string";
1561 aMFInt32.push_back( temp );
1577 std::ostringstream ostr;
1578 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1579 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1580 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1582 ostr <<
" * [INFO] " <<
m_error;
1588 aMFInt32.push_back( temp );
1592 std::ostringstream ostr;
1593 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1594 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1595 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1597 ostr <<
" * [INFO] could not check characters after the string";
1618 aMFRotation.clear();
1646 std::ostringstream ostr;
1647 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1648 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1649 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1651 ostr <<
" * [INFO] " <<
m_error;
1659 std::ostringstream ostr;
1660 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1661 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1662 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1664 ostr <<
" * [INFO] could not check characters after the string";
1673 aMFRotation.push_back( lrot );
1689 std::ostringstream ostr;
1690 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1691 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1692 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1694 ostr <<
" * [INFO] " <<
m_error;
1700 aMFRotation.push_back( lrot );
1704 std::ostringstream ostr;
1705 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1706 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1707 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1709 ostr <<
" * [INFO] could not check characters after the string";
1758 std::ostringstream ostr;
1759 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1760 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1761 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1763 ostr <<
" * [INFO] " <<
m_error;
1771 std::ostringstream ostr;
1772 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1773 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1774 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1776 ostr <<
" * [INFO] could not check characters after the string";
1785 aMFVec2f.push_back( lvec2f );
1801 std::ostringstream ostr;
1802 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1803 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1804 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1806 ostr <<
" * [INFO] " <<
m_error;
1812 aMFVec2f.push_back( lvec2f );
1816 std::ostringstream ostr;
1817 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1818 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1819 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1821 ostr <<
" * [INFO] could not check characters after the string";
1869 std::ostringstream ostr;
1870 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1871 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1872 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1874 ostr <<
" * [INFO] " <<
m_error;
1882 std::ostringstream ostr;
1883 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1884 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1885 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1887 ostr <<
" * [INFO] could not check characters after the string";
1896 aMFVec3f.push_back( lvec3f );
1912 std::ostringstream ostr;
1913 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1914 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1915 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1917 ostr <<
" * [INFO] " <<
m_error;
1923 aMFVec3f.push_back( lvec3f );
1927 std::ostringstream ostr;
1928 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
1929 ostr <<
" * [INFO] failed on file '" <<
m_filename <<
"'\n";
1930 ostr <<
" * [INFO] line " << fileline <<
", char " << linepos <<
" -- ";
1932 ostr <<
" * [INFO] could not check characters after the string";
1984 std::ostringstream retv;
1987 retv <<
"no file loaded to provide file position information";
2011 std::ostringstream ostr;
2012 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
2013 ostr <<
" * [BUG] no open file";
2022 std::ostringstream ostr;
2023 ostr << __FILE__ <<
":" << __FUNCTION__ <<
":" << __LINE__ <<
"\n";
2024 ostr <<
" * [INFO] failed to read data from file\n";
An abstract class from which implementation specific LINE_READERs may be derived to read single lines...
virtual const wxString & GetSource() const
Returns the name of the source of the lines in an abstract sense.
bool ReadGlob(std::string &aGlob)
bool ReadSFInt(int &aSFInt32)
bool ReadMFString(std::vector< std::string > &aMFString)
bool ReadString(std::string &aSFString)
bool ReadSFFloat(float &aSFFloat)
std::string GetFileName(void)
bool ReadSFColor(WRLVEC3F &aSFColor)
bool ReadSFVec2f(WRLVEC2F &aSFVec2f)
WRLVERSION GetVRMLType(void)
bool ReadMFInt(std::vector< int > &aMFInt32)
const char * GetParentDir(void)
bool ReadMFFloat(std::vector< float > &aMFFloat)
bool GetFilePosData(size_t &line, size_t &column)
std::string GetError(void)
bool ReadMFVec2f(std::vector< WRLVEC2F > &aMFVec2f)
bool ReadSFBool(bool &aSFBool)
bool ReadMFRotation(std::vector< WRLROTATION > &aMFRotation)
bool ReadMFVec3f(std::vector< WRLVEC3F > &aMFVec3f)
bool ReadName(std::string &aName)
std::string GetFilePosition() const
bool ReadMFColor(std::vector< WRLVEC3F > &aMFColor)
bool ReadSFRotation(WRLROTATION &aSFRotation)
WRLPROC(LINE_READER *aLineReader)
bool ReadSFVec3f(WRLVEC3F &aSFVec3f)
const wxChar *const traceVrmlPlugin
Flag to enable VRML plugin trace output.
defines the basic input class for VRML
#define FN_NORMALIZE_FLAGS
Default flags to pass to wxFileName::Normalize().