MCPcopy Create free account
hub / github.com/Kitware/VTK / vtkXMLParserFail

Function vtkXMLParserFail

IO/XMLParser/vtkXMLParser.cxx:54–63  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

52
53//------------------------------------------------------------------------------
54static int vtkXMLParserFail(istream* stream)
55{
56 // The fail() method returns true if either the failbit or badbit is set.
57#if defined(__HP_aCC)
58 // The HP compiler sets the badbit too often, so we ignore it.
59 return (stream->rdstate() & ios::failbit) ? 1 : 0;
60#else
61 return stream->fail() ? 1 : 0;
62#endif
63}
64
65//------------------------------------------------------------------------------
66vtkTypeInt64 vtkXMLParser::TellG()

Callers 2

TellGMethod · 0.85
SeekGMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected