Public Member Functions | Protected Attributes | Private Attributes

XAP_DiskStringSet Class Reference

#include <xap_Strings.h>

Inheritance diagram for XAP_DiskStringSet:
XAP_StringSet UT_XML::Listener AP_DiskStringSet

List of all members.

Public Member Functions

 XAP_DiskStringSet (XAP_App *pApp)
virtual ~XAP_DiskStringSet (void)
virtual bool setValue (XAP_String_Id id, const gchar *szString)
virtual bool setValue (const gchar *szId, const gchar *szString)
virtual const gchar * getValue (XAP_String_Id id) const
virtual bool loadStringsFromDisk (const char *szFilename)
bool setLanguage (const gchar *szLanguageName)
void setFallbackStringSet (XAP_StringSet *pFallback)
void startElement (const gchar *name, const gchar **atts)
void endElement (const gchar *name)
void charData (const gchar *s, int len)

Protected Attributes


Private Attributes

UT_GenericVector< gchar * > m_vecStringsXAP
std::map< std::string, UT_uint32m_hash
struct {
   bool   m_parserStatus

Constructor & Destructor Documentation

XAP_DiskStringSet::XAP_DiskStringSet ( XAP_App pApp  ) 
XAP_DiskStringSet::~XAP_DiskStringSet ( void   )  [virtual]

Member Function Documentation

void XAP_DiskStringSet::charData ( const gchar *  s,
int  len 
) [virtual]

Implements UT_XML::Listener.

void XAP_DiskStringSet::endElement ( const gchar *  name  )  [virtual]

Implements UT_XML::Listener.

const gchar * XAP_DiskStringSet::getValue ( XAP_String_Id  id  )  const [virtual]
bool XAP_DiskStringSet::loadStringsFromDisk ( const char *  szFilename  )  [virtual]
void XAP_DiskStringSet::setFallbackStringSet ( XAP_StringSet pFallback  ) 
bool XAP_DiskStringSet::setLanguage ( const gchar *  szLanguageName  ) 

References XAP_StringSet::m_szLanguageName.

Referenced by startElement().

bool XAP_DiskStringSet::setValue ( const gchar *  szId,
const gchar *  szString 
) [virtual]

Reimplemented in AP_DiskStringSet.

References FREEP, gchar, id, m_hash, s_map, setValue(), szName, and UT_DEBUGMSG.

void XAP_DiskStringSet::startElement ( const gchar *  name,
const gchar **  atts 
) [virtual]

Member Data Documentation

std::map<std::string, UT_uint32> XAP_DiskStringSet::m_hash [private]

Referenced by setValue().

struct { ... } XAP_DiskStringSet::m_parserState [private]

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