Public Methods | |
LDIFObject () | |
Empty Constructor. More... | |
LDIFObject (const LDIFObject &) | |
Constructor. More... | |
LDIFObject & | operator= (const LDIFObject &o) |
Redefines '=' operator between LDIF Objects. More... | |
void | add (const std::string &, const std::string &) |
Adds an attribute. More... | |
bool | EvaluateAttribute (const std::string &, std::vector< std::string > &) const |
Evaluates an attribute. More... | |
bool | EvaluateAttribute (const std::string &, std::string &) const |
Evaluates an attribute set. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &, const LDIFObject &) |
Writes the LDIFObject to a stream. More... |
|
Empty Constructor. It does nothing. |
|
Constructor. Creates a new LDIF Object reusing attributes of an existing one.
|
|
Adds an attribute. It pushes back the val attribute in the att item in attributes std::map.
|
|
Evaluates an attribute set. If the std::string name exists in attribtues std::map, then all values are put in value std::vector.
|
|
Evaluates an attribute. If the std::string name exists in attribtues std::map, then the front value is put in value string.
|
|
Redefines '=' operator between LDIF Objects. It establishes that two LDIF object are the same if their attributes are the same.
|
|
Writes the LDIFObject to a stream. Serializes LDIF Object info into an output stream.
|