Refractoring

This commit is contained in:
amazing-username
2017-06-23 18:01:42 -05:00
parent d82b286ec9
commit 6c1f92ea30
14 changed files with 254 additions and 103 deletions
+6 -1
View File
@@ -3,7 +3,7 @@
#include<fstream>
#include<string>
#include<map>
#include"Cryption.h"
class Encryption : public Cryption
@@ -14,11 +14,16 @@ public:
Encryption(const std::string&);
void setEncryptedMessage(const std::string&);
void setMessage(const std::string&) override;
void encryptMessage();
std::string getEncryptedMessage() const;
std::string getMessage() const override;
std::map<char, std::string> encryptedCharactersStructure();
private:
void setupMap();
std::string encryptedMessage;
std::map<char, std::string> encryptedCharacters;
};
#endif