comparison Sources/Autogenerated/sdk_OrthancPluginPeers.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
57 57
58 58
59 static int sdk_OrthancPluginPeers_Constructor( 59 static int sdk_OrthancPluginPeers_Constructor(
60 sdk_OrthancPluginPeers_Object *self, PyObject *args, PyObject *kwds) 60 sdk_OrthancPluginPeers_Object *self, PyObject *args, PyObject *kwds)
61 { 61 {
62 OrthancPlugins::LogInfo("Creating Python object of class OrthancPluginPeers"); 62 PythonLock::LogCall("Creating Python object of class OrthancPluginPeers");
63 63
64 self->object_ = NULL; 64 self->object_ = NULL;
65 self->borrowed_ = false; 65 self->borrowed_ = false;
66 66
67 long long object = 0; 67 long long object = 0;
93 }; 93 };
94 94
95 95
96 static void sdk_OrthancPluginPeers_Destructor(PyObject *self) 96 static void sdk_OrthancPluginPeers_Destructor(PyObject *self)
97 { 97 {
98 OrthancPlugins::LogInfo("Destroying Python object of class OrthancPluginPeers"); 98 PythonLock::LogCall("Destroying Python object of class OrthancPluginPeers");
99 99
100 sdk_OrthancPluginPeers_Object& tmp = *((sdk_OrthancPluginPeers_Object*) self); 100 sdk_OrthancPluginPeers_Object& tmp = *((sdk_OrthancPluginPeers_Object*) self);
101 101
102 if (tmp.object_ != NULL && 102 if (tmp.object_ != NULL &&
103 !tmp.borrowed_) 103 !tmp.borrowed_)
112 112
113 // Actual implementation of the methods 113 // Actual implementation of the methods
114 static PyObject *sdk_OrthancPluginPeers_OrthancPluginGetPeersCount( 114 static PyObject *sdk_OrthancPluginPeers_OrthancPluginGetPeersCount(
115 sdk_OrthancPluginPeers_Object* self, PyObject *args) 115 sdk_OrthancPluginPeers_Object* self, PyObject *args)
116 { 116 {
117 OrthancPlugins::LogInfo("Calling method OrthancPluginGetPeersCount() on object of class OrthancPluginPeers"); 117 PythonLock::LogCall("Calling method OrthancPluginGetPeersCount() on object of class OrthancPluginPeers");
118 118
119 if (self->object_ == NULL) 119 if (self->object_ == NULL)
120 { 120 {
121 // TODO: RAISE 121 // TODO: RAISE
122 //PythonLock::RaiseException(module, OrthancPluginErrorCode_NullPointer); 122 //PythonLock::RaiseException(module, OrthancPluginErrorCode_NullPointer);
131 } 131 }
132 132
133 static PyObject *sdk_OrthancPluginPeers_OrthancPluginGetPeerName( 133 static PyObject *sdk_OrthancPluginPeers_OrthancPluginGetPeerName(
134 sdk_OrthancPluginPeers_Object* self, PyObject *args) 134 sdk_OrthancPluginPeers_Object* self, PyObject *args)
135 { 135 {
136 OrthancPlugins::LogInfo("Calling method OrthancPluginGetPeerName() on object of class OrthancPluginPeers"); 136 PythonLock::LogCall("Calling method OrthancPluginGetPeerName() on object of class OrthancPluginPeers");
137 137
138 if (self->object_ == NULL) 138 if (self->object_ == NULL)
139 { 139 {
140 // TODO: RAISE 140 // TODO: RAISE
141 //PythonLock::RaiseException(module, OrthancPluginErrorCode_NullPointer); 141 //PythonLock::RaiseException(module, OrthancPluginErrorCode_NullPointer);
165 } 165 }
166 166
167 static PyObject *sdk_OrthancPluginPeers_OrthancPluginGetPeerUrl( 167 static PyObject *sdk_OrthancPluginPeers_OrthancPluginGetPeerUrl(
168 sdk_OrthancPluginPeers_Object* self, PyObject *args) 168 sdk_OrthancPluginPeers_Object* self, PyObject *args)
169 { 169 {
170 OrthancPlugins::LogInfo("Calling method OrthancPluginGetPeerUrl() on object of class OrthancPluginPeers"); 170 PythonLock::LogCall("Calling method OrthancPluginGetPeerUrl() on object of class OrthancPluginPeers");
171 171
172 if (self->object_ == NULL) 172 if (self->object_ == NULL)
173 { 173 {
174 // TODO: RAISE 174 // TODO: RAISE
175 //PythonLock::RaiseException(module, OrthancPluginErrorCode_NullPointer); 175 //PythonLock::RaiseException(module, OrthancPluginErrorCode_NullPointer);
199 } 199 }
200 200
201 static PyObject *sdk_OrthancPluginPeers_OrthancPluginGetPeerUserProperty( 201 static PyObject *sdk_OrthancPluginPeers_OrthancPluginGetPeerUserProperty(
202 sdk_OrthancPluginPeers_Object* self, PyObject *args) 202 sdk_OrthancPluginPeers_Object* self, PyObject *args)
203 { 203 {
204 OrthancPlugins::LogInfo("Calling method OrthancPluginGetPeerUserProperty() on object of class OrthancPluginPeers"); 204 PythonLock::LogCall("Calling method OrthancPluginGetPeerUserProperty() on object of class OrthancPluginPeers");
205 205
206 if (self->object_ == NULL) 206 if (self->object_ == NULL)
207 { 207 {
208 // TODO: RAISE 208 // TODO: RAISE
209 //PythonLock::RaiseException(module, OrthancPluginErrorCode_NullPointer); 209 //PythonLock::RaiseException(module, OrthancPluginErrorCode_NullPointer);