cocos2d-x  2.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rapidjson::internal Namespace Reference

Classes

class  Stack
 A type-unsafe stack for storing different types of data. More...
 

Functions

double  (int n)
 Computes integer powers of 10 in double (10.0^n). More...
 
template<typename Ch >
SizeType  (const Ch *s)
 Custom strlen() which works on different character types. More...
 

Function Documentation

double rapidjson::internal::Pow10 ( int  n)
inline

Computes integer powers of 10 in double (10.0^n).

This function uses lookup table for fast and accurate results.

Parameters
npositive/negative exponent. Must <= 308.
Returns
10.0^n
var Pow10 ( var  n)
inline

Computes integer powers of 10 in double (10.0^n).

This function uses lookup table for fast and accurate results.

Parameters
npositive/negative exponent. Must <= 308.
Returns
10.0^n
local Pow10 ( local  n)
inline

Computes integer powers of 10 in double (10.0^n).

This function uses lookup table for fast and accurate results.

Parameters
npositive/negative exponent. Must <= 308.
Returns
10.0^n
SizeType
rapidjson::internal::StrLen
( const Ch *  s)
inline

Custom strlen() which works on different character types.

Template Parameters
ChCharacter type (e.g. char, wchar_t, short)
Parameters
sNull-terminated input string.
Returns
Number of characters in the string.
Note
This has the same semantics as strlen(), the return value is not number of Unicode codepoints.
var StrLen ( var  s)
inline

Custom strlen() which works on different character types.

Template Parameters
ChCharacter type (e.g. char, wchar_t, short)
Parameters
sNull-terminated input string.
Returns
Number of characters in the string.
Note
This has the same semantics as strlen(), the return value is not number of Unicode codepoints.
local StrLen ( local  s)
inline

Custom strlen() which works on different character types.

Template Parameters
ChCharacter type (e.g. char, wchar_t, short)
Parameters
sNull-terminated input string.
Returns
Number of characters in the string.
Note
This has the same semantics as strlen(), the return value is not number of Unicode codepoints.