LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::lqn::srvn_detail::Val Struct Reference

A number as written: its source spelling and its value. More...

#include <line/lang/lqn/srvn_reader.h>

Collaboration diagram for line::lqn::srvn_detail::Val:

Public Member Functions

 Val ()
 Val (std::string t, double v)

Public Attributes

bool has = false
std::string text
double value = 0.0

Detailed Description

A number as written: its source spelling and its value.

has false is Python's None.

Definition at line 124 of file srvn_reader.h.

Constructor & Destructor Documentation

◆ Val() [1/2]

line::lqn::srvn_detail::Val::Val ( )
inline

Definition at line 128 of file srvn_reader.h.

◆ Val() [2/2]

line::lqn::srvn_detail::Val::Val ( std::string t,
double v )
inline

Definition at line 129 of file srvn_reader.h.

References has, text, and value.

Member Data Documentation

◆ has

bool line::lqn::srvn_detail::Val::has = false

◆ text

std::string line::lqn::srvn_detail::Val::text

Definition at line 126 of file srvn_reader.h.

Referenced by line::lqn::srvn_detail::attr(), and Val().

◆ value

double line::lqn::srvn_detail::Val::value = 0.0

The documentation for this struct was generated from the following file: