libtld 2.0.14
A library to determine the Top-Level Domain name of any Internet URI.
Public Member Functions | Private Member Functions | Private Attributes | List of all members
compiler Class Reference

Public Member Functions

std::ostream & error ()
 
int exit_code () const
 
void run ()
 
void set_c_file (std::string const &c)
 
void set_include_offsets (bool include_offsets)
 
void set_input_path (std::string const &path)
 
void set_output (std::string const &output)
 
void set_output_json (bool verify)
 
void set_verbose (bool verbose)
 
void set_verify (bool verify)
 

Private Member Functions

void verify_output (tld_compiler &c)
 

Private Attributes

std::string f_c_file = std::string()
 
int f_errcnt = 0
 
bool f_include_offsets = false
 
std::string f_input_path = std::string()
 
std::string f_output = std::string()
 
bool f_output_json = false
 
bool f_verbose = false
 
bool f_verify = false
 

Detailed Description

Definition at line 42 of file tldc.cpp.

Member Function Documentation

◆ error()

std::ostream & compiler::error ( )

Definition at line 71 of file tldc.cpp.

◆ exit_code()

int compiler::exit_code ( ) const

Definition at line 78 of file tldc.cpp.

◆ run()

void compiler::run ( )

Definition at line 126 of file tldc.cpp.

◆ set_c_file()

void compiler::set_c_file ( std::string const &  c)

Definition at line 96 of file tldc.cpp.

◆ set_include_offsets()

void compiler::set_include_offsets ( bool  include_offsets)

Definition at line 114 of file tldc.cpp.

◆ set_input_path()

void compiler::set_input_path ( std::string const &  path)

Definition at line 84 of file tldc.cpp.

◆ set_output()

void compiler::set_output ( std::string const &  output)

Definition at line 90 of file tldc.cpp.

◆ set_output_json()

void compiler::set_output_json ( bool  verify)

Definition at line 108 of file tldc.cpp.

◆ set_verbose()

void compiler::set_verbose ( bool  verbose)

Definition at line 120 of file tldc.cpp.

◆ set_verify()

void compiler::set_verify ( bool  verify)

Definition at line 102 of file tldc.cpp.

◆ verify_output()

void compiler::verify_output ( tld_compiler c)
private

Definition at line 218 of file tldc.cpp.

Member Data Documentation

◆ f_c_file

std::string compiler::f_c_file = std::string()
private

Definition at line 63 of file tldc.cpp.

◆ f_errcnt

int compiler::f_errcnt = 0
private

Definition at line 60 of file tldc.cpp.

◆ f_include_offsets

bool compiler::f_include_offsets = false
private

Definition at line 66 of file tldc.cpp.

◆ f_input_path

std::string compiler::f_input_path = std::string()
private

Definition at line 61 of file tldc.cpp.

◆ f_output

std::string compiler::f_output = std::string()
private

Definition at line 62 of file tldc.cpp.

◆ f_output_json

bool compiler::f_output_json = false
private

Definition at line 65 of file tldc.cpp.

◆ f_verbose

bool compiler::f_verbose = false
private

Definition at line 67 of file tldc.cpp.

◆ f_verify

bool compiler::f_verify = false
private

Definition at line 64 of file tldc.cpp.


The documentation for this class was generated from the following file:

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.