mirror of https://github.com/QMCPACK/qmcpack.git
Missing get function.
git-svn-id: https://subversion.assembla.com/svn/qmcdev/trunk@164 e5b18d87-469d-4833-9cc0-8cdfa06e9491
This commit is contained in:
parent
0cd3f8b1c7
commit
872bac6585
|
@ -31,6 +31,14 @@ struct ParameterSet {
|
|||
*/
|
||||
std::map<std::string,OhmmsElementBase*> thisSet;
|
||||
|
||||
bool get(std::ostream& os) {
|
||||
std::map<std::string,OhmmsElementBase*>::iterator it = thisSet.begin();
|
||||
while(it != thisSet.end()) {
|
||||
(*it).second->get(os);it++;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/** add a new parameter corresponding to an xmlNode <parameter/>
|
||||
*@param aparam reference the object which this parameter is assigned to.
|
||||
*@param aname the value of the name attribute
|
||||
|
|
Loading…
Reference in New Issue