#include "vtkIOPostgreSQLModule.h"
#include "vtkSQLDatabase.h"
Go to the source code of this file.
Classes |
class | vtkPostgreSQLDatabase |
| maintain a connection to a PostgreSQL database More...
|
Defines |
#define | vtkSetStringPlusMTimeMacro(className, name, timeStamp) |
Functions |
| vtkSetStringPlusMTimeMacro (vtkPostgreSQLDatabase, HostName, URLMTime) |
| vtkSetStringPlusMTimeMacro (vtkPostgreSQLDatabase, User, URLMTime) |
| vtkSetStringPlusMTimeMacro (vtkPostgreSQLDatabase, Password, URLMTime) |
| vtkSetStringPlusMTimeMacro (vtkPostgreSQLDatabase, DatabaseName, URLMTime) |
| vtkSetStringPlusMTimeMacro (vtkPostgreSQLDatabase, ConnectOptions, URLMTime) |
Define Documentation
Value:inline void className::Set##name (const char* _arg) \
{ \
vtkDebugMacro(<< this->GetClassName() << " (" << this << "): setting " << #name " to " << (_arg?_arg:"(null)") ); \
if ( this->name == NULL && _arg == NULL) { return;} \
if ( this->name && _arg && (!strcmp(this->name,_arg))) { return;} \
if (this->name) { delete [] this->name; } \
if (_arg) \
{ \
size_t n = strlen(_arg) + 1; \
char *cp1 = new char[n]; \
const char *cp2 = (_arg); \
this->name = cp1; \
do { *cp1++ = *cp2++; } while ( --n ); \
} \
else \
{ \
this->name = NULL; \
} \
this->Modified(); \
this->timeStamp.Modified(); \
this->Close(); \
}
Definition at line 221 of file vtkPostgreSQLDatabase.h.
Function Documentation