38 ||
m_aFile.open( osl_File_OpenFlag_Read ) == ::osl::FileBase::E_None )
50 ::osl::FileBase::RC nResult =
m_aFile.open( uFlags );
51 if ( nResult == ::osl::FileBase::E_None )
53 if ( uFlags & osl_File_OpenFlag_Create )
54 m_nFlags = (uFlags & ( ~osl_File_OpenFlag_Create )) | osl_File_OpenFlag_Write;
75 ::osl::FileBase::RC nRes = ::osl::FileBase::E_NETWORK;
77 if ( uHow == osl_Pos_Absolut && uPos > 0 )
82 nRes =
m_aFile.setPos( uHow, uPos );
88 nRes =
m_aFile.setPos( uHow, uPos );
89 if ( ( nRes == ::osl::FileBase::E_NETWORK
90 || nRes == ::osl::FileBase::E_INVAL )
92 nRes =
m_aFile.setPos( uHow, uPos );
98 nRes =
m_aFile.setPos( uHow, uPos );
107 return ::osl::FileBase::E_NETWORK;
114 ::osl::FileBase::RC nRes = ::osl::FileBase::E_NETWORK;
121 nRes =
m_aFile.setSize( uSize );
127 nRes =
m_aFile.setSize( uSize );
128 if ( ( nRes == ::osl::FileBase::E_NETWORK
129 || nRes == ::osl::FileBase::E_INVAL )
131 nRes =
m_aFile.setSize( uSize );
137 nRes =
m_aFile.setSize( uSize );
145 ::osl::FileBase::RC nRes = ::osl::FileBase::E_NETWORK;
148 nRes =
m_aFile.getSize( rSize );
152 if ( ( nRes == ::osl::FileBase::E_NETWORK
153 || nRes == ::osl::FileBase::E_INVAL )
156 nRes =
m_aFile.getSize( rSize );
169 return ::osl::FileBase::E_NETWORK;
171 return m_aFile.read( pBuffer, uBytesRequested, rBytesRead );
177 return ::osl::FileBase::E_NETWORK;
179 return m_aFile.write( pBuffer, uBytesToWrite, rBytesWritten );
185 return ::osl::FileBase::E_NETWORK;
::osl::FileBase::RC close()
::osl::FileBase::RC setSize(sal_uInt64 uSize)
::osl::FileBase::RC getPos(sal_uInt64 &uPos)
::osl::FileBase::RC write(const void *pBuffer, sal_uInt64 uBytesToWrite, sal_uInt64 &rBytesWritten)
::osl::FileBase::RC read(void *pBuffer, sal_uInt64 uBytesRequested, sal_uInt64 &rBytesRead)
::osl::FileBase::RC setPos(sal_uInt32 uHow, sal_Int64 uPos)
::osl::FileBase::RC sync() const
::osl::FileBase::RC getSize(sal_uInt64 &rSize)
::osl::FileBase::RC open(sal_uInt32 uFlags)