18 |
|
} |
19 |
|
|
20 |
|
bool LatticeFactory::registerCreator( BaseLatticeCreator* latCreator ){ |
21 |
< |
std::stringlatticeType = latCreator->getType(); |
21 |
> |
std::string latticeType = latCreator->getType(); |
22 |
|
std::map<string, BaseLatticeCreator*>::iterator mapIter; |
23 |
|
|
24 |
|
mapIter = creatorMap.find(latticeType); |
57 |
|
return false; |
58 |
|
} |
59 |
|
|
60 |
< |
const std::stringLatticeFactory::toString(){ |
61 |
< |
std::stringresult; |
60 |
> |
const std::string LatticeFactory::toString(){ |
61 |
> |
std::string result; |
62 |
|
std::map<string, BaseLatticeCreator*>::iterator mapIter; |
63 |
|
|
64 |
|
result = "Avaliable lattice creators in LatticeFactory are:\n"; |