NCBI C++ ToolKit
Classes | Macros | Functions
netstorage_impl.hpp File Reference
#include <corelib/ncbi_url.hpp>
#include <connect/services/netcache_api_expt.hpp>
#include <connect/services/netstorage.hpp>
#include <algorithm>
+ Include dependency graph for netstorage_impl.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  INetStorageObjectState
 
struct  SNetStorageObjectState< TBase >
 
struct  SNetStorageObjectIoState
 
struct  SNetStorageObjectIState
 
struct  SNetStorageObjectOState
 
struct  SNetStorageObjectIoMode
 
struct  SNetStorageObjectImpl
 
struct  SNetStorage
 
struct  SNetStorage::SConfig
 
struct  SNetStorage::SLimits
 
struct  SNetStorage::SLimits::SNamespace
 
struct  SNetStorage::SLimits::SUserKey
 
struct  SNetStorage::SLimits::SAttrName
 
struct  SNetStorage::SLimits::SAttrValue
 
struct  SNetStorage::SLimits::SClientName
 
struct  SNetStorage::SLimits::SUserNamespace
 
struct  SNetStorage::SLimits::SUserName
 
struct  SNetStorageImpl
 
struct  SNetStorageByKeyImpl
 

Macros

#define NETSTORAGE_CONVERT_NETCACHEEXCEPTION(message)
 

Functions

void g_ThrowNetStorageException (const CDiagCompileInfo &compile_info, const CNetCacheException &prev_exception, const string &message)
 
CNetStorageObjectInfo g_CreateNetStorageObjectInfo (const string &object_loc, ENetStorageObjectLocation location, const CNetStorageObjectLoc *object_loc_struct, Uint8 file_size, CJsonNode::TInstance storage_specific_info)
 
CNetStorageObjectInfo g_CreateNetStorageObjectInfo (const CJsonNode &object_info_node)
 

Macro Definition Documentation

◆ NETSTORAGE_CONVERT_NETCACHEEXCEPTION

#define NETSTORAGE_CONVERT_NETCACHEEXCEPTION (   message)
Value:
catch (CNetCacheException& e) { \
g_ThrowNetStorageException(DIAG_COMPILE_INFO, e, FORMAT(message)); \
}
NetCache internal exception.
#define DIAG_COMPILE_INFO
Make compile time diagnostic information object to use in CNcbiDiag and CException.
Definition: ncbidiag.hpp:170
#define FORMAT(message)
Format message using iostreams library.
Definition: ncbiexpt.hpp:672

Definition at line 393 of file netstorage_impl.hpp.

Function Documentation

◆ g_CreateNetStorageObjectInfo() [1/2]

CNetStorageObjectInfo g_CreateNetStorageObjectInfo ( const CJsonNode object_info_node)

Definition at line 244 of file netstorageobjectinfo.cpp.

◆ g_CreateNetStorageObjectInfo() [2/2]

CNetStorageObjectInfo g_CreateNetStorageObjectInfo ( const string object_loc,
ENetStorageObjectLocation  location,
const CNetStorageObjectLoc object_loc_struct,
Uint8  file_size,
CJsonNode::TInstance  storage_specific_info 
)

◆ g_ThrowNetStorageException()

void g_ThrowNetStorageException ( const CDiagCompileInfo compile_info,
const CNetCacheException prev_exception,
const string message 
)

Definition at line 425 of file netstorage.cpp.

References ConvertErrCode(), and CException::GetErrCode().

Modified on Wed Apr 17 13:09:53 2024 by modify_doxy.py rev. 669887