X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2FAPI%2Fstructnlohmann_1_1basic__json_1_1lexer_1_1strtonum.html;fp=docs%2FAPI%2Fstructnlohmann_1_1basic__json_1_1lexer_1_1strtonum.html;h=0000000000000000000000000000000000000000;hb=bdbd414e8038630c154ee3c6b8bc9b3aeb954be6;hp=ad2964712754ce0873214dc32d3d3bd1ed3786bc;hpb=e9403c457453dba780e64af7de9462fad7217aa3;p=o-du%2Fphy.git diff --git a/docs/API/structnlohmann_1_1basic__json_1_1lexer_1_1strtonum.html b/docs/API/structnlohmann_1_1basic__json_1_1lexer_1_1strtonum.html deleted file mode 100644 index ad29647..0000000 --- a/docs/API/structnlohmann_1_1basic__json_1_1lexer_1_1strtonum.html +++ /dev/null @@ -1,200 +0,0 @@ - - - - - - - -o-du/phy: basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer >::lexer::strtonum Struct Reference - - - - - - - - - -
-
- - - - - - -
-
o-du/phy -
-
Intel O-RAN/X-RAN Generated Doxygen Documentation
-
-
- - - - - - - - -
-
- - -
- -
- - -
-
-
-Public Member Functions
-
-
basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer >::lexer::strtonum Struct Reference
-
-
- -

parse string into a built-in arithmetic type as if the current locale is POSIX. - More...

- -

#include <json.hpp>

-
-Collaboration diagram for basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer >::lexer::strtonum:
-
-
Collaboration graph
-
- - - - - - - -

-Public Member Functions

 strtonum (const char *start, const char *end)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value>::type>
bool to (T &val) const
 
-

Detailed Description

-

template<template< typename U, typename V, typename... Args > class ObjectType = std::map, template< typename U, typename... Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = std::int64_t, class NumberUnsignedType = std::uint64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator, template< typename T, typename SFINAE=void > class JSONSerializer = adl_serializer>
-struct nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer >::lexer::strtonum

- -

parse string into a built-in arithmetic type as if the current locale is POSIX.

-
Note
in floating-point case strtod may parse past the token's end - this is not an error
-
-any leading blanks are not handled
- -

Definition at line 11077 of file json.hpp.

-

Constructor & Destructor Documentation

- -

◆ strtonum()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
strtonum (const char * start,
const char * end 
)
-
-inline
-
- -

Definition at line 11080 of file json.hpp.

- -
-
-

Member Function Documentation

- -

◆ to()

- -
-
- - - - - -
- - - - - - - - -
bool to (T & val) const
-
-inline
-
-
Returns
true iff parsed successfully as number of type T
-
Parameters
- - -
[in,out]valshall contain parsed value, or undefined value if could not parse
-
-
- -

Definition at line 11091 of file json.hpp.

-
-Here is the call graph for this function:
-
-
- - - -
-
-Here is the caller graph for this function:
-
-
-
- -
-
-
The documentation for this struct was generated from the following file: -
- - - -