Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyglobals.cc File Reference
#include <boost/python.hpp>
#include "pyG4indexing.hh"
#include "G4Version.hh"
#include "G4strstreambuf.hh"
#include "G4UImanager.hh"
#include "G4PyCoutDestination.hh"
#include "G4ThreeVector.hh"
#include "G4TwoVector.hh"
#include <vector>
Include dependency graph for pyglobals.cc:

Go to the source code of this file.

Namespaces

 pyglobals
 

Typedefs

typedef std::vector< G4intpyglobals::G4intVector
 
typedef std::vector< G4doublepyglobals::G4doubleVector
 
typedef std::vector< G4Stringpyglobals::G4StringVector
 
typedef std::vector
< G4ThreeVector
pyglobals::G4ThreeVectorVector
 

Functions

void pyglobals::SetG4PyCoutDestination ()
 
void pyglobals::ResetG4PyCoutDestination ()
 
void export_globals ()
 

Variables

G4strstreambuf G4coutbuf
 
G4strstreambuf G4cerrbuf
 

Function Documentation

void export_globals ( )

Definition at line 78 of file pyglobals.cc.

79 {
80  def("SetG4PyCoutDestination", SetG4PyCoutDestination);
81  def("ResetG4PyCoutDestination", ResetG4PyCoutDestination);
82 
83  class_<G4intVector> ("G4intVector", "int vector")
85  ;
86 
87  class_<G4doubleVector> ("G4doubleVector", "double vector")
89  ;
90 
91  class_<G4StringVector> ("G4StringVector", "string vector")
93  ;
94 
95  class_<G4ThreeVectorVector> ("G4ThreeVectorVector", "3-vector vector")
97  ;
98 
99 #if G4VERSION_NUMBER >= 830
100  class_<G4TwoVectorVector> ("G4StringVector", "2-vector vector")
102  ;
103 #endif
104 
105 }
void ResetG4PyCoutDestination()
Definition: pyglobals.cc:58
void SetG4PyCoutDestination()
Definition: pyglobals.cc:50

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

std::ostream G4cerr & G4cerrbuf

Definition at line 83 of file G4ios.cc.

std::ostream G4cout & G4coutbuf

Definition at line 82 of file G4ios.cc.