NCBI C++ ToolKit
Public Types | Public Member Functions | Public Attributes | List of all members
impl::SDBConfParams Struct Reference

Search Toolkit Book for impl::SDBConfParams

#include <dbapi/driver/impl/dbapi_impl_context.hpp>

Public Types

enum  EFlags {
  fServerSet = 0x0001 , fPortSet = 0x0002 , fDatabaseSet = 0x0004 , fUsernameSet = 0x0008 ,
  fPasswordSet = 0x0010 , fLoginTimeoutSet = 0x0020 , fIOTimeoutSet = 0x0040 , fCancelTimeoutSet = 0x0080 ,
  fSingleServerSet = 0x0100 , fIsPooledSet = 0x0200 , fPoolMinSizeSet = 0x0400 , fPoolMaxSizeSet = 0x0800 ,
  fArgsSet = 0x1000 , fPasswordFileSet = 0x2000 , fPasswordKeySet = 0x4000 , fPoolIdleTimeSet = 0x8000 ,
  fPoolWaitTimeSet = 0x10000 , fPoolAllowTempSet = 0x20000 , fContRaiserrorSet = 0x40000 , fPoolMaxConnUseSet = 0x80000 ,
  fLogMinorMsgsSet = 0x100000
}
 
typedef unsigned int TFlags
 

Public Member Functions

bool IsFlagSet (EFlags one_flag)
 
bool IsServerSet (void)
 
bool IsPortSet (void)
 
bool IsDatabaseSet (void)
 
bool IsUsernameSet (void)
 
bool IsPasswordSet (void)
 
bool IsPasswordFileSet (void)
 
bool IsPasswordKeySet (void)
 
bool IsLoginTimeoutSet (void)
 
bool IsIOTimeoutSet (void)
 
bool IsCancelTimeoutSet (void)
 
bool IsSingleServerSet (void)
 
bool IsPooledSet (void)
 
bool IsPoolMinSizeSet (void)
 
bool IsPoolMaxSizeSet (void)
 
bool IsPoolIdleTimeSet (void)
 
bool IsPoolWaitTimeSet (void)
 
bool IsPoolAllowTempOverflowSet (void)
 
bool IsContinueAfterRaiserrorSet (void)
 
bool IsPoolMaxConnUseSet (void)
 
bool IsLogMinorMessagesSet (void)
 
bool IsArgsSet (void)
 
void Clear (void)
 

Public Attributes

TFlags flags
 
string server
 
string port
 
string database
 
string username
 
string password
 
string password_file
 
string password_key_id
 
string login_timeout
 
string io_timeout
 
string cancel_timeout
 
string single_server
 
string is_pooled
 
string pool_name
 
string pool_minsize
 
string pool_maxsize
 
string pool_idle_time
 
string pool_wait_time
 
string pool_allow_temp_overflow
 
string continue_after_raiserror
 
string pool_max_conn_use
 
string log_minor_messages
 
string args
 

Detailed Description

Definition at line 59 of file dbapi_impl_context.hpp.

Member Typedef Documentation

◆ TFlags

typedef unsigned int impl::SDBConfParams::TFlags

Definition at line 85 of file dbapi_impl_context.hpp.

Member Enumeration Documentation

◆ EFlags

Enumerator
fServerSet 
fPortSet 
fDatabaseSet 
fUsernameSet 
fPasswordSet 
fLoginTimeoutSet 
fIOTimeoutSet 
fCancelTimeoutSet 
fSingleServerSet 
fIsPooledSet 
fPoolMinSizeSet 
fPoolMaxSizeSet 
fArgsSet 
fPasswordFileSet 
fPasswordKeySet 
fPoolIdleTimeSet 
fPoolWaitTimeSet 
fPoolAllowTempSet 
fContRaiserrorSet 
fPoolMaxConnUseSet 
fLogMinorMsgsSet 

Definition at line 61 of file dbapi_impl_context.hpp.

Member Function Documentation

◆ Clear()

void impl::SDBConfParams::Clear ( void  )

◆ IsArgsSet()

bool impl::SDBConfParams::IsArgsSet ( void  )
inline

