439 G4String ofileName = CreateFileName(pathName);
440 std::ofstream oF(ofileName, std::ios::out);
442 oF <<
"<html><head><title>Commands in " << ModStr(pathName) <<
"</title></head>" <<
G4endl;
443 oF <<
"<body bgcolor=\"#ffffff\"><h2>" << ModStr(pathName) <<
"</h2><p>" <<
G4endl;
445 if( guidance != NULL )
451 oF <<
"<p><hr><p>" <<
G4endl;
453 oF <<
"<h2>Sub-directories : </h2><dl>" <<
G4endl;
454 for(
G4int i_thTree = 0; i_thTree <
G4int(tree.size()); i_thTree++ )
456 oF <<
"<p><br><p><dt><a href=\"" << CreateFileName(tree[i_thTree]->
GetPathName())
459 tree[i_thTree]->CreateHTML();
462 oF <<
"</dl><p><hr><p>" <<
G4endl;
464 oF <<
"<h2>Commands : </h2><dl>" <<
G4endl;
465 for(
G4int i_thCommand = 0; i_thCommand <
G4int(command.size()); i_thCommand++ )
475 oF <<
"<p><dd>" <<
G4endl;
479 { oF <<
"<p><dd>Range : " << ModStr(cmd->
GetRange()) << G4endl; }
480 std::vector<G4ApplicationState>* availabelStateList = cmd->
GetStateList();
481 if(availabelStateList->size()==6)
482 { oF <<
"<p><dd>Available at all Geant4 states." <<
G4endl; }
485 oF <<
"<p><dd>Available Geant4 state(s) : ";
486 for(
G4int ias=0;ias<
G4int(availabelStateList->size());ias++)
491 oF <<
"<p><dd>Parameters<table border=1>" <<
G4endl;
500 oF <<
"Omittable : ";
502 { oF <<
"current value is used as the default value." <<
G4endl; }
512 oF <<
"</table>" <<
G4endl;
517 oF <<
"</dl></body></html>" <<
G4endl;
G4String GetParameterCandidates() const
const G4String & GetRange() const
G4String GetParameterName() const
const G4String & GetGuidanceLine(G4int i) const
G4bool IsOmittable() const
static G4StateManager * GetStateManager()
G4UIparameter * GetParameter(G4int i) const
const G4String GetPathName() const
const G4String & GetCommandName() const
const G4String GetTitle() const
G4String GetDefaultValue() const
std::vector< G4ApplicationState > * GetStateList()
char GetParameterType() const
G4String GetParameterRange() const
G4int GetGuidanceEntries() const
G4int GetParameterEntries() const
G4bool GetCurrentAsDefault() const
G4String GetStateString(G4ApplicationState aState) const