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

uno::Any convertToException (GError *pError, const uno::Reference< uno::XInterface > &rContext, bool bThrow)
 
void convertToIOException (GError *pError, const uno::Reference< uno::XInterface > &rContext)
 
static util::DateTime getDateFromUnix (time_t t)
 
static lang::IllegalAccessException getReadOnlyException (const uno::Reference< uno::XInterface > &rContext)
 
 XTYPEPROVIDER_COMMON_IMPL (Content)
 
css::uno::Any convertToException (GError *pError, const css::uno::Reference< css::uno::XInterface > &rContext, bool bThrow=true)
 
void convertToIOException (GError *pError, const css::uno::Reference< css::uno::XInterface > &rContext)
 
 XTYPEPROVIDER_IMPL_3 (ContentProvider, lang::XTypeProvider, 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 = true 
)
uno::Any gio::convertToException ( GError *  pError,
const uno::Reference< uno::XInterface > &  rContext,
bool  bThrow 
)

Definition at line 147 of file gio_content.cxx.

References EXCEPT, sMessage, and sName.

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

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

Definition at line 414 of file gio_content.cxx.

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

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

Definition at line 557 of file gio_content.cxx.

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 101 of file gio_provider.cxx.

References ucbhelper::getComponentContext().

gio::XTYPEPROVIDER_COMMON_IMPL ( Content  )
gio::XTYPEPROVIDER_IMPL_3 ( ContentProvider  ,
lang::XTypeProvider  ,
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 1062 of file gio_content.cxx.

const int gio::TRANSFER_BUFFER_SIZE = 65536

Definition at line 804 of file gio_content.cxx.