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

Method SetPassword

IO/SQL/vtkSQLDatabaseGraphSource.cxx:141–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void vtkSQLDatabaseGraphSource::SetPassword(const vtkStdString& password)
142{
143 if (password == this->Implementation->Password)
144 return;
145
146 if (this->Implementation->EdgeQuery)
147 {
148 this->Implementation->EdgeQuery->Delete();
149 this->Implementation->EdgeQuery = 0;
150 }
151
152 if (this->Implementation->VertexQuery)
153 {
154 this->Implementation->VertexQuery->Delete();
155 this->Implementation->VertexQuery = 0;
156 }
157
158 if (this->Implementation->Database)
159 {
160 this->Implementation->Database->Delete();
161 this->Implementation->Database = 0;
162 }
163
164 this->Implementation->Password = password;
165
166 this->Modified();
167}
168
169vtkStdString vtkSQLDatabaseGraphSource::GetEdgeQuery()
170{

Callers 4

~vtkODBCDatabaseMethod · 0.45
~vtkMySQLDatabaseMethod · 0.45
ParseURLMethod · 0.45
ParseURLMethod · 0.45

Calls 2

DeleteMethod · 0.65
ModifiedMethod · 0.45

Tested by

no test coverage detected