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

Classes

class  Content
 
class  ContentProvider
 
class  DataSupplier
 
class  DynamicResultSet
 
class  InputStream
 
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)
 

Variables

const int TRANSFER_BUFFER_SIZE = 65536
 
const GFileCopyFlags DEFAULT_COPYDATA_FLAGS
 
constexpr OUStringLiteral GIO_FILE_TYPE = u"application/vnd.sun.staroffice.gio-file"
 
constexpr OUStringLiteral GIO_FOLDER_TYPE = u"application/vnd.sun.staroffice.gio-folder"
 

Typedef Documentation

◆ ResultList

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

Definition at line 51 of file gio_datasupplier.hxx.

Function Documentation

◆ convertToException()

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

Definition at line 137 of file gio_content.cxx.

References EXCEPT, sMessage, and sName.

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

◆ convertToIOException()

void gio::convertToIOException ( GError *  pError,
const css::uno::Reference< css::uno::XInterface > &  rContext 
)

◆ getDateFromUnix()

static css::util::DateTime gio::getDateFromUnix ( time_t  t)
static

Definition at line 421 of file gio_content.cxx.

References t.

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

◆ getReadOnlyException()

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

Definition at line 556 of file gio_content.cxx.

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

◆ XTYPEPROVIDER_COMMON_IMPL()

gio::XTYPEPROVIDER_COMMON_IMPL ( Content  )

◆ XTYPEPROVIDER_IMPL_3()

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

Variable Documentation

◆ DEFAULT_COPYDATA_FLAGS

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

Definition at line 1087 of file gio_content.cxx.

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

◆ GIO_FILE_TYPE

constexpr OUStringLiteral gio::GIO_FILE_TYPE = u"application/vnd.sun.staroffice.gio-file"
inlineconstexpr

◆ GIO_FOLDER_TYPE

constexpr OUStringLiteral gio::GIO_FOLDER_TYPE = u"application/vnd.sun.staroffice.gio-folder"
inlineconstexpr

◆ TRANSFER_BUFFER_SIZE

const int gio::TRANSFER_BUFFER_SIZE = 65536

Definition at line 829 of file gio_content.cxx.

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