dxFeed Graal CXX API v9.0.0
Loading...
Searching...
No Matches

Namespaces

namespace  day_util
 Functions of the day identifiers: the number of days since Unix epoch of January 1, 1970.

Classes

struct  ListenerCallScope
 The call of a listener of SimpleHandler in progress on the current thread. More...
struct  SimpleHandler< Signature >
 A thread-safe list of listeners with a given signature. More...
struct  SimpleHandler< void(ArgTypes...)>
 A thread-safe list of listeners with a given signature. More...
struct  TimePeriod
 Value class for a period of time with support for ISO8601 duration format. More...
struct  TimePeriodInfo
 Immutable value class for a range of time periods: the minimum and the maximum period in milliseconds. More...
struct  CmdArgsUtils
 Parsers of the command line style arguments: lists of symbols, candle symbols, event types, event sources and properties, as the samples and tools accept them. More...
struct  StringHash
 Universal functional object that allows searching std::unordered_map for string-like keys. More...
struct  String
 Common string constants used across the library. More...
struct  TimeFormat
 Utility class for parsing and formatting dates and times in ISO-compatible format. More...
struct  Timer
 A simple thread-safe timer. More...

Enumerations

enum class  Tristate : std::uint8_t { Tristate::FALSE = 0 , Tristate::TRUE = 1 , Tristate::NONE = 2 }
 Lightweight implementation of "nullable bool": a flag that is either set, not set, or not relevant. More...

Functions

DXFCPP_EXPORT std::string toString (double d)
 Converts a double value to a string in the format of Java Double.toString: the shortest decimal representation that identifies the value, 1.0 for 1, 1.0E-4 for 0.0001, NaN, Infinity, -Infinity, -0.0.
DXFCPP_BEGIN_NAMESPACE auto now ()
 Returns the current time.

Detailed Description

Enumeration Type Documentation

◆ Tristate

enum class Tristate : std::uint8_t
strong

Lightweight implementation of "nullable bool": a flag that is either set, not set, or not relevant.

Enumerator
FALSE 0 

The flag is not set.

TRUE 1 

The flag is set.

NONE 2 

The flag is not relevant: it is not taken into account.

Function Documentation

◆ now()

DXFCPP_BEGIN_NAMESPACE auto now ( )
inline

Returns the current time.

Returns
The number of milliseconds that have passed since the start of the Unix epoch (1970-01-01).

◆ toString()

DXFCPP_EXPORT std::string toString ( double d)

Converts a double value to a string in the format of Java Double.toString: the shortest decimal representation that identifies the value, 1.0 for 1, 1.0E-4 for 0.0001, NaN, Infinity, -Infinity, -0.0.

Parameters
dThe value.
Returns
The string.