The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::utils::RadixPrefix Struct Reference

Prefix instance - Associates some prefix strings (e.g. "0x") with a radix and a set of allowed digit characters for parsing a string following this radix. More...

#include <SmartLexicalCast.hpp>

Public Attributes

const std::vector< const char * > options
 Prefix strings identifying this prefix (case sensitive)
 
const uint32_t radix
 Radix associated with this prefix.
 
const char *const digits
 Valid digits in a number following this prefix.
 

Detailed Description

Prefix instance - Associates some prefix strings (e.g. "0x") with a radix and a set of allowed digit characters for parsing a string following this radix.

Definition at line 46 of file SmartLexicalCast.hpp.

Member Data Documentation

◆ digits

const char* const sparta::utils::RadixPrefix::digits

Valid digits in a number following this prefix.

Definition at line 61 of file SmartLexicalCast.hpp.

◆ options

const std::vector<const char*> sparta::utils::RadixPrefix::options

Prefix strings identifying this prefix (case sensitive)

Definition at line 51 of file SmartLexicalCast.hpp.

◆ radix

const uint32_t sparta::utils::RadixPrefix::radix

Radix associated with this prefix.

Definition at line 56 of file SmartLexicalCast.hpp.


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