Abstraction for identity.
More...
#include <src/api/mip/common_types.h>
|
const std::string & | GetEmail () const |
| Get the email.
|
|
const std::string & | GetName () const |
| Get the user's friendly name. used for text marking.
|
|
| Identity () |
| Default Identity constructor used when a user email address is not known.
|
|
| Identity (const Identity &other) |
| Identity copy constructor.
|
|
| Identity (const std::string &email) |
| Identity constructor used when a user email address is known.
|
|
| Identity (const std::string &email, const std::string &name) |
| Identity constructor used when a user email address and user name is known.
|
|
Abstraction for identity.
Definition at line 270 of file common_types.h.
◆ Identity() [1/4]
◆ Identity() [2/4]
Identity::Identity |
( |
const Identity & | other | ) |
|
|
inline |
◆ Identity() [3/4]
Identity::Identity |
( |
const std::string & | email | ) |
|
|
inlineexplicit |
Identity constructor used when a user email address is known.
- Parameters
-
email | must be valid email address. |
Definition at line 290 of file common_types.h.
◆ Identity() [4/4]
Identity::Identity |
( |
const std::string & | email, |
|
|
const std::string & | name ) |
|
inlineexplicit |
Identity constructor used when a user email address and user name is known.
- Parameters
-
email | must be valid email address. |
name | user name. |
Definition at line 298 of file common_types.h.
◆ GetEmail()
const std::string & Identity::GetEmail |
( |
| ) |
const |
|
inline |
◆ GetName()
const std::string & Identity::GetName |
( |
| ) |
const |
|
inline |
Get the user's friendly name. used for text marking.
- Returns
- the friendly name.
Definition at line 312 of file common_types.h.
References mName.
◆ mEmail
std::string Identity::mEmail |
|
private |
◆ mName
std::string Identity::mName |
|
private |
The documentation for this class was generated from the following file: