From 2166479d44beceba7fbf393f56b441d1f9597861 Mon Sep 17 00:00:00 2001 From: manzerbredes Date: Wed, 11 Mar 2015 19:52:59 +0400 Subject: [PATCH] Add global container --- ParserClass/AbstractContainer.cpp | 39 +++++++++++++++++++ ParserClass/AbstractContainer.hpp | 0 .../FileManContainer/FileManContainer.cpp | 0 .../FileManContainer/FileManContainer.hpp | 0 4 files changed, 39 insertions(+) create mode 100644 ParserClass/AbstractContainer.cpp create mode 100644 ParserClass/AbstractContainer.hpp create mode 100644 ParserClass/FileManContainer/FileManContainer.cpp create mode 100644 ParserClass/FileManContainer/FileManContainer.hpp diff --git a/ParserClass/AbstractContainer.cpp b/ParserClass/AbstractContainer.cpp new file mode 100644 index 0000000..370fc06 --- /dev/null +++ b/ParserClass/AbstractContainer.cpp @@ -0,0 +1,39 @@ +/** + * @file AbstractFileContainer.hpp + * @brief FileManContainer class definitions + * @author manzerbredes + * @date 11 Mars 2015 + * + * Contain all definitions of FileManContainer class. + * + */ + +#ifndef __FileManContainer__ +#define __FileManContainer__ + + + +/** + * @class Website Website.hpp "/ParserClass/FileManContainer/Website.hpp" + * @brief Class for manager all FileMan container (websites etc...) + * @author manzerbredes + * + * + * + */ + +class FileManContainer{ + + public: + FileManContainer(); + + void addWebsite(Website website); + std::vector getWebsites(); + + private: + + std::vector websites; +}; + + +#endif diff --git a/ParserClass/AbstractContainer.hpp b/ParserClass/AbstractContainer.hpp new file mode 100644 index 0000000..e69de29 diff --git a/ParserClass/FileManContainer/FileManContainer.cpp b/ParserClass/FileManContainer/FileManContainer.cpp new file mode 100644 index 0000000..e69de29 diff --git a/ParserClass/FileManContainer/FileManContainer.hpp b/ParserClass/FileManContainer/FileManContainer.hpp new file mode 100644 index 0000000..e69de29