LifeV
link_check Class Reference

#include <link_check.hpp>

+ Inheritance diagram for link_check:
+ Collaboration diagram for link_check:

Public Member Functions

 link_check ()
 
virtual const char * name () const
 
virtual const char * desc () const
 
virtual void inspect (const std::string &library_name, const path &full_path)
 
virtual void inspect (const std::string &library_name, const path &full_path, const std::string &contents)
 
virtual void close ()
 
virtual ~link_check ()
 
- Public Member Functions inherited from hypertext_inspector
 hypertext_inspector ()
 
- Public Member Functions inherited from inspector
virtual ~inspector ()
 
virtual void inspect (const string &library_name, const path &full_path)
 
virtual void inspect (const string &library_name, const path &full_path, const string &contents)
 
void register_signature (const string &signature)
 
const string_setsignatures () const
 
void error (const string &library_name, const path &full_path, const string &msg)
 

Private Types

typedef std::map< string, int > m_path_map
 

Private Member Functions

void do_url (const string &url, const string &library_name, const path &full_source_path)
 

Private Attributes

long m_broken_errors
 
long m_unlinked_errors
 
long m_invalid_errors
 
long m_bookmark_errors
 
m_path_map m_paths
 

Detailed Description

Definition at line 24 of file link_check.hpp.

Member Typedef Documentation

◆ m_path_map

typedef std::map< string, int > m_path_map
private

Definition at line 31 of file link_check.hpp.

Constructor & Destructor Documentation

◆ link_check()

Definition at line 31 of file link_check.cpp.

◆ ~link_check()

virtual ~link_check ( )
inlinevirtual

Definition at line 59 of file link_check.hpp.

Member Function Documentation

◆ do_url()

void do_url ( const string &  url,
const string &  library_name,
const path &  full_source_path 
)
private

Definition at line 77 of file link_check.cpp.

◆ name()

virtual const char* name ( ) const
inlinevirtual

Implements inspector.

Definition at line 39 of file link_check.hpp.

◆ desc()

virtual const char* desc ( ) const
inlinevirtual

Implements inspector.

Definition at line 43 of file link_check.hpp.

◆ inspect() [1/2]

virtual void inspect ( const std::string &  library_name,
const path &  full_path 
)
virtual

◆ inspect() [2/2]

virtual void inspect ( const std::string &  library_name,
const path &  full_path,
const std::string &  contents 
)
virtual

◆ close()

void close ( )
virtual

Reimplemented from inspector.

Definition at line 166 of file link_check.cpp.

Field Documentation

◆ m_broken_errors

long m_broken_errors
private

Definition at line 26 of file link_check.hpp.

◆ m_unlinked_errors

long m_unlinked_errors
private

Definition at line 27 of file link_check.hpp.

◆ m_invalid_errors

long m_invalid_errors
private

Definition at line 28 of file link_check.hpp.

◆ m_bookmark_errors

long m_bookmark_errors
private

Definition at line 29 of file link_check.hpp.

◆ m_paths

m_path_map m_paths
private

Definition at line 32 of file link_check.hpp.


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