Added version information for all classes

This commit is contained in:
2018-05-16 10:33:17 -04:00
parent 5cc3b935c1
commit d54b34f4c2
12 changed files with 124 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
//Ciphers/Headers/Atbash.hpp
//Matthew Ellison
// Created: 4-30-18
//Modified: 5-5-18
//Modified: 5-16-18
//This file contains the declaration of the Atbash class
//This class is used to encode and decode an Atbash cipher
@@ -15,6 +15,7 @@ class Atbash{
private:
std::string inputString; //Holds the string that needs encoded or decoded
std::string outputString; //Holds the encoded/decoded string
static const std::string version; //Holds the current version of the library
std::string decode(); //Decodes inputString and stores in outputString
std::string encode(); //Encodes inputString and stores in outputString
void setInputString(std::string input); //Removes all invalid characters and sets inputString
@@ -26,6 +27,7 @@ public:
std::string encode(std::string input);
std::string decode(std::string input);
void reset();
static std::string getVersion();
};
#endif //ATBASH_HPP