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

Modifier instance - Associates some suffix strings (e.g. "b") with a semantic (e.g. multiply by one billion) More...

#include <SmartLexicalCast.hpp>

Public Attributes

std::vector< const char * > options
 Suffix strings identifying this modifier (case sensitive)
 
uint64_t mult
 Multiplier applied to the value when this modifier is found.
 

Detailed Description

Modifier instance - Associates some suffix strings (e.g. "b") with a semantic (e.g. multiply by one billion)

Definition at line 29 of file SmartLexicalCast.hpp.

Member Data Documentation

◆ mult

uint64_t sparta::utils::Modifier::mult

Multiplier applied to the value when this modifier is found.

Definition at line 38 of file SmartLexicalCast.hpp.

◆ options

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

Suffix strings identifying this modifier (case sensitive)

Definition at line 33 of file SmartLexicalCast.hpp.


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