Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgWrite.h File Reference

Detailed Description

Utility write functions for SmartGo data types.

Write functions logically belong to the files of the classes they are outputting; should be moved.

Definition in file SgWrite.h.

#include <iomanip>
#include <iosfwd>
#include <sstream>
#include <string>
#include <vector>
#include "SgBoardColor.h"
#include "SgPoint.h"
#include "SgSList.h"
#include "SgVector.h"

Go to the source code of this file.


class  SgWriteLabel
 Write left aligned text with a minimum width of 15 characters. More...
class  SgWritePointList
 Write all points in list. More...
class  SgWriteSPointList< SIZE >
 Output a SgSList with SgPoint elements to a stream. More...
class  SgWriteMove
 Write player color and move for games in which a move is a SgPoint. More...
class  SgWriteLine
 Write line of dashes. More...
class  SgWriteBoolean
 Only writes "not" if value is false. More...
class  SgWriteBoolAsInt
 Writes boolean as 0/1. More...


std::ostream & operator<< (std::ostream &out, const SgWritePointList &write)
template<int SIZE>
std::ostream & operator<< (std::ostream &out, const SgWriteSPointList< SIZE > &write)
std::ostream & operator<< (std::ostream &out, const SgWriteBoolAsInt &write)

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const SgWriteBoolAsInt write 

Definition at line 125 of file SgWrite.cpp.

References SgWriteBoolAsInt::Write().

template<int SIZE>
std::ostream & operator<< ( std::ostream &  out,
const SgWriteSPointList< SIZE > &  write 

Definition at line 114 of file SgWrite.h.

References SgWriteSPointList< SIZE >::Write().

std::ostream& operator<< ( std::ostream &  out,
const SgWritePointList write 

Definition at line 99 of file SgWrite.cpp.

References SgWritePointList::Write().

17 Jun 2010 Doxygen 1.4.7