MCPcopy Create free account
hub / github.com/OGRECave/ogre / addError

Method addError

OgreMain/src/OgreScriptCompiler.cpp:379–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377 }
378
379 void ScriptCompiler::addError(uint32 code, const Ogre::String &file, int line, const String &msg)
380 {
381 if(mListener)
382 {
383 mListener->handleError(this, code, file, line, msg);
384 }
385 else
386 {
387 static ScriptCompilerListener defaultListener;
388 defaultListener.handleError(this, code, file, line, msg);
389 }
390
391 mErrors.push_back({file, msg, line, code});
392 }
393
394 void ScriptCompiler::addError(const AbstractNode& node, const String& msg, uint32 code)
395 {

Callers 15

translateMethod · 0.80
parseAttributeMethod · 0.80
emitErrorMethod · 0.80
translateTextureUnitMethod · 0.80
getValueFunction · 0.80
processNodeMethod · 0.80
translateMethod · 0.80
getProgramFunction · 0.80
translateSamplerParamMethod · 0.80
translateGpuProgramMethod · 0.80

Calls 2

handleErrorMethod · 0.80
push_backMethod · 0.45

Tested by

no test coverage detected