MCPcopy Create free account
hub / github.com/Kitware/VTK / SetServerPort

Method SetServerPort

IO/PostgreSQL/vtkPostgreSQLDatabase.h:282–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280vtkSetStringPlusMTimeMacro(vtkPostgreSQLDatabase, ConnectOptions, URLMTime);
281
282inline void vtkPostgreSQLDatabase::SetServerPort(int _arg)
283{
284 vtkDebugMacro(<< this->GetClassName() << " (" << this << "): setting ServerPort to " << _arg);
285 _arg = std::min(std::max(_arg, 0), VTK_INT_MAX);
286 if (this->ServerPort != _arg)
287 {
288 this->ServerPort = _arg;
289 this->Modified();
290 this->URLMTime.Modified();
291 this->Close(); // Force a re-open on next query
292 }
293}
294
295VTK_ABI_NAMESPACE_END
296#endif // vtkPostgreSQLDatabase_h

Callers 3

ParseURLMethod · 0.95
ParseURLMethod · 0.80
ParseURLMethod · 0.80

Calls 5

CloseMethod · 0.95
minFunction · 0.50
maxFunction · 0.50
GetClassNameMethod · 0.45
ModifiedMethod · 0.45

Tested by

no test coverage detected