#include <gettext_plural_form.h>
Inheritance diagram for GettextPluralForm:Public Types | |
| using | NumT = unsigned long |
| using | Ptr = std::shared_ptr<GettextPluralForm> |
Public Member Functions | |
| size_t | size () const |
| virtual NumT | operator() (const NumT) const =0 |
| virtual | operator bool () const |
| virtual | ~GettextPluralForm () |
Static Public Member Functions | |
| static GettextPluralForm::Ptr | parse (const size_t nplurals, std::wstring_view str) |
| static GettextPluralForm::Ptr | parseHeaderLine (std::wstring_view str) |
Protected Member Functions | |
| GettextPluralForm (size_t nplurals) | |
Private Attributes | |
| const size_t | nplurals |
| using GettextPluralForm::NumT = unsigned long |
| using GettextPluralForm::Ptr = std::shared_ptr<GettextPluralForm> |
|
inlinevirtual |
|
inlineprotected |
|
inlinevirtual |
Implemented in BinaryOperation< F >, ConstValue, Identity, TernaryOperation, and UnaryOperation< F >.
|
static |
References nplurals, and parse_expr().
Referenced by parseHeaderLine().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References nplurals, parse(), str_ends_with(), and str_starts_with().
Referenced by Translations::loadMoTranslation(), Translations::loadPoTranslation(), and TEST_CASE().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
private |
Referenced by parse(), parseHeaderLine(), and size().