ICU-359 fixed virtual destructors/members incoherences.

X-SVN-Rev: 1142
This commit is contained in:
Yves Arrouye 2000-04-18 17:58:18 +00:00
parent 34e9e8fc9f
commit 3950fe01a2
18 changed files with 23 additions and 27 deletions

View file

@ -52,8 +52,7 @@
class U_COMMON_API DigitList { // Declare external to make compiler happy
public:
DigitList();
~DigitList(); // Make this virtual if subclassing is desired later
~DigitList();
DigitList(const DigitList&); // copy constructor
@ -76,13 +75,13 @@ public:
* you hit the decimal point, you set myDigitList.fDecimalAt = myDigitList.fCount;
* then go on appending digits.
*/
virtual void clear(void);
void clear(void);
/**
* Appends digits to the list. Ignores all digits beyond the first DBL_DIG,
* since they are not significant for either longs or doubles.
*/
virtual void append(char digit);
void append(char digit);
/**
* Utility routine to get the value of the digit list

View file

@ -52,8 +52,7 @@
class U_COMMON_API DigitList { // Declare external to make compiler happy
public:
DigitList();
~DigitList(); // Make this virtual if subclassing is desired later
~DigitList();
DigitList(const DigitList&); // copy constructor
@ -76,13 +75,13 @@ public:
* you hit the decimal point, you set myDigitList.fDecimalAt = myDigitList.fCount;
* then go on appending digits.
*/
virtual void clear(void);
void clear(void);
/**
* Appends digits to the list. Ignores all digits beyond the first DBL_DIG,
* since they are not significant for either longs or doubles.
*/
virtual void append(char digit);
void append(char digit);
/**
* Utility routine to get the value of the digit list

View file

@ -99,13 +99,13 @@ public:
* Returns true if "other" is the same as "this"
* @stable
*/
virtual bool_t operator==(const CollationElementIterator& other) const;
bool_t operator==(const CollationElementIterator& other) const;
/**
* Returns true if "other" is not the same as "this".
* @stable
*/
virtual bool_t operator!=(const CollationElementIterator& other) const;
bool_t operator!=(const CollationElementIterator& other) const;
/**
* Resets the cursor to the beginning of the string.

View file

@ -35,7 +35,7 @@ public:
enum EToken_Len { MAX_TOKEN_LEN = 128 };
CollationDummyTest();
~CollationDummyTest();
virtual ~CollationDummyTest();
void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par = NULL );
// main test method called with different strengths,

View file

@ -39,8 +39,7 @@ public:
enum EToken_Len { MAX_TOKEN_LEN = 16 };
CollationCurrencyTest();
~CollationCurrencyTest();
virtual ~CollationCurrencyTest();
void runIndexedTest(int32_t index, bool_t exec, char* &name, char* par = NULL);
void currencyTest(char *par);

View file

@ -32,7 +32,7 @@ public:
enum EToken_Len { MAX_TOKEN_LEN = 128 };
CollationDanishTest();
~CollationDanishTest();
virtual ~CollationDanishTest();
void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par = NULL );
// main test routine, Tests rules specific to danish collation

View file

@ -30,7 +30,7 @@ public:
enum EToken_Len { MAX_TOKEN_LEN = 128 };
CollationGermanTest();
~CollationGermanTest();
virtual ~CollationGermanTest();
void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par = NULL );
//main test routine, tests rules specific to germa locale

View file

@ -32,7 +32,7 @@ public:
enum EToken_Len { MAX_TOKEN_LEN = 128 };
CollationEnglishTest();
~CollationEnglishTest();
virtual ~CollationEnglishTest();
void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par = NULL );
// main test routine, tests rules defined by the "en" locale

View file

@ -32,7 +32,7 @@ public:
enum EToken_Len { MAX_TOKEN_LEN = 128 };
CollationSpanishTest();
~CollationSpanishTest();
virtual ~CollationSpanishTest();
void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par = NULL );
// amin test routine, tests rules specific to the spanish locale

View file

@ -31,7 +31,7 @@ public:
enum EToken_Len { MAX_TOKEN_LEN = 128 };
CollationFinnishTest();
~CollationFinnishTest();
virtual ~CollationFinnishTest();
void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par = NULL );
// main test routine, tests rules specific to the finish locale

View file

@ -30,7 +30,7 @@ public:
enum EToken_Len { MAX_TOKEN_LEN = 128 };
CollationFrenchTest();
~CollationFrenchTest();
virtual ~CollationFrenchTest();
void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par = NULL );
// amin test routine, test rules specific to the french locale

View file

@ -56,7 +56,7 @@ public:
enum ETotal_Test { TOTALTESTSET = 30 };
G7CollationTest() {}
~G7CollationTest() {}
virtual ~G7CollationTest() {}
void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par = NULL );
// main test routine, tests comparisons for a set of strings against sets of expected results

View file

@ -34,7 +34,7 @@ public:
enum EToken_Len { MAX_TOKEN_LEN = 5 };
CollationISOTest();
~CollationISOTest();
virtual ~CollationISOTest();
void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par = NULL );
// test proper comparing for 3774 entries of ISO 14651 characters

View file

@ -43,7 +43,7 @@ public:
enum EToken_Len { MAX_TOKEN_LEN = 128 };
CollationIteratorTest();
~CollationIteratorTest();
virtual ~CollationIteratorTest();
void runIndexedTest(int32_t index, bool_t exec, char* &name, char* par = NULL);

View file

@ -31,7 +31,7 @@ public:
enum EToken_Len { MAX_TOKEN_LEN = 128 };
CollationKanaTest();
~CollationKanaTest();
virtual ~CollationKanaTest();
void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par = NULL );
// main test routine, tests rules specific to "Kana" locale

View file

@ -39,7 +39,7 @@ public:
enum EToken_Len { MAX_TOKEN_LEN = 128 };
CollationRegressionTest();
~CollationRegressionTest();
virtual ~CollationRegressionTest();
void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par = NULL );

View file

@ -19,8 +19,7 @@ class CollationThaiTest : public IntlTest {
public:
CollationThaiTest();
~CollationThaiTest();
virtual ~CollationThaiTest();
void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par = NULL );

View file

@ -30,7 +30,7 @@ public:
enum EToken_Len { MAX_TOKEN_LEN = 128 };
CollationTurkishTest();
~CollationTurkishTest();
virtual ~CollationTurkishTest();
void runIndexedTest( int32_t index, bool_t exec, char* &name, char* par = NULL );
// main test routine, tests rules specific to turkish locale