Definition at line 330 of file html.h.
void TWebPg::GetOutDescUrlStrKdV |
( |
TStrKdV & |
OutDescUrlStrKdV | ) |
const |
Definition at line 1258 of file html.cpp.
References TVec< TVal, TSizeTy >::Add(), TVec< TVal, TSizeTy >::Clr(), TChA::Empty(), GetHttpBodyAsStr(), THtmlDoc::GetTok(), THtmlDoc::GetToks(), TUrl::GetUrlStr(), GetUrlStr(), hsyBTag, hsyETag, hsyNum, hsySSym, hsyStr, TUrl::IsOk(), TUrl::New(), THtmlDoc::New(), and TStrIn::New().
1260 OutDescUrlStrKdV.
Clr();
1269 int TokN=0;
int Toks=HtmlDoc->
GetToks();
1271 Tok=HtmlDoc->
GetTok(TokN, TokSym, TokStr); TokN++;
1274 if (Tok->IsUrlTok(RelUrlStr)){
1279 Tok=HtmlDoc->
GetTok(TokN, TokSym, TokStr); TokN++;
1284 if (!DescChA.
Empty()){DescChA+=
' ';}
1289 OutDescUrlStrKdV.
Add(
TStrKd(DescChA, Url->GetUrlStr()));
TStr GetUrlStr(const int &UrlN=-1) const
static PUrl New(const TStr &RelUrlStr, const TStr &BaseUrlStr=TStr())
void Clr(const bool &DoDel=true, const TSizeTy &NoDelLim=-1)
Clears the contents of the vector.
static PSIn New(const TStr &Str)
static PHtmlDoc New(const PSIn &SIn, const THtmlDocType &Type=hdtAll, const bool &DoUc=true)
TSizeTy Add()
Adds a new element at the end of the vector, after its current last element.
PHtmlTok GetTok(const int &TokN) const
TKeyDat< TStr, TStr > TStrKd
TStr GetHttpBodyAsStr() const
void TWebPg::GetOutUrlV |
( |
TUrlV & |
OutUrlV, |
|
|
TUrlV & |
OutRedirUrlV |
|
) |
| const |
Definition at line 1230 of file html.cpp.
References TVec< TVal, TSizeTy >::Add(), TVec< TVal, TSizeTy >::Clr(), GetHttpBodyAsStr(), THtmlDoc::GetTok(), THtmlDoc::GetToks(), GetUrlStr(), hsyBTag, TUrl::IsOk(), TUrl::New(), THtmlDoc::New(), TStrIn::New(), and usHttp.
1232 OutUrlV.
Clr(); OutRedirUrlV.
Clr();
1241 for (
int TokN=0; TokN<HtmlDoc->
GetToks(); TokN++){
1245 if (Tok->IsUrlTok(RelUrlStr)){
1249 if (Tok->IsRedirUrlTok()){
1250 OutRedirUrlV.
Add(Url);
TStr GetUrlStr(const int &UrlN=-1) const
static PUrl New(const TStr &RelUrlStr, const TStr &BaseUrlStr=TStr())
void Clr(const bool &DoDel=true, const TSizeTy &NoDelLim=-1)
Clears the contents of the vector.
static PSIn New(const TStr &Str)
static PHtmlDoc New(const PSIn &SIn, const THtmlDocType &Type=hdtAll, const bool &DoUc=true)
TSizeTy Add()
Adds a new element at the end of the vector, after its current last element.
PHtmlTok GetTok(const int &TokN) const
TStr GetHttpBodyAsStr() const