MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / parse

Method parse

src/OpenColorIO/fileformats/cdl/CDLParser.cpp:197–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197void CDLParser::Impl::parse(std::istream & istream)
198{
199 reset();
200
201 const std::string header(loadHeader(istream));
202 initializeHandlers(header.c_str());
203
204 std::string line;
205 m_lineNumber = 0;
206 while (istream.good())
207 {
208 std::getline(istream, line);
209 line.push_back('\n');
210 ++m_lineNumber;
211
212 parse(line, !istream.good());
213 }
214
215 validateParsing();
216}
217
218void CDLParser::Impl::throwMessage(const std::string & error) const
219{

Callers 8

BuildDisplayOpsFunction · 0.45
CollectContextVariablesFunction · 0.45
BuildLookOpsFunction · 0.45
CollectContextVariablesFunction · 0.45
readMethod · 0.45
readMethod · 0.45
readMethod · 0.45

Calls 5

push_backMethod · 0.45
sizeMethod · 0.45
emptyMethod · 0.45
getNameMethod · 0.45
backMethod · 0.45

Tested by

no test coverage detected