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

Method IsOpen

IO/PostgreSQL/vtkPostgreSQLDatabase.cxx:306–310  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

304
305//------------------------------------------------------------------------------
306bool vtkPostgreSQLDatabase::IsOpen()
307{
308 return (this->Connection != nullptr && this->Connection->Connection != nullptr &&
309 PQstatus(this->Connection->Connection) == CONNECTION_OK);
310}
311
312//------------------------------------------------------------------------------
313vtkSQLQuery* vtkPostgreSQLDatabase::GetQueryInstance()

Callers 4

UpdateDataTypeMapMethod · 0.95
ExecuteMethod · 0.45
GetNumberOfRowsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected