|
ParsingThis page documents the objects and functions that in some way deal with parsing or otherwise manipulating text. Everything here follows the same conventions as the rest of the library. |
|
base64_kernel_1:
This implementation is done using a lookup table in the obvious way.
kernel_1ais a typedef for base64_kernel_1
There are also two typedefs of this object. The first is utf8_wifstream which is a typedef for wchar_t as the wide character to read into. The second is utf8_uifstream which uses unichar instead of wchar_t.
cmd_line_parser_kernel_1:
This implementation uses the map and sequence containers to keep track of the command line options and arguments. For further details see the above link.
kernel_1ais a typedef for cmd_line_parser_kernel_1 that uses map_kernel_1a and sequence_kernel_2a kernel_1a_cis a typedef for kernel_1a that checks its preconditions.
cmd_line_parser_check_1:
This implementation is done in the obvious way. See the source for details
check_1ais a typedef for cmd_line_parser_print_1 extended by cmd_line_parser_check_1 check_1a_cis a typedef for check_1a that checks its preconditions.
cmd_line_parser_print_1:
This implementation is done by enumerating the options of the parser and printing them.
print_1ais a typedef for cmd_line_parser_kernel_1 extended by cmd_line_parser_print_1 print_1a_cis a typedef for print_1a that checks its preconditions.
config_reader_kernel_1:
This implementation is done using the map object in the obvious way.
kernel_1ais a typedef for config_reader_kernel_1 that uses map_kernel_1b
config_reader_thread_safe_1:
This implementation is done in the obvious way. See the source for details
thread_safe_1ais a typedef for config_reader_kernel_1 extended by config_reader_thread_safe_1
cpp_pretty_printer_kernel_1:
This is implemented by using the cpp_tokenizer object. This is the pretty printer I use on all the source in this library. It applies a color scheme, turns include directives such as #include "file.h" into links to file.h.html and puts HTML anchor points on function and class declarations. It also looks for comments starting with /*!A and puts an anchor before the comment using the word following the A as the name of the anchor.
kernel_1ais a typedef for cpp_pretty_printer_kernel_1
cpp_pretty_printer_kernel_2:
This is implemented by using the cpp_tokenizer object. It applies a black and white color scheme suitable for printing on a black and white printer. It also places the document title prominently at the top of the pretty printed source file.
kernel_2ais a typedef for cpp_pretty_printer_kernel_2
cpp_tokenizer_kernel_1:
This is implemented by using the tokenizer object in the obvious way.
kernel_1ais a typedef for cpp_tokenizer_kernel_1 kernel_1a_cis a typedef for kernel_1a that checks its preconditions.
tokenizer_kernel_1:
This is implemented in the obvious way.
kernel_1ais a typedef for tokenizer_kernel_1 kernel_1a_cis a typedef for kernel_1a that checks its preconditions.
xml_parser_kernel_1:
This implementation is done using a stack (as opposed to recursive descent) to parse xml documents. It also uses a map to implement the attribute_list interface and internally uses the sequence object to keep track of all registered document and error handlers.
kernel_1ais a typedef for xml_parser_kernel_1 that uses map_kernel_1a, stack_kernel_1a, and sequence_kernel_2a kernel_1a_cis a typedef for kernel_1a that checks its preconditions.