char_type.h File Reference

This file contains several typedefs similar to those of the standard headers and allows easy switching between char and wchar_t usage if only the types defined here are used in the hole library. More...

#include <string>
#include <boost/regex.hpp>
#include <boost/filesystem/fstream.hpp>
#include <boost/filesystem.hpp>

Include dependency graph for char_type.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  makefile

Defines

#define cstr(x)   x
 Let literal strings unchanged for char use.

Typedefs

typedef char char_type
typedef unsigned char uchar_type
typedef std::basic_filebuf<
char_type
filebuf
 streams, use the extended fstream versions from boost::filesystem.
typedef boost::filesystem::basic_ifstream<
char_type
ifstream
typedef std::basic_istream<
char_type
istream
typedef boost::filesystem::basic_fstream<
char_type
fstream
typedef boost::filesystem::basic_ofstream<
char_type
ofstream
typedef std::basic_ostream<
char_type
ostream
typedef std::basic_string<
char_type
string
 string
typedef boost::filesystem::path path
 paths from boost::filesystem
typedef boost::regex regex
 boost::regex


Detailed Description

This file contains several typedefs similar to those of the standard headers and allows easy switching between char and wchar_t usage if only the types defined here are used in the hole library.

This pulls the type names into the namespace makefile. To use those defined here make sure to use this namespace. It also pulls in all the include files, if maybe only one of them is needed. This will increase compile time a little more than necessary but keeps things simple.

Created on: Jul 14, 2010

Author:
Florian Achleitner <florian.achleitner.2.6.31@gmail.com>

Definition in file char_type.h.


Define Documentation

#define cstr  )     x
 

Let literal strings unchanged for char use.

Definition at line 78 of file char_type.h.

Referenced by makefile::Comment::appendLine(), makefile::Variable::checkName(), makefile::Variable::checkValue(), cleandir(), createfiles_direct(), createfiles_make(), HuginBase::AssistantMakefilelibExport::createItems(), main(), makefile::ConditionalNDEF::printif(), makefile::ConditionalDEF::printif(), makefile::ConditionalNEQ::printif(), makefile::ConditionalEQ::printif(), printmiss(), makefile::Makefile::quote(), makefile::tester::TestComment::TestComment(), makefile::tester::TestConditional::TestConditional(), makefile::tester::TestRule::TestRule(), makefile::tester::TestVariable::TestVariable(), makefile::VariableRef::toString(), makefile::VariableDef::toString(), makefile::Rule::toString(), makefile::Newline::toString(), makefile::Conditional::toString(), makefile::Comment::toString(), tryall(), trycond(), trymakefile(), tryreplace(), and tryrule().


Typedef Documentation

typedef char makefile::char_type
 

Definition at line 50 of file char_type.h.

Referenced by createfiles_direct(), createfiles_make(), and printchars().

typedef std::basic_filebuf<char_type> makefile::filebuf
 

streams, use the extended fstream versions from boost::filesystem.

Definition at line 55 of file char_type.h.

typedef boost::filesystem::basic_fstream<char_type> makefile::fstream
 

Definition at line 58 of file char_type.h.

typedef boost::filesystem::basic_ifstream<char_type> makefile::ifstream
 

Definition at line 56 of file char_type.h.

Referenced by PanoDetector::loadProject(), PanoDetector::LoadSVMModel(), main(), processPTO(), and Project::ReadOptions().

typedef std::basic_istream<char_type> makefile::istream
 

Definition at line 57 of file char_type.h.

typedef boost::filesystem::basic_ofstream<char_type> makefile::ofstream
 

Definition at line 59 of file char_type.h.

Referenced by createfiles_direct(), main(), parseOptions(), HuginBase::PhotometricOptimizer::photometricError(), PanoDetector::writeKeyfile(), and PanoDetector::writeOutput().

typedef std::basic_ostream<char_type> makefile::ostream
 

Definition at line 60 of file char_type.h.

