ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Class oxstream

alps::oxstream

Synopsis

// In header: <alps/parser/xmlstream.h>


class oxstream {
public:
  // construct/copy/destruct
  oxstream();
  oxstream(std::ostream &, uint32_t = 2);
  oxstream(const boost::filesystem::path &, uint32_t = 2);
  ~oxstream();

  // public member functions
  oxstream & operator<<(unspecified) ;
  oxstream & operator<<(unspecified) ;
  oxstream & operator<<(unspecified) ;
  oxstream & operator<<(unspecified) ;
  oxstream & operator<<(unspecified) ;
  oxstream & operator<<(unspecified) ;
  oxstream & start_comment() ;
  oxstream & end_comment() ;
  oxstream & start_cdata() ;
  oxstream & end_cdata() ;
  oxstream & no_linebreak() ;
  oxstream & endl() ;
  oxstream & operator<<(const XMLAttribute &) ;
  oxstream & operator<<(const XMLAttributes &) ;
  oxstream & operator<<(const std::string &) ;
  oxstream & operator<<(const char) ;
  oxstream & operator<<(const char *) ;
  template<typename T> oxstream & operator<<(const std::complex< T > &) ;
  template<typename T> oxstream & operator<<(T(*)(const std::string &)) ;
  oxstream & operator<<(oxstream &(*)(oxstream &oxs)) ;
  std::ostream & stream() ;

  // protected member functions
  oxstream & text_str(const std::string &) ;
  void output(bool = false) ;
  void output_offset() ;
};

Description

oxstream public construct/copy/destruct

  1. oxstream();
  2. oxstream(std::ostream & os, uint32_t incr = 2);
  3. oxstream(const boost::filesystem::path & file, uint32_t incr = 2);
  4. ~oxstream();

oxstream public member functions

  1. oxstream & operator<<(unspecified c) ;
  2. oxstream & operator<<(unspecified c) ;
  3. oxstream & operator<<(unspecified c) ;
  4. oxstream & operator<<(unspecified c) ;
  5. oxstream & operator<<(unspecified c) ;
  6. oxstream & operator<<(unspecified c) ;
  7. oxstream & start_comment() ;
  8. oxstream & end_comment() ;
  9. oxstream & start_cdata() ;
  10. oxstream & end_cdata() ;
  11. oxstream & no_linebreak() ;
  12. oxstream & endl() ;
  13. oxstream & operator<<(const XMLAttribute & c) ;
  14. oxstream & operator<<(const XMLAttributes & c) ;
  15. oxstream & operator<<(const std::string & t) ;
  16. oxstream & operator<<(const char t) ;
  17. oxstream & operator<<(const char * t) ;
  18. template<typename T> oxstream & operator<<(const std::complex< T > & t) ;
  19. template<typename T> oxstream & operator<<(T(*)(const std::string &) fn) ;
  20. oxstream & operator<<(oxstream &(*)(oxstream &oxs) fn) ;
  21. std::ostream & stream() ;

oxstream protected member functions

  1. oxstream & text_str(const std::string & text) ;
  2. void output(bool close = false) ;
  3. void output_offset() ;
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo

PrevUpHomeNext