mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 14:04:32 +00:00 
			
		
		
		
	Hadrons: better string representation of module parameters
This commit is contained in:
		@@ -256,12 +256,11 @@ void Module<P>::saveParameters(XmlWriter &writer, const std::string name)
 | 
				
			|||||||
template <typename P>
 | 
					template <typename P>
 | 
				
			||||||
std::string Module<P>::parString(void) const
 | 
					std::string Module<P>::parString(void) const
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    std::string xmlstring;
 | 
					    std::ostringstream s;
 | 
				
			||||||
	XmlWriter   writer("","");
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
	write(writer, par_.SerialisableClassName(), par_);
 | 
					    s << par();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return writer.string();
 | 
					    return s.str();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
template <typename P>
 | 
					template <typename P>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user