1 // vim: set expandtab tabstop=4 shiftwidth=4:
13 GHIT::GHIT(const string& root, const string& postfix, const string& group):
16 cerr << "In GHIT::GHIT(root = '" << root << "', postfix = '" << postfix
17 << "', group = '" << group << "');" << endl;
19 this->group.push(group);
24 cerr << "In GHIT destructor." << endl;
28 string GHIT::getFileName(const string& blockname) {
29 return string(root + '/' + group.top() + '/' + blockname + postfix);
32 void GHIT::pushGroup(const string& group) {
33 this->group.push(group);
36 string GHIT::popGroup() {
37 string g = group.top();
42 string GHIT::getGroup() {