Leading Numbers Parsing.
More...
#include <prtypes.h>
#include <math.h>
Go to the source code of this file.
|
template<class CHARTYPE > |
PRInt32 | SB_GetCharType (const CHARTYPE *p) |
|
template<class CHARTYPE > |
void | SB_ExtractLeadingNumber (const CHARTYPE *str, PRBool *hasLeadingNumber, PRFloat64 *leadingNumber, PRInt32 *numberLength) |
|
template<class CHARTYPE > |
PRInt32 | SB_FindNextNumber (const CHARTYPE *aStr) |
|
Leading Numbers Parsing.
Definition in file sbLeadingNumbers.h.
#define CHARTYPE_DECIMALPOINT 2 |
#define CHARTYPE_EXPONENT 4 |
template<class CHARTYPE >
void SB_ExtractLeadingNumber |
( |
const CHARTYPE * |
str, |
|
|
PRBool * |
hasLeadingNumber, |
|
|
PRFloat64 * |
leadingNumber, |
|
|
PRInt32 * |
numberLength |
|
) |
| |
|
inline |
template<class CHARTYPE >
PRInt32 SB_FindNextNumber |
( |
const CHARTYPE * |
aStr | ) |
|
|
inline |
template<class CHARTYPE >
PRInt32 SB_GetCharType |
( |
const CHARTYPE * |
p | ) |
|
|
inline |