virtual bool validate( bool allow_null ) const { ::osiris::PythonState __pystate(getPythonThreadState()); if( ::osiris::PythonOverride func_validate = this->get_override( "validate" ) ) return func_validate( allow_null ); else{ __pystate.leave(); return this->::osiris::ID::validate( allow_null ); } }
virtual bool validate( ::osiris::DataItem const & value ) const { ::osiris::PythonState __pystate(getPythonThreadState()); ::osiris::PythonOverride func_validate = this->get_override( "validate" ); return func_validate( boost::ref(value) ); }