|
libtld 1.2.0
|
Classes | |
| class | tld_info |
Typedefs | |
| typedef QMap< QString, int > | country_map_t |
| typedef QMap< ushort, int > | tld_info_letters_t |
| typedef QMap< QString, tld_info > | tld_info_map_t |
Functions | |
| QFile | out_file ("tld_data.c") |
| void | output_countries (const country_map_t &countries) |
| void | output_footer () |
| void | output_header () |
| void | output_map (const tld_info_map_t &map) |
| void | output_offsets (const tld_info_map_t &map, const tld_info_letters_t &letters) |
| void | output_tlds (tld_info_map_t &map, const country_map_t &countries) |
| void | output_utf8 (const QString &str) |
| void | read_tlds (const QString &path, tld_info_map_t &map, country_map_t &countries) |
| void | save_offset (tld_info_map_t &map, const QString &tld, int offset) |
| void | setup_output () |
| QString | tld_encode (const QString &tld, int &level) |
| void | verify_data (tld_info_map_t &map) |
Variables | |
| QTextStream | out |
| typedef QMap<QString, int> snap::country_map_t |
Definition at line 50 of file tld_parser.cpp.
| typedef QMap<ushort, int> snap::tld_info_letters_t |
Definition at line 52 of file tld_parser.cpp.
| typedef QMap<QString, tld_info> snap::tld_info_map_t |
Definition at line 48 of file tld_parser.cpp.
| QFile snap::out_file | ( | "tld_data.c" | ) |
Referenced by setup_output().
| void snap::output_countries | ( | const country_map_t & | countries | ) |
Definition at line 537 of file tld_parser.cpp.
References out, and output_utf8().
Referenced by main().
| void snap::output_footer | ( | ) |
Definition at line 732 of file tld_parser.cpp.
Referenced by main().
| void snap::output_header | ( | ) |
| void snap::output_map | ( | const tld_info_map_t & | map | ) |
Definition at line 738 of file tld_parser.cpp.
| void snap::output_offsets | ( | const tld_info_map_t & | map, |
| const tld_info_letters_t & | letters | ||
| ) |
Definition at line 689 of file tld_parser.cpp.
References out.
| void snap::output_tlds | ( | tld_info_map_t & | map, |
| const country_map_t & | countries | ||
| ) |
Definition at line 577 of file tld_parser.cpp.
References snap::tld_info::f_category_name, snap::tld_info::f_country, snap::tld_info::f_end_offset, snap::tld_info::f_exception_apply_to, snap::tld_info::f_inverted, snap::tld_info::f_level, snap::tld_info::f_offset, snap::tld_info::f_reason_name, snap::tld_info::f_start_offset, snap::tld_info::f_tld, out, output_utf8(), save_offset(), and tld().
Referenced by main().
| void snap::output_utf8 | ( | const QString & | str | ) |
Definition at line 514 of file tld_parser.cpp.
References out.
Referenced by output_countries(), and output_tlds().
| void snap::read_tlds | ( | const QString & | path, |
| tld_info_map_t & | map, | ||
| country_map_t & | countries | ||
| ) |
Definition at line 123 of file tld_parser.cpp.
References snap::tld_info::f_category_name, snap::tld_info::f_country, snap::tld_info::f_end_offset, snap::tld_info::f_exception_apply_to, snap::tld_info::f_inverted, snap::tld_info::f_level, snap::tld_info::f_offset, snap::tld_info::f_reason_name, snap::tld_info::f_start_offset, snap::tld_info::f_tld, tld(), and tld_encode().
Referenced by main().
| void snap::save_offset | ( | tld_info_map_t & | map, |
| const QString & | tld, | ||
| int | offset | ||
| ) |
Definition at line 559 of file tld_parser.cpp.
Referenced by output_tlds().
| void snap::setup_output | ( | ) |
Definition at line 503 of file tld_parser.cpp.
References out, and out_file().
Referenced by main().
| QString snap::tld_encode | ( | const QString & | tld, |
| int & | level | ||
| ) |
Definition at line 55 of file tld_parser.cpp.
Referenced by read_tlds().
| void snap::verify_data | ( | tld_info_map_t & | map | ) |
Definition at line 337 of file tld_parser.cpp.
Referenced by main().
| QTextStream snap::out |
Definition at line 502 of file tld_parser.cpp.
Referenced by output_countries(), output_header(), output_offsets(), output_tlds(), output_utf8(), and setup_output().
This document is part of the libtld Project.
Copyright by Made to Order Software Corp.