Classes | Public Member Functions | Private Member Functions | Private Attributes

XAP_InternalResource Class Reference

#include <xap_Resource.h>

Inheritance diagram for XAP_InternalResource:

List of all members.


class  Writer

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

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]
void XAP_InternalResource::clear ( void   )  [private]

References DELETEPV, m_buffer, and m_buffer_length.

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

UT_uint32 XAP_InternalResource::length (  )  const [inline]
const UT_UTF8String & XAP_InternalResource::type ( const UT_UTF8String new_content_type  ) 
const UT_UTF8String& XAP_InternalResource::type (  )  const [inline]
const UT_UTF8String & XAP_InternalResource::type ( const char *  new_content_type  ) 

References m_content_type.

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

Member Data Documentation

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

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