55 lines
2.2 KiB
C++
55 lines
2.2 KiB
C++
//
|
|
// ********************************************************************
|
|
// * DISCLAIMER *
|
|
// * *
|
|
// * The following disclaimer summarizes all the specific disclaimers *
|
|
// * of contributors to this software. The specific disclaimers,which *
|
|
// * govern, are listed with their locations in: *
|
|
// * http://cern.ch/geant4/license *
|
|
// * *
|
|
// * Neither the authors of this software system, nor their employing *
|
|
// * institutes,nor the agencies providing financial support for this *
|
|
// * work make any representation or warranty, express or implied, *
|
|
// * regarding this software system or assume any liability for its *
|
|
// * use. *
|
|
// * *
|
|
// * This code implementation is the intellectual property of the *
|
|
// * GEANT4 collaboration. *
|
|
// * By copying, distributing or modifying the Program (or any work *
|
|
// * based on the Program) you indicate your acceptance of this *
|
|
// * statement, and all its terms. *
|
|
// ********************************************************************
|
|
//
|
|
//
|
|
// $Id: G4ASCIITreeMessenger.hh,v 1.4 2001/07/11 10:09:06 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-05-00 $
|
|
//
|
|
//
|
|
// John Allison 5th April 2001
|
|
// A scene handler to dump geometry hierarchy to standard output as
|
|
// ASCII stream.
|
|
// Based on a provisional G4ASCIITreeGraphicsScene (was in modeling).
|
|
|
|
#ifndef G4ASCIITREEMESSENGER_HH
|
|
#define G4ASCIITREEMESSENGER_HH
|
|
|
|
#include "G4UImessenger.hh"
|
|
|
|
class G4UIcommand;
|
|
class G4UIcmdWithAnInteger;
|
|
class G4ASCIITree;
|
|
|
|
class G4ASCIITreeMessenger: public G4UImessenger {
|
|
public:
|
|
G4ASCIITreeMessenger(G4ASCIITree*);
|
|
virtual ~G4ASCIITreeMessenger();
|
|
G4String GetCurrentValue (G4UIcommand* command);
|
|
void SetNewValue (G4UIcommand* command, G4String newValue);
|
|
private:
|
|
G4ASCIITree* fpASCIITree;
|
|
G4UIcommand* fpDirectory;
|
|
G4UIcmdWithAnInteger* fpCommandVerbose;
|
|
};
|
|
|
|
#endif
|