Audacity  3.0.3
Public Member Functions | Public Attributes | Friends | List of all members
NumericConverter::FormatStrings Struct Reference

#include <NumericTextCtrl.h>

Collaboration diagram for NumericConverter::FormatStrings:
[legend]

Public Member Functions

 FormatStrings (const TranslatableString &format={}, const TranslatableString &fraction={})
 

Public Attributes

TranslatableString formatStr
 
TranslatableString fraction
 

Friends

bool operator== (const FormatStrings &x, const FormatStrings &y)
 
bool operator!= (const FormatStrings &x, const FormatStrings &y)
 

Detailed Description

Definition at line 58 of file NumericTextCtrl.h.

Constructor & Destructor Documentation

◆ FormatStrings()

NumericConverter::FormatStrings::FormatStrings ( const TranslatableString format = {},
const TranslatableString fraction = {} 
)
inline

Definition at line 64 of file NumericTextCtrl.h.

65  {},
66  const TranslatableString &fraction = {})
68  {}

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const FormatStrings x,
const FormatStrings y 
)
friend

Definition at line 72 of file NumericTextCtrl.h.

73  { return !(x == y); }

◆ operator==

bool operator== ( const FormatStrings x,
const FormatStrings y 
)
friend

Definition at line 70 of file NumericTextCtrl.h.

71  { return x.formatStr == y.formatStr && x.fraction == y.fraction; }

Member Data Documentation

◆ formatStr

TranslatableString NumericConverter::FormatStrings::formatStr

◆ fraction

TranslatableString NumericConverter::FormatStrings::fraction

Definition at line 62 of file NumericTextCtrl.h.


The documentation for this struct was generated from the following file:
TranslatableString
Holds a msgid for the translation catalog; may also bind format arguments.
Definition: TranslatableString.h:32
NumericConverter::FormatStrings::fraction
TranslatableString fraction
Definition: NumericTextCtrl.h:62
NumericConverter::FormatStrings::formatStr
TranslatableString formatStr
Definition: NumericTextCtrl.h:59
format
int format
Definition: ExportPCM.cpp:56