mirror of
https://bitbucket.org/Mattrixwv/cipherstream.git
synced 2025-12-06 18:33:58 -05:00
Added version information for all classes
This commit is contained in:
@@ -1,13 +1,20 @@
|
||||
//Ciphers/SourceFiles/Atbash.cpp
|
||||
//Matthew Ellison
|
||||
// Created: 4-30-18
|
||||
//Modified: 5-5-18
|
||||
//Modified: 5-16-18
|
||||
//This file contains the implementation of the Atbash class
|
||||
|
||||
|
||||
#include "../Headers/Atbash.hpp"
|
||||
#include <cctype>
|
||||
|
||||
|
||||
/**
|
||||
* @brief The current library's version number
|
||||
*
|
||||
*/
|
||||
const std::string Atbash::version = "1.0";
|
||||
|
||||
/**
|
||||
* @brief Construct a new Atbash object
|
||||
*
|
||||
@@ -121,3 +128,12 @@ std::string Atbash::decode(std::string input){
|
||||
void Atbash::reset(){
|
||||
inputString = outputString = "";
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Returns a string containing the version information
|
||||
*
|
||||
* @return The version information
|
||||
*/
|
||||
std::string Atbash::getVersion(){
|
||||
return version;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user