Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Opie::DB::OSQLBackEnd Class Reference

#include </home/clem/local/src/opie/libopie2/opiedb/osqlbackend.h>

Collaboration diagram for Opie::DB::OSQLBackEnd:

Collaboration graph
[legend]
List of all members.

Public Types

typedef QValueList< OSQLBackEndValueList

Public Member Functions

 OSQLBackEnd (const QString &name=QString::null, const QString &vendor=QString::null, const QString &license=QString::null, const QCString &library=QCString())
 OSQLBackEnd (const OSQLBackEnd &)
OSQLBackEndoperator= (const OSQLBackEnd &)
bool operator== (const OSQLBackEnd &)
 ~OSQLBackEnd ()
QString name () const
QString vendor () const
QString license () const
QCString library () const
bool isDefault () const
int preference () const
void setName (const QString &name)
void setVendor (const QString &vendor)
void setLicense (const QString &license)
void setLibrary (const QCString &lib)
void setDefault (bool)
void setPreference (int)

Private Attributes

QString m_name
QString m_vendor
QString m_license
QCString m_lib
bool m_default:1
int m_pref
Private * d

Detailed Description

OSQLBackEnd represents an available backend to the Opie Database Service It's used to easily extend OSQL services by 3rd party plugins. It's used to show

Definition at line 19 of file osqlbackend.h.


Member Typedef Documentation

typedef QValueList<OSQLBackEnd> Opie::DB::OSQLBackEnd::ValueList
 

Definition at line 21 of file osqlbackend.h.


Constructor & Destructor Documentation

Opie::DB::OSQLBackEnd::OSQLBackEnd const QString name = QString::null,
const QString vendor = QString::null,
const QString license = QString::null,
const QCString library = QCString()
 

A basic c'tor

Parameters:
name the user visible name of the service
vendor the vendor of the service
license the license of the service
library what is the name of lib if builtin it's builtin

Definition at line 8 of file osqlbackend.cpp.

References m_default, and m_pref.

Opie::DB::OSQLBackEnd::OSQLBackEnd const OSQLBackEnd  ) 
 

Definition at line 17 of file osqlbackend.cpp.

Opie::DB::OSQLBackEnd::~OSQLBackEnd  ) 
 

Definition at line 20 of file osqlbackend.cpp.


Member Function Documentation

bool Opie::DB::OSQLBackEnd::isDefault  )  const
 

Definition at line 53 of file osqlbackend.cpp.

References m_default.

QCString Opie::DB::OSQLBackEnd::library  )  const
 

Returns:
the name of the library

Definition at line 50 of file osqlbackend.cpp.

References m_lib.

Referenced by Opie::DB::OSQLManager::load().

QString Opie::DB::OSQLBackEnd::license  )  const
 

Returns:
the license

Definition at line 47 of file osqlbackend.cpp.

References m_license.

QString Opie::DB::OSQLBackEnd::name  )  const
 

Returns:
the name

Definition at line 41 of file osqlbackend.cpp.

References m_name.

Referenced by Opie::DB::OSQLManager::load().

OSQLBackEnd & Opie::DB::OSQLBackEnd::operator= const OSQLBackEnd  ) 
 

Definition at line 32 of file osqlbackend.cpp.

References m_default, m_lib, m_license, m_name, m_pref, and m_vendor.

bool Opie::DB::OSQLBackEnd::operator== const OSQLBackEnd  ) 
 

Definition at line 22 of file osqlbackend.cpp.

References m_default, m_lib, m_license, m_name, m_pref, and m_vendor.

int Opie::DB::OSQLBackEnd::preference  )  const
 

Definition at line 56 of file osqlbackend.cpp.

References m_pref.

Referenced by Opie::DB::OSQLManager::standard().

void Opie::DB::OSQLBackEnd::setDefault bool   ) 
 

Definition at line 71 of file osqlbackend.cpp.

References m_default.

Referenced by Opie::DB::OSQLManager::builtIn(), and Opie::DB::OSQLBackEndManager::file2backend().

void Opie::DB::OSQLBackEnd::setLibrary const QCString lib  ) 
 

Parameters:
the lib to set

Definition at line 68 of file osqlbackend.cpp.

References m_lib.

Referenced by Opie::DB::OSQLBackEndManager::file2backend().

void Opie::DB::OSQLBackEnd::setLicense const QString license  ) 
 

Parameters:
license the license applied

Definition at line 65 of file osqlbackend.cpp.

References m_license.

Referenced by Opie::DB::OSQLBackEndManager::file2backend().

void Opie::DB::OSQLBackEnd::setName const QString name  ) 
 

Parameters:
name the name to set

Definition at line 59 of file osqlbackend.cpp.

References m_name.

Referenced by Opie::DB::OSQLBackEndManager::file2backend().

void Opie::DB::OSQLBackEnd::setPreference int   ) 
 

Definition at line 74 of file osqlbackend.cpp.

References m_pref.

Referenced by Opie::DB::OSQLManager::builtIn(), and Opie::DB::OSQLBackEndManager::file2backend().

void Opie::DB::OSQLBackEnd::setVendor const QString vendor  ) 
 

Parameters:
vendor the vendor to set

Definition at line 62 of file osqlbackend.cpp.

References m_vendor.

Referenced by Opie::DB::OSQLBackEndManager::file2backend().

QString Opie::DB::OSQLBackEnd::vendor  )  const
 

Returns:
the vendor

Definition at line 44 of file osqlbackend.cpp.

References m_vendor.


Member Data Documentation

Private* Opie::DB::OSQLBackEnd::d [private]
 

Definition at line 76 of file osqlbackend.h.

bool Opie::DB::OSQLBackEnd::m_default [private]
 

Definition at line 74 of file osqlbackend.h.

Referenced by isDefault(), operator=(), operator==(), OSQLBackEnd(), and setDefault().

QCString Opie::DB::OSQLBackEnd::m_lib [private]
 

Definition at line 73 of file osqlbackend.h.

Referenced by library(), operator=(), operator==(), and setLibrary().

QString Opie::DB::OSQLBackEnd::m_license [private]
 

Definition at line 72 of file osqlbackend.h.

Referenced by license(), operator=(), operator==(), and setLicense().

QString Opie::DB::OSQLBackEnd::m_name [private]
 

Definition at line 70 of file osqlbackend.h.

Referenced by name(), operator=(), operator==(), and setName().

int Opie::DB::OSQLBackEnd::m_pref [private]
 

Definition at line 75 of file osqlbackend.h.

Referenced by operator=(), operator==(), OSQLBackEnd(), preference(), and setPreference().

QString Opie::DB::OSQLBackEnd::m_vendor [private]
 

Definition at line 71 of file osqlbackend.h.

Referenced by operator=(), operator==(), setVendor(), and vendor().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 18:01:15 2005 for OPIE by  doxygen 1.4.2