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

NCBI C++ ToolKit: src/gui/app/blastfmt/cgi_hit_matrix.cpp Source File

119

param = iter->second;

149  string

blastURL = reg.

Get

(

"NetParams"

,

"BlastURL"

);

150  string

url = (

string

)blastURL +

"?CMD=Get&RID="

+

m_RID

+

"&FORMAT_TYPE=ASN.1&FORMAT_OBJECT=Alignment"

;

158

unique_ptr<CObjectIStream> is

182

unique_ptr<CObjectIStream>

in 187

cerr <<

"Exception reading SeqAnnot exception message: "

+ e.

GetMsg

() << endl;

196  if

(!

m_RID

.empty()) {

214  bool

success =

true

;

219  string

encoding(

"image/png"

);

234 int main

(

int

argc,

const char

* argv[])

240

openlog(

"hitmtrix"

, LOG_PID, LOG_LOCAL7);

243  _TRACE

(

"back to normal diags"

);

Declares class to display hitmatrix image view for blast 2 seq.

string s_GetRequestParam(const TCgiEntries &entries, const string &paramName)

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

CRef< CSeq_annot > createAnnot(string rid)

CBlastHitMatrixCGIApplication This CGI loads an accession from GenBank, extract a Seq-annot from the ...

void x_GetCGIContextParams(CCgiContext &ctx)

virtual int ProcessRequest(CCgiContext &ctx)

This is the method you should override.

void x_GetSeqAnnot(CCgiContext &ctx)

CBlastHitMatrixCGIApplication()

CBlastHitMatrix * m_BlastHitMatrix

void x_InitAppData(CCgiContext &ctx)

CRef< CSeq_annot > m_Annot

virtual const char * GetErrCodeString(void) const

Get error code interpreted as text.

NCBI_EXCEPTION_DEFAULT(CBlastHitMatrixCGIException, CException)

This class displays the image of the hitmatrix view for blast 2 seq results.

This stream exchanges data with an HTTP server located at the URL: http[s]://host[:port]/path[?...

static CNcbiApplication * Instance(void)

Singleton method.

container_type::const_iterator const_iterator

const string & GetProgramExecutablePath(EFollowLinks follow_links=eIgnoreLinks) const

Get the application's executable path.

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.

bool IsFileOut(void)

Checks if image is to be written to the file.

bool Display(CNcbiOstream &out)

Outputs the image into CNcbiOstream.

bool WriteToFile(void)

Outputs the image into the file (m_FileOut=true) or netcache.

void SetThumbnail(bool set)

Indicates that thumbmail should be shown.

void SetFileName(string fileName)

Inits file name if image is written to the file.

string GetErrorMessage(void)

Get error message.

const TCgiEntries & GetEntries(void) const

Get a set of entries(decoded) received from the client.

CNcbiOstream & out(void) const

Get output stream. Throw exception if GetOutput() is NULL.

void SetContentType(const string &type)

Set content type (text/html by default if not provided)

CNcbiOstream & WriteHeader(void) const

Write HTTP response header to the output stream.

CDiagContext & GetDiagContext(void)

Get diag context instance.

void SetSplitLogFile(bool value=true)

Split log files flag.

static void SetOldPostFormat(bool value)

Set old/new format flag.

#define LOG_POST(message)

This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...

TErrCode GetErrCode(void) const

Get error code.

#define NCBI_THROW(exception_class, err_code, message)

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

const string & GetMsg(void) const

Get message string.

EErrCode

Error types that an application can generate.

virtual const char * GetErrCodeString(void) const

Get error code interpreted as text.

string GetDir(EIfEmptyPath mode=eIfEmptyPath_Current) const

Get the directory component for this directory entry.

static string MakePath(const string &dir=kEmptyStr, const string &base=kEmptyStr, const string &ext=kEmptyStr)

Assemble a path from basic components.

#define MSerial_AsnText

I/O stream manipulators –.

@ eSerial_AsnText

ASN.1 text.

static CObjectIStream * Open(ESerialDataFormat format, CNcbiIstream &inStream, bool deleteInStream)

Create serial object reader and attach it to an input stream.

void Reset(void)

Reset reference object.

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

Get the parameter value.

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

Convert string to int.

SConnNetInfo * ConnNetInfo_Create(const char *service)

The NCBI C++/STL use hints.

std::istream & in(std::istream &in_, double &x_)

static wxAcceleratorEntry entries[3]


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