22 #ifndef ASTSHIM_XMLCHAN_H 23 #define ASTSHIM_XMLCHAN_H 25 #include "astshim/base.h" 26 #include "astshim/Object.h" 27 #include "astshim/Stream.h" 28 #include "astshim/Channel.h" 59 :
Channel(reinterpret_cast<AstChannel *>(
60 astXmlChan(detail::source, detail::sink,
"%s", options.c_str())),
void setXmlPrefix(std::string const &prefix)
Set XmlPrefix: the namespace prefix to use when writing.
Definition: XmlChan.h:86
int getI(std::string const &attrib) const
Definition: Object.h:402
AST wrapper classes and functions.
Definition: attributes_channel.dox:1
XmlChan(Stream &stream, std::string const &options="")
Definition: XmlChan.h:58
void setC(std::string const &attrib, std::string const &value)
Definition: Object.h:463
std::string getXmlFormat() const
Get XmlFormat System for formatting Objects as XML.
Definition: XmlChan.h:71
std::string getXmlPrefix()
Get XmlPrefix: the namespace prefix to use when writing.
Definition: XmlChan.h:77
void setI(std::string const &attrib, int value)
Definition: Object.h:499
std::string const getC(std::string const &attrib) const
Definition: Object.h:363
int getXmlLength() const
Get XmlLength: controls output buffer length.
Definition: XmlChan.h:74
void setXmlLength(int len)
Set XmlLength: controls output buffer length; 0 for no limit.
Definition: XmlChan.h:83
void setXmlFormat(std::string const &format)
Set XmlFormat System for formatting Objects as XML.
Definition: XmlChan.h:80