Donner
C++20 SVG rendering library
Loading...
Searching...
No Matches
IntegerParser.h File Reference
#include <string_view>
#include "donner/base/parser/ParseResult.h"
Include dependency graph for IntegerParser.h:

Classes

class  donner::base::parser::IntegerParser
 Parser for positive integers, either decimal or hexadecimal. More...
 
struct  donner::base::parser::IntegerParser::Result
 Container for parse result, containing the parsed result and the number of characters that were consumed to parse it. More...
 

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.
 
namespace  donner::base::parser
 Parsers for shared data types such as NumberParser and LengthParser.
 

Class Documentation

◆ donner::base::parser::IntegerParser::Result

struct donner::base::parser::IntegerParser::Result

Container for parse result, containing the parsed result and the number of characters that were consumed to parse it.

Class Members
size_t consumedChars = 0 The number of characters of the input string that were consumed to parse the number.
uint32_t number = 0 The parsed result.