Doxygen
Loading...
Searching...
No Matches
PortugueseTranslatorUtils Namespace Reference

Functions

bool isClassMemberHighlightMasculine (ClassMemberHighlight::Enum hl)
 
bool isFileMemberHighlightMasculine (FileMemberHighlight::Enum hl)
 
bool isNamespaceMemberHighlightMasculine (NamespaceMemberHighlight::Enum hl)
 
bool isModuleMemberHighlightMasculine (ModuleMemberHighlight::Enum hl)
 

Function Documentation

◆ isClassMemberHighlightMasculine()

bool PortugueseTranslatorUtils::isClassMemberHighlightMasculine ( ClassMemberHighlight::Enum hl)
inline

Returns true if the gender of the given component is masculine in Portuguese.

Definition at line 78 of file translator_br.h.

79 {
80 switch (hl)
81 {
83 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
84 {
85 // as estruturas e uniƵes
86 return false;
87 }
88 else
89 {
90 // os membros da classe
91 return true;
92 }
93 break;
99 return false;
103 default:
104 return true;
105 }
106 }
#define Config_getBool(name)
Definition config.h:33

References ClassMemberHighlight::All, Config_getBool, ClassMemberHighlight::Enums, ClassMemberHighlight::EnumValues, ClassMemberHighlight::Events, ClassMemberHighlight::Functions, ClassMemberHighlight::Properties, ClassMemberHighlight::Related, ClassMemberHighlight::Typedefs, and ClassMemberHighlight::Variables.

Referenced by TranslatorBrazilian::trCompoundMembersDescriptionTotal(), and TranslatorPortuguese::trCompoundMembersDescriptionTotal().

◆ isFileMemberHighlightMasculine()

bool PortugueseTranslatorUtils::isFileMemberHighlightMasculine ( FileMemberHighlight::Enum hl)
inline

Returns true if the gender of the given component is masculine in Portuguese.

Definition at line 110 of file translator_br.h.

References FileMemberHighlight::All, FileMemberHighlight::Defines, FileMemberHighlight::Dictionaries, FileMemberHighlight::Enums, FileMemberHighlight::EnumValues, FileMemberHighlight::Functions, FileMemberHighlight::Sequences, FileMemberHighlight::Typedefs, and FileMemberHighlight::Variables.

Referenced by TranslatorBrazilian::trFileMembersDescriptionTotal(), and TranslatorPortuguese::trFileMembersDescriptionTotal().

◆ isModuleMemberHighlightMasculine()

bool PortugueseTranslatorUtils::isModuleMemberHighlightMasculine ( ModuleMemberHighlight::Enum hl)
inline

◆ isNamespaceMemberHighlightMasculine()

bool PortugueseTranslatorUtils::isNamespaceMemberHighlightMasculine ( NamespaceMemberHighlight::Enum hl)
inline

Returns true if the gender of the given component is masculine in Brazilian Portuguese and European Portuguese.

Definition at line 132 of file translator_br.h.

References NamespaceMemberHighlight::All, NamespaceMemberHighlight::Dictionaries, NamespaceMemberHighlight::Enums, NamespaceMemberHighlight::EnumValues, NamespaceMemberHighlight::Functions, NamespaceMemberHighlight::Sequences, NamespaceMemberHighlight::Typedefs, and NamespaceMemberHighlight::Variables.

Referenced by TranslatorBrazilian::trNamespaceMembersDescriptionTotal(), and TranslatorPortuguese::trNamespaceMembersDescriptionTotal().