XAP_InternalResource Class Reference

#include <xap_Resource.h>

Inheritance diagram for XAP_InternalResource:

XAP_Resource

List of all members.

Public Member Functions

 XAP_InternalResource (const char *resource_id)
 ~XAP_InternalResource ()
const char * buffer (const char *new_buffer, UT_uint32 new_buffer_length, bool base64_encoded=false)
const char * buffer () const
UT_uint32 length () const
UT_Error write_base64 (void *context, Writer &writer)
const UT_UTF8Stringtype (const UT_UTF8String &new_content_type)
const UT_UTF8Stringtype (const char *new_content_type)
const UT_UTF8Stringtype () const

Private Member Functions

void clear ()

Private Attributes

char * m_buffer
UT_uint32 m_buffer_length
UT_UTF8String m_content_type

Classes

class  Writer


Constructor & Destructor Documentation

XAP_InternalResource::XAP_InternalResource ( const char *  resource_id  ) 

XAP_InternalResource::~XAP_InternalResource (  ) 

References clear().


Member Function Documentation

const char * XAP_InternalResource::buffer ( const char *  new_buffer,
UT_uint32  new_buffer_length,
bool  base64_encoded = false 
)

const char* XAP_InternalResource::buffer (  )  const [inline]

UT_uint32 XAP_InternalResource::length (  )  const [inline]

UT_Error XAP_InternalResource::write_base64 ( void *  context,
Writer writer 
)

const UT_UTF8String & XAP_InternalResource::type ( const UT_UTF8String new_content_type  ) 

const UT_UTF8String & XAP_InternalResource::type ( const char *  new_content_type  ) 

References m_content_type.

const UT_UTF8String& XAP_InternalResource::type (  )  const [inline]

void XAP_InternalResource::clear ( void   )  [private]

References m_buffer, and m_buffer_length.

Referenced by buffer(), and ~XAP_InternalResource().


Member Data Documentation

Referenced by buffer(), clear(), and write_base64().

Referenced by buffer(), clear(), and write_base64().

Referenced by type().


The documentation for this class was generated from the following files:

Generated on Sat Nov 22 00:07:16 2008 for AbiWord by  doxygen 1.5.5