Hugin trunk 0.1
Loading...
Searching...
No Matches
Namespaces | Functions
stl_utils.h File Reference
#include <functional>
#include <algorithm>
#include <utility>
#include <string>
#include <string.h>
#include <ctype.h>
#include <stdexcept>
#include <hugin_utils/utils.h>
Include dependency graph for stl_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  hugin_utils
 namespace for various utils
 

Functions

std::string hugin_utils::tolower (const std::string &s)
 convert a string to lowercase
 
std::string hugin_utils::toupper (const std::string &s)
 
template<typename _Container >
bool set_contains (const _Container &c, const typename _Container::key_type &key)
 
template<typename _Container >
void fill_set (_Container &c, typename _Container::key_type begin, typename _Container::key_type end)
 
template<typename Map >
Map::mapped_typemap_get (Map &m, const typename Map::key_type &key)
 get a map element.
 
template<typename Map >
const Map::mapped_typeconst_map_get (const Map &m, const typename Map::key_type &key)
 
template<typename Map >
Map::mapped_typemap_get (Map &m, const char *key)
 
template<typename Map >
const Map::mapped_typeconst_map_get (const Map &m, const char *key)
 

Function Documentation

◆ const_map_get() [1/2]

template<typename Map >
const Map::mapped_type & const_map_get ( const Map m,
const char key 
)

Definition at line 135 of file stl_utils.h.

References DEBUG_WARN, and threshold().

◆ const_map_get() [2/2]

template<typename Map >
const Map::mapped_type & const_map_get ( const Map m,
const typename Map::key_type key 
)

◆ fill_set()

template<typename _Container >
void fill_set ( _Container c,
typename _Container::key_type  begin,
typename _Container::key_type  end 
)
inline

◆ map_get() [1/2]

template<typename Map >
Map::mapped_type & map_get ( Map m,
const char key 
)

Definition at line 123 of file stl_utils.h.

References DEBUG_WARN, and threshold().

◆ map_get() [2/2]

template<typename Map >
Map::mapped_type & map_get ( Map m,
const typename Map::key_type key 
)

◆ set_contains()

template<typename _Container >
bool set_contains ( const _Container c,
const typename _Container::key_type key 
)
inline

Definition at line 74 of file stl_utils.h.

References threshold().

Referenced by AddToOptVec(), AutoPanoSift::automatch(), AutoPanoSiftPreAlign::automatch(), HuginBase::CalculateCPStatisticsError::calcCtrlPntsErrorStats(), MaskImageCtrl::DrawPolygon(), PanoDetector::FilterMatchesInPair(), PreviewEditCPTool::FindCPInRect(), HuginBase::FindStackNumberForImage(), CPEditorPanel::FineTuneSelectedPoint(), HuginBase::getEstimatedBlendingOrder(), ToolHelper::GetImagesUnderPos(), PanoOperation::RemoveControlPointsOperation::GetInternalCommand(), PanoOperation::CleanControlPointsOperation::GetInternalCommand(), HuginQueue::detail::GetQuotedFilenamesStringForVerdandi(), HuginBase::SmallRemappedImageCache::getRemapped(), HuginBase::Panorama::getSubset(), HuginBase::SmallRemappedImageCache::invalidate(), HuginBase::Panorama::linkPossibleStacks(), main(), PanoDetector::match(), PanoDetector::matchMultiRow(), PanoDetector::matchPrealigned(), HuginBase::Panorama::mergePanorama(), ImagesTreeCtrl::OnContextMenu(), ImagesTreeCtrl::OnHeaderContextMenu(), ImagesTreeCtrl::OnLeftDown(), ImagesTreeCtrl::OnLeftUp(), MaskImageCtrl::OnRightMouseUp(), CPEditorPanel::OnTextPointChange(), HuginBase::PhotometricOptimizer::OptimData::OptimData(), Parser::PanoParseExpression(), GLPreviewFrame::panoramaImagesChanged(), PreviewFrame::panoramaImagesChanged(), MaskEditorPanel::panoramaImagesChanged(), HuginBase::Panorama::printPanoramaScript(), HuginBase::Panorama::printStitcherScript(), PanoCommand::SetActiveImagesCmd::processPanorama(), PanoCommand::UpdateCropFactorCmd::processPanorama(), AutoCtrlPointCreator::readUpdatedControlPoints(), RemoveFromOptVec(), OptimizePhotometricPanel::runOptimizer(), MaskImageCtrl::SelectPointsInsideMouseRect(), SetGeometricControlPointsUnconnected(), UnLinkVars(), MaskEditorPanel::UpdateCrop(), HuginBase::Panorama::updateCtrlPointErrors(), ImagesTreeCtrl::UpdateGroup(), CPListCtrl::UpdateInternalCPList(), PreviewLayoutLinesTool::updateLineInformation(), ImagesTreeCtrl::UpdateOptimizerVariables(), HuginBase::Panorama::updateOptimizeVector(), and HuginBase::Panorama::updateWhiteBalance().