Abstraction for identity.
More...
#include <common_types.h>
|
| | 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.
|
| |
| const std::string & | GetEmail () const |
| | Get the email.
|
| |
| const std::string & | GetName () const |
| | Get the user's friendly name. used for text marking.
|
| |
Abstraction for identity.
◆ Identity() [1/4]
Default Identity constructor used when a user email address is not known.
◆ 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. |
◆ 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. |
◆ GetEmail()
| const std::string & Identity::GetEmail |
( |
| ) |
const |
|
inline |
Get the email.
- Returns
- the email.
◆ GetName()
| const std::string & Identity::GetName |
( |
| ) |
const |
|
inline |
Get the user's friendly name. used for text marking.
- Returns
- the friendly name.
◆ mEmail
| std::string Identity::mEmail |
|
private |
◆ mName
| std::string Identity::mName |
|
private |
The documentation for this class was generated from the following file: