SNAP Library 3.0, Developer Reference
2016-07-20 17:56:49
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <url.h>
Public Member Functions | |
TUrlEnv () | |
TUrlEnv (const TUrlEnv &UrlEnv) | |
~TUrlEnv () | |
TUrlEnv (TSIn &SIn) | |
void | Save (TSOut &SOut) |
TUrlEnv & | operator= (const TUrlEnv &Env) |
void | PutBaseUrlStr (const TStr &_BaseUrlStr) |
TStr | GetBaseUrlStr () const |
void | AddKeyVal (const TStr &KeyNm, const TStr &ValStr) |
void | AddToKeyVal (const TStr &KeyNm, const TStr &ValStr) |
bool | Empty () const |
int | GetKeys () const |
bool | IsKey (const TStr &KeyNm) const |
int | GetKeyN (const TStr &KeyNm) const |
TStr | GetKeyNm (const int &KeyN) const |
int | GetVals (const int &KeyN) const |
int | GetVals (const TStr &KeyNm) const |
TStr | GetVal (const int &KeyN, const int &ValN=0) const |
TStr | GetVal (const TStr &KeyNm, const int &ValN=0, const TStr &DfVal="") const |
TStr | GetFullUrlStr () const |
Static Public Member Functions | |
static PUrlEnv | New () |
static PUrlEnv | New (const TStr &BaseUrlStr, const TStr &KeyNm1=TStr(), const TStr &ValStr1=TStr(), const TStr &KeyNm2=TStr(), const TStr &ValStr2=TStr(), const TStr &KeyNm3=TStr(), const TStr &ValStr3=TStr(), const TStr &KeyNm4=TStr(), const TStr &ValStr4=TStr()) |
static PUrlEnv | Load (TSIn &SIn) |
static PUrlEnv | MkClone (const PUrlEnv &UrlEnv) |
Private Attributes | |
TCRef | CRef |
TStr | BaseUrlStr |
TStrV | KeyNmV |
TStrStrVH | KeyNmToValH |
Friends | |
class | TPt< TUrlEnv > |
|
inline |
Definition at line 144 of file url.h.
Referenced by THttpRq::ParseSearch().
TStr TUrlEnv::GetFullUrlStr | ( | ) | const |
Definition at line 445 of file url.cpp.
References BaseUrlStr, THash< TKey, TDat, THashFunc >::GetDat(), GetKeyNm(), GetKeys(), TUrl::GetUrlSearchStr(), KeyNmToValH, and TVec< TVal, TSizeTy >::Len().
Referenced by THtmlDoc::_IsTagRedir().
|
inline |
|
inline |
Definition at line 153 of file url.h.
Referenced by GetFullUrlStr().
|
inline |
Definition at line 150 of file url.h.
Referenced by GetFullUrlStr().
|
inline |
|
inline |
|
inline |
|
inlinestatic |
Definition at line 113 of file url.h.
Referenced by THtmlDoc::_IsTagRedir().
|
inlinestatic |
Definition at line 114 of file url.h.
References AddKeyVal(), and PutBaseUrlStr().
|
inline |
|
private |
Definition at line 105 of file url.h.
Referenced by GetFullUrlStr().
|
private |
Definition at line 107 of file url.h.
Referenced by GetFullUrlStr(), and operator=().
|
private |
Definition at line 106 of file url.h.
Referenced by operator=().