//====================================================================
//! Constructor (default)
//====================================================================
-SUIT_DataOwnerPtrList::SUIT_DataOwnerPtrList( const bool skipAllEqal )
-: QValueList<SUIT_DataOwnerPtr>(),
-mySkipEqual( skipAllEqal )
+SUIT_DataOwnerPtrList::SUIT_DataOwnerPtrList()
+ : QValueList<SUIT_DataOwnerPtr>(),
+ mySkipEqual( true )
+{
+}
+
+//====================================================================
+//! Constructor (default)
+//====================================================================
+SUIT_DataOwnerPtrList::SUIT_DataOwnerPtrList( const bool skipAllEqual )
+ : QValueList<SUIT_DataOwnerPtr>(),
+ mySkipEqual( skipAllEqual )
{
}
//! Constructor (copy)
//====================================================================
SUIT_DataOwnerPtrList::SUIT_DataOwnerPtrList( const SUIT_DataOwnerPtrList& l )
-: QValueList<SUIT_DataOwnerPtr>( l )
+ : QValueList<SUIT_DataOwnerPtr>( l ),
+ mySkipEqual( true )
{
}
//====================================================================
//! Constructor (copy)
//====================================================================
-SUIT_DataOwnerPtrList::SUIT_DataOwnerPtrList( const SUIT_DataOwnerPtrList& l, const bool skipAllEqal )
-: QValueList<SUIT_DataOwnerPtr>(),
-mySkipEqual( skipAllEqal )
+SUIT_DataOwnerPtrList::SUIT_DataOwnerPtrList( const SUIT_DataOwnerPtrList& l, const bool skipAllEqual )
+ : QValueList<SUIT_DataOwnerPtr>(),
+ mySkipEqual( skipAllEqual )
{
- if ( skipAllEqal == l.mySkipEqual )
+ if ( skipAllEqual == l.mySkipEqual )
operator =( l );
else
{
//! Constructor (from stl)
//====================================================================
SUIT_DataOwnerPtrList::SUIT_DataOwnerPtrList( const std::list<SUIT_DataOwnerPtr>& l )
-: QValueList<SUIT_DataOwnerPtr>( l )
+ : QValueList<SUIT_DataOwnerPtr>( l ),
+ mySkipEqual( true )
{
}
#endif
//====================================================================
//! Constructor (from stl)
//====================================================================
-SUIT_DataOwnerPtrList::SUIT_DataOwnerPtrList( const std::list<SUIT_DataOwnerPtr>& l, const bool skipAllEqal )
-: QValueList<SUIT_DataOwnerPtr>(),
-mySkipEqual( skipAllEqal )
+SUIT_DataOwnerPtrList::SUIT_DataOwnerPtrList( const std::list<SUIT_DataOwnerPtr>& l, const bool skipAllEqual )
+ : QValueList<SUIT_DataOwnerPtr>(),
+ mySkipEqual( skipAllEqual )
{
std::list<SUIT_DataOwnerPtr>::const_iterator beginIt = l.begin();
std::list<SUIT_DataOwnerPtr>::const_iterator endIt = l.begin();
class SUIT_EXPORT SUIT_DataOwnerPtrList : public QValueList<SUIT_DataOwnerPtr>
{
public:
- SUIT_DataOwnerPtrList( const bool skipAllEqal = true );//!< constructor
- SUIT_DataOwnerPtrList( const SUIT_DataOwnerPtrList& l );//!< copy constructor
- SUIT_DataOwnerPtrList( const SUIT_DataOwnerPtrList& l, const bool skipAllEqal );//!< copy constructor
+ SUIT_DataOwnerPtrList(); //!< constructor
+ SUIT_DataOwnerPtrList( const bool skipAllEqual );//!< constructor
+ SUIT_DataOwnerPtrList( const SUIT_DataOwnerPtrList& l ); //!< copy constructor
+ SUIT_DataOwnerPtrList( const SUIT_DataOwnerPtrList& l, const bool skipAllEqual );//!< copy constructor
#ifndef QT_NO_STL
- SUIT_DataOwnerPtrList( const std::list<SUIT_DataOwnerPtr>& l );//!< copy constructor for STL list
- SUIT_DataOwnerPtrList( const std::list<SUIT_DataOwnerPtr>& l, const bool skipAllEqal );//!< copy constructor for STL list
+ SUIT_DataOwnerPtrList( const std::list<SUIT_DataOwnerPtr>& l ); //!< copy constructor for STL list
+ SUIT_DataOwnerPtrList( const std::list<SUIT_DataOwnerPtr>& l, const bool skipAllEqual );//!< copy constructor for STL list
#endif
iterator append ( const SUIT_DataOwnerPtr& x );//!< append function