feisty meow concerns codebase  2.140
bookmark_tree.cpp File Reference
Include dependency graph for bookmark_tree.cpp:

Go to the source code of this file.

Macros

#define DEBUG_MARKS
 
#define BASE_LOG(s)   program_wide_logger::get().log(s)
 
#define SHOW_LINE   a_sprintf("line %d: ", _line_number)
 
#define LOG(s)   CLASS_EMERGENCY_LOG(program_wide_logger::get(), SHOW_LINE + s)
 
#define DEADLY_LINE   (astring(func) + a_sprintf(", line %d: ", _line_number))
 

Functions

bool case_insense_compare (const astring &a, const astring &b)
 

Variables

const int ESTIMATED_ELEMENTS = 100
 
const int MAX_LINE_SIZE = 256 * KILOBYTE
 
const astringHTTP_HEAD = "http://"
 
const astringFTP_HEAD = "ftp://"
 
const astringWWW_SITE = "www."
 
const astringFTP_SITE = "ftp."
 

Macro Definition Documentation

◆ BASE_LOG

#define BASE_LOG (   s)    program_wide_logger::get().log(s)

Definition at line 47 of file bookmark_tree.cpp.

◆ DEADLY_LINE

#define DEADLY_LINE   (astring(func) + a_sprintf(", line %d: ", _line_number))

Definition at line 51 of file bookmark_tree.cpp.

◆ DEBUG_MARKS

#define DEBUG_MARKS

Definition at line 41 of file bookmark_tree.cpp.

◆ LOG

#define LOG (   s)    CLASS_EMERGENCY_LOG(program_wide_logger::get(), SHOW_LINE + s)

Definition at line 50 of file bookmark_tree.cpp.

◆ SHOW_LINE

#define SHOW_LINE   a_sprintf("line %d: ", _line_number)

Definition at line 48 of file bookmark_tree.cpp.

Function Documentation

◆ case_insense_compare()

bool case_insense_compare ( const astring a,
const astring b 
)

Definition at line 61 of file bookmark_tree.cpp.

References basis::astring::iequals().

Referenced by bookmark_tree::process_category().

Variable Documentation

◆ ESTIMATED_ELEMENTS

const int ESTIMATED_ELEMENTS = 100

◆ FTP_HEAD

const astring& FTP_HEAD = "ftp://"

Definition at line 153 of file bookmark_tree.cpp.

Referenced by bookmark_tree::find_prune_point().

◆ FTP_SITE

const astring& FTP_SITE = "ftp."

Definition at line 155 of file bookmark_tree.cpp.

Referenced by bookmark_tree::find_prune_point().

◆ HTTP_HEAD

const astring& HTTP_HEAD = "http://"

Definition at line 152 of file bookmark_tree.cpp.

Referenced by bookmark_tree::find_prune_point().

◆ MAX_LINE_SIZE

const int MAX_LINE_SIZE = 256 * KILOBYTE

Definition at line 56 of file bookmark_tree.cpp.

Referenced by bookmark_tree::read_csv_file().

◆ WWW_SITE

const astring& WWW_SITE = "www."

Definition at line 154 of file bookmark_tree.cpp.

Referenced by bookmark_tree::find_prune_point().