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:

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

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 makefile::char_type
typedef unsigned char makefile::uchar_type
typedef std::basic_filebuf<
char_type
makefile::filebuf
 streams, use the extended fstream versions from boost::filesystem.
typedef boost::filesystem::basic_ifstream<
char_type
makefile::ifstream
typedef std::basic_istream<
char_type
makefile::istream
typedef boost::filesystem::basic_fstream<
char_type
makefile::fstream
typedef boost::filesystem::basic_ofstream<
char_type
makefile::ofstream
typedef std::basic_ostream<
char_type
makefile::ostream
typedef std::basic_string<
char_type
makefile::string
 string
typedef boost::filesystem::path makefile::path
 paths from boost::filesystem
typedef boost::regex makefile::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().


Generated on 31 Oct 2014 for Hugintrunk by  doxygen 1.4.7