NovaSVG 0.10.0
A header-only SVG library
Loading...
Searching...
No Matches
svgparserutils.h File Reference
#include <cmath>
#include <string_view>
#include <limits>
Include dependency graph for svgparserutils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  novasvg
 Main namespace for the NovaSVG library.
 

Functions

constexpr bool novasvg::IS_NUM (int cc)
 
constexpr bool novasvg::IS_ALPHA (int cc)
 
constexpr bool novasvg::IS_WS (int cc)
 
constexpr void novasvg::stripLeadingSpaces (std::string_view &input)
 
constexpr void novasvg::stripTrailingSpaces (std::string_view &input)
 
constexpr void novasvg::stripLeadingAndTrailingSpaces (std::string_view &input)
 
constexpr bool novasvg::skipOptionalSpaces (std::string_view &input)
 
constexpr bool novasvg::skipOptionalSpacesOrDelimiter (std::string_view &input, char delimiter)
 
constexpr bool novasvg::skipOptionalSpacesOrComma (std::string_view &input)
 
constexpr bool novasvg::skipDelimiterAndOptionalSpaces (std::string_view &input, char delimiter)
 
constexpr bool novasvg::skipDelimiter (std::string_view &input, char delimiter)
 
constexpr bool novasvg::skipString (std::string_view &input, std::string_view value)
 
constexpr bool novasvg::isIntegralDigit (char ch, int base)
 
constexpr int novasvg::toIntegralDigit (char ch)
 
template<typename T >
bool novasvg::parseInteger (std::string_view &input, T &integer, int base=10)
 
template<typename T >
bool novasvg::parseNumber (std::string_view &input, T &number)