sbStringTransform Class Reference

#include <sbStringTransform.h>

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

Public Member Functions

 sbStringTransform ()
 
NS_DECL_ISUPPORTS
NS_DECL_SBISTRINGTRANSFORM
nsresult 
Init ()
 
- Public Member Functions inherited from sbIStringTransform
AString normalizeString (in AString aCharset, in unsigned long aTransformFlags, in AString aInput)
 
AString convertToCharset (in AString aDestCharset, in AString aInput)
 
AString guessCharset (in AString aInput)
 
AString removeArticles (in AString aInput, [optional] in AString aLanguage)
 

Protected Member Functions

 ~sbStringTransform ()
 

Additional Inherited Members

- Public Attributes inherited from sbIStringTransform
const unsigned long TRANSFORM_MAP_HIRAGANA = 1
 Unsupported at this time. More...
 
const unsigned long TRANSFORM_MAP_KATAKANA = 1 << 1
 Unsupported at this time. More...
 
const unsigned long TRANSFORM_LOWERCASE = 1 << 4
 Transform to lowercase. More...
 
const unsigned long TRANSFORM_UPPERCASE = 1 << 5
 Transform to uppercase. More...
 
const unsigned long TRANSFORM_SIMPLIFIED_CHINESE = 1 << 6
 Unsupported at this time. More...
 
const unsigned long TRANSFORM_TRADITIONAL_CHINESE = 1 << 7
 Unsupported at this time. More...
 
const unsigned long TRANSFORM_IGNORE_SYMBOLS = 1 << 8
 Ignore symbol characters. This includes but is not limited to #, $, +, -. More...
 
const unsigned long TRANSFORM_IGNORE_NONSPACE = 1 << 9
 Ignore non-spacing characters. This includes but is not limited to diacritics. More...
 
const unsigned long TRANSFORM_REVERSE_BYTES = 1 << 11
 
const unsigned long TRANSFORM_IGNORE_NONALPHANUM = 1 << 12
 Ignore non-alphanumerical characters. More...
 
const unsigned long TRANSFORM_IGNORE_NONALPHANUM_IGNORE_SPACE = 1 << 13
 
const unsigned long TRANSFORM_IGNORE_LEADING = 1 << 14
 TRANSFORM_IGNORE_* operates on leading characters and stops as soon as a non-ignored character is found, at which point the rest of the string is copied as-is. More...
 
const unsigned long TRANSFORM_IGNORE_KEEPNUMBERSYMBOLS = 1 << 15
 TRANSFORM_IGNORE_* keeps number symbols in. More...
 

Detailed Description

Definition at line 41 of file sbStringTransform.h.

Constructor & Destructor Documentation

sbStringTransform::sbStringTransform ( )
sbStringTransform::~sbStringTransform ( )
protected

Definition at line 37 of file sbStringTransform.cpp.

Member Function Documentation

nsresult sbStringTransform::Init ( )

Definition at line 45 of file sbStringTransform.cpp.

Here is the call graph for this function:


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