A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/parameters_8cpp_source.html below:

NCBI C++ ToolKit: src/dbapi/driver/parameters.cpp Source File

39 #define NCBI_USE_ERRCODE_X Dbapi_DrvrUtil 72  if

((m_Status &

fSet

) != 0) {

73  if

(m_Param->GetType() == param->

GetType

()) {

75

m_Param->AssignValue(*param);

80

m_Param = param->

Clone

();

83

m_Param = param->

Clone

();

102  for

(param_num = 0; param_num <

m_Params

.size(); ++param_num) {

117  unsigned int

param_no = 0;

131  if

(!param_name.empty()) {

137  return

(

unsigned int

)(

m_Params

.size() - 1);

155  m_Params

[param_no].Bind(param_name, param, is_out);

164  m_Params

[param_no].Set(param_name, param, is_out);

174  result

->m_Params.push_back(empty_param);

179

: it->m_Param->ShallowClone());

195  size_t

name_len = name.length();

196  size_t

val_len =

val

.length();

200  for

(

size_t

pos = 0; pos <

len

; pos++) {

211

&& (pos == 0 || !

isalnum

((

unsigned char

)

result

[pos - 1]))

212

&& (pos + name_len >=

result

.size()

214

&&

result

[pos + name_len] !=

'_'

)))

bool GetParamNumInternal(const string &param_name, unsigned int &param_num) const

bool BindParam(unsigned int param_no, const string &param_name, CDB_Object *param, bool is_out=false)

bool IsLocked(void) const

bool SetParam(unsigned int param_no, const string &param_name, CDB_Object *param, bool is_out=false)

CDB_Params * SemiShallowClone(void) const

Yield a lightweight copy of these parameters, sharing representations for variable-length datatypes.

unsigned int GetParamNum(const string &param_name) const

This method will throw an exception if parameter's name doesn't exist.

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

#define DATABASE_DRIVER_ERROR(message, err_code)

#define CHECK_DRIVER_ERROR(failed, message, err_code)

virtual EDB_Type GetType() const =0

virtual CDB_Object * Clone() const =0

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static int Compare(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2, ECase use_case=eCase)

Compare of a substring with another string.

Definition of all error codes used in dbapi libraries (dbapi_driver.lib and others).

string g_SubstituteParam(const string &query, const string &name, const string &val)

Miscellaneous common-use basic types and functionality.

void Set(const string &param_name, CDB_Object *param, bool is_out=false)

void Bind(const string &param_name, CDB_Object *param, bool is_out=false)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4