Correct constness of transport API, update version.
[shibboleth/cpp-opensaml.git] / saml / RootObject.h
index 5ce98ec..bbdc215 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2001-2006 Internet2
+ *  Copyright 2001-2007 Internet2
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -38,6 +38,15 @@ namespace opensaml {
         virtual ~RootObject() {}
 
         /**
+         * Indicates whether the object is an assertion.
+         * 
+         * @return true iff the object is an assertion 
+         */
+        virtual bool isAssertion() const {
+            return false;
+        }
+
+        /**
          * Returns the unique SAML ID of the object.
          *
          * @return the unique SAML ID