inline void QtArgCmdLine::addArgImpl( QtArgIface * arg ) { if( !m_args.contains( arg ) ) { m_args.append( arg ); checkArgumentsCorrectness(); } }
inline void QtXorArg::add( QtArgIface * arg ) { if( arg && !m_args.contains( arg ) ) { if( !arg->isRequired() ) m_args.append( arg ); else throw QtRequiredArgumentUnderXORMaskEx( QString::fromLatin1( "A try to add required argument under the XOR mask." ) ); } }