summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-06-09 13:34:59 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-06-09 13:34:59 +0000
commit8a446b5d6f5995d8acaadbe1a87690160dd00ae5 (patch)
tree7a2ae82e8d4ed01ac338d9a43c411e8df9cb2db4
parentb237206edc62ad9902cfea64d9e9e9b8c4e27bad (diff)
INTEGRATION: CWS localedata4 (1.8.4); FILE MERGED
2005/04/25 16:19:06 er 1.8.4.1: #i45077# very basic build time checks for locale data
-rw-r--r--i18npool/source/localedata/LocaleNode.hxx15
1 files changed, 13 insertions, 2 deletions
diff --git a/i18npool/source/localedata/LocaleNode.hxx b/i18npool/source/localedata/LocaleNode.hxx
index e00fc76fcca2..3528fbbb9786 100644
--- a/i18npool/source/localedata/LocaleNode.hxx
+++ b/i18npool/source/localedata/LocaleNode.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: LocaleNode.hxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: obo $ $Date: 2005-03-15 13:42:47 $
+ * last change: $Author: hr $ $Date: 2005-06-09 14:34:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -163,8 +163,19 @@ public:
void printR () const;
virtual ~LocaleNode();
void addChild ( LocaleNode * node);
+ const LocaleNode* getParent() const { return parent; };
+ const LocaleNode* getRoot() const;
int getError() const;
virtual void generateCode (const OFileWriter &of) const;
+ // MUST >= nMinLen
+ // nMinLen <= 0 : no error
+ // nMinLen > 0 : error if less than nMinLen characters
+ // SHOULD NOT > nMaxLen
+ // nMaxLen < 0 : any length
+ // nMaxLen >= 0 : warning if more than nMaxLen characters
+ OUString writeParameterCheckLen( const OFileWriter &of, const char* pNodeName, const char* pParameterName, sal_Int32 nMinLen, sal_Int32 nMaxLen ) const;
+ // ++nError with output to stderr
+ void incError( const char* pStr ) const;
static LocaleNode* createNode (const OUString& name,const Reference< XAttributeList > & attr);
};