Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AcademySoftwareFoundation/OpenColorIO
/ BoolFromString
Function
BoolFromString
src/OpenColorIO/ParseUtils.cpp:106–111 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
104
}
105
106
bool BoolFromString(const char * s)
107
{
108
const std::string str = StringUtils::Lower(s ? s :
""
);
109
110
return (str ==
"true"
) || (str ==
"yes"
);
111
}
112
113
const char * LoggingLevelToString(LoggingLevel level)
114
{
Callers
2
Java_org_OpenColorIO_Globals_BoolFromString
Function · 0.85
OCIO_ADD_TEST
Function · 0.85
Calls
1
Lower
Function · 0.85
Tested by
1
OCIO_ADD_TEST
Function · 0.68