Major revamp of credential and trust handling code, PKIX engine still needs work.
[shibboleth/cpp-xmltooling.git] / xmltooling / util / XMLHelper.h
index f7c9034..66ce0ab 100644 (file)
@@ -53,6 +53,24 @@ namespace xmltooling {
         }
         
         /**
+         * Returns resource held by this object.
+         * 
+         * @return  the resource held or NULL
+         */
+        T* get() {
+            return m_held;
+        }
+
+        /**
+         * Returns resource held by this object.
+         * 
+         * @return  the resource held or NULL
+         */
+        T* operator->() {
+            return m_held;
+        }
+
+        /**
          * Returns resource held by this object and releases it to the caller.
          * 
          * @return  the resource held or NULL