Mercurial > hg > orthanc-python
comparison Sources/Autogenerated/sdk_OrthancPluginFindQuery.impl.h @ 28:b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 27 Apr 2020 07:59:35 +0200 |
parents | fef9a239df5c |
children | 23f3099bed47 |
comparison
equal
deleted
inserted
replaced
27:ec7860ac40e9 | 28:b2bbb516056e |
---|---|
52 | 52 |
53 | 53 |
54 static int sdk_OrthancPluginFindQuery_Constructor( | 54 static int sdk_OrthancPluginFindQuery_Constructor( |
55 sdk_OrthancPluginFindQuery_Object *self, PyObject *args, PyObject *kwds) | 55 sdk_OrthancPluginFindQuery_Object *self, PyObject *args, PyObject *kwds) |
56 { | 56 { |
57 OrthancPlugins::LogInfo("Creating Python object of class OrthancPluginFindQuery"); | 57 PythonLock::LogCall("Creating Python object of class OrthancPluginFindQuery"); |
58 | 58 |
59 self->object_ = NULL; | 59 self->object_ = NULL; |
60 self->borrowed_ = false; | 60 self->borrowed_ = false; |
61 | 61 |
62 long long object = 0; | 62 long long object = 0; |
92 | 92 |
93 // Actual implementation of the methods | 93 // Actual implementation of the methods |
94 static PyObject *sdk_OrthancPluginFindQuery_OrthancPluginGetFindQuerySize( | 94 static PyObject *sdk_OrthancPluginFindQuery_OrthancPluginGetFindQuerySize( |
95 sdk_OrthancPluginFindQuery_Object* self, PyObject *args) | 95 sdk_OrthancPluginFindQuery_Object* self, PyObject *args) |
96 { | 96 { |
97 OrthancPlugins::LogInfo("Calling method OrthancPluginGetFindQuerySize() on object of class OrthancPluginFindQuery"); | 97 PythonLock::LogCall("Calling method OrthancPluginGetFindQuerySize() on object of class OrthancPluginFindQuery"); |
98 | 98 |
99 if (self->object_ == NULL) | 99 if (self->object_ == NULL) |
100 { | 100 { |
101 // TODO: RAISE | 101 // TODO: RAISE |
102 //PythonLock::RaiseException(module, OrthancPluginErrorCode_NullPointer); | 102 //PythonLock::RaiseException(module, OrthancPluginErrorCode_NullPointer); |
111 } | 111 } |
112 | 112 |
113 static PyObject *sdk_OrthancPluginFindQuery_OrthancPluginGetFindQueryTagName( | 113 static PyObject *sdk_OrthancPluginFindQuery_OrthancPluginGetFindQueryTagName( |
114 sdk_OrthancPluginFindQuery_Object* self, PyObject *args) | 114 sdk_OrthancPluginFindQuery_Object* self, PyObject *args) |
115 { | 115 { |
116 OrthancPlugins::LogInfo("Calling method OrthancPluginGetFindQueryTagName() on object of class OrthancPluginFindQuery"); | 116 PythonLock::LogCall("Calling method OrthancPluginGetFindQueryTagName() on object of class OrthancPluginFindQuery"); |
117 | 117 |
118 if (self->object_ == NULL) | 118 if (self->object_ == NULL) |
119 { | 119 { |
120 // TODO: RAISE | 120 // TODO: RAISE |
121 //PythonLock::RaiseException(module, OrthancPluginErrorCode_NullPointer); | 121 //PythonLock::RaiseException(module, OrthancPluginErrorCode_NullPointer); |
148 } | 148 } |
149 | 149 |
150 static PyObject *sdk_OrthancPluginFindQuery_OrthancPluginGetFindQueryValue( | 150 static PyObject *sdk_OrthancPluginFindQuery_OrthancPluginGetFindQueryValue( |
151 sdk_OrthancPluginFindQuery_Object* self, PyObject *args) | 151 sdk_OrthancPluginFindQuery_Object* self, PyObject *args) |
152 { | 152 { |
153 OrthancPlugins::LogInfo("Calling method OrthancPluginGetFindQueryValue() on object of class OrthancPluginFindQuery"); | 153 PythonLock::LogCall("Calling method OrthancPluginGetFindQueryValue() on object of class OrthancPluginFindQuery"); |
154 | 154 |
155 if (self->object_ == NULL) | 155 if (self->object_ == NULL) |
156 { | 156 { |
157 // TODO: RAISE | 157 // TODO: RAISE |
158 //PythonLock::RaiseException(module, OrthancPluginErrorCode_NullPointer); | 158 //PythonLock::RaiseException(module, OrthancPluginErrorCode_NullPointer); |