void ScenePath::contextChanged( const IECore::InternedString &key ) { if( !boost::starts_with( key.c_str(), "ui:" ) ) { emitPathChanged(); } }
void removeShader( const IECore::InternedString &handle ) { auto it = m_nodes.find( handle ); if( it == m_nodes.end() ) { throw IECore::Exception( boost::str( boost::format( "Shader \"%1%\" not in network" ) % handle.c_str() ) ); } removeShader( it ); }
ShaderNetwork::ConnectionRange outputConnections( const IECore::InternedString &handle ) const { auto it = m_nodes.find( handle ); if( it == m_nodes.end() ) { throw IECore::Exception( boost::str( boost::format( "Source shader \"%1%\" not in network" ) % handle.c_str() ) ); } return ConnectionRange( ConnectionIterator( &it->outputConnections, it->outputConnections.size() ? &*it->outputConnections.begin() : nullptr ), ConnectionIterator( &it->outputConnections, nullptr ) ); }
inline PathMatcher::Name::Name( IECore::InternedString name ) : name( name ), type( name == g_ellipsis || Gaffer::hasWildcards( name.c_str() ) ? Wildcarded : Plain ) { }