ICU-11917 BRS, Update macros #ifndef U_HIDE_DRAFT/INTERNAL/DEPRECATED_API

X-SVN-Rev: 37976
This commit is contained in:
Peter Edberg 2015-09-21 20:23:38 +00:00
parent 2657e9f6c6
commit 87970fe888
9 changed files with 21 additions and 6 deletions

View file

@ -13,6 +13,8 @@
#if !UCONFIG_NO_BREAK_ITERATION && !UCONFIG_NO_FILTERED_BREAK_ITERATION
#ifndef U_HIDE_DRAFT_API
U_NAMESPACE_BEGIN
/**
@ -112,6 +114,8 @@ class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
U_NAMESPACE_END
#endif /* U_HIDE_DRAFT_API */
#endif // #if !UCONFIG_NO_BREAK_ITERATION && !UCONFIG_NO_FILTERED_BREAK_ITERATION
#endif // #ifndef FILTEREDBRK_H

View file

@ -389,7 +389,7 @@ public:
*/
UnicodeSet(const uint16_t buffer[], int32_t bufferLen,
ESerialization serialization, UErrorCode &status);
#endif
#endif /* U_HIDE_INTERNAL_API */
/**
* Constructs a set from the given pattern. See the class

View file

@ -172,6 +172,8 @@ class UnicodeStringAppendable; // unicode/appendable.h
# endif
#endif
/* Cannot make the following #ifndef U_HIDE_INTERNAL_API,
it is used to construct other non-internal constants */
/**
* \def UNISTR_OBJECT_SIZE
* Desired sizeof(UnicodeString) in bytes.

View file

@ -571,8 +571,6 @@ public:
EStyle timeStyle = kDefault,
const Locale& aLocale = Locale::getDefault());
#ifndef U_HIDE_DRAFT_API
#ifndef U_HIDE_INTERNAL_API
/**
* Returns the best pattern given a skeleton and locale.
@ -586,8 +584,9 @@ public:
const Locale &locale,
const UnicodeString &skeleton,
UErrorCode &status);
#endif
#endif /* U_HIDE_INTERNAL_API */
#ifndef U_HIDE_DRAFT_API
/**
* Creates a date/time formatter for the given skeleton and
* default locale.

View file

@ -355,6 +355,7 @@ private:
public:
#ifndef U_HIDE_INTERNAL_API
/**
* @internal For ICU use only
*/
@ -368,6 +369,7 @@ public:
inline UBool isCustomIntlCurrencySymbol() const {
return fIsCustomIntlCurrencySymbol;
}
#endif /* U_HIDE_INTERNAL_API */
/**
* _Internal_ function - more efficient version of getSymbol,

View file

@ -41,6 +41,7 @@
#include "unicode/curramt.h"
#include "unicode/enumset.h"
#ifndef U_HIDE_INTERNAL_API
/**
* \def UNUM_DECIMALFORMAT_INTERNAL_SIZE
* @internal
@ -48,6 +49,7 @@
#if UCONFIG_FORMAT_FASTPATHS_49
#define UNUM_DECIMALFORMAT_INTERNAL_SIZE 16
#endif
#endif /* U_HIDE_INTERNAL_API */
U_NAMESPACE_BEGIN
@ -1682,7 +1684,7 @@ public:
*/
virtual void setMinimumGroupingDigits(int32_t newValue);
#endif
#endif /* U_HIDE_INTERNAL_API */
/**
* Allows you to get the behavior of the decimal separator with integers.

View file

@ -116,6 +116,7 @@ public:
*/
UBool operator!=(const DateTimePatternGenerator& other) const;
#ifndef U_HIDE_DRAFT_API
/**
* Utility to return a unique skeleton from a given pattern. For example,
* both "MMM-dd" and "dd/MMM" produce the skeleton "MMMdd".
@ -127,6 +128,7 @@ public:
* @draft ICU 56
*/
static UnicodeString staticGetSkeleton(const UnicodeString& pattern, UErrorCode& status);
#endif /* U_HIDE_DRAFT_API */
/**
* Utility to return a unique skeleton from a given pattern. For example,
@ -144,6 +146,7 @@ public:
return staticGetSkeleton(pattern, status);
}
#ifndef U_HIDE_DRAFT_API
/**
* Utility to return a unique base skeleton from a given pattern. This is
* the same as the skeleton, except that differences in length are minimized
@ -158,6 +161,7 @@ public:
* @draft ICU 56
*/
static UnicodeString staticGetBaseSkeleton(const UnicodeString& pattern, UErrorCode& status);
#endif /* U_HIDE_DRAFT_API */
/**
* Utility to return a unique base skeleton from a given pattern. This is

View file

@ -288,7 +288,7 @@ public:
* @draft ICU 55
*/
static TimeZone* U_EXPORT2 detectHostTimeZone();
#endif
#endif /* U_HIDE_DRAFT_API */
/**
* Creates a new copy of the default TimeZone for this host. Unless the default time

View file

@ -1269,6 +1269,7 @@ ucol_setVariableTop(UCollator *coll,
*/
U_STABLE uint32_t U_EXPORT2 ucol_getVariableTop(const UCollator *coll, UErrorCode *status);
#ifndef U_HIDE_DEPRECATED_API
/**
* Sets the variable top to the specified primary weight.
*
@ -1284,6 +1285,7 @@ U_STABLE uint32_t U_EXPORT2 ucol_getVariableTop(const UCollator *coll, UErrorCod
*/
U_DEPRECATED void U_EXPORT2
ucol_restoreVariableTop(UCollator *coll, const uint32_t varTop, UErrorCode *status);
#endif /* U_HIDE_DEPRECATED_API */
/**
* Thread safe cloning operation. The result is a clone of a given collator.