#include <G4UIaliasList.hh>
Definition at line 43 of file G4UIaliasList.hh.
G4UIaliasList::G4UIaliasList |
( |
| ) |
|
G4UIaliasList::~G4UIaliasList |
( |
| ) |
|
Definition at line 36 of file G4UIaliasList.cc.
39 G4int n_treeEntry = alias.size();
40 for( i=0; i < n_treeEntry; i++ )
const XML_Char int const XML_Char * value
void G4UIaliasList::ChangeAlias |
( |
const char * |
aliasName, |
|
|
const char * |
aliasValue |
|
) |
| |
Definition at line 82 of file G4UIaliasList.cc.
84 G4int i = FindAliasID(aliasName);
87 AddNewAlias(aliasName,aliasValue);
90 *(
value[i]) = aliasValue;
const XML_Char int const XML_Char * value
G4String * G4UIaliasList::FindAlias |
( |
const char * |
aliasName | ) |
|
Definition at line 93 of file G4UIaliasList.cc.
95 G4int i = FindAliasID(aliasName);
const XML_Char int const XML_Char * value
void G4UIaliasList::List |
( |
| ) |
|
Definition at line 109 of file G4UIaliasList.cc.
111 G4int i_entry = alias.size();
112 for(
G4int i1=0;i1<i_entry-1;i1++)
113 for(
G4int i2=i1+1;i2<i_entry;i2++)
115 if(*(alias[i1])>*(alias[i2]))
118 alias[i1] = alias[i2];
126 for(
G4int i=0;i<i_entry;i++)
G4GLOB_DLL std::ostream G4cout
const XML_Char int const XML_Char * value
void G4UIaliasList::RemoveAlias |
( |
const char * |
aliasName | ) |
|
Definition at line 69 of file G4UIaliasList.cc.
71 G4int i = FindAliasID(aliasName);
74 G4cerr <<
"Alias <" << aliasName <<
"> does not exist. Command ignored."
78 alias.erase(alias.begin()+i);
const XML_Char int const XML_Char * value
G4GLOB_DLL std::ostream G4cerr
The documentation for this class was generated from the following files: