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

NCBI C++ ToolKit: src/dbapi/driver/ctlib/samples/ctl_lang.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" 83

unique_ptr<CDB_Connection> con(my_context.Connect(

GetServerName

(),

88

unique_ptr<CDB_LangCmd> lcmd

89

(con->LangCmd(

"select name, crdate from sysdatabases"

));

92  while

(lcmd->HasMoreResults()) {

93

unique_ptr<CDB_Result>

r

(lcmd->Result());

98

<<

r

->ItemName(0) <<

" \t\t\t" 99

<<

r

->ItemName(1) << endl

100

<<

"-----------------------------------------------------" 103  while

(

r

->Fetch()) {

108  r

->GetItem(&crdate);

111

<<

dbname

.AsString() <<

' ' 127 int main

(

int

argc,

const char

* argv[])

virtual ~CCtlLibDemoAPp(void)

virtual int RunSample(void)

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

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 CTime & Value(void) const

string AsString(const CTimeFormat &format=kEmptyStr, TSeconds out_tz=eCurrentTimeZone) const

Transform time to string.

char * dbname(DBPROCESS *dbproc)

Get name of current database.

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