Referenced by makefile::operator<<().

typedef boost::filesystem::path makefile::path
 

paths from boost::filesystem

Definition at line 74 of file char_type.h.

Referenced by PanoOperation::AddImageDialog(), Batch::Batch(), createfiles_direct(), createfiles_make(), RunStitchPanel::DetectProject(), FindPanoDialog::FindPanoDialog(), getExePath(), PanoOperation::AddImagesSeriesOperation::GetInternalCommand(), ProjectListBox::GetProjectCountByPath(), Batch::GetProjectCountByPath(), includeTrailingPathSep(), InitLensDB(), HuginBase::LensDB::LensDB::LoadFilesInDir(), PanoDetector::LoadSVMModel(), main(), LensCalFrame::OnAddImage(), LensCalFrame::OnSaveProject(), and HuginBase::PTools::optimize().

typedef boost::regex makefile::regex
 

boost::regex

Definition at line 76 of file char_type.h.

Referenced by makefile::Variable::checkName(), makefile::Variable::checkValue(), makefile::Makefile::quote(), makefile::Comment::toString(), and tryreplace().

typedef std::basic_string<char_type> makefile::string
 

string

Definition at line 63 of file char_type.h.

Referenced by makefile::Rule::addCommand(), PanoDetector::AnalyzeImage(), checkVersion(), comparePluginItem(), compareVersion(), convert_file(), createfiles_make(), generateMaskName(), hugin_utils::GetAbsoluteFilename(), SaveCamDBDialog::GetCameraMaker(), SaveLensDBDialog::GetCameraMaker(), LoadLensDBDialog::GetCameraMaker(), SaveCamDBDialog::GetCameraModel(), SaveLensDBDialog::GetCameraModel(), LoadLensDBDialog::GetCameraModel(), HuginBase::LensDB::LensDB::GetCameraMount(), SaveCamDBDialog::GetCameraMount(), hugin_utils::getExtension(), SaveLensDBDialog::GetLensMaker(), SaveLensDBDialog::GetLensMount(), SaveLensDBDialog::GetLensName(), LoadLensDBDialog::GetLensName(), makefile::Variable::getName(), makefile::Variable::getquotedValue(), makefile::AutoVariable::getquotedValue(), HuginBase::ImageCache::getSmallImage(), HuginBase::ImageCache::getSmallImageIfAvailable(), makefile::Comment::getText(), makefile::Variable::getValue(), makefile::AutoVariable::getValue(), InitLensDB(), HuginBase::LensDB::LensDB::LensDB(), HuginBase::LensDB::LensDB::LoadFilesInDir(), LoadLensParametersChoose(), PanoDetector::LoadSVMModel(), main(), makefile::operator+(), parseOptions(), ParseSingleImage(), ParseSingleLinkVar(), ParseSingleOptVar(), ParseSingleVar(), HuginBase::ImageCache::postEvent(), makefile::ConditionalNDEF::printif(), makefile::ConditionalDEF::printif(), makefile::ConditionalNEQ::printif(), makefile::ConditionalEQ::printif(), printmiss(), processImg(), makefile::Makefile::quote(), HuginBase::Panorama::removeDuplicateCtrlPoints(), HuginBase::ImageCache::removeImage(), HuginBase::Panorama::removeObserver(), SaveLensParameters(), SortWxFilenames(), HuginBase::Nona::stitchPanorama(), makefile::StringAdapter::StringAdapter(), HuginBase::Panorama::swapImages(), makefile::VariableRef::toString(), makefile::VariableDef::toString(), makefile::Rule::toString(), makefile::Newline::toString(), makefile::Conditional::toString(), makefile::Comment::toString(), makefile::Anything::toString(), tryreplace(), and MyOutput::usage().

typedef unsigned char makefile::uchar_type
 

Definition at line 51 of file char_type.h.

Referenced by main().


Generated on Wed Jul 16 01:25:44 2014 for Hugintrunk by  doxygen 1.3.9.1