diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-07-18 04:35:30 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-07-18 04:35:30 +0000 |
commit | a89df27c0f7ded0a673dc84ce0b0e24c6d05e0d0 (patch) | |
tree | a25c153b42dc3f510a7981a031bd04dfa0a7a712 /hex.h | |
parent | 656db5504c8c656d3981fed232da44b2f28b1feb (diff) | |
download | cryptopp-a89df27c0f7ded0a673dc84ce0b0e24c6d05e0d0.tar.gz |
misc changes
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@103 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'hex.h')
-rw-r--r-- | hex.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -12,7 +12,7 @@ public: HexEncoder(BufferedTransformation *attachment = NULL, bool uppercase = true, int outputGroupSize = 0, const std::string &separator = ":", const std::string &terminator = "") : SimpleProxyFilter(new BaseN_Encoder(new Grouper), attachment) { - IsolatedInitialize(MakeParameters("Uppercase", uppercase)("GroupSize", outputGroupSize)("Separator", ConstByteArrayParameter(separator))); + IsolatedInitialize(MakeParameters(Name::Uppercase(), uppercase)(Name::GroupSize(), outputGroupSize)(Name::Separator(), ConstByteArrayParameter(separator))); } void IsolatedInitialize(const NameValuePairs ¶meters); @@ -23,12 +23,12 @@ class CRYPTOPP_DLL HexDecoder : public BaseN_Decoder { public: HexDecoder(BufferedTransformation *attachment = NULL) - : BaseN_Decoder(GetDecodingLookupArray(), 4, attachment) {} + : BaseN_Decoder(GetDefaultDecodingLookupArray(), 4, attachment) {} - void IsolatedInitialize(const NameValuePairs ¶meters) {} + void IsolatedInitialize(const NameValuePairs ¶meters); private: - static const int *GetDecodingLookupArray(); + static const int *GetDefaultDecodingLookupArray(); }; NAMESPACE_END |