Public Member Functions | |
preprocessor_streambuf (preproc_map *, std::string *) | |
std::string | lineno_string (std::string const &) |
void | error (const std::string &, const std::string &) |
Private Member Functions | |
virtual int | underflow () |
preprocessor_streambuf (preprocessor_streambuf const &) | |
Private Attributes | |
std::string | out_buffer_ |
std::ostringstream | buffer_ |
preprocessor * | current_ |
preproc_map * | defines_ |
preproc_map | default_defines_ |
std::string | textdomain_ |
std::string | location_ |
std::string * | error_log |
int | linenum_ |
int | depth_ |
int | buffer_size_ |
bool | quoted_ |
Friends | |
class | preprocessor |
class | preprocessor_file |
class | preprocessor_data |
struct | preprocessor_deleter |
Definition at line 64 of file preprocessor.cpp.
preprocessor_streambuf::preprocessor_streambuf | ( | preprocessor_streambuf const & | t | ) | [private] |
Definition at line 107 of file preprocessor.cpp.
preprocessor_streambuf::preprocessor_streambuf | ( | preproc_map * | def, | |
std::string * | err_log | |||
) |
Definition at line 90 of file preprocessor.cpp.
int preprocessor_streambuf::underflow | ( | ) | [private, virtual] |
Definition at line 126 of file preprocessor.cpp.
References boost::foreach_detail_::begin(), buffer_, buffer_size_, current_, preprocessor::get_chunk(), and out_buffer_.
std::string preprocessor_streambuf::lineno_string | ( | std::string const & | lineno | ) |
Definition at line 169 of file preprocessor.cpp.
References boost::foreach_detail_::end(), file, pos, and utils::quoted_split().
Referenced by error().
void preprocessor_streambuf::error | ( | const std::string & | error_type, | |
const std::string & | pos | |||
) |
Definition at line 186 of file preprocessor.cpp.
References ERR_CF, error_log, and lineno_string().
Referenced by preprocessor_data::get_chunk().
friend class preprocessor [friend] |
Definition at line 79 of file preprocessor.cpp.
friend class preprocessor_file [friend] |
Definition at line 80 of file preprocessor.cpp.
friend class preprocessor_data [friend] |
Definition at line 81 of file preprocessor.cpp.
friend struct preprocessor_deleter [friend] |
Definition at line 82 of file preprocessor.cpp.
std::string preprocessor_streambuf::out_buffer_ [private] |
std::ostringstream preprocessor_streambuf::buffer_ [private] |
Definition at line 68 of file preprocessor.cpp.
Referenced by preprocessor_data::preprocessor_data(), preprocessor_data::put(), underflow(), and preprocessor::~preprocessor().
preprocessor* preprocessor_streambuf::current_ [private] |
Definition at line 69 of file preprocessor.cpp.
Referenced by preprocessor::preprocessor(), underflow(), and preprocessor::~preprocessor().
preproc_map* preprocessor_streambuf::defines_ [private] |
Definition at line 71 of file preprocessor.cpp.
std::string preprocessor_streambuf::textdomain_ [private] |
Definition at line 72 of file preprocessor.cpp.
Referenced by preprocessor_data::get_chunk(), preprocessor_data::preprocessor_data(), preprocessor_file::preprocessor_file(), preprocessor_data::push_token(), and preprocessor::~preprocessor().
std::string preprocessor_streambuf::location_ [private] |
Definition at line 73 of file preprocessor.cpp.
Referenced by preprocessor_data::get_chunk(), preprocessor_data::preprocessor_data(), preprocessor_data::push_token(), preprocessor_data::put(), and preprocessor::~preprocessor().
std::string* preprocessor_streambuf::error_log [private] |
int preprocessor_streambuf::linenum_ [private] |
Definition at line 75 of file preprocessor.cpp.
Referenced by preprocessor_data::preprocessor_data(), preprocessor_data::put(), and preprocessor::~preprocessor().
int preprocessor_streambuf::depth_ [private] |
Definition at line 76 of file preprocessor.cpp.
Referenced by preprocessor_data::get_chunk(), preprocessor::preprocessor(), and preprocessor::~preprocessor().
int preprocessor_streambuf::buffer_size_ [private] |
Definition at line 77 of file preprocessor.cpp.
Referenced by preprocessor_data::preprocessor_data(), preprocessor_data::put(), underflow(), and preprocessor::~preprocessor().
bool preprocessor_streambuf::quoted_ [private] |
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |