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 allows only single value.
int getUsage ()
 Return the 'usage' value: (0=userApplications, 1=directoryOperation, 2=distributedOperation, 3=dSAOperation).
void setNames (char **at_names)
void setDesc (char *at_desc)
void setOid (char *at_oid)
void setSingle (int at_single_value)
void setUsage (int at_usage)

Private Attributes

StringList names
string desc
string oid
bool single
int usage


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::getOid (  ) 

Returns attribute oid.

string LDAPAttrType::getName (  ) 

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

StringList LDAPAttrType::getNames (  ) 

Returns all attribute names.

bool LDAPAttrType::isSingle (  ) 

Returns true if attribute type allows only single value.

int LDAPAttrType::getUsage (  ) 

Return the 'usage' value: (0=userApplications, 1=directoryOperation, 2=distributedOperation, 3=dSAOperation).

void LDAPAttrType::setNames ( char **  at_names  ) 

void LDAPAttrType::setDesc ( char *  at_desc  ) 

void LDAPAttrType::setOid ( char *  at_oid  ) 

void LDAPAttrType::setSingle ( int  at_single_value  ) 

void LDAPAttrType::setUsage ( int  at_usage  ) 


Member Data Documentation

StringList LDAPAttrType::names [private]

string LDAPAttrType::desc [private]

string LDAPAttrType::oid [private]

bool LDAPAttrType::single [private]

int LDAPAttrType::usage [private]


The documentation for this class was generated from the following files:
Generated on Sat Sep 22 10:21:53 2007 for ldapsdk by  doxygen 1.5.3