34 |
|
} |
35 |
|
} |
36 |
|
|
37 |
< |
BaseLattice* LatticeFactory::createLattice( const string& latticeType ){ |
37 |
> |
BaseLattice* LatticeFactory::createLattice( const std::string& latticeType ){ |
38 |
|
std::map<string, BaseLatticeCreator*>::iterator mapIter; |
39 |
|
|
40 |
|
mapIter = creatorMap.find(latticeType); |
46 |
|
return NULL; |
47 |
|
} |
48 |
|
|
49 |
< |
bool LatticeFactory::hasLatticeCreator( const string& latticeType ){ |
49 |
> |
bool LatticeFactory::hasLatticeCreator( const std::string& latticeType ){ |
50 |
|
std::map<string, BaseLatticeCreator*>::iterator mapIter; |
51 |
|
|
52 |
|
mapIter = creatorMap.find(latticeType); |