Public Member Functions | Protected Attributes

XAP_PrefsScheme Class Reference

#include <xap_Prefs.h>

List of all members.

Public Member Functions

 XAP_PrefsScheme (XAP_Prefs *pPrefs, const gchar *szSchemeName)
 ~XAP_PrefsScheme (void)
const gchar * getSchemeName (void) const
bool setSchemeName (const gchar *szNewSchemeName)
UT_uint32 getTickCount ()
bool setValue (const gchar *szKey, const gchar *szValue)
bool setValueBool (const gchar *szKey, bool bValue)
bool setValueInt (const gchar *szKey, const int nValue)
bool getValue (const gchar *szKey, const gchar **pszValue) const
bool getValue (const UT_String &szKey, UT_String &szValue) const
bool getValue (const char *szKey, std::string &szValue) const
bool getValueInt (const gchar *szKey, int &nValue) const
bool getValueBool (const gchar *szKey, bool *pbValue) const
bool getNthValue (UT_uint32 k, const gchar **pszKey, const gchar **pszValue)

Protected Attributes

gchar * m_szName
UT_GenericStringMap< gchar * > m_hash
UT_GenericVector< const gchar * > m_sortedKeys
bool m_bValidSortedKeys
UT_uint32 m_uTick

Constructor & Destructor Documentation

XAP_PrefsScheme::XAP_PrefsScheme ( XAP_Prefs pPrefs,
const gchar *  szSchemeName 
XAP_PrefsScheme::~XAP_PrefsScheme ( void   ) 

Member Function Documentation

bool XAP_PrefsScheme::getNthValue ( UT_uint32  k,
const gchar **  pszKey,
const gchar **  pszValue 
const gchar * XAP_PrefsScheme::getSchemeName ( void   )  const
UT_uint32 XAP_PrefsScheme::getTickCount (  )  [inline]
bool XAP_PrefsScheme::getValue ( const UT_String szKey,
UT_String szValue 
) const
bool XAP_PrefsScheme::getValue ( const char *  szKey,
std::string &  szValue 
) const
bool XAP_PrefsScheme::getValue ( const gchar *  szKey,
const gchar **  pszValue 
) const
bool XAP_PrefsScheme::getValueBool ( const gchar *  szKey,
bool *  pbValue 
) const
bool XAP_PrefsScheme::getValueInt ( const gchar *  szKey,
int &  nValue 
) const

References gchar, and getValue().

Referenced by XAP_Prefs::getPrefsValueInt().

bool XAP_PrefsScheme::setSchemeName ( const gchar *  szNewSchemeName  ) 

References FREEP, and m_szName.

Referenced by XAP_Prefs::startElement().

bool XAP_PrefsScheme::setValue ( const gchar *  szKey,
const gchar *  szValue 
bool XAP_PrefsScheme::setValueBool ( const gchar *  szKey,
bool  bValue 
bool XAP_PrefsScheme::setValueInt ( const gchar *  szKey,
const int  nValue 

Member Data Documentation

Referenced by setValue(), and XAP_PrefsScheme().

Referenced by getNthValue().

gchar* XAP_PrefsScheme::m_szName [protected]

Referenced by setValue(), and XAP_PrefsScheme().

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