Code cleanup

This commit is contained in:
amazing-username
2018-02-26 22:01:00 -06:00
commit cec1e0bbb6
39 changed files with 3268 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
#ifndef KEYRETRIEVAL_H
#define KEYRETRIEVAL_H
#include<fstream>
#include<vector>
#include<list>
#include"Key.h"
using std::fstream;
class KeyRetrieval
{
public:
KeyRetrieval();
KeyRetrieval(const string);
KeyRetrieval(const Key<>&);
~KeyRetrieval() = default;
void retrieveKey();
void addToList();
void addRange(int, const int);
void fileNameChoice(const string&);
vector<string> keyStructure();
vector<int> codeCharacterStructure();
private:
string fileName{"default_keys.txt"};
vector<string> keys;
vector<char> characters;
vector<int> codeCharacter;
const int keySize{5};
};
#endif