29 string JSON_EXTENSION =
".json";
30 string BASE_INIT_STRING =
"tmp";
31 string SOURCE_STRING =
"source";
32 string HEADER_STRING =
"header";
33 string INFO_STRING =
"info";
36 vector<string> tokens;
37 int position_start_relative_path;
44 vector<string> split_path(
string string_path);
50 int find_position_start_relative_path();
57 string build_string_path(vector<string> path);
64 string build_base_path(
string base);
70 vector<string> get_tokens_from_relative_path();
77 string remove_extension(
string token);
95 Path(
string string_path);
Path manipulation class for tool-specific directory structure.
bool contains_given_pattern(string pattern)
Checks for pattern in path.
string build_source_path()
Builds source file path.
string build_info_path()
Builds metadata file path.
string build_relative_path()
Builds relative path portion.
string build_header_path()
Builds header file path.
bool operator<(const Path &path) const
Path comparison operator.
bool is_empty()
Checks if path is empty.
vector< string > get_common_folders(Path path)
Finds common folders with another path.
Path()
Default constructor.
string build_function_name()
Extracts function name from path.