#include <NfsIdmapdConf.hpp>
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 |
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 ("Verbosity,"0"); IdmapdEntry ("Nobody-User","nobody");
| name | The idmapd entry name | |
| value | The idmapd entry value |
| limal::ValueException | if the name is not a valid entry name and/or the value is not a valid value. |
| 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.
IdmapdEntry ("Verbosity = 0"); IdmapdEntry ("Nobody-User = nobody");
| name | The idmapd entry name | |
| value | The idmapd entry value |
| limal::ValueException | if the name is not a valid entry name and/or the value is not a valid value. |
| 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] |