Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

 hugin_utils
 namespace for various utils
 

Functions

std::string hugin_utils::tolower (const std::string &s)
 convert a string to lowercase More...
 
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_type & map_get (Map &m, const typename Map::key_type &key)
 get a map element. More...
 
template<typename Map >
const Map::mapped_type & const_map_get (const Map &m, const typename Map::key_type &key)
 
template<typename Map >
Map::mapped_type & map_get (Map &m, const char *key)
 
template<typename Map >
const Map::mapped_type & const_map_get (const Map &m, const char *key)
 

Function Documentation

template<typename Map >
const Map::mapped_type& const_map_get ( const Map &  m,
const typename Map::key_type &  key 
)
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.

template<typename _Container >
void fill_set ( _Container &  c,
typename _Container::key_type  begin,
typename _Container::key_type  end 
)
inline
template<typename Map >
Map::mapped_type& map_get ( Map &  m,
const typename Map::key_type &  key 
)
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.

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.

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::SmallRemappedImageCache::invalidate(), HuginBase::Panorama::linkPossibleStacks(), main(), PanoDetector::match(), PanoDetector::matchMultiRow(), PanoDetector::matchPrealigned(), ImagesTreeCtrl::OnContextMenu(), ImagesTreeCtrl::OnHeaderContextMenu(), ImagesTreeCtrl::OnLeftDown(), ImagesTreeCtrl::OnLeftUp(), MaskImageCtrl::OnRightMouseUp(), CPEditorPanel::OnTextPointChange(), HuginBase::PhotometricOptimizer::OptimData::OptimData(), PreviewFrame::panoramaImagesChanged(), MaskEditorPanel::panoramaImagesChanged(), GLPreviewFrame::panoramaImagesChanged(), HuginBase::Panorama::printStitcherScript(), PanoCommand::SetActiveImagesCmd::processPanorama(), PanoCommand::UpdateCropFactorCmd::processPanorama(), AutoCtrlPointCreator::readUpdatedControlPoints(), RemoveFromOptVec(), OptimizePhotometricPanel::runOptimizer(), ImagesList::SelectImages(), MaskImageCtrl::SelectPointsInsideMouseRect(), SetGeometricControlPointsUnconnected(), MaskEditorPanel::UpdateCrop(), HuginBase::Panorama::updateCtrlPointErrors(), ImagesTreeCtrl::UpdateGroup(), CPListCtrl::UpdateInternalCPList(), PreviewLayoutLinesTool::updateLineInformation(), ImagesTreeCtrl::UpdateOptimizerVariables(), HuginBase::Panorama::updateOptimizeVector(), and HuginBase::Panorama::updateWhiteBalance().