xml Namespace Reference


Detailed Description

Namespace for parsing and printing in xml format.


Functions

template<class ISTREAM>
bool skip (ISTREAM &is, char *s)
template<class OSTREAM, typename X>
OSTREAM & print (OSTREAM &os, const X &x, char *tag)
template<class ISTREAM, typename T>
bool read_pol (ISTREAM &is, T &p)
 Read a polynomial, enclosed in polynomial tags.
template<class ISTREAM, typename T, class VAR>
bool read_pol (ISTREAM &is, T &p, const VAR &V)
 Read a polynomial, enclosed in polynomial tags.
template<class ISTREAM, typename C, typename O, typename R>
bool read (ISTREAM &is, MPol< C, O, R > &p)
 Read a multivariate polynomial, enclosed in polynomial tags.
template<class ISTREAM, typename C, typename O, typename R, typename VAR>
bool read (ISTREAM &is, MPol< C, O, R > &p, const VAR &V)
 Read a multivariate polynomial, enclosed in polynomial tags.
template<class OSTREAM, typename C, typename O, typename R>
OSTREAM & print (OSTREAM &os, const MPol< C, O, R > &p)
 Print a multivariate polynomial, with its polynomial tags.
template<class ISTREAM, typename T>
bool read_upol (ISTREAM &is, T &p)
 Read a polynomial, enclosed in polynomial tags.
template<class ISTREAM, typename C, typename R>
bool read (ISTREAM &is, UPolDse< C, R > &p)
 Read a univariate polynomial, enclosed in polynomial tags.
template<class OSTREAM, typename C, typename R>
OSTREAM & print (OSTREAM &os, const UPolDse< C, R > &p)
 Print a univariate polynomial, with its polynomial tags.


Function Documentation

template<class OSTREAM, typename C, typename R>
OSTREAM& xml::print ( OSTREAM &  os,
const UPolDse< C, R > &  p 
)

Print a univariate polynomial, with its polynomial tags.

Definition at line 49 of file xml.h.

References print().

template<class OSTREAM, typename C, typename O, typename R>
OSTREAM& xml::print ( OSTREAM &  os,
const MPol< C, O, R > &  p 
)

Print a multivariate polynomial, with its polynomial tags.

Definition at line 34 of file xml.h.

References print().

template<class ISTREAM, typename C, typename R>
bool xml::read ( ISTREAM &  is,
UPolDse< C, R > &  p 
)

Read a univariate polynomial, enclosed in polynomial tags.

Definition at line 42 of file xml.h.

References read_upol().

template<class ISTREAM, typename C, typename O, typename R, typename VAR>
bool xml::read ( ISTREAM &  is,
MPol< C, O, R > &  p,
const VAR &  V 
)

Read a multivariate polynomial, enclosed in polynomial tags.

Definition at line 27 of file xml.h.

References read_pol().

template<class ISTREAM, typename C, typename O, typename R>
bool xml::read ( ISTREAM &  is,
MPol< C, O, R > &  p 
)

Read a multivariate polynomial, enclosed in polynomial tags.

Definition at line 19 of file xml.h.

References read_pol().

template<class ISTREAM, typename T, class VAR>
bool xml::read_pol ( ISTREAM &  is,
T &  p,
const VAR &  V 
)

Read a polynomial, enclosed in polynomial tags.

Definition at line 68 of file xml.h.

References skip().

template<class ISTREAM, typename T>
bool xml::read_pol ( ISTREAM &  is,
T &  p 
)

Read a polynomial, enclosed in polynomial tags.

Definition at line 47 of file xml.h.

References skip().

Referenced by read().

template<class ISTREAM, typename T>
bool xml::read_upol ( ISTREAM &  is,
T &  p 
)

Read a polynomial, enclosed in polynomial tags.

Definition at line 21 of file xml.h.

References skip().

Referenced by read().

template<class ISTREAM>
bool xml::skip ( ISTREAM &  is,
char *  s 
)

Skip the input stream until s is found. It returns true if s is found.

Definition at line 19 of file xml.h.

Referenced by read_pol(), and read_upol().


SYNAPS DOCUMENTATION
logo