OLD | NEW |
---|---|
1 /* | 1 /* |
2 *************************************************************************** | 2 *************************************************************************** |
3 * Copyright (C) 1999-2010 International Business Machines Corporation | 3 * Copyright (C) 1999-2010 International Business Machines Corporation |
4 * and others. All rights reserved. | 4 * and others. All rights reserved. |
5 *************************************************************************** | 5 *************************************************************************** |
6 */ | 6 */ |
7 // | 7 // |
8 // file: rbbi.c Contains the implementation of the rule based break iterato r | 8 // file: rbbi.c Contains the implementation of the rule based break iterato r |
9 // runtime engine and the API implementation for | 9 // runtime engine and the API implementation for |
10 // class RuleBasedBreakIterator | 10 // class RuleBasedBreakIterator |
11 // | 11 // |
12 | 12 |
13 #if defined(_MSC_VER) && defined(_HAS_EXCEPTIONS) && !_HAS_EXCEPTIONS | |
Marc-Antoine Ruel (Google)
2011/02/15 13:48:43
I think
#if defined(_MSC_VER) && _HAS_EXCEPTIONS
| |
14 #include <exception> | |
15 using std::exception; | |
16 #endif | |
13 #include <typeinfo> // for 'typeid' to work | 17 #include <typeinfo> // for 'typeid' to work |
14 | 18 |
15 #include "unicode/utypes.h" | 19 #include "unicode/utypes.h" |
16 | 20 |
17 #if !UCONFIG_NO_BREAK_ITERATION | 21 #if !UCONFIG_NO_BREAK_ITERATION |
18 | 22 |
19 #include "unicode/rbbi.h" | 23 #include "unicode/rbbi.h" |
20 #include "unicode/schriter.h" | 24 #include "unicode/schriter.h" |
21 #include "unicode/uchriter.h" | 25 #include "unicode/uchriter.h" |
22 #include "unicode/udata.h" | 26 #include "unicode/udata.h" |
(...skipping 1849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1872 }*/ | 1876 }*/ |
1873 | 1877 |
1874 void RuleBasedBreakIterator::setBreakType(int32_t type) { | 1878 void RuleBasedBreakIterator::setBreakType(int32_t type) { |
1875 fBreakType = type; | 1879 fBreakType = type; |
1876 reset(); | 1880 reset(); |
1877 } | 1881 } |
1878 | 1882 |
1879 U_NAMESPACE_END | 1883 U_NAMESPACE_END |
1880 | 1884 |
1881 #endif /* #if !UCONFIG_NO_BREAK_ITERATION */ | 1885 #endif /* #if !UCONFIG_NO_BREAK_ITERATION */ |
OLD | NEW |