SBLocalizedString Class Reference

#include <sbStringUtils.h>

Inheritance diagram for SBLocalizedString:
[legend]
Collaboration diagram for SBLocalizedString:
[legend]

Public Member Functions

 SBLocalizedString (const nsAString &aKey, const nsAString &aDefault, class nsIStringBundle *aStringBundle=nsnull)
 
 SBLocalizedString (const nsAString &aKey)
 
 SBLocalizedString (const char *aKey, const char *aDefault=nsnull, class nsIStringBundle *aStringBundle=nsnull)
 
 SBLocalizedString (const char *aKey, const nsTArray< nsString > &aParams, const char *aDefault=nsnull, class nsIStringBundle *aStringBundle=nsnull)
 
 SBLocalizedString (const nsAString &aKey, const nsTArray< nsString > &aParams, const nsAString &aDefault, class nsIStringBundle *aStringBundle=nsnull)
 

Detailed Description

Class used to create localized strings.

E.g., SomeFunction(SBLocalizedString("string_key"));

Definition at line 347 of file sbStringUtils.h.

Constructor & Destructor Documentation

SBLocalizedString::SBLocalizedString ( const nsAString &  aKey,
const nsAString &  aDefault,
class nsIStringBundle *  aStringBundle = nsnull 
)
inline

Definition at line 350 of file sbStringUtils.h.

Here is the call graph for this function:

SBLocalizedString::SBLocalizedString ( const nsAString &  aKey)
inline

Definition at line 359 of file sbStringUtils.h.

Here is the call graph for this function:

SBLocalizedString::SBLocalizedString ( const char *  aKey,
const char *  aDefault = nsnull,
class nsIStringBundle *  aStringBundle = nsnull 
)
inline

Definition at line 366 of file sbStringUtils.h.

Here is the call graph for this function:

SBLocalizedString::SBLocalizedString ( const char *  aKey,
const nsTArray< nsString > &  aParams,
const char *  aDefault = nsnull,
class nsIStringBundle *  aStringBundle = nsnull 
)
inline

Definition at line 375 of file sbStringUtils.h.

Here is the call graph for this function:

SBLocalizedString::SBLocalizedString ( const nsAString &  aKey,
const nsTArray< nsString > &  aParams,
const nsAString &  aDefault,
class nsIStringBundle *  aStringBundle = nsnull 
)
inline

Definition at line 399 of file sbStringUtils.h.

Here is the call graph for this function:


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