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
+5 -2
View File
@@ -3,7 +3,7 @@
#include<fstream>
#include<string>
#include<map>
#include"Cryption.h"
class Decryption : public Cryption
@@ -14,13 +14,16 @@ public:
Decryption(const std::string&);
void setDecryptedMessage(const std::string&);
void setMessage(const std::string&) override;
void decryptMessage();
std::string getDecryptedMessage() const;
std::string getMessage() const override;
private:
void setupMap();
std::string cstringToString(char[], const int&);
std::string decryptedMessage;
std::map<std::string, char> decryptedCharacters;
};
#endif