Shadow struct for passwd which has proper value semantics, so that it can be safely copied and assigned to.
More...
#include <my_getpwnam.h>
|
| | PasswdValue (const passwd &p) |
| | Constructs from a passwd instance. More...
|
| |
| | PasswdValue ()=default |
| | Default constructor creates a void value. More...
|
| |
| bool | IsVoid () const |
| | Returns true if this PasswdValue instance does not represent a real passwd entry. More...
|
| |
Shadow struct for passwd which has proper value semantics, so that it can be safely copied and assigned to.
◆ PasswdValue() [1/2]
| PasswdValue::PasswdValue |
( |
const passwd & |
p | ) |
|
|
inline |
Constructs from a passwd instance.
◆ PasswdValue() [2/2]
| PasswdValue::PasswdValue |
( |
| ) |
|
|
default |
Default constructor creates a void value.
◆ IsVoid()
| bool PasswdValue::IsVoid |
( |
| ) |
const |
|
inline |
Returns true if this PasswdValue instance does not represent a real passwd entry.
◆ pw_dir
| std::string PasswdValue::pw_dir |
◆ pw_gecos
| std::string PasswdValue::pw_gecos |
◆ pw_gid
| gid_t PasswdValue::pw_gid {0} |
◆ pw_name
| std::string PasswdValue::pw_name |
◆ pw_passwd
| std::string PasswdValue::pw_passwd |
◆ pw_shell
| std::string PasswdValue::pw_shell |
◆ pw_uid
| uid_t PasswdValue::pw_uid {0} |
The documentation for this struct was generated from the following file: