LibreOffice Module ucb (master)  1
Classes | Typedefs | Functions | Variables
gio Namespace Reference

Classes

class  Content
 
class  ContentProvider
 
class  DataSupplier
 
class  DynamicResultSet
 
class  InputStream
 
class  MountOperation
 
class  OutputStream
 
struct  ResultListEntry
 
class  Seekable
 

Typedefs

typedef std::vector< std::unique_ptr< ResultListEntry > > ResultList
 

Functions

css::uno::Any convertToException (GError *pError, const css::uno::Reference< css::uno::XInterface > &rContext, bool bThrow)
 
void convertToIOException (GError *pError, const css::uno::Reference< css::uno::XInterface > &rContext)
 
static css::util::DateTime getDateFromUnix (time_t t)
 
static css::lang::IllegalAccessException getReadOnlyException (const css::uno::Reference< css::uno::XInterface > &rContext)
 
 XTYPEPROVIDER_COMMON_IMPL (Content)
 
 XTYPEPROVIDER_IMPL_3 (ContentProvider, css::lang::XTypeProvider, css::lang::XServiceInfo, css::ucb::XContentProvider)
 
 XSERVICEINFO_COMMOM_IMPL (ContentProvider, OUString("com.sun.star.comp.GIOContentProvider")) static css
 
 ONE_INSTANCE_SERVICE_FACTORY_IMPL (ContentProvider)
 

Variables

const int TRANSFER_BUFFER_SIZE = 65536
 
const GFileCopyFlags DEFAULT_COPYDATA_FLAGS
 

Typedef Documentation

typedef std::vector< std::unique_ptr<ResultListEntry> > gio::ResultList

Definition at line 52 of file gio_datasupplier.hxx.

Function Documentation

css::uno::Any gio::convertToException ( GError *  pError,
const css::uno::Reference< css::uno::XInterface > &  rContext,
bool  bThrow 
)

Definition at line 149 of file gio_content.cxx.

References EXCEPT, sMessage, and sName.

Referenced by convertToIOException(), gio::Content::feedSink(), and gio::Content::mapGIOError().

void gio::convertToIOException ( GError *  pError,
const css::uno::Reference< css::uno::XInterface > &  rContext 
)
static css::util::DateTime gio::getDateFromUnix ( time_t  t)
static

Definition at line 428 of file gio_content.cxx.

Referenced by gio::Content::getPropertyValues().

static css::lang::IllegalAccessException gio::getReadOnlyException ( const css::uno::Reference< css::uno::XInterface > &  rContext)
static

Definition at line 560 of file gio_content.cxx.

Referenced by gio::Content::setPropertyValues().

gio::ONE_INSTANCE_SERVICE_FACTORY_IMPL ( ContentProvider  )
gio::XSERVICEINFO_COMMOM_IMPL ( ContentProvider  ,
OUString("com.sun.star.comp.GIOContentProvider")   
)
Exceptions
css::uno::Exception

Definition at line 99 of file gio_provider.cxx.

References ucbhelper::getComponentContext().

gio::XTYPEPROVIDER_COMMON_IMPL ( Content  )
gio::XTYPEPROVIDER_IMPL_3 ( ContentProvider  ,
css::lang::XTypeProvider  ,
css::lang::XServiceInfo  ,
css::ucb::XContentProvider   
)

Variable Documentation

const GFileCopyFlags gio::DEFAULT_COPYDATA_FLAGS
Initial value:
=
static_cast<GFileCopyFlags>(G_FILE_COPY_OVERWRITE|G_FILE_COPY_TARGET_DEFAULT_PERMS)

Definition at line 1083 of file gio_content.cxx.

const int gio::TRANSFER_BUFFER_SIZE = 65536

Definition at line 825 of file gio_content.cxx.