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

Method getMonitorName

src/OpenColorIO/SystemMonitor.cpp:90–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90const char * SystemMonitorsImpl::getMonitorName(size_t index) const
91{
92 if (index >= m_monitors.size())
93 {
94 std::ostringstream oss;
95 oss << "Invalid index for the monitor name " << index
96 << " where the number of monitors is " << m_monitors.size() << ".";
97 throw Exception(oss.str().c_str());
98 }
99
100 return m_monitors[index].m_monitorName.c_str();
101}
102
103const char * SystemMonitorsImpl::getProfileFilepath(size_t index) const
104{

Callers 4

bindPySystemMonitorsFunction · 0.80
getMonitorNameFunction · 0.80
OCIO_ADD_TESTFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by 1

OCIO_ADD_TESTFunction · 0.64