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

Search Toolkit Book for CDirectNetStorage

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

+ Inheritance diagram for CDirectNetStorage:
+ Collaboration diagram for CDirectNetStorage:

Public Member Functions

 CDirectNetStorage (const IRegistry &registry, const string &service_name, CCompoundIDPool::TInstance compound_id_pool)
 
CDirectNetStorageObject Create (const string &service_name, TNetStorageFlags flags)
 
CDirectNetStorageObject Open (const string &object_loc)
 
bool Exists (const string &db_loc, const string &client_loc)
 
CJsonNode ReportConfig () const
 
- Public Member Functions inherited from CNetStorage
 CNetStorage (EVoid)
 
 CNetStorage (SNetStorageImpl *impl)
 
CNetStorageoperator= (SNetStorageImpl *impl)
 
 operator SNetStorageImpl * ()
 
 operator const SNetStorageImpl * () const
 
SNetStorageImploperator-- (int)
 
const SNetStorageImploperator-- (int) const
 
SNetStorageImploperator-> ()
 
const SNetStorageImploperator-> () const
 
 CNetStorage (const string &init_string, TNetStorageFlags default_flags=0)
 Construct a CNetStorage object. More...
 
CNetStorageObject Create (TNetStorageFlags flags=0)
 Create new NetStorage object. More...
 
CNetStorageObject Open (const string &object_loc)
 Open an existing NetStorage object for reading. More...
 
string Relocate (const string &object_loc, TNetStorageFlags flags, TNetStorageProgressCb cb=TNetStorageProgressCb())
 Relocate a object according to the specified combination of flags. More...
 
bool Exists (const string &object_loc)
 Check if the object addressed by 'object_loc' exists. More...
 
ENetStorageRemoveResult Remove (const string &object_loc)
 Remove the object addressed by 'object_loc'. More...
 

Additional Inherited Members

- Public Types inherited from CNetStorage
typedef SNetStorageImplTInstance
 
- Protected Attributes inherited from CNetStorage
CNetRef< SNetStorageImplm_Impl
 

Detailed Description

Definition at line 59 of file netstorage_int.hpp.

Constructor & Destructor Documentation

◆ CDirectNetStorage()

CDirectNetStorage::CDirectNetStorage ( const IRegistry registry,
const string service_name,
CCompoundIDPool::TInstance  compound_id_pool 
)

Definition at line 317 of file netstorage.cpp.

Member Function Documentation

◆ Create()

CDirectNetStorageObject CDirectNetStorage::Create ( const string service_name,
TNetStorageFlags  flags 
)

Definition at line 327 of file netstorage.cpp.

References flags, and CNetStorage::m_Impl.

Referenced by CNetStorageHandler::x_CreateObjectStream().

◆ Exists()

bool CDirectNetStorage::Exists ( const string db_loc,
const string client_loc 
)

Definition at line 340 of file netstorage.cpp.

References CNetStorage::m_Impl.

Referenced by CNetStorageHandler::x_ProcessExists().

◆ Open()

CDirectNetStorageObject CDirectNetStorage::Open ( const string object_loc)

Definition at line 334 of file netstorage.cpp.

References CNetStorage::m_Impl.

Referenced by CNetStorageHandler::x_GetObject().

◆ ReportConfig()

CJsonNode CDirectNetStorage::ReportConfig ( ) const

Definition at line 346 of file netstorage.cpp.

References CNetStorage::m_Impl.

Referenced by NSTGetBackendConfiguration().


The documentation for this class was generated from the following files:
Modified on Tue May 21 11:00:55 2024 by modify_doxy.py rev. 669887