NCBI C++ ToolKit
Public Member Functions | List of all members
CDirectNetStorageByKey Class Reference

Search Toolkit Book for CDirectNetStorageByKey

#include <misc/netstorage/impl/netstorage_int.hpp>

+ Inheritance diagram for CDirectNetStorageByKey:
+ Collaboration diagram for CDirectNetStorageByKey:

Public Member Functions

 CDirectNetStorageByKey (const IRegistry &registry, const string &service_name, CCompoundIDPool::TInstance compound_id_pool, const string &app_domain)
CDirectNetStorageObject Open (const string &unique_key, TNetStorageFlags flags=0)
bool Exists (const string &db_loc, const string &key, TNetStorageFlags flags)
- Public Member Functions inherited from CNetStorageByKey
 CNetStorageByKey (EVoid)
 CNetStorageByKey (SNetStorageByKeyImpl *impl)
CNetStorageByKeyoperator= (SNetStorageByKeyImpl *impl)
 operator SNetStorageByKeyImpl * ()
 operator const SNetStorageByKeyImpl * () const
SNetStorageByKeyImploperator-- (int)
const SNetStorageByKeyImploperator-- (int) const
SNetStorageByKeyImploperator-> ()
const SNetStorageByKeyImploperator-> () const
 CNetStorageByKey (const string &init_string, TNetStorageFlags default_flags=0)
 Construct a CNetStorageByKey object. More...
CNetStorageObject Open (const string &unique_key, TNetStorageFlags flags=0)
 Create a new object or open an existing object using the supplied unique key. More...
string Relocate (const string &unique_key, TNetStorageFlags flags, TNetStorageFlags old_flags=0, TNetStorageProgressCb cb=TNetStorageProgressCb())
 Relocate a object according to the specified combination of flags. More...
bool Exists (const string &key, TNetStorageFlags flags=0)
 Check if a object with the specified key exists in the storage hinted by 'flags'. More...
ENetStorageRemoveResult Remove (const string &key, TNetStorageFlags flags=0)
 Remove a object addressed by a key and a set of flags. More...

Additional Inherited Members

- Public Types inherited from CNetStorageByKey
typedef SNetStorageByKeyImplTInstance
- Protected Attributes inherited from CNetStorageByKey
CNetRef< SNetStorageByKeyImplm_Impl

Detailed Description

Definition at line 77 of file netstorage_int.hpp.

Constructor & Destructor Documentation

◆ CDirectNetStorageByKey()

CDirectNetStorageByKey::CDirectNetStorageByKey ( const IRegistry registry,
const string service_name,
CCompoundIDPool::TInstance  compound_id_pool,
const string app_domain 

Definition at line 352 of file netstorage.cpp.

Member Function Documentation

◆ Exists()

bool CDirectNetStorageByKey::Exists ( const string db_loc,
const string key,
TNetStorageFlags  flags 

◆ Open()

CDirectNetStorageObject CDirectNetStorageByKey::Open ( const string unique_key,
TNetStorageFlags  flags = 0 

The documentation for this class was generated from the following files:
Modified on Sat May 18 11:41:24 2024 by rev. 669887