- names.clear( );
- auto dIt = this->m_Inputs.begin( );
- for( ; dIt != this->m_Inputs.end( ); ++dIt )
- names.insert( dIt->first );
-}
-
-// -------------------------------------------------------------------------
-void cpPlugins::Interface::ProcessObject::
-GetOutputsNames( std::set< std::string >& names ) const
-{
- names.clear( );
- auto dIt = this->m_Outputs.begin( );
- for( ; dIt != this->m_Outputs.end( ); ++dIt )
- names.insert( dIt->first );
+ std::set< std::string > names;
+ for( auto i = this->m_Outputs.begin( ); i != this->m_Outputs.end( ); ++i )
+ names.insert( i->first );
+ return( names );