Definition at line 138 of file dbapi_impl_context.hpp.

References fArgsSet, and IsFlagSet().

◆ IsCancelTimeoutSet()

bool impl::SDBConfParams::IsCancelTimeoutSet ( void  )
inline

Definition at line 123 of file dbapi_impl_context.hpp.

References fCancelTimeoutSet, and IsFlagSet().

Referenced by impl::CDriverContext::MakeConnection().

◆ IsContinueAfterRaiserrorSet()

bool impl::SDBConfParams::IsContinueAfterRaiserrorSet ( void  )
inline

Definition at line 133 of file dbapi_impl_context.hpp.

References fContRaiserrorSet, and IsFlagSet().

Referenced by impl::CDriverContext::MakeConnection().

◆ IsDatabaseSet()

bool impl::SDBConfParams::IsDatabaseSet ( void  )
inline

Definition at line 116 of file dbapi_impl_context.hpp.

References fDatabaseSet, and IsFlagSet().

Referenced by impl::CDriverContext::MakeConnection().

◆ IsFlagSet()

bool impl::SDBConfParams::IsFlagSet ( EFlags  one_flag)
inline

◆ IsIOTimeoutSet()

bool impl::SDBConfParams::IsIOTimeoutSet ( void  )
inline

Definition at line 122 of file dbapi_impl_context.hpp.

References fIOTimeoutSet, and IsFlagSet().

Referenced by impl::CDriverContext::MakeConnection().

◆ IsLoginTimeoutSet()

bool impl::SDBConfParams::IsLoginTimeoutSet ( void  )
inline

Definition at line 121 of file dbapi_impl_context.hpp.

References fLoginTimeoutSet, and IsFlagSet().

Referenced by impl::CDriverContext::MakeConnection().

◆ IsLogMinorMessagesSet()

bool impl::SDBConfParams::IsLogMinorMessagesSet ( void  )
inline

Definition at line 136 of file dbapi_impl_context.hpp.

References fLogMinorMsgsSet, and IsFlagSet().

Referenced by impl::CDriverContext::MakeConnection().

◆ IsPasswordFileSet()

bool impl::SDBConfParams::IsPasswordFileSet ( void  )
inline

Definition at line 119 of file dbapi_impl_context.hpp.

References fPasswordFileSet, and IsFlagSet().

Referenced by CSDB_ConnectionParam::x_FillParamMap().

◆ IsPasswordKeySet()

bool impl::SDBConfParams::IsPasswordKeySet ( void  )
inline

Definition at line 120 of file dbapi_impl_context.hpp.

References fPasswordKeySet, and IsFlagSet().

◆ IsPasswordSet()

bool impl::SDBConfParams::IsPasswordSet ( void  )
inline

◆ IsPoolAllowTempOverflowSet()

bool impl::SDBConfParams::IsPoolAllowTempOverflowSet ( void  )
inline

Definition at line 131 of file dbapi_impl_context.hpp.

References fPoolAllowTempSet, and IsFlagSet().

Referenced by impl::CDriverContext::MakeConnection().

◆ IsPooledSet()

bool impl::SDBConfParams::IsPooledSet ( void  )
inline

Definition at line 125 of file dbapi_impl_context.hpp.

References fIsPooledSet, and IsFlagSet().

Referenced by impl::CDriverContext::MakeConnection().

◆ IsPoolIdleTimeSet()

bool impl::SDBConfParams::IsPoolIdleTimeSet ( void  )
inline

Definition at line 129 of file dbapi_impl_context.hpp.

References fPoolIdleTimeSet, and IsFlagSet().

Referenced by impl::CDriverContext::MakeConnection().

◆ IsPoolMaxConnUseSet()

bool impl::SDBConfParams::IsPoolMaxConnUseSet ( void  )
inline

Definition at line 135 of file dbapi_impl_context.hpp.

References fPoolMaxConnUseSet, and IsFlagSet().

Referenced by impl::CDriverContext::MakeConnection().

◆ IsPoolMaxSizeSet()

bool impl::SDBConfParams::IsPoolMaxSizeSet ( void  )
inline

