NCBI C++ ToolKit
|
Search Toolkit Book for SResponse
Classes | |
struct | SSsR |
Public Member Functions | |
SResponse (CCgiResponse &response) | |
void | DataOnly (const SOneRequestParams::SDataOnly &data_only) |
void | operator() (int status) |
Private Member Functions | |
void | Success () |
void | Error (int status) |
Private Attributes | |
CCgiResponse & | m_Response |
SSsR | m_Out |
SSsR | m_Err |
optional< ESerialDataFormat > | m_Format |
Definition at line 232 of file psg_client_cgi.cpp.
|
inline |
Definition at line 234 of file psg_client_cgi.cpp.
|
inline |
Definition at line 240 of file psg_client_cgi.cpp.
References SOneRequestParams::SDataOnly::enabled, and SOneRequestParams::SDataOnly::output_format.
Referenced by CPsgCgiApp::ProcessRequest().
|
private |
Definition at line 300 of file psg_client_cgi.cpp.
References CJson_Value::SetInt8(), CJson_Node::SetObject(), CJson_Value::SetString(), and CJson_Node::SetValue().
|
inline |
Definition at line 247 of file psg_client_cgi.cpp.
References CRequestStatus::e200_Ok, and Error().
|
private |
Definition at line 269 of file psg_client_cgi.cpp.
References eSerial_AsnBinary, eSerial_AsnText, eSerial_Json, eSerial_None, and eSerial_Xml.
|
private |
Definition at line 265 of file psg_client_cgi.cpp.
|
private |
Definition at line 266 of file psg_client_cgi.cpp.
|
private |
Definition at line 264 of file psg_client_cgi.cpp.
|
private |
Definition at line 263 of file psg_client_cgi.cpp.