Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions
pyglobals Namespace Reference

Typedefs

typedef std::vector< G4intG4intVector
 
typedef std::vector< G4doubleG4doubleVector
 
typedef std::vector< G4StringG4StringVector
 
typedef std::vector
< G4ThreeVector
G4ThreeVectorVector
 

Functions

void SetG4PyCoutDestination ()
 
void ResetG4PyCoutDestination ()
 

Typedef Documentation

typedef std::vector<G4double> pyglobals::G4doubleVector

Definition at line 65 of file pyglobals.cc.

typedef std::vector<G4int> pyglobals::G4intVector

Definition at line 64 of file pyglobals.cc.

typedef std::vector<G4String> pyglobals::G4StringVector

Definition at line 66 of file pyglobals.cc.

Definition at line 67 of file pyglobals.cc.

Function Documentation

void pyglobals::ResetG4PyCoutDestination ( )

Definition at line 58 of file pyglobals.cc.

References G4UImanager::GetUIpointer().

Referenced by export_globals().

59 {
61  UImgr-> SetCoutDestination(0);
62 }
static G4UImanager * GetUIpointer()
Definition: G4UImanager.cc:58
void pyglobals::SetG4PyCoutDestination ( )

Definition at line 50 of file pyglobals.cc.

References G4cerrbuf, G4coutbuf, G4UImanager::GetUIpointer(), and G4strstreambuf::SetDestination().

Referenced by export_globals(), emcalc_gui::main(), python::print_version(), and python3::print_version().

51 {
54  G4coutbuf.SetDestination(pycout);
55  G4cerrbuf.SetDestination(pycout);
56 }
static G4UImanager * GetUIpointer()
Definition: G4UImanager.cc:58
G4strstreambuf G4coutbuf
Definition: G4ios.cc:82
void SetDestination(G4coutDestination *dest)
G4strstreambuf G4cerrbuf
Definition: G4ios.cc:83