LibreOffice Module i18npool (master) 1
|
#include <LocaleNode.hxx>
Public Member Functions | |
LCCalendarNode (const OUString &name, const Reference< XAttributeList > &attr) | |
virtual void | generateCode (const OFileWriter &of) const override |
bool | expectedCalendarElement (std::u16string_view rName, const LocaleNode *pNode, sal_Int16 nChild, std::u16string_view rCalendarID) const |
Public Member Functions inherited from LocaleNode | |
LocaleNode (OUString name, const Reference< XAttributeList > &attr) | |
void | setValue (std::u16string_view oValue) |
const OUString & | getName () const |
const OUString & | getValue () const |
const Attr & | getAttr () const |
sal_Int32 | getNumberOfChildren () const |
LocaleNode * | getChildAt (sal_Int32 idx) const |
const LocaleNode * | findNode (const char *name) const |
virtual | ~LocaleNode () |
void | addChild (LocaleNode *node) |
const LocaleNode * | getRoot () const |
int | getError () const |
virtual void | generateCode (const OFileWriter &of) const |
OUString | writeOUStringLiteralParameterCheckLen (const OFileWriter &of, const char *pParameterName, const LocaleNode *pNode, sal_Int32 nMinLen, sal_Int32 nMaxLen) const |
OUString | writeOUStringLiteralParameterCheckLen (const OFileWriter &of, const char *pNodeName, const char *pParameterName, sal_Int32 nMinLen, sal_Int32 nMaxLen) const |
void | incError (const char *pStr) const |
void | incError (std::u16string_view rStr) const |
void | incErrorInt (const char *pStr, int nVal) const |
void | incErrorStr (const char *pStr, std::u16string_view rVal) const |
void | incErrorStrStr (const char *pStr, std::u16string_view rVal1, std::u16string_view rVal2) const |
Additional Inherited Members | |
Static Public Member Functions inherited from LocaleNode | |
static LocaleNode * | createNode (const OUString &name, const Reference< XAttributeList > &attr) |
Protected Attributes inherited from LocaleNode | |
int | nError |
Definition at line 175 of file LocaleNode.hxx.
|
inline |
Definition at line 177 of file LocaleNode.hxx.
References name.
bool LCCalendarNode::expectedCalendarElement | ( | std::u16string_view | rName, |
const LocaleNode * | pNode, | ||
sal_Int16 | nChild, | ||
std::u16string_view | rCalendarID | ||
) | const |
Definition at line 1542 of file LocaleNode.cxx.
References LocaleNode::getChildAt(), LocaleNode::getName(), LocaleNode::getNumberOfChildren(), and LocaleNode::incErrorStrStr().
Referenced by generateCode().
|
overridevirtual |
Reimplemented from LocaleNode.
Definition at line 1560 of file LocaleNode.cxx.
References expectedCalendarElement(), LocaleNode::getAttr(), LocaleNode::getChildAt(), LocaleNode::getName(), LocaleNode::getNumberOfChildren(), LocaleNode::getValue(), Attr::getValueByName(), i, LocaleNode::incError(), LocaleNode::incErrorInt(), LocaleNode::incErrorStr(), lcl_writeAbbrFullNarrArrays(), lcl_writeAbbrFullNarrNames(), u, OFileWriter::writeAsciiString(), OFileWriter::writeHexInt(), OFileWriter::writeInt(), OFileWriter::writeOUStringFunction(), OFileWriter::writeOUStringLiteralDefaultParameter(), OFileWriter::writeOUStringLiteralIntParameter(), OFileWriter::writeOUStringLiteralParameter(), and OFileWriter::writeOUStringRefFunction().