Arkanjo 0.1
A tool for find code duplicated functions in codebases
|
Path manipulation class for tool-specific directory structure. More...
#include <path.hpp>
Public Member Functions | |
bool | is_empty () |
Checks if path is empty. | |
Path () | |
Default constructor. | |
Path (string string_path) | |
Constructs from path string. | |
string | build_source_path () |
Builds source file path. | |
string | build_header_path () |
Builds header file path. | |
string | build_info_path () |
Builds metadata file path. | |
string | build_relative_path () |
Builds relative path portion. | |
string | build_function_name () |
Extracts function name from path. | |
vector< string > | get_common_folders (Path path) |
Finds common folders with another path. | |
bool | contains_given_pattern (string pattern) |
Checks for pattern in path. | |
bool | operator< (const Path &path) const |
Path comparison operator. | |
Path manipulation class for tool-specific directory structure.
Manages paths to source files, headers, and metadata in the temporary codebase. Provides methods for path construction and analysis without file I/O.
Path::Path | ( | string | string_path | ) |
string Path::build_function_name | ( | ) |
string Path::build_header_path | ( | ) |
string Path::build_info_path | ( | ) |
string Path::build_relative_path | ( | ) |
string Path::build_source_path | ( | ) |
bool Path::contains_given_pattern | ( | string | pattern | ) |
vector< string > Path::get_common_folders | ( | Path | path | ) |
bool Path::is_empty | ( | ) |
bool Path::operator< | ( | const Path & | path | ) | const |