Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

LDAPAttrType Class Reference

Represents the Attribute Type (from LDAP schema). More...

#include <LDAPAttrType.h>

List of all members.

Public Member Functions

 LDAPAttrType ()
 Constructor.
 LDAPAttrType (const LDAPAttrType &oc)
 Copy constructor.
 LDAPAttrType (string at_item)
 Constructs new object and fills the data structure by parsing the argument.
virtual ~LDAPAttrType ()
 Destructor.
string getDesc ()
 Returns attribute description.
string getOid ()
 Returns attribute oid.
string getName ()
 Returns attribute name (first one if there are more of them).
StringList getNames ()
 Returns all attribute names.
bool isSingle ()
 Returns true if attribute type hllows only single value.
void setNames (char **at_names)
void setDesc (char *at_desc)
void setOid (char *at_oid)
void setSingle (int at_single_value)

Private Attributes

StringList names
string desc
string oid
bool single


Detailed Description

Represents the Attribute Type (from LDAP schema).


Constructor & Destructor Documentation

LDAPAttrType::LDAPAttrType  ) 
 

Constructor.

LDAPAttrType::LDAPAttrType const LDAPAttrType oc  ) 
 

Copy constructor.

LDAPAttrType::LDAPAttrType string  at_item  ) 
 

Constructs new object and fills the data structure by parsing the argument.

Parameters:
at_item description of attribute type is string returned by the search command. It is in the form: "( SuSE.YaST.Attr:19 NAME ( 'skelDir' ) DESC '' EQUALITY caseExactIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )"

LDAPAttrType::~LDAPAttrType  )  [virtual]
 

Destructor.


Member Function Documentation

string LDAPAttrType::getDesc  ) 
 

Returns attribute description.

string LDAPAttrType::getName  ) 
 

Returns attribute name (first one if there are more of them).

StringList LDAPAttrType::getNames  ) 
 

Returns all attribute names.

string LDAPAttrType::getOid  ) 
 

Returns attribute oid.

bool LDAPAttrType::isSingle  ) 
 

Returns true if attribute type hllows only single value.

void LDAPAttrType::setDesc char *  at_desc  ) 
 

void LDAPAttrType::setNames char **  at_names  ) 
 

void LDAPAttrType::setOid char *  at_oid  ) 
 

void LDAPAttrType::setSingle int  at_single_value  ) 
 


Member Data Documentation

string LDAPAttrType::desc [private]
 

StringList LDAPAttrType::names [private]
 

string LDAPAttrType::oid [private]
 

bool LDAPAttrType::single [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 12 02:19:04 2008 for ldapsdk by  doxygen 1.3.9.1