diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-11-12 08:45:13 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-11-12 08:45:13 -0500 |
commit | 10c96e5a954201ec58e6dd442629992bd02d6d9c (patch) | |
tree | 0f11f0a902647c032c4ea31b28ad4de570c1e191 /filters.h | |
parent | 2a8670c0c18a8b7d049967a45e2a4cbbfd84d085 (diff) | |
download | cryptopp-git-10c96e5a954201ec58e6dd442629992bd02d6d9c.tar.gz |
Updated documentation
Diffstat (limited to 'filters.h')
-rw-r--r-- | filters.h | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -1327,14 +1327,23 @@ public: //! \brief Construct a StringSource
//! \param string C-String
- //! \param pumpAll C-String
+ //! \param pumpAll flag indicating if source data should be pumped to its attached transformation
//! \param attachment an optional attached transformation
StringSource(const char *string, bool pumpAll, BufferedTransformation *attachment = NULL)
: SourceTemplate<StringStore>(attachment) {SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
- //! binary byte array as source
+
+ //! \brief Construct a StringSource
+ //! \param string binary byte array
+ //! \param length size of the byte array
+ //! \param pumpAll flag indicating if source data should be pumped to its attached transformation
+ //! \param attachment an optional attached transformation
StringSource(const byte *string, size_t length, bool pumpAll, BufferedTransformation *attachment = NULL)
: SourceTemplate<StringStore>(attachment) {SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string, length)));}
- //! std::string as source
+
+ //! \brief Construct a StringSource
+ //! \param string std::string
+ //! \param pumpAll flag indicating if source data should be pumped to its attached transformation
+ //! \param attachment an optional attached transformation
StringSource(const std::string &string, bool pumpAll, BufferedTransformation *attachment = NULL)
: SourceTemplate<StringStore>(attachment) {SourceInitialize(pumpAll, MakeParameters("InputBuffer", ConstByteArrayParameter(string)));}
};
|