dbxx_storage_mode.h File Reference


Detailed Description

Storage options

#include <ittia/dbxx/dbxx_config.h>
#include <ittia/dbxx/dbxx_lock_manager.h>

Namespaces

namespace  db

Classes

struct  db::StorageMode
 Database storage options. More...
struct  db::LibraryConfig
 Library configuration. More...

Variables

Concurrency modes
const int db::DB_SINGLE_PROCESS = _DB_SINGLE_PROCESS
File open mode
const int db::DB_FILE_STORAGE = _DB_FILE_STORAGE
Storage open flags
Store the database in memory. It will not persist when closed.

Store the database on a fixed-size raw device. Values for db::StorageMode::open_flags.

const int db::DB_READ_ONLY = _DB_READ_ONLY
const int db::DB_NOLOGGING = _DB_NOLOGGING
const int db::DB_NOLOCKING = _DB_NOLOCKING
const int db::DB_UTF8_NAME = _DB_UTF8_NAME


Copyright © 2005-2008 ITTIA®. All rights reserved.