Lines Matching refs:Reference

81 	ODataStreamTest( const Reference < XMultiServiceFactory > & rFactory ) :  in ODataStreamTest()
86 …virtual void SAL_CALL testInvariant(const OUString& TestName, const Reference < XInterface >& Test…
91 const Reference < XInterface >& TestObject,
102 void testSimple( const Reference < XDataInputStream > & , const Reference < XDataOutputStream > &);
109 Reference < XMultiServiceFactory > m_rFactory;
117 const Reference < XInterface >& TestObject ) in testInvariant()
122 Reference < XConnectable > connect( TestObject , UNO_QUERY ); in testInvariant()
123 Reference < XActiveDataSink > active( TestObject , UNO_QUERY ); in testInvariant()
124 Reference < XInputStream > input( TestObject , UNO_QUERY ); in testInvariant()
125 Reference < XDataInputStream > dataInput( TestObject , UNO_QUERY ); in testInvariant()
135 Reference < XConnectable > connect( TestObject , UNO_QUERY ); in testInvariant()
136 Reference < XActiveDataSource > active( TestObject , UNO_QUERY ); in testInvariant()
137 Reference < XOutputStream > output( TestObject , UNO_QUERY ); in testInvariant()
138 Reference < XDataOutputStream > dataOutput( TestObject , UNO_QUERY ); in testInvariant()
147 Reference < XServiceInfo > info( TestObject, UNO_QUERY ); in testInvariant()
160 const Reference < XInterface >& TestObject, in test()
174 Reference <XActiveDataSink > rSink( TestObject, UNO_QUERY ); in test()
175 Reference <XActiveDataSource > rSource( TestObject , UNO_QUERY ); in test()
177 Reference < XDataInputStream > rInput( TestObject , UNO_QUERY ); in test()
178 Reference < XDataOutputStream > rOutput( TestObject , UNO_QUERY ); in test()
181 Reference < XInterface > x = m_rFactory->createInstance( in test()
184 Reference < XInputStream > rPipeInput( x , UNO_QUERY ); in test()
185 Reference < XOutputStream > rPipeOutput( x , UNO_QUERY ); in test()
190 rInput = Reference < XDataInputStream > ( x , UNO_QUERY); in test()
191 rSink = Reference< XActiveDataSink > ( x , UNO_QUERY ); in test()
197 rOutput = Reference< XDataOutputStream > ( x , UNO_QUERY ); in test()
198 rSource = Reference< XActiveDataSource > ( x, UNO_QUERY ); in test()
262 void ODataStreamTest::testSimple( const Reference < XDataInputStream > &rInput, in testSimple()
263 const Reference < XDataOutputStream > &rOutput ) in testSimple()
347 Reference < XInterface > SAL_CALL ODataStreamTest_CreateInstance( const Reference < XMultiServiceFa… in ODataStreamTest_CreateInstance()
350 return Reference < XInterface > ( SAL_STATIC_CAST( OWeakObject * , p ) ); in ODataStreamTest_CreateInstance()
411 virtual void SAL_CALL write( const Reference< XObjectOutputStream >& OutStream )
413 virtual void SAL_CALL read(const Reference< XObjectInputStream >& InStream)
418 virtual Reference< XPropertySetInfo > SAL_CALL getPropertySetInfo(void)
433 const Reference < XPropertyChangeListener > & xListener)
440 const Reference< XPropertyChangeListener > & aListener)
446 const Reference< XVetoableChangeListener > & aListener)
453 const Reference< XVetoableChangeListener >& aListener)
466 Reference< XPersistObject > m_ref;
472 Reference <XPropertySetInfo > MyPersistObject::getPropertySetInfo(void) in getPropertySetInfo()
475 return Reference< XPropertySetInfo >(); in getPropertySetInfo()
509 if( aValue.getValueType() == getCppuType( (Reference< XPersistObject> *)0 ) ) in setPropertyValue()
558 const Reference< XPropertyChangeListener > & xListener) in addPropertyChangeListener()
568 const Reference < XPropertyChangeListener > & aListener) in removePropertyChangeListener()
578 const Reference <XVetoableChangeListener >& aListener) in addVetoableChangeListener()
588 const Reference < XVetoableChangeListener > & aListener) in removeVetoableChangeListener()
604 void MyPersistObject::write( const Reference< XObjectOutputStream > & rOut ) in write()
618 void MyPersistObject::read( const Reference< XObjectInputStream > & rIn ) in read()
631 Reference < XInterface > SAL_CALL OMyPersistObject_CreateInstance( in OMyPersistObject_CreateInstance()
632 const Reference < XMultiServiceFactory > & rSMgr ) in OMyPersistObject_CreateInstance()
636 return Reference < XInterface > ( SAL_STATIC_CAST( OWeakObject * , p ) ); in OMyPersistObject_CreateInstance()
663 OObjectStreamTest( const Reference < XMultiServiceFactory > &r) : ODataStreamTest(r) {} in OObjectStreamTest()
667 const Reference < XInterface >& TestObject)
673 const Reference < XInterface >& TestObject,
680 void OObjectStreamTest::testObject( const Reference <XObjectOutputStream > &rOut,
681 const Reference <XObjectInputStream> &rIn );
688 const Reference < XInterface >& TestObject ) in testInvariant()
696 Reference< XObjectInputStream > dataInput( TestObject , UNO_QUERY ); in testInvariant()
697 Reference< XMarkableStream > markable( TestObject , UNO_QUERY ); in testInvariant()
705 Reference < XMarkableStream > markable( TestObject , UNO_QUERY ); in testInvariant()
706 Reference < XObjectOutputStream > dataOutput( TestObject , UNO_QUERY ); in testInvariant()
711 Reference < XServiceInfo > info( TestObject, UNO_QUERY ); in testInvariant()
722 const Reference < XInterface >& TestObject, in test()
746 Reference<XActiveDataSink > rSink( TestObject, UNO_QUERY ); in test()
747 Reference<XActiveDataSource > rSource( TestObject , UNO_QUERY ); in test()
749 Reference< XObjectInputStream > rInput( TestObject , UNO_QUERY ); in test()
750 Reference< XObjectOutputStream > rOutput( TestObject , UNO_QUERY ); in test()
753 Reference < XInterface > x = m_rFactory->createInstance( in test()
756 Reference <XInputStream > rPipeInput( x , UNO_QUERY ); in test()
757 Reference <XOutputStream > rPipeOutput( x , UNO_QUERY ); in test()
762 Reference <XInputStream > markableInput( x , UNO_QUERY ); in test()
763 Reference <XActiveDataSink> markableSink( x , UNO_QUERY ); in test()
767 Reference <XOutputStream > markableOutput( x , UNO_QUERY ); in test()
768 Reference <XActiveDataSource > markableSource( x , UNO_QUERY ); in test()
781 rInput = Reference < XObjectInputStream > ( x , UNO_QUERY ); in test()
782 rSink = Reference < XActiveDataSink > ( x , UNO_QUERY ); in test()
787 rOutput = Reference <XObjectOutputStream > ( x , UNO_QUERY ); in test()
788 rSource = Reference <XActiveDataSource>( x, UNO_QUERY ); in test()
830 sal_Bool compareMyPropertySet( Reference< XPropertySet > &r1 , Reference < XPropertySet > &r2 ) in compareMyPropertySet()
886 if( o1.getValueType() == getCppuType( (Reference<XPersistObject>*)0 ) ) { in compareMyPropertySet()
888 if( o2.getValueType() == getCppuType( (Reference<XPersistObject>*)0 ) ) { in compareMyPropertySet()
889 Reference < XPersistObject > rPersist1; in compareMyPropertySet()
890 Reference < XPersistObject > rPersist2; in compareMyPropertySet()
893 Reference <XPropertySet > rProp1( rPersist1 , UNO_QUERY ); in compareMyPropertySet()
894 Reference < XPropertySet > rProp2( rPersist2 , UNO_QUERY ); in compareMyPropertySet()
907 if( o2.getValueType() == getCppuType( (Reference<XPersistObject>*)0 ) ) { in compareMyPropertySet()
916 void OObjectStreamTest::testObject( const Reference< XObjectOutputStream > &rOut, in testObject()
917 const Reference < XObjectInputStream > &rIn ) in testObject()
927 Reference < XInterface > x = * new MyPersistObject( in testObject()
930 Reference< XPersistObject > persistRef( x , UNO_QUERY ); in testObject()
940 Reference <XPersistObject > xReadPersistRef = rIn->readObject(); in testObject()
953 Reference < XInterface > x = m_rFactory->createInstance( in testObject()
955 Reference< XPersistObject > persistRef( x , UNO_QUERY ); in testObject()
959 Reference < XPropertySet > rProp( persistRef , UNO_QUERY ); in testObject()
997 Reference< XPersistObject > xReadPersist = rIn->readObject( ); in testObject()
999 Reference< XPropertySet > rPropRead( xReadPersist , UNO_QUERY ); in testObject()
1008 Reference< XMarkableStream > markableOut( rOut , UNO_QUERY ); in testObject()
1015Reference < XInterface > x = m_rFactory->createInstance(OUString::createFromAscii("test.com.sun.st… in testObject()
1016 Reference< XPersistObject > persistRef( x , UNO_QUERY ); in testObject()
1018 Reference < XPropertySet > rProp( persistRef , UNO_QUERY ); in testObject()
1051 Reference <XPersistObject > persist2ndRef( x , UNO_QUERY ); in testObject()
1075 Reference < XPersistObject > xReadPersistRef = rIn->readObject( ); in testObject()
1077 Reference< XPropertySet > rProp1( persistRef , UNO_QUERY ); in testObject()
1078 Reference< XPropertySet > rProp2( xReadPersistRef , UNO_QUERY ); in testObject()
1086 Reference < XInterface > SAL_CALL OObjectStreamTest_CreateInstance( const Reference < XMultiService… in OObjectStreamTest_CreateInstance()
1089 return Reference < XInterface > ( SAL_STATIC_CAST( OWeakObject * , p ) ); in OObjectStreamTest_CreateInstance()