- std::vector< std::string > r;
- auto dIt = this->m_Inputs.begin( );
- for( ; dIt != this->m_Inputs.end( ); ++dIt )
- r.push_back( dIt->first );
- return( r );
-}
-
-// -------------------------------------------------------------------------
-std::vector< std::string > cpPlugins::Interface::ProcessObject::
-GetOutputsNames( ) const
-{
- std::vector< std::string > r;
- auto dIt = this->m_Outputs.begin( );
- for( ; dIt != this->m_Outputs.end( ); ++dIt )
- r.push_back( dIt->first );
- return( r );
+ auto oIt = this->m_Outputs.find( output_name );
+ if( oIt != this->m_Outputs.end( ) )
+ {
+ this->m_OutputObjectsNames[ output_name ] = new_object_name;
+ this->Modified( );
+ return( true );
+ }
+ else
+ return( false );