3 using namespace ctfseeding;
6 std::vector<LayerPairAndLayers>
result;
7 typedef std::vector<LayerPairAndLayers>::iterator IR;
9 typedef SeedingLayerSets::const_iterator IL;
10 for (IL il=theSets.begin(), ilEnd= theSets.end(); il != ilEnd; ++il) {
12 if (set.size() != 3)
continue;
15 for (IR ir = result.begin(); ir < result.end(); ++ir) {
17 if (resPair.first ==layerPair.first && resPair.second == layerPair.second) {
18 std::vector<SeedingLayer> & thirds = ir->second;
19 thirds.push_back( set[2] );
25 LayerPairAndLayers lpl = std::make_pair(layerPair, std::vector<SeedingLayer>(1, set[2]) );
26 result.push_back(lpl);
std::pair< ctfseeding::SeedingLayer, ctfseeding::SeedingLayer > SeedingLayerPair
std::vector< LayerPairAndLayers > layers() const
std::pair< SeedingLayerPair, std::vector< ctfseeding::SeedingLayer > > LayerPairAndLayers
std::vector< SeedingLayer > SeedingLayers
void set(const std::string &name, int value)
set the flag, with a run-time name