Debea Library 1.4.2

dba Namespace Reference

Database and Archive core library. More...


Classes

class  APIException
 Thrown when API is misused. More...
class  Archive
 Archive class represents database that has relational or object-oriented structure and can contain object of classes derived from storeable class. More...
class  Bool
 Class for convertion Database types to and from bool object member. More...
class  CollectionFilter
 Filter for storing and retrieving 1-n and m-n relations from Archive into diffrent collection classes. More...
class  CollectionFilterBase
 Base class for collection filters. More...
class  CollectionFilterIterator
 Iterator used for traversing on collection filter objects Every CollectionFilter derived class must provide implementation of this interface. More...
class  ConnectString
 Class for parsing parameters from connect string. More...
class  ConnectStringParserException
 Exception thrown by ConnectStringParser. More...
class  ConvSpec
 Conversion specifiaction passed to StoreableFilter::toString by Archive. More...
class  CSVArchive
 Implementation of Archive interface for csv file format. More...
class  CSVFileException
 Exception thrown when there is problem reading or writing to csv file. More...
class  CSVIStream
 IStream implementation for csv. More...
class  CSVOStream
 OStream implementation for csv. More...
class  CSVParseException
 Exception thrown when there is problem parsing csv file contents. More...
class  CSVParser
 CSV file parser. More...
class  Database
 Interface for database engines that use relational data model - like SQL RDBMS Plugins for SQLArchive implements this interface. More...
class  DatabaseException
 Database exception is thrown if other that query language related error occurs when using database classes. More...
class  DataException
 Base class for exceptions thrown when daba from database is manipulated, for example conversion from string to int failed, bad sql query was executed or parser could not parse corrupted csv file. More...
class  DateTime
 Class for converting date and time. More...
struct  dbaPluginInfo
 Struct describing driver plugin information. More...
class  DbBase
 This is base object for Database, DbConnection and DbResult classes. More...
class  DbColumn
 class for column representation in DbResult More...
class  DbConnection
 This class represents connection to database. More...
class  DbPlugin
 Database plugin loader. More...
class  DbPluginException
 Database exception related to plugin operations. More...
class  DbResult
 This class represents result of SQL query. More...
class  DbUpdate
 DbUpdate use DbUpdateScriptsParser interface to get collection of SQL statements for database schema update. More...
class  DbUpdateScriptsParser
 SQL update scripts parser interface for DbUpdate More...
class  Double
 Class for converting double to and from database types. More...
class  Exception
 Base exception class for dba exceptions. More...
class  FilterNotFoundException
 Thrown when suitable data conversion filter cannot be found for given data type. More...
class  Float
 Class for converting float to and from database types. More...
class  GenericFetcher
 Generic SQLIdFetcher implementation. More...
class  IdLocker
 Helper class to lock id of object when using assigment operator. More...
class  InstanceFilter
 Base class for collection filters that use different class for collection and for collection member. More...
class  Int
 StoreableFilter class for integer values. More...
class  IStream
 IStream represents Object Input stream from Archive. More...
class  MemArchive
 In-memory database (not implemented yet) Can be used to create Storeable objects in OK state without using any database. More...
class  MemberEntryBase
 Base class for store and collection table members. More...
class  OStream
 OStream represents Object Stream to Archive. More...
class  SharedSQLArchive
 SQLArchive that supports transactions on object level. More...
class  Single
 Collection filter for 1-1 relation. More...
class  SQL
 This class allows you to create and send parameterized SQL queries to database and retrieve records directly into C++ variables or classes. More...
class  SQLArchive
 Archive of objects stored in SQL database. More...
class  SQLException
 SQLException is thrown if query or command send to database has invalid syntax or there was other error from backend server when processing query. More...
class  SQLIdFetcher
 This class is responsibile for creating new object id when storing Storeable derived object into SQLArchive. More...
class  SQLIStream
 IStream implementation for SQL based archives. More...
class  SQLOStream
 OStream implementation for SQL based archives. More...
class  SQLUtils
 common SQL utilities More...
class  stdDeque
 Collection filter for std::deque. More...
class  stdList
 Collection filter for std::list. More...
class  stdMultiset
 Collection filter for std::multiset. More...
class  stdSet
 Collection filter for std::set Objects that are stored using this collection should not implement operator< using Storeable fields because they will be modified directly in std::set. More...
class  stdVector
 Collection filter for std::vector. More...
class  Storeable
 Class that defines objects storeable in Archive using obiject ouytput streams and loadable from Archive using object input streams. More...
class  StoreableFilter
 Base class for storeable filters. More...
class  StoreableFilterBase
 Base class for routines that converts Storeable object members to arguents to Database queries and Database results to members. More...
class  StoreableFilterException
 Exception thrown by storeable filters. More...
class  StoreTableMember
 Single entry in store table More...
class  Stream
 Stream class is base class for Object Output Stream (OStream) and Object Input Stream (IStream) classes. More...
class  String
 dba filter for std::string class More...
class  Transaction
 Transaction can be created from archive to enclose set of database operations in single reversable unit. More...

Typedefs

typedef unsigned int id
 Type for object id.

Enumerations

enum  errorTypes { DBA_DB_ERROR, DBA_SQL_ERROR }
 Type of error. More...
enum  pluginType { DBA_DATABASE_DRIVER, DBA_ARCHIVE_SUPPORT }
 Type of plugin. More...

Functions

dbaDLLEXPORT tm * dba_localtime (const time_t *pFrom, struct tm *pTo)
 localtime_r for unix, localtime for msw

Detailed Description

Database and Archive core library.


Documentation
Quick start
Examples

API Documentation
Class hierarchy
Member index
API Reference
Store filters
Store table macros
Back

Generated by doxygen at Fri Oct 22 23:15:41 2010