Update parser

This commit is contained in:
manzerbredes 2015-03-14 20:11:18 +04:00
parent 1f12bca33f
commit 84c669f82a
5 changed files with 94 additions and 91 deletions

View file

@ -12,14 +12,14 @@
#include "Website.hpp"
//Constructor
Website::Website(){
}
//----- Getters -----
std::string Website::getTitle(){
return this->title;
}
@ -38,7 +38,7 @@ std::string Website::getDescription(){
//----- Setters -----
void Website::setTitle(std::string title){
this->title = title;
}
@ -56,6 +56,8 @@ void Website::setDescription(std::string description){
}
//Equality comparator
bool Website::operator==(const Website& website) const{
if((this->getId()).compare(website.getId())==0){
return true;