diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-08-05 07:53:52 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-08-05 07:53:52 -0400 |
commit | 086ad70feb21c74d54618247733e3fd282096c87 (patch) | |
tree | e9fb78f2f8f002e15607dc5b506cf6483c74b958 /simple.h | |
parent | 0357e508e4fd8e8f61e82a48b16adb5c381a740d (diff) | |
download | cryptopp-git-086ad70feb21c74d54618247733e3fd282096c87.tar.gz |
Update documentation
Diffstat (limited to 'simple.h')
-rw-r--r-- | simple.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -30,7 +30,7 @@ public: };
//! \class AlgorithmImpl
-//! \brief Base class for identifying alogorithm
+//! \brief Base class information
//! \tparam BASE an Algorithm derived class
//! \tparam ALGORITHM_INFO an Algorithm derived class
//! \details AlgorithmImpl provides StaticAlgorithmName from the template parameter BASE
@@ -38,7 +38,15 @@ template <class BASE, class ALGORITHM_INFO=BASE> class CRYPTOPP_NO_VTABLE AlgorithmImpl : public BASE
{
public:
+ //! \brief The algorithm name
+ //! \returns the algorithm name
+ //! \details StaticAlgorithmName returns the algorithm's name as a static member function.
+ //! The name is taken from information provided by BASE.
static std::string CRYPTOPP_API StaticAlgorithmName() {return ALGORITHM_INFO::StaticAlgorithmName();}
+ //! \brief The algorithm name
+ //! \returns the algorithm name
+ //! \details AlgorithmName returns the algorithm's name as a member function.
+ //! The name is is acquired by calling StaticAlgorithmName.
std::string AlgorithmName() const {return ALGORITHM_INFO::StaticAlgorithmName();}
};
|