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

NCBI C++ ToolKit: src/objects/trackmgr/trackmgr_client.cpp Source File

50

: m_HostType(eNamed_service)

58

: m_HostType(eHost_port),

73

unique_ptr<STimeout> to(

new STimeout

());

106  const string type

= cfg.

GetString

(

"TrackMgr"

,

"type"

,

"service"

);

107  const string

name = cfg.

GetString

(

"TrackMgr"

,

"name"

,

"TrackMgr"

);

108  const string

port_str = cfg.

GetString

(

"TrackMgr"

,

"port"

,

"47228"

);

124

?

client

->AskDefault_display_tracks(request)

131  using

TStrIDs = vector<string>;

133  string

delim[3] = {

";"

,

":"

,

","

};

137  for

(

auto

tok1 : vec1)

144

parsed_ids.back().batch_id = batch_id;

151  for

(

auto

tok2 : vec2)

156  int id

= NStr::StringToNumeric<int>(tok2,

160

parsed_ids.back().batch_id = id;

163  else if

(

i

% 2 == 0) {

170  for

(

auto

tok3 : vec3)

172  int

align_id = NStr::StringToNumeric<int>

176

parsed_ids.back().align_ids.push_back(align_id);

User-defined methods of the data storage class.

User-defined methods of the data storage class.

This stream exchanges data in a TCP channel, using the SOCK socket API.

static CNcbiApplication * Instance(void)

Singleton method.

static CRef< CTMgr_DisplayTrackReply > s_Ask(const CTMgr_DisplayTrackRequest &)

static bool ParseAlignId(const string &external_id, TAlignIDs &parsed_ids)

vector< SAlignIds > TAlignIDs

CTrackMgrClient(const string &service="TrackMgr")

virtual ~CTrackMgrClient()

virtual void x_Connect(void)

These run with m_Mutex already acquired.

virtual CRef< CTMgr_DisplayTrackReply > AskDefault_display_tracks(const CTMgr_DisplayTrackRequest &req, TReply *reply=0)

enum CTrackMgrClient::@714 m_HostType

const CNcbiRegistry & GetConfig(void) const

Get the application's cached configuration parameters (read-only).

#define NCBI_THROW(exception_class, err_code, message)

Generic macro to throw an exception, given the exception class, error code and message string.

void x_SetStream(CNcbiIostream *stream)

void SetService(const string &service)

void SetFormat(ESerialDataFormat fmt)

virtual void x_Connect(void) override

EIO_Status SetTimeout(const STimeout *timeout, EIO_Event direction=eIO_ReadWrite)

@ eSerial_AsnBinary

ASN.1 binary.

virtual string GetString(const string &section, const string &name, const string &default_value, TFlags flags=0) const

Get the parameter string value.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static int StringToInt(const CTempString str, TStringToNumFlags flags=0, int base=10)

Convert string to int.

static list< string > & Split(const CTempString str, const CTempString delim, list< string > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL)

Split a string using specified delimiters.

static bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)

Case-insensitive equality of a substring with another string.

@ fConvErr_NoThrow

Do not throw an exception on error.

unsigned short m_Port

TCP port to listen on.

struct STimeoutTag STimeout

Timeout structure.

virtual CRef< CTMgr_DisplayTrackReply > AskDisplay_tracks(const CTMgr_DisplayTrackRequest &req, TReply *reply=0)

Defines the CNcbiApplication and CAppException classes for creating NCBI applications.

static CNamedPipeClient * client


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