Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4Text.hh File Reference
#include "G4VMarker.hh"
#include "globals.hh"
#include "G4Text.icc"
Include dependency graph for G4Text.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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,
const G4Text  
)

Definition at line 75 of file G4Text.cc.

76 {
77  os << "G4Text: \"" << text.GetText()
78  << "\"\n layout " << text.GetLayout()
79  << ", offset (" << text.GetXOffset() << ',' << text.GetYOffset() << ")\n"
80  << (const G4VMarker&)text;
81  return os;
82 }

Here is the call graph for this function:

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

Definition at line 84 of file G4Text.cc.

85 {
86  if (layout == G4Text::left) os << "left";
87  if (layout == G4Text::centre) os << "centre";
88  if (layout == G4Text::right) os << "right";
89  return os;
90 }