MINT2
Classes | Functions
DDTree.h File Reference
#include <vector>
#include <algorithm>
#include <iostream>
#include <sstream>
#include "Mint/counted_ptr.h"

Go to the source code of this file.

Classes

class  lessByPointedTo< T >
 
class  equalByPointedTo< T >
 
class  DDTree< ValueType >
 

Functions

template<typename ValueType >
std::ostream & operator<< (std::ostream &os, const DDTree< ValueType > &theTree)
 
template<typename ValueType >
std::stringstream & operator<< (std::stringstream &seam, const DDTree< ValueType > &theTree)
 

Function Documentation

◆ operator<<() [1/2]

template<typename ValueType >
std::ostream& operator<< ( std::ostream &  os,
const DDTree< ValueType > &  theTree 
)

Definition at line 401 of file DDTree.h.

402  {
403  theTree.print(os);
404  return os;
405 }
void print(std::ostream &os=std::cout, std::string indentString="") const
Definition: DDTree.h:360

◆ operator<<() [2/2]

template<typename ValueType >
std::stringstream& operator<< ( std::stringstream &  seam,
const DDTree< ValueType > &  theTree 
)

Definition at line 408 of file DDTree.h.

409  {
410  theTree.oneLiner(seam);
411  return seam;
412 }
void oneLiner(std::stringstream &seam, int generation=0) const
Definition: DDTree.h:375