X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=shibsp%2Futil%2FDOMPropertySet.h;h=a42294bc2dbc99e422b440f7fafc505683b788f1;hb=2b8daf0f4fd3e5035ab3babdc76fe676e8823f93;hp=d64261521be11199f292468bb72e2dfb1e9304e6;hpb=a5b1914f888d2ac8992cc4985d65e9d727aa8df4;p=shibboleth%2Fsp.git diff --git a/shibsp/util/DOMPropertySet.h b/shibsp/util/DOMPropertySet.h index d642615..a42294b 100644 --- a/shibsp/util/DOMPropertySet.h +++ b/shibsp/util/DOMPropertySet.h @@ -1,5 +1,5 @@ /* - * Copyright 2001-2007 Internet2 + * Copyright 2001-2009 Internet2 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ #define __shibsp_dompropset_h__ #include + #include namespace shibsp { @@ -34,18 +35,12 @@ namespace shibsp { class SHIBSP_API DOMPropertySet : public virtual PropertySet { public: - DOMPropertySet() : m_parent(NULL), m_root(NULL) {} + DOMPropertySet(); virtual ~DOMPropertySet(); - const PropertySet* getParent() const { - return m_parent; - } - - void setParent(const PropertySet* parent) { - m_parent = parent; - } - + const PropertySet* getParent() const; + void setParent(const PropertySet* parent); std::pair getBool(const char* name, const char* ns=NULL) const; std::pair getString(const char* name, const char* ns=NULL) const; std::pair getXMLString(const char* name, const char* ns=NULL) const; @@ -53,10 +48,7 @@ namespace shibsp { std::pair getInt(const char* name, const char* ns=NULL) const; void getAll(std::map& properties) const; const PropertySet* getPropertySet(const char* name, const char* ns=shibspconstants::ASCII_SHIB2SPCONFIG_NS) const; - - const xercesc::DOMElement* getElement() const { - return m_root; - } + const xercesc::DOMElement* getElement() const; /** * Loads the property set from a DOM element.