ctkDICOM Class Reference

#include <Libs/DICOM/Core/ctkDICOM.h>

List of all members.

Public Types

typedef QObject Superclass

Public Member Functions

void closeDatabase ()
 ctkDICOM (QObject *parent=0)
const QSqlDatabase & database () const
const QString & GetLastError () const
bool initializeDatabase (const char *schemaFile=":/dicom/dicom-schema.sql")
virtual void openDatabase (const QString &file)
virtual ~ctkDICOM ()

Detailed Description

Definition at line 34 of file ctkDICOM.h.


Member Typedef Documentation

typedef QObject ctkDICOM::Superclass

Definition at line 38 of file ctkDICOM.h.


Constructor & Destructor Documentation

ctkDICOM::ctkDICOM ( QObject *  parent = 0  )  [explicit]

Definition at line 60 of file ctkDICOM.cpp.

ctkDICOM::~ctkDICOM (  )  [virtual]

Definition at line 66 of file ctkDICOM.cpp.


Member Function Documentation

void ctkDICOM::closeDatabase (  ) 

close the database. It must not be used afterwards.

Definition at line 141 of file ctkDICOM.cpp.

const QSqlDatabase & ctkDICOM::database (  )  const

Definition at line 94 of file ctkDICOM.cpp.

const QString & ctkDICOM::GetLastError (  )  const

Definition at line 88 of file ctkDICOM.cpp.

bool ctkDICOM::initializeDatabase ( const char *  schemaFile = ":/dicom/dicom-schema.sql"  ) 

delete all data and reinitialize the database.

Definition at line 134 of file ctkDICOM.cpp.

void ctkDICOM::openDatabase ( const QString &  file  )  [virtual]

open the SQLite database in

Parameters:
file. If the file does not exist, a new database is created and initialized with the default schema

Definition at line 71 of file ctkDICOM.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 21 May 2010 for CTK by  doxygen 1.6.1