2012-08-14 23:26:24 +00:00
|
|
|
#ifndef _LIBCRYPAFFINITY_ALPHABET_HH
|
|
|
|
#define _LIBCRYPAFFINITY_ALPHABET_HH
|
2009-01-18 20:48:28 +00:00
|
|
|
|
|
|
|
|
2012-08-14 23:26:24 +00:00
|
|
|
#include "cryptaffinity_global.hh"
|
|
|
|
#include "cryptaffinity_iface.hh"
|
2009-01-18 20:48:28 +00:00
|
|
|
|
2012-08-14 23:26:24 +00:00
|
|
|
namespace LibCryptAffinity {
|
2009-01-18 20:48:28 +00:00
|
|
|
class ReverseAlphabet: public std::map<std::string, int> {
|
|
|
|
};
|
|
|
|
|
|
|
|
class Alphabet : public std::vector<std::string> {
|
|
|
|
public:
|
|
|
|
Alphabet();
|
|
|
|
Alphabet(std::string alphaString);
|
|
|
|
ReverseAlphabet getReverse();
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|