Audacity 3.2.0
|
#include <NumericConverterFormatter.h>
Public Member Functions | |
NumericField (const NumericField &)=default | |
NumericField & | operator= (const NumericField &)=default |
Static Public Member Functions | |
static NumericField | ForRange (size_t range, bool zeropad=true, size_t minDigits=0) |
static NumericField | WithDigits (size_t digits, bool zeropad=true) |
Public Attributes | |
size_t | digits { 0 } |
wxString | label |
wxString | formatStr |
size_t | pos { wxString::npos } |
Private Member Functions | |
NumericField (size_t digits, bool zeropad) | |
Definition at line 22 of file NumericConverterFormatter.h.
|
private |
Definition at line 36 of file NumericConverterFormatter.cpp.
References digits, formatStr, and wxT().
Referenced by ForRange(), and WithDigits().
|
default |
|
static |
Definition at line 45 of file NumericConverterFormatter.cpp.
References anonymous_namespace{NumericConverterFormatter.cpp}::CalculateDigits(), and NumericField().
Referenced by anonymous_namespace{ParsedNumericConverterFormatter.cpp}::ParsedNumericConverterFormatter::ParseFormatString(), anonymous_namespace{BeatsNumericConverterFormatter.cpp}::BeatsFormatter::UpdateFields(), and anonymous_namespace{BeatsNumericConverterFormatter.cpp}::BeatsFormatter::UpdateFormatForValue().
|
default |
|
static |
Definition at line 52 of file NumericConverterFormatter.cpp.
References digits, and NumericField().
Referenced by anonymous_namespace{BeatsNumericConverterFormatter.cpp}::BeatsFormatter::UpdateFields().
size_t NumericField::digits { 0 } |
Definition at line 35 of file NumericConverterFormatter.h.
Referenced by NumericField(), and WithDigits().
wxString NumericField::formatStr |
Definition at line 38 of file NumericConverterFormatter.h.
Referenced by NumericField().
wxString NumericField::label |
Definition at line 37 of file NumericConverterFormatter.h.
size_t NumericField::pos { wxString::npos } |
Definition at line 40 of file NumericConverterFormatter.h.