limal::nfs_server::IdmapdEntry Class Reference
IdmapdEntry is for capturing name=value entry in idmapd.conf.
More...
#include <NfsIdmapdConf.hpp>
List of all members.
Public Member Functions |
| IdmapdEntry () |
| IdmapdEntry (const BLOCXX_NAMESPACE::String &name, const BLOCXX_NAMESPACE::String &value) |
| IdmapdEntry (const BLOCXX_NAMESPACE::String &entry) |
| IdmapdEntry (const IdmapdEntry &ientry) |
| ~IdmapdEntry () |
bool | empty () const |
BLOCXX_NAMESPACE::String | toString () const |
BLOCXX_NAMESPACE::String | getName () const |
BLOCXX_NAMESPACE::String | getValue () const |
BLOCXX_NAMESPACE::String | getEntry () const |
void | setEntry (const BLOCXX_NAMESPACE::String &entry) |
void | addComment (const BLOCXX_NAMESPACE::String &comment) |
bool | hasComments () const |
BLOCXX_NAMESPACE::Array
< BLOCXX_NAMESPACE::String > | getComments () const |
Private Member Functions |
void | setName (const BLOCXX_NAMESPACE::String &name) |
Private Attributes |
BLOCXX_NAMESPACE::String | m_name |
BLOCXX_NAMESPACE::String | m_value |
BLOCXX_NAMESPACE::Array
< BLOCXX_NAMESPACE::String > | comments |
Detailed Description
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
Constructor & Destructor Documentation
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 ("Verbosity,"0");
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 |
( |
|
) |
|
Member Function Documentation
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 |
Member Data Documentation
The documentation for this class was generated from the following file: