Namespace for parsing and printing in xml format. More...
Functions | |
template<class OSTREAM , typename X > | |
OSTREAM & | print (OSTREAM &os, const X &x, const char *tag) |
template<class ISTREAM > | |
bool | skip (ISTREAM &is, const char *s) |
template<class ISTREAM , typename C , typename R > | |
bool | read (ISTREAM &is, polynomial< C, R > &p, variables &V) |
Read a polynomial, enclosed in polynomial tags. More... | |
template<class ISTREAM > | |
bool | sread (ISTREAM &is, std::string &s) |
Read a polynomial as a string, enclosed in polynomial tags. More... | |
template<class ISTREAM > | |
std::string | read_tag (ISTREAM &is, const char *tag) |
Read between tag and "<" and build p from this string;. More... | |
template<class ISTREAM , typename T > | |
bool | read_pol (ISTREAM &is, T &p) |
Read a polynomial, enclosed in polynomial tags. More... | |
template<class ISTREAM , typename T , class VAR > | |
bool | read_pol (ISTREAM &is, T &p, const VAR &V) |
Read a polynomial, enclosed in polynomial tags. More... | |
template<class ISTREAM , typename T > | |
bool | read_upol (ISTREAM &is, T &p) |
Read a polynomial, enclosed in polynomial tags. More... | |
template<class ISTREAM , typename C , typename R > | |
bool | read (ISTREAM &is, upoldse< C, R > &p) |
Read a univariate polynomial, enclosed in polynomial tags. More... | |
template<class OSTREAM , typename C , typename R > | |
OSTREAM & | print (OSTREAM &os, const upoldse< C, R > &p) |
Print a univariate polynomial, with its polynomial tags. More... | |
Namespace for parsing and printing in xml format.
OSTREAM & mmx::xml::print | ( | OSTREAM & | os, |
const X & | x, | ||
const char * | tag | ||
) |
OSTREAM& mmx::xml::print | ( | OSTREAM & | os, |
const upoldse< C, R > & | p | ||
) |
Print a univariate polynomial, with its polynomial
tags.
bool mmx::xml::read | ( | ISTREAM & | is, |
polynomial< C, R > & | p, | ||
variables & | V | ||
) |
Read a polynomial, enclosed in polynomial
tags.
bool mmx::xml::read | ( | ISTREAM & | is, |
upoldse< C, R > & | p | ||
) |
Read a univariate polynomial, enclosed in polynomial
tags.
bool mmx::xml::read_pol | ( | ISTREAM & | is, |
T & | p | ||
) |
Read a polynomial, enclosed in polynomial
tags.
bool mmx::xml::read_pol | ( | ISTREAM & | is, |
T & | p, | ||
const VAR & | V | ||
) |
Read a polynomial, enclosed in polynomial
tags.
std::string mmx::xml::read_tag | ( | ISTREAM & | is, |
const char * | tag | ||
) |
Read between tag
and "<" and build p from this string;.
bool mmx::xml::read_upol | ( | ISTREAM & | is, |
T & | p | ||
) |
Read a polynomial, enclosed in polynomial
tags.
bool mmx::xml::skip | ( | ISTREAM & | is, |
const char * | s | ||
) |
Skip the input stream until s is found. It returns true if s
is found.
bool mmx::xml::sread | ( | ISTREAM & | is, |
std::string & | s | ||
) |
Read a polynomial as a string, enclosed in polynomial
tags.