Missing get function.

git-svn-id: https://subversion.assembla.com/svn/qmcdev/trunk@164 e5b18d87-469d-4833-9cc0-8cdfa06e9491
This commit is contained in:
Dyutiman Das 2004-12-15 21:29:00 +00:00
parent 0cd3f8b1c7
commit 872bac6585
1 changed files with 8 additions and 0 deletions

View File

@ -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