Public Member Functions | |
preprocessor_file (preprocessor_streambuf &, std::vector< std::string > *, std::string const &) | |
virtual bool | get_chunk () |
preprocessor_file::get_chunk() | |
Private Attributes | |
std::vector< std::string > | files_ |
std::vector< std::string > ::const_iterator | pos_ |
std::vector< std::string > ::const_iterator | end_ |
This represents a WML element that resolves to a directory or file inclusion, such as '{themes/}'
Definition at line 257 of file preprocessor.cpp.
preprocessor_file::preprocessor_file | ( | preprocessor_streambuf & | t, | |
std::vector< std::string > * | callstack, | |||
std::string const & | name | |||
) |
Definition at line 305 of file preprocessor.cpp.
References preprocessor::called_macros_, directory_name(), DO_REORDER, end_, ENTIRE_FILE_PATH, ERR_CF, files_, get_files_in_dir(), is_directory(), istream_file(), pos_, SKIP_MEDIA_DIR, and preprocessor_streambuf::textdomain_.
Referenced by get_chunk().
bool preprocessor_file::get_chunk | ( | ) | [virtual] |
preprocessor_file::get_chunk()
Inserts and processes the next file in the list of included files.
Implements preprocessor.
Definition at line 333 of file preprocessor.cpp.
References preprocessor::called_macros_, end_, name, pos_, preprocessor_file(), and preprocessor::target_.
std::vector< std::string > preprocessor_file::files_ [private] |
std::vector< std::string >::const_iterator preprocessor_file::pos_ [private] |
Definition at line 260 of file preprocessor.cpp.
Referenced by get_chunk(), and preprocessor_file().
std::vector< std::string >::const_iterator preprocessor_file::end_ [private] |
Definition at line 260 of file preprocessor.cpp.
Referenced by get_chunk(), and preprocessor_file().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |