xmlprinter.h 927 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright 2004 The WebRTC Project Authors. All rights reserved.
  3. *
  4. * Use of this source code is governed by a BSD-style license
  5. * that can be found in the LICENSE file in the root of the source
  6. * tree. An additional intellectual property rights grant can be found
  7. * in the file PATENTS. All contributing project authors may
  8. * be found in the AUTHORS file in the root of the source tree.
  9. */
  10. #ifndef THIRD_PARTY_LIBJINGLE_XMPP_XMLLITE_XMLPRINTER_H_
  11. #define THIRD_PARTY_LIBJINGLE_XMPP_XMLLITE_XMLPRINTER_H_
  12. #include <iosfwd>
  13. #include <string>
  14. namespace jingle_xmpp {
  15. class XmlElement;
  16. class XmlnsStack;
  17. class XmlPrinter {
  18. public:
  19. static void PrintXml(std::ostream* pout, const XmlElement* pelt);
  20. static void PrintXml(std::ostream* pout, const XmlElement* pelt,
  21. XmlnsStack* ns_stack);
  22. };
  23. } // namespace jingle_xmpp
  24. #endif // THIRD_PARTY_LIBJINGLE_XMPP_XMLLITE_XMLPRINTER_H_