Geant4 Cross Reference |
>> 1 // This code implementation is the intellectual property of >> 2 // the GEANT4 collaboration. 1 // 3 // 2 // ******************************************* << 4 // By copying, distributing or modifying the Program (or any work 3 // * License and Disclaimer << 5 // based on the Program) you indicate your acceptance of this statement, 4 // * << 6 // and all its terms. 5 // * The Geant4 software is copyright of th << 6 // * the Geant4 Collaboration. It is provided << 7 // * conditions of the Geant4 Software License << 8 // * LICENSE and available at http://cern.ch/ << 9 // * include a list of copyright holders. << 10 // * << 11 // * Neither the authors of this software syst << 12 // * institutes,nor the agencies providing fin << 13 // * work make any representation or warran << 14 // * regarding this software system or assum << 15 // * use. Please see the license in the file << 16 // * for the full disclaimer and the limitatio << 17 // * << 18 // * This code implementation is the result << 19 // * technical work of the GEANT4 collaboratio << 20 // * By using, copying, modifying or distri << 21 // * any work based on the software) you ag << 22 // * use in resulting scientific publicati << 23 // * acceptance of all terms of the Geant4 Sof << 24 // ******************************************* << 25 // 7 // 26 // G4UIdirectory << 8 // $Id: G4UIdirectory.hh,v 1.3 1999/12/15 14:50:39 gunter Exp $ >> 9 // GEANT4 tag $Name: geant4-01-01 $ 27 // 10 // 28 // Class description: << 29 // 11 // 30 // A concrete class of G4UIcommand. This class << 31 // directory which can have commands. << 32 // General information of G4UIcommand is given << 33 12 34 // Author: Makoto Asai, 1998 << 13 #ifndef G4UIdirectory_H 35 // ------------------------------------------- << 14 #define G4UIdirectory_H 1 36 #ifndef G4UIdirectory_hh << 37 #define G4UIdirectory_hh 1 << 38 15 39 #include "G4UIcommand.hh" 16 #include "G4UIcommand.hh" 40 17 >> 18 // class description: >> 19 // A concrete class of G4UIcommand. This class defines a command >> 20 // directory which can have commands. >> 21 // General information of G4UIcommand is given in G4UIcommand.hh. >> 22 41 class G4UIdirectory : public G4UIcommand 23 class G4UIdirectory : public G4UIcommand 42 { 24 { 43 public: << 25 public: // with description >> 26 G4UIdirectory(char * theCommandPath); >> 27 G4UIdirectory(const char * theCommandPath); 44 // Constructors. The argument is a full pa 28 // Constructors. The argument is a full path directory which 45 // starts and ends with "/". 29 // starts and ends with "/". 46 G4UIdirectory(char* theCommandPath, G4bool << 47 G4UIdirectory(const char* theCommandPath, << 48 << 49 void Sort(G4bool val = true) { ifSort = va << 50 << 51 // N.B. ifSort is defined in the base clas << 52 G4bool IfSort() const { return ifSort; } << 53 }; 30 }; 54 31 55 #endif 32 #endif 56 33