source: trunk/geant4/interfaces/html/d0/da6/G4UIArrayString_8hh-source.html @ 571

Last change on this file since 571 was 571, checked in by garnier, 17 years ago

r581@mac-90108: laurentgarnier | 2007-08-17 17:30:26 +0200
deplacement de frame

  • Property svn:mime-type set to text/html
File size: 8.2 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3<title>G4UIArrayString.hh Source File</title>
4<link href="../../doxygen.css" rel="stylesheet" type="text/css">
5<link href="../../tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.2 -->
8<div class="tabs">
9  <ul>
10    <li><a href="../../index.html"><span>Main&nbsp;Page</span></a></li>
11    <li><a href="../../annotated.html"><span>Classes</span></a></li>
12    <li class="current"><a href="../../files.html"><span>Files</span></a></li>
13  </ul>
14</div>
15<div class="tabs">
16  <ul>
17    <li><a href="../../files.html"><span>File&nbsp;List</span></a></li>
18    <li><a href="../../globals.html"><span>File&nbsp;Members</span></a></li>
19  </ul>
20</div>
21<h1>G4UIArrayString.hh</h1><a href="../../da/dae/G4UIArrayString_8hh.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//</span>
22<a name="l00002"></a>00002 <span class="comment">// ********************************************************************</span>
23<a name="l00003"></a>00003 <span class="comment">// * License and Disclaimer                                           *</span>
24<a name="l00004"></a>00004 <span class="comment">// *                                                                  *</span>
25<a name="l00005"></a>00005 <span class="comment">// * The  Geant4 software  is  copyright of the Copyright Holders  of *</span>
26<a name="l00006"></a>00006 <span class="comment">// * the Geant4 Collaboration.  It is provided  under  the terms  and *</span>
27<a name="l00007"></a>00007 <span class="comment">// * conditions of the Geant4 Software License,  included in the file *</span>
28<a name="l00008"></a>00008 <span class="comment">// * LICENSE and available at  http://cern.ch/geant4/license .  These *</span>
29<a name="l00009"></a>00009 <span class="comment">// * include a list of copyright holders.                             *</span>
30<a name="l00010"></a>00010 <span class="comment">// *                                                                  *</span>
31<a name="l00011"></a>00011 <span class="comment">// * Neither the authors of this software system, nor their employing *</span>
32<a name="l00012"></a>00012 <span class="comment">// * institutes,nor the agencies providing financial support for this *</span>
33<a name="l00013"></a>00013 <span class="comment">// * work  make  any representation or  warranty, express or implied, *</span>
34<a name="l00014"></a>00014 <span class="comment">// * regarding  this  software system or assume any liability for its *</span>
35<a name="l00015"></a>00015 <span class="comment">// * use.  Please see the license in the file  LICENSE  and URL above *</span>
36<a name="l00016"></a>00016 <span class="comment">// * for the full disclaimer and the limitation of liability.         *</span>
37<a name="l00017"></a>00017 <span class="comment">// *                                                                  *</span>
38<a name="l00018"></a>00018 <span class="comment">// * This  code  implementation is the result of  the  scientific and *</span>
39<a name="l00019"></a>00019 <span class="comment">// * technical work of the GEANT4 collaboration.                      *</span>
40<a name="l00020"></a>00020 <span class="comment">// * By using,  copying,  modifying or  distributing the software (or *</span>
41<a name="l00021"></a>00021 <span class="comment">// * any work based  on the software)  you  agree  to acknowledge its *</span>
42<a name="l00022"></a>00022 <span class="comment">// * use  in  resulting  scientific  publications,  and indicate your *</span>
43<a name="l00023"></a>00023 <span class="comment">// * acceptance of all terms of the Geant4 Software license.          *</span>
44<a name="l00024"></a>00024 <span class="comment">// ********************************************************************</span>
45<a name="l00025"></a>00025 <span class="comment">//</span>
46<a name="l00026"></a>00026 <span class="comment">//</span>
47<a name="l00027"></a>00027 <span class="comment">// $Id: G4UIArrayString.hh,v 1.3 2006/06/29 19:09:27 gunter Exp $</span>
48<a name="l00028"></a>00028 <span class="comment">// GEANT4 tag $Name: geant4-08-01-patch-01 $</span>
49<a name="l00029"></a>00029 <span class="comment">//</span>
50<a name="l00030"></a>00030
51<a name="l00031"></a>00031 <span class="preprocessor">#ifndef G4UIArrayString_h</span>
52<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define G4UIArrayString_h</span>
53<a name="l00033"></a>00033 <span class="preprocessor"></span>
54<a name="l00034"></a>00034 <span class="preprocessor">#include "globals.hh"</span>
55<a name="l00035"></a>00035
56<a name="l00036"></a>00036 <span class="comment">//</span>
57<a name="l00037"></a>00037 <span class="comment">//   Description: </span>
58<a name="l00038"></a>00038 <span class="comment">//   This class is a utility class for listing commands like </span>
59<a name="l00039"></a>00039 <span class="comment">//   UNIX "ls" command.</span>
60<a name="l00040"></a>00040 <span class="comment">//</span>
61<a name="l00041"></a>00041
62<a name="l00042"></a><a class="code" href="../../d3/da3/classG4UIArrayString.html">00042</a> <span class="keyword">class </span><a class="code" href="../../d3/da3/classG4UIArrayString.html">G4UIArrayString</a> {
63<a name="l00043"></a>00043 <span class="keyword">private</span>:
64<a name="l00044"></a><a class="code" href="../../d3/da3/classG4UIArrayString.html#ef3ec092e2f9210391d5c4782e70c562">00044</a>   G4String* <a class="code" href="../../d3/da3/classG4UIArrayString.html#ef3ec092e2f9210391d5c4782e70c562">stringArray</a>;
65<a name="l00045"></a><a class="code" href="../../d3/da3/classG4UIArrayString.html#efd2c081f04274432f29713fab581167">00045</a>   G4int <a class="code" href="../../d3/da3/classG4UIArrayString.html#efd2c081f04274432f29713fab581167">nElement</a>;
66<a name="l00046"></a><a class="code" href="../../d3/da3/classG4UIArrayString.html#81a2f2fbdd731389035ba779ba68a227">00046</a>   G4int <a class="code" href="../../d3/da3/classG4UIArrayString.html#81a2f2fbdd731389035ba779ba68a227">nColumn</a>;
67<a name="l00047"></a>00047
68<a name="l00048"></a>00048   G4String* <a class="code" href="../../d3/da3/classG4UIArrayString.html#f5c72cf531d540b57195e0fbf57a1d00">GetElement</a>(G4int icol, G4int irow) <span class="keyword">const</span>;
69<a name="l00049"></a>00049   <span class="comment">// #rows in a column</span>
70<a name="l00050"></a>00050   G4int <a class="code" href="../../d3/da3/classG4UIArrayString.html#8fb642fe851d0d5def462b66e10f0fbb">GetNRow</a>(G4int icol) <span class="keyword">const</span>;
71<a name="l00051"></a>00051   <span class="comment">// max field width of a column</span>
72<a name="l00052"></a>00052   G4int <a class="code" href="../../d3/da3/classG4UIArrayString.html#520ff1738cab99a4eb8d5d30495697bc">GetNField</a>(G4int icol) <span class="keyword">const</span>;
73<a name="l00053"></a>00053   <span class="comment">// calculate total column width</span>
74<a name="l00054"></a>00054   G4int <a class="code" href="../../d3/da3/classG4UIArrayString.html#8e09dd53c850c074f26e8cae5a20947b">CalculateColumnWidth</a>() <span class="keyword">const</span>;
75<a name="l00055"></a>00055
76<a name="l00056"></a>00056 <span class="keyword">public</span>:
77<a name="l00057"></a>00057   <a class="code" href="../../d3/da3/classG4UIArrayString.html#a65c6aa2726f2bdb5b9ab5605ab85ca3">G4UIArrayString</a>(<span class="keyword">const</span> G4String&amp; stream);
78<a name="l00058"></a>00058   <a class="code" href="../../d3/da3/classG4UIArrayString.html#692d67fafca4abc9a46462fd78914996">~G4UIArrayString</a>();
79<a name="l00059"></a>00059
80<a name="l00060"></a>00060   <span class="keywordtype">void</span> <a class="code" href="../../d3/da3/classG4UIArrayString.html#879fcb09162f6dc5e6cdbb33955d971f">Show</a>(G4int ncol);
81<a name="l00061"></a>00061 };
82<a name="l00062"></a>00062
83<a name="l00063"></a>00063 <span class="preprocessor">#endif</span>
84<a name="l00064"></a>00064 <span class="preprocessor"></span>
85</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 22 10:26:02 2007 by&nbsp;
86<a href="http://www.doxygen.org/index.html">
87<img src="../../doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
88</body>
89</html>
Note: See TracBrowser for help on using the repository browser.