23#ifndef PASSWORDCONTENT_H
24#define PASSWORDCONTENT_H
46 return static_cast<PasswordContent>(
static_cast<int>(a) |
static_cast<int>(b));
51 return static_cast<PasswordContent>(
static_cast<int>(a) &
static_cast<int>(b));
56 return static_cast<PasswordContent>(
static_cast<int>(a) ^
static_cast<int>(b));
61 return reinterpret_cast<PasswordContent&
>(
reinterpret_cast<int&
>(a) |=
static_cast<int>(b));
66 return reinterpret_cast<PasswordContent&
>(
reinterpret_cast<int&
>(a) &=
static_cast<int>(b));
71 return reinterpret_cast<PasswordContent&
>(
reinterpret_cast<int&
>(a) ^=
static_cast<int>(b));
Definition credential.h:30
CredentialCheckStatus & operator|=(CredentialCheckStatus &a, CredentialCheckStatus b)
Definition credentialcheckstatus.h:59
PasswordContent
Flags to describe the content of a password.
Definition passwordcontent.h:32
@ Uppercase
The password contains uppercase characters.
@ Numeric
The password contains numeric characters.
@ Special
The password contains special characters.
@ Lowercase
The password contains lowercase characters.
CredentialCheckStatus & operator^=(CredentialCheckStatus &a, CredentialCheckStatus b)
Definition credentialcheckstatus.h:69
constexpr CredentialCheckStatus operator|(CredentialCheckStatus a, CredentialCheckStatus b)
Definition credentialcheckstatus.h:44
constexpr CredentialCheckStatus operator~(CredentialCheckStatus a)
Definition credentialcheckstatus.h:39
constexpr CredentialCheckStatus operator^(CredentialCheckStatus a, CredentialCheckStatus b)
Definition credentialcheckstatus.h:54
CredentialCheckStatus & operator&=(CredentialCheckStatus &a, CredentialCheckStatus b)
Definition credentialcheckstatus.h:64
constexpr CredentialCheckStatus operator&(CredentialCheckStatus a, CredentialCheckStatus b)
Definition credentialcheckstatus.h:49