X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fsaml2%2Fmetadata%2FDiscoverableMetadataProvider.h;h=d86513aa82c8881aa0b2849ae33c1006f6ce2b4d;hp=daa78fe35c92b0aed7fef23f1fd7540135aa5296;hb=9b0941e96b4c1112e37791e1395ce492bec3872a;hpb=5f8db2c20c7f359150f14c92fa762532cece7212 diff --git a/saml/saml2/metadata/DiscoverableMetadataProvider.h b/saml/saml2/metadata/DiscoverableMetadataProvider.h index daa78fe..d86513a 100644 --- a/saml/saml2/metadata/DiscoverableMetadataProvider.h +++ b/saml/saml2/metadata/DiscoverableMetadataProvider.h @@ -75,10 +75,12 @@ namespace opensaml { * Outputs the cached feed. *

The provider MUST be locked. * - * @param os stream to output feed into - * @return a reference to the output stream + * @param os stream to output feed into + * @param first on input, indicates if the feed is first in position, + * on output will be false if the feed was non-empty + * @param wrapArray true iff the feed array should be opened/closed by this provider */ - virtual std::ostream& outputFeed(std::ostream& os) const; + virtual void outputFeed(std::ostream& os, bool& first, bool wrapArray=true) const; protected: /** Storage for feed. */