diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-09-02 02:21:23 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-09-02 02:21:23 -0300 |
commit | 0e137b5969f73a980827058e724bcdd00a2e0802 (patch) | |
tree | 5aef3712401455c33f16271ee387b71787d986a4 /tests/libsample/derived.cpp | |
parent | 146a43e6ab75e97c92ebef8cf7c218e8eb3a5c4a (diff) |
renamed PolymorphicData class to OverloadData, this should represent correctly
the class' function; other relative renamings were also performed
Diffstat (limited to 'tests/libsample/derived.cpp')
-rw-r--r-- | tests/libsample/derived.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/libsample/derived.cpp b/tests/libsample/derived.cpp index 4aeafd5e5..5a27a6c2f 100644 --- a/tests/libsample/derived.cpp +++ b/tests/libsample/derived.cpp @@ -84,31 +84,31 @@ Derived::defaultValue(int n) return ((double) n) + 0.1; } -PolymorphicFuncEnum -Derived::polymorphic(int i, int d) +OverloadedFuncEnum +Derived::overloaded(int i, int d) { //cout << __PRETTY_FUNCTION__ << "[i = 0, d = 0]" << endl; - return PolymorphicFunc_ii; + return OverloadedFunc_ii; } -PolymorphicFuncEnum -Derived::polymorphic(double n) +OverloadedFuncEnum +Derived::overloaded(double n) { //cout << __PRETTY_FUNCTION__ << endl; - return PolymorphicFunc_d; + return OverloadedFunc_d; } -Derived::OtherPolymorphicFuncEnum -Derived::otherPolymorphic(int a, int b, bool c, double d) +Derived::OtherOverloadedFuncEnum +Derived::otherOverloaded(int a, int b, bool c, double d) { //cout << __PRETTY_FUNCTION__ << endl; - return OtherPolymorphicFunc_iibd; + return OtherOverloadedFunc_iibd; } -Derived::OtherPolymorphicFuncEnum -Derived::otherPolymorphic(int a, double b) +Derived::OtherOverloadedFuncEnum +Derived::otherOverloaded(int a, double b) { //cout << __PRETTY_FUNCTION__ << endl; - return OtherPolymorphicFunc_id; + return OtherOverloadedFunc_id; } |