Lines Matching defs:nsAutoArrayPtr

476 class nsAutoArrayPtr
500 ~nsAutoArrayPtr()
507 nsAutoArrayPtr()
513 nsAutoArrayPtr( T* aRawPtr )
519 nsAutoArrayPtr( nsAutoArrayPtr<T>& aSmartPtr )
528 nsAutoArrayPtr<T>&
536 nsAutoArrayPtr<T>& operator=( nsAutoArrayPtr<T>& rhs )
558 ...makes an |nsAutoArrayPtr| act like its underlying raw pointer
560 is expected. It is this operator that makes an |nsAutoArrayPtr|
581 NS_PRECONDITION(mRawPtr != 0, "You can't dereference a NULL nsAutoArrayPtr with operator->().");
588 nsAutoArrayPtr<T>*
593 return NS_CONST_CAST(nsAutoArrayPtr<T>*, this);
598 nsAutoArrayPtr<T>*
606 const nsAutoArrayPtr<T>*
620 NS_PRECONDITION(mRawPtr != 0, "You can't dereference a NULL nsAutoArrayPtr with operator*().");
642 nsAutoArrayPtr<T>*
643 address_of( const nsAutoArrayPtr<T>& aPtr )
652 nsAutoArrayPtr<T>*
653 address_of( nsAutoArrayPtr<T>& aPtr )
660 const nsAutoArrayPtr<T>*
661 address_of( const nsAutoArrayPtr<T>& aPtr )
676 nsAutoArrayPtr<IFoo> fooP;
681 When initialized with a |nsAutoArrayPtr|, as in the example above, it returns
685 This type should be a nested class inside |nsAutoArrayPtr<T>|.
690 nsAutoArrayPtrGetterTransfers( nsAutoArrayPtr<T>& aSmartPtr )
713 nsAutoArrayPtr<T>& mTargetSmartPtr;
719 getter_Transfers( nsAutoArrayPtr<T>& aSmartPtr )
721 Used around a |nsAutoArrayPtr| when
730 // Comparing two |nsAutoArrayPtr|s
735 operator==( const nsAutoArrayPtr<T>& lhs, const nsAutoArrayPtr<U>& rhs )
744 operator!=( const nsAutoArrayPtr<T>& lhs, const nsAutoArrayPtr<U>& rhs )
750 // Comparing an |nsAutoArrayPtr| to a raw pointer
755 operator==( const nsAutoArrayPtr<T>& lhs, const U* rhs )
763 operator==( const U* lhs, const nsAutoArrayPtr<T>& rhs )
771 operator!=( const nsAutoArrayPtr<T>& lhs, const U* rhs )
779 operator!=( const U* lhs, const nsAutoArrayPtr<T>& rhs )
795 operator==( const nsAutoArrayPtr<T>& lhs, U* rhs )
803 operator==( U* lhs, const nsAutoArrayPtr<T>& rhs )
811 operator!=( const nsAutoArrayPtr<T>& lhs, U* rhs )
819 operator!=( U* lhs, const nsAutoArrayPtr<T>& rhs )
827 // Comparing an |nsAutoArrayPtr| to |0|
832 operator==( const nsAutoArrayPtr<T>& lhs, NSCAP_Zero* rhs )
841 operator==( NSCAP_Zero* lhs, const nsAutoArrayPtr<T>& rhs )
850 operator!=( const nsAutoArrayPtr<T>& lhs, NSCAP_Zero* rhs )
859 operator!=( NSCAP_Zero* lhs, const nsAutoArrayPtr<T>& rhs )
874 operator==( const nsAutoArrayPtr<T>& lhs, int rhs )
883 operator==( int lhs, const nsAutoArrayPtr<T>& rhs )