CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
poly.h File Reference
#include <boost/iterator/iterator_facade.hpp>
#include <boost/operators.hpp>
#include <boost/foreach.hpp>
#include <iostream>
#include <list>
#include <set>

Go to the source code of this file.

Classes

class  poly< T >::const_iterator
 
class  poly< T >
 
class  poly< T >
 

Functions

template<class T >
poly< Toperator+ (const poly< T > &, const char *)
 
template<class T >
poly< Toperator+ (const char *, const poly< T > &)
 
template<class charT , class traits , class T >
std::basic_ostream< charT,
traits > & 
operator<< (std::basic_ostream< charT, traits > &strm, const poly< T > &f)
 

Function Documentation

template<class T >
poly< T > operator+ ( const poly< T > &  lhs,
const char *  rhs 
)

Definition at line 108 of file poly.h.

108 { return lhs + poly<T>(rhs);}
Definition: poly.h:11
template<class T >
poly< T > operator+ ( const char *  lhs,
const poly< T > &  rhs 
)

Definition at line 109 of file poly.h.

109 { return poly<T>(lhs) + rhs;}
Definition: poly.h:11
template<class charT , class traits , class T >
std::basic_ostream<charT,traits>& operator<< ( std::basic_ostream< charT, traits > &  strm,
const poly< T > &  f 
)
inline

Definition at line 113 of file poly.h.

References column, and f.

113  {
114  BOOST_FOREACH(std::set<T> column, std::make_pair(f.begin_columns(),f.end_columns()))
115  { strm << "( "; BOOST_FOREACH(T entry, column) strm << entry << ", "; strm << " )" << std::endl; }
116  return strm;
117 }
column_iterator end_columns()
Definition: poly.h:51
return((rh^lh)&mask)
#define column(...)
Definition: DbCore.h:74
long double T
column_iterator begin_columns()
Definition: poly.h:50