5 #ifndef CRYPTOPP_IMPORTS 16 if (strcmp(name,
"ValueNames") == 0)
17 return m_pairs1.
GetVoidValue(name, valueType, pValue) && m_pairs2.GetVoidValue(name, valueType, pValue);
19 return m_pairs1.GetVoidValue(name, valueType, pValue) || m_pairs2.GetVoidValue(name, valueType, pValue);
30 if (strcmp(name,
"ValueNames") == 0)
35 (*
reinterpret_cast<std::string *
>(pValue) +=
m_name) +=
";";
38 else if (strcmp(name,
m_name) == 0)
51 : m_defaultThrowIfNotUsed(true)
virtual void AssignValue(const char *name, const std::type_info &valueType, void *pValue) const =0
Classes for working with NameValuePairs.
bool GetVoidValue(const char *name, const std::type_info &valueType, void *pValue) const
Get a named value.
bool(CRYPTOPP_API * PAssignIntToInteger)(const std::type_info &valueType, void *pInteger, const void *pInt)
member_ptr< AlgorithmParametersBase > m_next
Base class for AlgorithmParameters.
bool GetVoidValue(const char *name, const std::type_info &valueType, void *pValue) const
Get a named value.
void operator=(const AlgorithmParametersBase &rhs)
#define NAMESPACE_BEGIN(x)
member_ptr< AlgorithmParametersBase > m_next
std::hash for asio::adress
Combines two sets of NameValuePairs.
PAssignIntToInteger g_pAssignIntToInteger
bool GetVoidValue(const char *name, const std::type_info &valueType, void *pValue) const
#define CRYPTOPP_ASSERT(exp)
AlgorithmParameters & operator=(const AlgorithmParameters &x)
#define CRYPTOPP_UNUSED(x)
An object that implements NameValuePairs.
Multiple precision integer with arithmetic operations.
static CRYPTOPP_DLL void CRYPTOPP_API ThrowIfTypeMismatch(const char *name, const std::type_info &stored, const std::type_info &retrieving)
Ensures an expected name and type is present.
bool m_defaultThrowIfNotUsed