MCPcopy Create free account
hub / github.com/cginternals/globjects / name

Method name

source/globjects/source/Error.cpp:29–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29std::string Error::name() const
30{
31 switch(m_errorCode)
32 {
33 case GL_NO_ERROR:
34 return "GL_NO_ERROR";
35 case GL_INVALID_ENUM:
36 return "GL_INVALID_ENUM";
37 case GL_INVALID_VALUE:
38 return "GL_INVALID_VALUE";
39 case GL_INVALID_OPERATION:
40 return "GL_INVALID_OPERATION";
41 case GL_INVALID_FRAMEBUFFER_OPERATION:
42 return "GL_INVALID_FRAMEBUFFER_OPERATION";
43 case GL_OUT_OF_MEMORY:
44 return "GL_OUT_OF_MEMORY";
45 default:
46 return "Unknown GLenum.";
47 }
48}
49
50Error Error::get()
51{

Callers 15

locationForMethod · 0.45
blockIndexMethod · 0.45
getNameMethod · 0.45
logObjectFunction · 0.45
operator<<Function · 0.45
manualErrorCheckAfterFunction · 0.45
initializeCallbacksFunction · 0.45
registerNamedStringMethod · 0.45
deregisterNamedStringMethod · 0.45
GTEST_LOCK_EXCLUDED_Function · 0.45
OnTestStartMethod · 0.45

Calls

no outgoing calls

Tested by 15

GTEST_LOCK_EXCLUDED_Function · 0.36
OnTestStartMethod · 0.36
OnTestEndMethod · 0.36
mainFunction · 0.36
operator()Method · 0.36
FindTestCaseMethod · 0.36
TESTFunction · 0.36
TearDownMethod · 0.36
TEST_PFunction · 0.36
TESTFunction · 0.36
GetTestNameFunction · 0.36
OnTestStartMethod · 0.36