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

XAP_ResourceManager Class Reference

#include <xap_ResourceManager.h>

List of all members.


class  Writer

Public Member Functions

 XAP_ResourceManager ()
 ~XAP_ResourceManager ()
const UT_UTF8String new_id (bool bInternal=true)
XAP_Resourceresource (const char *href, bool bInternal, UT_uint32 *index=0)
XAP_Resourcecurrent () const
void clear_current ()
bool ref (const char *href)
void unref (const char *href)
UT_uint32 count () const
XAP_Resourceoperator[] (UT_uint32 i) const
UT_Error write_xml (void *context, Writer &writer)

Private Member Functions

bool grow ()

Private Attributes

XAP_Resource ** m_resource
UT_uint32 m_resource_count
UT_uint32 m_resource_max
UT_uint32 m_id_number

Constructor & Destructor Documentation

XAP_ResourceManager::XAP_ResourceManager (  ) 
XAP_ResourceManager::~XAP_ResourceManager (  ) 

References m_resource, and m_resource_count.

Member Function Documentation

void XAP_ResourceManager::clear_current (  )  [inline]
UT_uint32 XAP_ResourceManager::count (  )  const [inline]
XAP_Resource* XAP_ResourceManager::current (  )  const [inline]

Referenced by IE_Imp_XML::charData().

bool XAP_ResourceManager::grow (  )  [private]

References m_resource, m_resource_count, and m_resource_max.

Referenced by ref().

const UT_UTF8String XAP_ResourceManager::new_id ( bool  bInternal = true  ) 
XAP_Resource* XAP_ResourceManager::operator[] ( UT_uint32  i  )  const [inline]
bool XAP_ResourceManager::ref ( const char *  href  ) 
XAP_Resource * XAP_ResourceManager::resource ( const char *  href,
bool  bInternal,
UT_uint32 index = 0 
void XAP_ResourceManager::unref ( const char *  href  ) 
UT_Error XAP_ResourceManager::write_xml ( void *  context,
Writer writer 

Member Data Documentation

Referenced by resource().

Referenced by new_id().

Referenced by grow().

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