#include <httpSearch.h>
Public Member Functions | |
cHttpResultsVector () | |
Constructor. | |
int | getVectorSize () |
Returns number of elements in vector. | |
void | clearVector () |
Erase all vector's contenents. | |
std::string | getLyricsUrl (int number) |
Gets specified result from Vector. | |
void | addLyricsUrl (std::string new_result) |
Adds a result at the end of the vector. | |
Static Private Attributes | |
std::vector< std::string > | LyricsUrls |
Vector that contains URLs. |
|
Constructor. This method constructs a new cHttpResultsVector object. This object will be used to manage all result URLs.
|
|
Adds a result at the end of the vector. this method adds an URL specified in new_result param at the end of LyricsUrls vector.
|
|
Erase all vector's contenents. This method clears vector LyricsUrls.
|
|
Gets specified result from Vector. This method returns a specified result contained in vector LyricsUrls.
|
|
Returns number of elements in vector. This method returns the number of URLs contained in the vector LyricsUrls.
|
|
Vector that contains URLs. This vector contains all the results found after cHttpSearch::extractLyricsUrl().
|