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

Method getActiveView

src/OpenColorIO/Config.cpp:4317–4326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4315}
4316
4317const char * Config::getActiveView( int index ) const
4318{
4319 if( index<0 ||
4320 index >= static_cast<int>(getImpl()->m_activeViews.size()))
4321 {
4322 return nullptr;
4323 }
4324
4325 return getImpl()->m_activeViews[index].c_str();
4326}
4327
4328int Config::getNumActiveViews() const
4329{

Callers 3

PyConfig.cppFile · 0.80
saveFunction · 0.80
OCIO_ADD_TESTFunction · 0.80

Calls 2

getImplFunction · 0.50
sizeMethod · 0.45

Tested by 1

OCIO_ADD_TESTFunction · 0.64