IdmapdEntry is for capturing name=value entry in idmapd.conf.
More...
#include <NfsIdmapdConf.hpp>
|
| void | setName (const BLOCXX_NAMESPACE::String &name) |
| |
|
| BLOCXX_NAMESPACE::String | m_name |
| |
| BLOCXX_NAMESPACE::String | m_value |
| |
BLOCXX_NAMESPACE::Array
< BLOCXX_NAMESPACE::String > | comments |
| |
IdmapdEntry is for capturing name=value entry in idmapd.conf.
An IdmapdEntry is a name=value pair that is used by the idmapd daemon Each IdmapdEntry falls under a particular section (the class IdmapdSection) of the configuration file idmapd.conf
| limal::nfs_server::IdmapdEntry::IdmapdEntry |
( |
| ) |
|
Create a new, empty Idmapd Entry
| limal::nfs_server::IdmapdEntry::IdmapdEntry |
( |
const BLOCXX_NAMESPACE::String & |
name, |
|
|
const BLOCXX_NAMESPACE::String & |
value |
|
) |
| |
Create a new idmapd entry object using the specified name and value . Neither name, nor the value can be empty.
IdmapdEntry ("Nobody-User","nobody");
- Parameters
-
| name | The idmapd entry name |
| value | The idmapd entry value |
- Exceptions
-
| limal::nfs_server::IdmapdEntry::IdmapdEntry |
( |
const BLOCXX_NAMESPACE::String & |
entry | ) |
|
Create a new idmapd entry object using the whole entry line as it would appear in the idmapd.conf file.
- Parameters
-
| name | The idmapd entry name |
| value | The idmapd entry value |
- Exceptions
-
| limal::nfs_server::IdmapdEntry::IdmapdEntry |
( |
const IdmapdEntry & |
ientry | ) |
|
| limal::nfs_server::IdmapdEntry::~IdmapdEntry |
( |
| ) |
|
| void limal::nfs_server::IdmapdEntry::addComment |
( |
const BLOCXX_NAMESPACE::String & |
comment | ) |
|
| bool limal::nfs_server::IdmapdEntry::empty |
( |
| ) |
const |
| BLOCXX_NAMESPACE::Array<BLOCXX_NAMESPACE::String> limal::nfs_server::IdmapdEntry::getComments |
( |
| ) |
const |
| BLOCXX_NAMESPACE::String limal::nfs_server::IdmapdEntry::getEntry |
( |
| ) |
const |
| BLOCXX_NAMESPACE::String limal::nfs_server::IdmapdEntry::getName |
( |
| ) |
const |
| BLOCXX_NAMESPACE::String limal::nfs_server::IdmapdEntry::getValue |
( |
| ) |
const |
| bool limal::nfs_server::IdmapdEntry::hasComments |
( |
| ) |
const |
| void limal::nfs_server::IdmapdEntry::setEntry |
( |
const BLOCXX_NAMESPACE::String & |
entry | ) |
|
| void limal::nfs_server::IdmapdEntry::setName |
( |
const BLOCXX_NAMESPACE::String & |
name | ) |
|
|
private |
| BLOCXX_NAMESPACE::String limal::nfs_server::IdmapdEntry::toString |
( |
| ) |
const |
| BLOCXX_NAMESPACE::Array<BLOCXX_NAMESPACE::String> limal::nfs_server::IdmapdEntry::comments |
|
private |
| BLOCXX_NAMESPACE::String limal::nfs_server::IdmapdEntry::m_name |
|
private |
| BLOCXX_NAMESPACE::String limal::nfs_server::IdmapdEntry::m_value |
|
private |
The documentation for this class was generated from the following file: