33#include <tools/tokenize>
35#include <tools/xml/xml_style>
52 if((*it).first==a_name) {
78 if((*it).first==a_name)
return &((*it).second);
92 if((*it).first==a_name) {
102 if((*it).first==a_name) {
104 tools_vforcit(
StyleItem,(*it).second,its) {
105 G4cout <<
" " << (*its).first <<
" " << (*its).second <<
G4endl;
118 if((*it).first==a_parameter) {
119 (*it).second = a_value;
123 _style->push_back(
StyleItem(a_parameter,a_value));
127 std::vector<std::string>
args;
128 tools::double_quotes_tokenize(a_value,
args);
G4GLOB_DLL std::ostream G4cout
G4UIcommand * print_style
virtual void SetNewValue(G4UIcommand *, G4String)
G4PlotterManager & fPlotterManager
G4UIcommand * select_style
G4UIcommand * add_style_parameter
G4UIcommand * remove_style
G4UIcommand * list_styles
void ListStyles() const
styles: //////////////////////////////////////////////////////
std::vector< NamedPlotter > fPlotters
G4Plotter & GetPlotter(const G4String &a_name)
virtual ~G4PlotterManager()
void SelectStyle(const G4String &style)
void RemoveStyle(const G4String &name)
std::pair< G4String, Style > NamedStyle
std::pair< G4String, G4Plotter > NamedPlotter
void AddStyleParameter(const G4String ¶m, const G4String &value)
std::vector< StyleItem > Style
void PrintStyle(const G4String &) const
Style * FindStyle(const G4String &name)
std::pair< G4String, G4String > StyleItem
static G4PlotterManager & GetInstance()
std::size_t GetParameterEntries() const