From: Teiniker E. <tei...@us...> - 2007-01-25 17:37:23
|
Update of /cvsroot/ccmtools/ccmtools/test/CppGenerator/facet_constants/impl In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv19704/test/CppGenerator/facet_constants/impl Modified Files: Tag: RELEASE-0_8-BRANCH Test_iface_impl.cc Log Message: Changed implementation of interface constants from C++ class constants to static getter methods (to support the Interix platform). Index: Test_iface_impl.cc =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/test/CppGenerator/facet_constants/impl/Test_iface_impl.cc,v retrieving revision 1.9 retrieving revision 1.9.2.1 diff -C2 -d -r1.9 -r1.9.2.1 *** Test_iface_impl.cc 5 Jan 2007 14:17:27 -0000 1.9 --- Test_iface_impl.cc 25 Jan 2007 17:37:19 -0000 1.9.2.1 *************** *** 22,39 **** : component(component_impl) { ! cout << " BOOLEAN_CONST = " << Constants::BOOLEAN_CONST << endl; ! cout << " OCTET_CONST = " << (int)Constants::OCTET_CONST << endl; ! cout << " SHORT_CONST = " << Constants::SHORT_CONST << endl; ! cout << " SHORT_CONST = " << Constants::SHORT_CONST << endl; ! cout << " USHORT_CONST = " << Constants::USHORT_CONST << endl; ! cout << " LONG_CONST = " << Constants::LONG_CONST << endl; ! cout << " ULONG_CONST = " << Constants::ULONG_CONST << endl; ! cout << " CHAR_CONST = " << Constants::CHAR_CONST << endl; ! cout << " STRING_CONST = " << Constants::STRING_CONST << endl; ! cout << " FLOAT_CONST = " << Constants::FLOAT_CONST << endl; ! cout << " DOUBLE_CONST = " << Constants::DOUBLE_CONST << endl; } --- 22,39 ---- : component(component_impl) { ! cout << " BOOLEAN_CONST = " << Constants::BOOLEAN_CONST() << endl; ! cout << " OCTET_CONST = " << (int)Constants::OCTET_CONST() << endl; ! cout << " SHORT_CONST = " << Constants::SHORT_CONST() << endl; ! cout << " SHORT_CONST = " << Constants::SHORT_CONST() << endl; ! cout << " USHORT_CONST = " << Constants::USHORT_CONST() << endl; ! cout << " LONG_CONST = " << Constants::LONG_CONST() << endl; ! cout << " ULONG_CONST = " << Constants::ULONG_CONST() << endl; ! cout << " CHAR_CONST = " << Constants::CHAR_CONST() << endl; ! cout << " STRING_CONST = " << Constants::STRING_CONST() << endl; ! cout << " FLOAT_CONST = " << Constants::FLOAT_CONST() << endl; ! cout << " DOUBLE_CONST = " << Constants::DOUBLE_CONST() << endl; } *************** *** 47,51 **** throw(Components::CCMException) { ! return Constants::BOOLEAN_CONST; } --- 47,51 ---- throw(Components::CCMException) { ! return Constants::BOOLEAN_CONST(); } *************** *** 54,58 **** throw(Components::CCMException) { ! return Constants::OCTET_CONST; } --- 54,58 ---- throw(Components::CCMException) { ! return Constants::OCTET_CONST(); } *************** *** 61,65 **** throw(Components::CCMException) { ! return Constants::SHORT_CONST; } --- 61,65 ---- throw(Components::CCMException) { ! return Constants::SHORT_CONST(); } *************** *** 68,72 **** throw(Components::CCMException) { ! return Constants::USHORT_CONST; } --- 68,72 ---- throw(Components::CCMException) { ! return Constants::USHORT_CONST(); } *************** *** 75,79 **** throw(Components::CCMException) { ! return Constants::LONG_CONST; } --- 75,79 ---- throw(Components::CCMException) { ! return Constants::LONG_CONST(); } *************** *** 82,86 **** throw(Components::CCMException) { ! return Constants::ULONG_CONST; } --- 82,86 ---- throw(Components::CCMException) { ! return Constants::ULONG_CONST(); } *************** *** 89,93 **** throw(Components::CCMException) { ! return Constants::CHAR_CONST; } --- 89,93 ---- throw(Components::CCMException) { ! return Constants::CHAR_CONST(); } *************** *** 96,100 **** throw(Components::CCMException) { ! return Constants::STRING_CONST; } --- 96,100 ---- throw(Components::CCMException) { ! return Constants::STRING_CONST(); } *************** *** 103,107 **** throw(Components::CCMException) { ! return Constants::FLOAT_CONST; } --- 103,107 ---- throw(Components::CCMException) { ! return Constants::FLOAT_CONST(); } *************** *** 110,114 **** throw(Components::CCMException) { ! return Constants::DOUBLE_CONST; } --- 110,114 ---- throw(Components::CCMException) { ! return Constants::DOUBLE_CONST(); } |