Ice 3.7 C++98 API Reference
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
c
e
g
i
m
n
o
p
r
s
t
u
v
w
Variables
b
c
e
g
i
k
n
p
s
t
u
w
Typedefs
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
Enumerator
a
c
d
e
h
i
l
n
o
p
r
s
t
u
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Typedefs
e
i
l
p
r
s
t
Enumerations
Enumerator
Related Functions
Files
File List
File Members
All
e
g
i
o
v
Functions
Macros
e
g
i
o
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
IceUtil
InputUtil.h
Go to the documentation of this file.
1
//
2
// Copyright (c) ZeroC, Inc. All rights reserved.
3
//
4
5
#ifndef ICE_UTIL_INPUT_UTIL_H
6
#define ICE_UTIL_INPUT_UTIL_H
7
8
#include <
IceUtil/Config.h
>
9
#include <string>
10
11
namespace
IceUtilInternal
12
{
13
14
//
15
// Portable strtoll/_strtoi64
16
//
17
ICE_API
IceUtil::Int64
strToInt64(
const
char
*,
char
**,
int
);
18
19
//
20
// stringToInt64 converts a string into a signed 64-bit integer.
21
// It's a simple wrapper around strToInt64.
22
//
23
// Semantics:
24
//
25
// - Ignore leading whitespace
26
//
27
// - If the string starts with '0', parse as octal
28
//
29
// - If the string starts with "0x" or "0X", parse as hexadecimal
30
//
31
// - Otherwise, parse as decimal
32
//
33
// - return value == true indicates a successful conversion and result contains the converted value
34
// - return value == false indicates an unsuccessful conversion:
35
// - result == 0 indicates that no digits were available for conversion
36
// - result == "Int64 Min" or result == "Int64 Max" indicate underflow or overflow.
37
//
38
ICE_API
bool
stringToInt64(
const
std::string&,
IceUtil::Int64
&);
39
40
}
41
42
#endif
ICE_API
#define ICE_API
Definition:
Config.h:197
Config.h
IceUtil::Int64
long long Int64
Definition:
Config.h:342
Generated by
1.8.20