-cpPlugins::Interface::Workspace::
-TParameters* cpPlugins::Interface::Workspace::
-GetParameters( const std::string& name )
-{
- TFilter* f =
- dynamic_cast< TFilter* >(
- this->m_Graph->GetVertex( name ).GetPointer( )
- );
- if( f != NULL )
- return( f->GetParameters( ) );
+void cpPlugins::Interface::Workspace::
+HideOutput( const std::string& name )
+{
+ auto i = this->m_ExposedOutputs.find( name );
+ if( i != this->m_ExposedOutputs.end( ) )
+ this->m_ExposedOutputs.erase( i );
+}
+
+// -------------------------------------------------------------------------
+bool cpPlugins::Interface::Workspace::
+RenameExposedInput(
+ const std::string& old_name, const std::string& new_name
+ )
+{
+ auto o = this->m_ExposedInputs.find( old_name );
+ auto n = this->m_ExposedInputs.find( new_name );
+ if( o != this->m_ExposedInputs.end( ) && n == this->m_ExposedInputs.end( ) )
+ {
+ this->m_ExposedInputs[ new_name ] = o->second;
+ this->m_ExposedInputs.erase( o );
+ return( true );
+ }