[Jahshaka-cvs] openlibraries/src/openpluginlib/py/pcos property.cpp, 1.27, 1.28
Status: Beta
Brought to you by:
jahshaka
From: tim <tim...@us...> - 2007-04-17 14:11:13
|
Update of /cvsroot/openlibraries/openlibraries/src/openpluginlib/py/pcos In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27665/py/pcos Modified Files: property.cpp Log Message: opl - remove some types that aren't used Index: property.cpp =================================================================== RCS file: /cvsroot/openlibraries/openlibraries/src/openpluginlib/py/pcos/property.cpp,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- property.cpp 28 Mar 2007 12:30:48 -0000 1.27 +++ property.cpp 17 Apr 2007 14:11:09 -0000 1.28 @@ -25,7 +25,6 @@ void ( pcos::property::*set_wstring_list )( const opl::wstring_list& ) = &pcos::property::set<opl::wstring_list>; void ( pcos::property::*set_double )( const double& ) = &pcos::property::set<double>; void ( pcos::property::*set_int_list )( const pcos::int_list& ) = &pcos::property::set<pcos::int_list>; -void ( pcos::property::*set_uint_list )( const pcos::uint_list& ) = &pcos::property::set<pcos::uint_list>; void ( pcos::property::*set_double_list )( const pcos::double_list& ) = &pcos::property::set<pcos::double_list>; void back_reference_set( pcos::property* p, py::back_reference<int> x ) @@ -44,10 +43,8 @@ wstring_list ( pcos::property::*value_wstring_list )( ) const = &pcos::property::value<wstring_list>; string_list ( pcos::property::*value_string_list )( ) const = &pcos::property::value<string_list>; int ( pcos::property::*value_int )( ) const = &pcos::property::value<int>; -unsigned int ( pcos::property::*value_unsigned_int )( ) const = &pcos::property::value<unsigned int>; double ( pcos::property::*value_double )( ) const = &pcos::property::value<double>; pcos::int_list ( pcos::property::*value_int_list )( ) const = &pcos::property::value<pcos::int_list>; -pcos::uint_list ( pcos::property::*value_uint_list )( ) const = &pcos::property::value<pcos::uint_list>; pcos::double_list ( pcos::property::*value_double_list )( ) const = &pcos::property::value<pcos::double_list>; bool ( pcos::property::*value_bool )( ) const = &pcos::property::value<bool>; @@ -56,10 +53,8 @@ bool ( pcos::property::*is_a_wstring_list )( ) const = &pcos::property::is_a<opl::wstring_list>; bool ( pcos::property::*is_a_string_list )( ) const = &pcos::property::is_a<opl::string_list>; bool ( pcos::property::*is_a_int )( ) const = &pcos::property::is_a<int>; -bool ( pcos::property::*is_a_unsigned_int )( ) const = &pcos::property::is_a<unsigned int>; bool ( pcos::property::*is_a_double )( ) const = &pcos::property::is_a<double>; bool ( pcos::property::*is_a_int_list )( ) const = &pcos::property::is_a<pcos::int_list>; -bool ( pcos::property::*is_a_uint_list )( ) const = &pcos::property::is_a<pcos::uint_list>; bool ( pcos::property::*is_a_double_list )( ) const = &pcos::property::is_a<pcos::double_list>; bool ( pcos::property::*is_a_bool )( ) const = &pcos::property::is_a<bool>; @@ -155,10 +150,8 @@ .def( "value_as_wstring_list", value_wstring_list ) .def( "value_as_string_list", value_string_list ) .def( "value_as_int", value_int ) - .def( "value_as_unsigned_int", value_unsigned_int ) .def( "value_as_double", value_double ) .def( "value_as_int_list", value_int_list ) - .def( "value_as_uint_list", value_uint_list ) .def( "value_as_double_list", value_double_list ) .def( "value_as_bool", value_bool ) .def( "is_a_wstring", is_a_wstring ) @@ -166,10 +159,8 @@ .def( "is_a_wstring_list", is_a_wstring_list ) .def( "is_a_string_list", is_a_string_list ) .def( "is_a_int", is_a_int ) - .def( "is_a_unsigned_int", is_a_unsigned_int ) .def( "is_a_double", is_a_double ) .def( "is_a_int_list", is_a_int_list ) - .def( "is_a_uint_list", is_a_uint_list ) .def( "is_a_double_list", is_a_double_list ) .def( "is_a_bool", is_a_bool ) .def( "get_property", &pcos::property::get_property_with_string, py::return_value_policy< py::return_by_value >() ) |