libtld 1.2.0

tld_parser.cpp File Reference

#include "tld.h"
#include <QtCore/QMap>
#include <QtCore/QFile>
#include <QtCore/QTextStream>
#include <QtCore/QStringList>
#include <QtXml/QDomDocument>
#include <iostream>
#include <cstdlib>
Include dependency graph for tld_parser.cpp:

Go to the source code of this file.

Classes

class  snap::tld_info

Namespaces

namespace  snap

Typedefs

typedef QMap< QString, int > snap::country_map_t
typedef QMap< ushort, int > snap::tld_info_letters_t
typedef QMap< QString, tld_infosnap::tld_info_map_t

Functions

int main (int argc, char *argv[])
QFile snap::out_file ("tld_data.c")
void snap::output_countries (const country_map_t &countries)
void snap::output_footer ()
void snap::output_header ()
void snap::output_map (const tld_info_map_t &map)
void snap::output_offsets (const tld_info_map_t &map, const tld_info_letters_t &letters)
void snap::output_tlds (tld_info_map_t &map, const country_map_t &countries)
void snap::output_utf8 (const QString &str)
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)
void snap::setup_output ()
QString snap::tld_encode (const QString &tld, int &level)
void snap::verify_data (tld_info_map_t &map)

Variables

QTextStream snap::out

Function Documentation

 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.