sbNumberPropertyInfo.cpp File Reference
#include "sbNumberPropertyInfo.h"
#include <float.h>
#include <nsAutoPtr.h>
#include <prprf.h>
#include <sbLockUtils.h>
#include <sbTArrayStringEnumerator.h>
Include dependency graph for sbNumberPropertyInfo.cpp:

Go to the source code of this file.

Functions

static PRBool IsValidRadix (PRUint32 aRadix)
 
static const char * GetFmtFromRadix (PRUint32 aRadix)
 
static const char * GetSortableFmtFromRadix (PRUint32 aRadix)
 
 NS_IMPL_ADDREF_INHERITED (sbNumberPropertyInfo, sbPropertyInfo)
 
 NS_IMPL_RELEASE_INHERITED (sbNumberPropertyInfo, sbPropertyInfo)
 

Variables

static const char * gsFmtRadix8 = "%llo"
 
static const char * gsFmtRadix10 = "%lld"
 
static const char * gsFmtRadix16 = "%llX"
 
static const char * gsFmtFloat = "%lg"
 
static const char * gsSortFmtRadix8 = "%022llo"
 
static const char * gsSortFmtRadix10 = "%+020lld"
 
static const char * gsSortFmtRadix16 = "%016llX"
 
static const char * gsSortFmtFloat = "%+046.16lf"
 

Function Documentation

static const char* GetFmtFromRadix ( PRUint32  aRadix)
inlinestatic

Definition at line 56 of file sbNumberPropertyInfo.cpp.

Here is the caller graph for this function:

static const char* GetSortableFmtFromRadix ( PRUint32  aRadix)
inlinestatic

Definition at line 88 of file sbNumberPropertyInfo.cpp.

Here is the caller graph for this function:

static PRBool IsValidRadix ( PRUint32  aRadix)
inlinestatic

Definition at line 37 of file sbNumberPropertyInfo.cpp.

NS_IMPL_ADDREF_INHERITED ( sbNumberPropertyInfo  ,
sbPropertyInfo   
)
NS_IMPL_RELEASE_INHERITED ( sbNumberPropertyInfo  ,
sbPropertyInfo   
)

Variable Documentation

const char* gsFmtFloat = "%lg"
static

Definition at line 53 of file sbNumberPropertyInfo.cpp.

const char* gsFmtRadix10 = "%lld"
static

Definition at line 51 of file sbNumberPropertyInfo.cpp.

const char* gsFmtRadix16 = "%llX"
static

Definition at line 52 of file sbNumberPropertyInfo.cpp.

const char* gsFmtRadix8 = "%llo"
static

Definition at line 50 of file sbNumberPropertyInfo.cpp.

const char* gsSortFmtFloat = "%+046.16lf"
static

Definition at line 85 of file sbNumberPropertyInfo.cpp.

const char* gsSortFmtRadix10 = "%+020lld"
static

Definition at line 83 of file sbNumberPropertyInfo.cpp.

const char* gsSortFmtRadix16 = "%016llX"
static

Definition at line 84 of file sbNumberPropertyInfo.cpp.

const char* gsSortFmtRadix8 = "%022llo"
static

Definition at line 82 of file sbNumberPropertyInfo.cpp.