G4Text.hh File Reference

#include "G4VMarker.hh"
#include "globals.hh"
#include "G4Text.icc"

Go to the source code of this file.

Data Structures

class  G4Text

Functions

std::ostream & operator<< (std::ostream &os, const G4Text &)
std::ostream & operator<< (std::ostream &os, G4Text::Layout)


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
G4Text::Layout   
)

Definition at line 84 of file G4Text.cc.

00085 {
00086   if (layout == G4Text::left) os << "left";
00087   if (layout == G4Text::centre) os << "centre";
00088   if (layout == G4Text::right) os << "right";
00089   return os;
00090 }

std::ostream& operator<< ( std::ostream &  os,
const G4Text  
)

Definition at line 75 of file G4Text.cc.

00076 {
00077   os << "G4Text: \"" << text.GetText()
00078      << "\"\n  layout " << text.GetLayout()
00079      << ", offset (" << text.GetXOffset() << ',' << text.GetYOffset() << ")\n"
00080      << (const G4VMarker&)text;
00081   return os;
00082 }


Generated on Mon May 27 17:51:10 2013 for Geant4 by  doxygen 1.4.7