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/SourceFiles/Vigenere.cpp
//Matthew Ellison
// Created: 4-29-18
//Modified; 5-5-18
//Modified: 5-16-18
//This file contains the implementation of the Vigenere class
#include "../Headers/Vigenere.hpp"
@@ -10,6 +10,12 @@
#include <cctype>
/**
* @brief The current library's version number
*
*/
const std::string Vigenere::version = "1.0";
/**
* @brief Construct a new Vigenere object
*
@@ -212,3 +218,12 @@ void Vigenere::reset(){
inputString = outputString = keyword = "";
offset.clear();
}
/**
* @brief Returns a string containing the version information
*
* @return The version information
*/
std::string Vigenere::getVersion(){
return version;
}