LifeV
|
#include <boost/shared_ptr.hpp>
#include <boost/filesystem/exception.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/fstream.hpp>
#include <iostream>
#include <cassert>
#include <vector>
#include <list>
#include <utility>
#include <algorithm>
#include <cstring>
#include "inspector.hpp"
#include "copyright_check.hpp"
#include "crlf_check.hpp"
#include "license_check.hpp"
#include "long_name_check.hpp"
#include "tab_check.hpp"
#include "minmax_check.hpp"
#include "cvs_iterator.hpp"
#include <boost/test/included/prg_exec_monitor.hpp>
Go to the source code of this file.
Data Structures | |
struct | inspector_element |
struct | error_msg |
Namespaces | |
anonymous_namespace{inspect.cpp} | |
boost | |
boost::inspect | |
Typedefs | |
typedef std::shared_ptr< boost::inspect::inspector > | inspector_ptr |
typedef std::list< inspector_element > | inspector_list |
typedef std::vector< error_msg > | error_msg_vector |
typedef bool(* | pred_type) (const path &) |
Functions | |
std::string | css_style () |
bool | visit_predicate (const path &pth) |
string | library_from_content (const string &content) |
bool | find_signature (const path &file_path, const boost::inspect::string_set &signatures) |
void | load_content (const path &file_path, string &target) |
void | check (const string &lib, const path &pth, const string &content, const inspector_list &insp_list) |
template<class DirectoryIterator > | |
void | visit_all (const string &lib, const path &dir_path, const inspector_list &insps) |
void | display_summary_helper (const string ¤t_library, int err_count) |
void | display_summary () |
void | display_details () |
const char * | options () |
string | impute_library (const path &full_dir_path) |
int | cpp_main (int argc, char *argv[]) |
Variables | |
long | file_count |
long | directory_count |
long | error_count |
boost::inspect::string_set | content_signatures |
error_msg_vector | msgs |
std::string css_style | ( | ) |
Definition at line 43 of file inspect.cpp.
int cpp_main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 588 of file inspect.cpp.