Go to the SVN repository for this file.
41 const char*
kDefaultApplogURL=
"http://intranet.ncbi.nlm.nih.gov/projects/applog/browser/";
44 const char*
kDefaultApplogArgs=
"src=applog&noBots=0&noInternal=0&random=0&fmt=split&retmax=25&run=1";
47 void s_AddArg(
string& args,
const string& name,
const string&
value,
63 if (!term.empty()) { \ 71 if(
value.empty()) {
76term += (name +
"=\""+
value+
"\"");
78term += (name +
"="+
value);
94 throw "'From' date is required";
140 if( term.empty() ) {
141 throw "CApplogUrl:: search term is empty, please specify at least one argument";
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
EQuoted
Define that string is quoted or not.
static string URLEncode(const CTempString str, EUrlEncode flag=eUrlEnc_SkipMarkChars)
URL-encode string.
@ eUrlEnc_URIQueryValue
Encode query part of an URI, arg value.
@ eUrlEnc_URIQueryName
Encode query part of an URI, arg name.
@ eQuoted
String is quoted.
@ eNotQuoted
String is not quoted.
CTime & ToLocalTime(void)
Convert the time into local time.
CTime & Round(ERoundPrecision precision=eRound_Day, EDaylight adl=eDaylightDefault)
Round time.
CTime & AddSecond(TSeconds seconds=1, EDaylight adl=eDaylightDefault)
Add specified seconds.
string AsString(const CTimeFormat &format=kEmptyStr, TSeconds out_tz=eCurrentTimeZone) const
Transform time to string.
bool IsEmpty(void) const
Is time object empty (date and time)?
CTime & SetCurrent(void)
Make the time current in the presently active time zone.
CTime GetLocalTime(void) const
Get the time as local time.
@ eRound_Minute
Round to minutes.
string ComposeUrl(void)
Compose URL.
CTime m_TimeEnd
Current local time if empty.
string m_Url
Base Applog URL, use default if empty.
const GenericPointer< typename T::ValueType > T2 value
void s_AddTerm(string &term, const string &name, const string &value, NStr::EQuoted quotes=NStr::eNotQuoted)
void s_AddArg(string &args, const string &name, const string &value, NStr::EQuoted quotes=NStr::eNotQuoted)
const char * kDefaultApplogArgs
const char * kDefaultApplogURL
Default CGI used by default if /log directory is not writable on current machine.
Defines classes: CApplogUrl â compose Applog URL.
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