summaryrefslogtreecommitdiff
path: root/ParserClass/FileManContainer
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2015-03-20 10:57:03 +0400
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2015-03-20 10:57:03 +0400
commit45f7cc5d27b338dae1d36c211cc5720c82f3de35 (patch)
tree38c356a4e5ba77520e59964f25cde28527e552bd /ParserClass/FileManContainer
parenteb267792cd70a763bf2dcbfce6e7a09251b3913f (diff)
Change file architecture
Diffstat (limited to 'ParserClass/FileManContainer')
-rw-r--r--ParserClass/FileManContainer/Website.cpp67
-rw-r--r--ParserClass/FileManContainer/Website.hpp83
2 files changed, 0 insertions, 150 deletions
diff --git a/ParserClass/FileManContainer/Website.cpp b/ParserClass/FileManContainer/Website.cpp
deleted file mode 100644
index f65a66d..0000000
--- a/ParserClass/FileManContainer/Website.cpp
+++ /dev/null
@@ -1,67 +0,0 @@
-/**
- * @file Website.cpp
- * @brief Website class definitions
- * @author manzerbredes
- * @date 11 Mars 2015
- *
- * Contain all implementations of Website class.
- *
- */
-
-
-#include "Website.hpp"
-
-
-//Constructor
-Website::Website(){
-
-}
-
-
-
-//----- Getters -----
-std::string Website::getTitle(){
- return this->title;
-}
-std::string Website::getUrl(){
- return this->url;
-}
-std::string Website::getUsername(){
- return this->username;
-}
-std::string Website::getPassword(){
- return this->password;
-}
-std::string Website::getDescription(){
- return this->description;
-}
-
-
-
-//----- Setters -----
-void Website::setTitle(std::string title){
- this->title = title;
-}
-void Website::setUrl(std::string url){
- this->url = url;
-}
-void Website::setUsername(std::string username){
- this->username = username;
-}
-void Website::setPassword(std::string password){
- this->password = password;
-}
-void Website::setDescription(std::string description){
- this->description = description;
-}
-
-
-
-//Equality comparator
-bool Website::operator==(const Website& website) const{
- if((this->getId()).compare(website.getId())==0){
- return true;
- }
- return false;
-}
-
diff --git a/ParserClass/FileManContainer/Website.hpp b/ParserClass/FileManContainer/Website.hpp
deleted file mode 100644
index cb293d4..0000000
--- a/ParserClass/FileManContainer/Website.hpp
+++ /dev/null
@@ -1,83 +0,0 @@
-/**
- * @file Website.hpp
- * @brief Website class definitions
- * @author manzerbredes
- * @date 11 Mars 2015
- *
- * Contain all definitions of Website class.
- *
- */
-
-#ifndef __WEBSITE__
-#define __WEBSITE__
-
-#include <string>
-
-
-/**
- * @class FileManIOFile FileManIOFile.hpp "/CryptClass/FileManIOFile.hpp"
- * @brief Class for quick open and close encrypted file.
- * @author manzerbredes
- *
- * -----File organisation-----
- *
- * 16 first bytes : md5 of decrypted file
- * rest of the file : data encrypted (ASE for now)
- *
- */
-
-#include <string>
-#include "AbstractIDManager.hpp"
-
-/**
- * @class Website Website.hpp "/ParserClass/FileManContainer/Website.hpp"
- * @brief Class for quick open and close encrypted file.
- * @author manzerbredes
- *
- * Container for website data.
- *
- */
-class Website : public AbstractIDManager {
-
-
- public:
-
- Website();
-
- /**
- * @brief Containner getters.
- */
-
- std::string getTitle();
- std::string getUrl();
- std::string getUsername();
- std::string getPassword();
- std::string getDescription();
-
-
- /**
- * @brief Containner setters.
- */
- void setTitle(std::string title);
- void setUrl(std::string url);
- void setUsername(std::string username);
- void setPassword(std::string password);
- void setDescription(std::string description);
-
-
- /**
- * @brief Equality comparator
- */
- bool operator==(const Website& website) const;
-
- private:
-
- std::string title; ///< Title of the website
- std::string url; ///< Url of the website
- std::string username; ///< username of the account
- std::string password; ///< password of the account
- std::string description; ///< Description of the website
-};
-
-
-#endif