]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/src/LDAPControl.h
some changes to make the library working with gcc 3.0 (mostly namespace
[openldap] / contrib / ldapc++ / src / LDAPControl.h
index bb9394fddec64ae9ea6294d38e3b3dcf621ee98f..38c5ce50b5d58f64658be97662b7ee3e31110cc9 100644 (file)
@@ -38,8 +38,8 @@ class LDAPCtrl{
          *                  critical by the server.
          * @param data: If there is data for the control, put it here.
          */
-        LDAPCtrl(const string& oid, bool critical=false,
-                const string& data=string());
+        LDAPCtrl(const std::string& oid, bool critical=false,
+                const std::string& data=std::string());
 
         /**
          * Creates a copy of the Control that "ctrl is pointing to
@@ -54,12 +54,12 @@ class LDAPCtrl{
         /**
          * @return The OID of the control
          */
-        string getOID() const;
+        std::string getOID() const;
 
         /**
-         * @return The Data of the control as a string-Objekt
+         * @return The Data of the control as a std::string-Objekt
          */
-        string getData() const;
+        std::string getData() const;
 
         /**
          * @return "true" if the control is critical
@@ -75,8 +75,8 @@ class LDAPCtrl{
         LDAPControl* getControlStruct() const;
     
     private :
-        string m_oid;
-        string m_data;
+        std::string m_oid;
+        std::string m_data;
         bool m_isCritical;
 };