]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/src/LDAPObjClass.h
Use "const" where appropriate
[openldap] / contrib / ldapc++ / src / LDAPObjClass.h
index 02175235dd6b2e0da465b016857cec2b880791b9..87f87f1dc393af365ea3fd78d3b234aac57d986f 100644 (file)
@@ -56,42 +56,42 @@ class LDAPObjClass{
        /**
         * Returns object class description
         */
-       string getDesc ();
+       string getDesc() const;
        
        /**
         * Returns object class oid
         */
-       string getOid ();
+       string getOid() const;
 
        /**
         * Returns object class name (first one if there are more of them)
         */
-       string getName ();
+       string getName() const;
 
        /**
         * Returns object class kind: 0=ABSTRACT, 1=STRUCTURAL, 2=AUXILIARY
         */
-       int getKind ();
+       int getKind() const;
 
        /**
         * Returns all object class names
         */
-       StringList getNames();
+       StringList getNames() const;
        
        /**
         * Returns list of required attributes
         */
-       StringList getMust();
+       StringList getMust() const;
        
        /**
         * Returns list of allowed (and not required) attributes
         */
-       StringList getMay();
+       StringList getMay() const;
        
         /**
         * Returns list of the OIDs of the superior ObjectClasses
         */
-       StringList getSup();
+       StringList getSup() const;
 
        void setNames (char **oc_names);
        void setMay (char **oc_may);