#include <ptlib/sockets.h>
#include <ptlib/pluginmgr.h>
#include <map>
#include <list>
Go to the source code of this file.
|
#define | LDAP_Schema(name) PCREATE_PLUGIN(name, PLDAPSchema) |
|
#define | PLDAP_STRUCT_BEGIN(name) |
|
#define | PLDAP_ATTRIBUTE(base, type, attribute, pointer, init) |
|
#define | PLDAP_ATTR_SIMP(base, type, attribute) PLDAP_ATTRIBUTE(base, type, attribute, NULL, ;) |
|
#define | PLDAP_ATTR_INIT(base, type, attribute, init) PLDAP_ATTRIBUTE(base, type, attribute, NULL, instance = init;) |
|
#define | PLDAP_BINATTRIB(base, type, attribute) PLDAP_ATTRIBUTE(base, type, attribute, &((base &)base::GetInitialiser()).attribute, ;) |
|
#define | PLDAP_STRUCT_END() }; |
|
#define PLDAP_ATTR_INIT |
( |
|
base, |
|
|
|
type, |
|
|
|
attribute, |
|
|
|
init |
|
) |
| PLDAP_ATTRIBUTE(base, type, attribute, NULL, instance = init;) |
#define PLDAP_ATTR_SIMP |
( |
|
base, |
|
|
|
type, |
|
|
|
attribute |
|
) |
| PLDAP_ATTRIBUTE(base, type, attribute, NULL, ;) |
#define PLDAP_ATTRIBUTE |
( |
|
base, |
|
|
|
type, |
|
|
|
attribute, |
|
|
|
pointer, |
|
|
|
init |
|
) |
| |
Value:public: type attribute; \
PLDAPAttr_##attribute() \
instance(((base &)base::GetInitialiser()).attribute) \
{ init } \
virtual
void PrintOn (ostream & s)
const { s << instance; } \
virtual
void ReadFrom(istream & s) { s >> instance; } \
{ instance = ((PLDAPAttr_##attribute &)other).instance; } \
type & instance; \
} pldapvar_##attribute
virtual void ReadFrom(istream &strm)
Input the contents of the object from the stream.
PLDAPAttributeBase(const char *name, void *pointer, PINDEX size)
virtual void Copy(const PLDAPAttributeBase &other)=0
virtual void PrintOn(ostream &strm) const
Output the contents of the object to the stream.
#define PLDAP_BINATTRIB |
( |
|
base, |
|
|
|
type, |
|
|
|
attribute |
|
) |
| PLDAP_ATTRIBUTE(base, type, attribute, &((base &)base::GetInitialiser()).attribute, ;) |
#define PLDAP_STRUCT_BEGIN |
( |
|
name | ) |
|
Value:
This is a dictionary collection class of PString objects, keyed by another string.
Definition: pstring.h:3151
This is an array collection class of PString objects.
Definition: pstring.h:2365
#define PLDAP_ATTR_INIT(base, type, attribute, init)
Definition: pldap.h:586
The character string class.
Definition: pstring.h:108
PLDAPStructBase & operator=(const PLDAPStructBase &)
#define PLDAP_STRUCT_END |
( |
| ) |
}; |