Definition at line 128 of file dbapi_impl_context.hpp.

References fPoolMaxSizeSet, and IsFlagSet().

Referenced by impl::CDriverContext::MakeConnection().

◆ IsPoolMinSizeSet()

bool impl::SDBConfParams::IsPoolMinSizeSet ( void  )
inline

Definition at line 127 of file dbapi_impl_context.hpp.

References fPoolMinSizeSet, and IsFlagSet().

Referenced by impl::CDriverContext::MakeConnection().

◆ IsPoolWaitTimeSet()

bool impl::SDBConfParams::IsPoolWaitTimeSet ( void  )
inline

Definition at line 130 of file dbapi_impl_context.hpp.

References fPoolWaitTimeSet, and IsFlagSet().

Referenced by impl::CDriverContext::MakeConnection().

◆ IsPortSet()

bool impl::SDBConfParams::IsPortSet ( void  )
inline

Definition at line 115 of file dbapi_impl_context.hpp.

References fPortSet, and IsFlagSet().

◆ IsServerSet()

bool impl::SDBConfParams::IsServerSet ( void  )
inline

Definition at line 114 of file dbapi_impl_context.hpp.

References fServerSet, and IsFlagSet().

Referenced by impl::CDriverContext::MakeConnection().

◆ IsSingleServerSet()

bool impl::SDBConfParams::IsSingleServerSet ( void  )
inline

Definition at line 124 of file dbapi_impl_context.hpp.

References fSingleServerSet, and IsFlagSet().

Referenced by impl::CDriverContext::MakeConnection().

◆ IsUsernameSet()

bool impl::SDBConfParams::IsUsernameSet ( void  )
inline

Definition at line 117 of file dbapi_impl_context.hpp.

References fUsernameSet, and IsFlagSet().

Referenced by impl::CDriverContext::MakeConnection().

Member Data Documentation

◆ args

string impl::SDBConfParams::args

◆ cancel_timeout

string impl::SDBConfParams::cancel_timeout

◆ continue_after_raiserror

string impl::SDBConfParams::continue_after_raiserror

◆ database

string impl::SDBConfParams::database

◆ flags

TFlags impl::SDBConfParams::flags

Definition at line 87 of file dbapi_impl_context.hpp.

Referenced by Clear(), IsFlagSet(), and impl::CDriverContext::ReadDBConfParams().

◆ io_timeout

string impl::SDBConfParams::io_timeout

◆ is_pooled

string impl::SDBConfParams::is_pooled

◆ log_minor_messages

string impl::SDBConfParams::log_minor_messages

◆ login_timeout

string impl::SDBConfParams::login_timeout

◆ password

string impl::SDBConfParams::password

◆ password_file

string impl::SDBConfParams::password_file

Definition at line 93 of file dbapi_impl_context.hpp.

Referenced by impl::CDriverContext::ReadDBConfParams().

◆ password_key_id

string impl::SDBConfParams::password_key_id

Definition at line 94 of file dbapi_impl_context.hpp.

Referenced by impl::CDriverContext::ReadDBConfParams().

◆ pool_allow_temp_overflow

string impl::SDBConfParams::pool_allow_temp_overflow

◆ pool_idle_time

string impl::SDBConfParams::pool_idle_time

◆ pool_max_conn_use

string impl::SDBConfParams::pool_max_conn_use

◆ pool_maxsize

string impl::SDBConfParams::pool_maxsize

◆ pool_minsize

string impl::SDBConfParams::pool_minsize

◆ pool_name

string impl::SDBConfParams::pool_name

◆ pool_wait_time

string impl::SDBConfParams::pool_wait_time

◆ port

string impl::SDBConfParams::port

Definition at line 89 of file dbapi_impl_context.hpp.

Referenced by Clear(), and impl::CDriverContext::ReadDBConfParams().

◆ server

string impl::SDBConfParams::server

◆ single_server

string impl::SDBConfParams::single_server

◆ username

string impl::SDBConfParams::username

The documentation for this struct was generated from the following files:
Modified on Tue May 21 10:59:17 2024 by modify_doxy.py rev. 669887