libtld 1.2.0
Classes | Typedefs | Functions | Variables

snap Namespace Reference

Classes

class  tld_info

Typedefs

typedef QMap< QString, int > country_map_t
typedef QMap< ushort, int > tld_info_letters_t
typedef QMap< QString, tld_infotld_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 Documentation

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.


Function Documentation

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 ( )

Definition at line 706 of file tld_parser.cpp.

References out.

Referenced by main().

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 
)
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 
)
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().


Variable Documentation

QTextStream snap::out
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

This document is part of the libtld Project.

Copyright by Made to Order Software Corp.