LLResMgr Class Reference

#include <llresmgr.h>

Inheritance diagram for LLResMgr:

Inheritance graph
[legend]
Collaboration diagram for LLResMgr:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLResMgr ()
void setLocale (LLLOCALE_ID locale_id)
LLLOCALE_ID getLocale () const
char getDecimalPoint () const
char getThousandsSeparator () const
char getMonetaryDecimalPoint () const
char getMonetaryThousandsSeparator () const
std::string getMonetaryString (S32 input) const
void getIntegerString (LLString &output, S32 input) const
const LLFontGLgetRes (LLFONT_ID font_id) const
const LLFontGLgetRes (LLString font_id) const

Private Attributes

LLLOCALE_ID mLocale
const LLFontGL ** mFonts
const LLFontGLmUSAFonts [LLFONT_COUNT]
const LLFontGLmUKFonts [LLFONT_COUNT]


Detailed Description

Definition at line 60 of file llresmgr.h.


Constructor & Destructor Documentation

LLResMgr::LLResMgr (  ) 


Member Function Documentation

void LLResMgr::setLocale ( LLLOCALE_ID  locale_id  ) 

Definition at line 148 of file llresmgr.cpp.

References llassert, LLLOCALE_UK, LLLOCALE_USA, mFonts, mLocale, mUKFonts, and mUSAFonts.

Referenced by LLResMgr().

Here is the caller graph for this function:

LLLOCALE_ID LLResMgr::getLocale (  )  const [inline]

Definition at line 66 of file llresmgr.h.

References mLocale.

char LLResMgr::getDecimalPoint (  )  const

Definition at line 186 of file llresmgr.cpp.

Referenced by LLLineEditor::postvalidateFloat(), and LLLineEditor::prevalidateFloat().

Here is the caller graph for this function:

char LLResMgr::getThousandsSeparator (  )  const

Definition at line 201 of file llresmgr.cpp.

Referenced by getIntegerString().

Here is the caller graph for this function:

char LLResMgr::getMonetaryDecimalPoint (  )  const

Definition at line 216 of file llresmgr.cpp.

char LLResMgr::getMonetaryThousandsSeparator (  )  const

Definition at line 231 of file llresmgr.cpp.

Referenced by getMonetaryString().

Here is the caller graph for this function:

std::string LLResMgr::getMonetaryString ( S32  input  )  const

Definition at line 248 of file llresmgr.cpp.

References getMonetaryThousandsSeparator(), i, llformat(), LLLOCALE_UK, LLLOCALE_USA, mLocale, S32, and LLLocale::USER_LOCALE.

Referenced by LLFloaterPay::processPayPriceReply(), and LLStatusBar::setBalance().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLResMgr::getIntegerString ( LLString output,
S32  input 
) const

Definition at line 381 of file llresmgr.cpp.

References getThousandsSeparator(), llformat(), and S32.

Referenced by LLInventoryView::changed(), LLInventoryView::draw(), and LLFloaterSnapshot::draw().

Here is the call graph for this function:

Here is the caller graph for this function:

const LLFontGL* LLResMgr::getRes ( LLFONT_ID  font_id  )  const [inline]

const LLFontGL * LLResMgr::getRes ( LLString  font_id  )  const

Definition at line 427 of file llresmgr.cpp.

References getRes(), i, LLFONT_COUNT, NULL, and S32.

Here is the call graph for this function:


Member Data Documentation

Definition at line 81 of file llresmgr.h.

Referenced by getLocale(), getMonetaryString(), and setLocale().

const LLFontGL** LLResMgr::mFonts [private]

Definition at line 83 of file llresmgr.h.

Referenced by getRes(), and setLocale().

const LLFontGL* LLResMgr::mUSAFonts[LLFONT_COUNT] [private]

Definition at line 86 of file llresmgr.h.

Referenced by LLResMgr(), and setLocale().

const LLFontGL* LLResMgr::mUKFonts[LLFONT_COUNT] [private]

Definition at line 89 of file llresmgr.h.

Referenced by LLResMgr(), and setLocale().


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

Generated on Fri May 16 09:01:34 2008 for SecondLife by  doxygen 1.5.5