46 #ifndef vtkSQLiteDatabase_h 47 #define vtkSQLiteDatabase_h 49 #include "vtkIOSQLModule.h" 84 bool Open(
const char* password) VTK_OVERRIDE;
85 bool Open(
const char* password,
int mode);
91 void Close() VTK_OVERRIDE;
96 bool IsOpen() VTK_OVERRIDE;
116 bool IsSupported(
int feature) VTK_OVERRIDE;
132 const
char* GetDatabaseType() VTK_OVERRIDE
134 return this->DatabaseType;
143 vtkSetStringMacro(DatabaseFileName);
159 int colHandle ) VTK_OVERRIDE;
170 bool ParseURL(const
char*
url) VTK_OVERRIDE;
173 vtk_sqlite3 *SQLiteInstance;
177 vtkSetStringMacro(DatabaseType);
182 char* DatabaseFileName;
190 #endif // vtkSQLiteDatabase_h Wrapper around std::string to keep symbols short.
virtual bool Open(const char *password)=0
Open a new connection to the database.
maintain a connection to an SQLite database
a vtkAbstractArray subclass for strings
virtual vtkStdString GetURL()=0
Get the URL of the database.
represent an SQL database schema
const char * GetLastErrorText() override
Get the last error text from the query.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
maintain a connection to an sql database
vtkSQLQuery implementation for SQLite databases
virtual void Close()=0
Close the connection to the database.
a simple class to control print indentation
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
bool HasError() override
Return true if there is an error on the current query.
executes an sql query and retrieves results
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...