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/ctl__sp__who_8cpp_source.html below:

NCBI C++ ToolKit: src/dbapi/driver/ctlib/samples/ctl_sp_who.cpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

34 #include "../../dbapi_driver_sample_base.hpp" 82

unique_ptr<CDB_Connection> con(my_context.Connect(

GetServerName

(),

87

unique_ptr<CDB_RPCCmd> rcmd(con->RPC(

"sp_who"

));

90  while

(rcmd->HasMoreResults()) {

91

unique_ptr<CDB_Result>

r

(rcmd->Result());

96  while

(

r

->Fetch()) {

97  for

(

unsigned int

j = 0; j <

r

->NofItems(); j++) {

102

cout <<

r

->ItemName(j) <<

": "

<< r_vc.

AsString

()

109

cout <<

r

->ItemName(j) <<

": "

<< r_in.

Value

()

130 int main

(

int

argc,

const char

* argv[])

CCtlLibSpWhoDemoApp(const string &server_name, int tds_version=GetCtlibTdsVersion())

virtual int RunSample(void)

virtual ~CCtlLibSpWhoDemoApp(void)

const string & GetUserName(void) const

Return current user name.

const string & GetPassword(void) const

Return current password.

int GetTDSVersion(void) const

Return TDS version.

const string & GetServerName(void) const

Return current server name.

int main(int argc, const char *argv[])

#define DBLB_INSTALL_DEFAULT()

Easy-to-use macro to install the default DBAPI service mapper.

CS_INT GetCtlibTdsVersion(int version=0)

int AppMain(int argc, const char *const *argv, const char *const *envp=0, EAppDiagStream diag=eDS_Default, const char *conf=NcbiEmptyCStr, const string &name=NcbiEmptyString)

Main function (entry point) for the NCBI application.

virtual bool HandleIt(CDB_Exception *ex)

Handle the exceptions resulting from a native API call, one-by-one.

const string & AsString(void) const

double r(size_t dimension_, const Int4 *score_, const double *prob_, double theta_)


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