Update ParserClass files
This commit is contained in:
parent
2166479d44
commit
41897f295f
7 changed files with 128 additions and 8 deletions
|
@ -11,6 +11,20 @@
|
|||
|
||||
#include "Website.hpp"
|
||||
|
||||
|
||||
Website::Website(){
|
||||
boost::uuids::uuid uuid = boost::uuids::random_generator()();
|
||||
std::stringstream ss;
|
||||
ss << uuid;
|
||||
this->id=ss.str();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
std::string Website::getId(){
|
||||
return this->id;
|
||||
}
|
||||
std::string Website::getTitle(){
|
||||
return this->title;
|
||||
}
|
||||
|
@ -29,6 +43,9 @@ std::string Website::getDescription(){
|
|||
|
||||
|
||||
|
||||
void Website::setId(std::string id){
|
||||
this->id = id;
|
||||
}
|
||||
void Website::setTitle(std::string title){
|
||||
this->title = title;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue