Hi Wei
thank you, I do learnt from your factory code
I thought that the factory design pattern can not be implemented except with wrapping your already made classes.
Registering objects is a very good "work around" idea.
It is not an absolute factory as I know.
let us name it as "Wei Dai" Factory :)
Regards
Haytham
Wei Dai <[EMAIL PROTECTED]> wrote:
Wei Dai <[EMAIL PROTECTED]> wrote:
Crypto++ comes with factory classes. Look at factory.h, regtest.cpp, and search for ObjectFactoryRegistry in datatest.cpp for examples of use.----- Original Message -----From: Haytham MohammedSent: Tuesday, April 04, 2006 6:37 AMSubject: Re: Dynamic Algorithm RequestHi TobiasI faced the same problem...I made my custom Asymmetric and Symmetric base Interfaces.and wrapped (needed) algorithms (implemented in the Library) in classes inherits from those interfacesthen I used the Factory Design pattern to switch between Asymmetric and Symmetric algorithms at runtime.If anyone knows a better solution, please send itRegardsHaytham
nero100 <[EMAIL PROTECTED]> wrote:Hi @all,
i´ve a little Problem on requesting an List of Algorithms from Crypto++.
I want to request at runtime which Algorithms (Hash, Symmetric and
Asymmetric) Crypto++ supports.
Some out there who could help me?
Tobias
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.
- Dynamic Algorithm Request nero100
- Re: Dynamic Algorithm Request Haytham Mohammed
- Re: Dynamic Algorithm Request Wei Dai
- Re: Dynamic Algorithm Request Haytham Mohammed
Reply via email to
