ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
Extract.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include <string>
11 
12 namespace cloudViewer {
13 namespace utility {
14 
18 bool IsSupportedCompressedFilePath(const std::string& file_path);
19 
24 void Extract(const std::string& file_path, const std::string& extract_dir);
25 
26 } // namespace utility
27 } // namespace cloudViewer
bool IsSupportedCompressedFilePath(const std::string &file_path)
Returns true if the file is a supported compressed file path. It does not check if the file exists....
Definition: Extract.cpp:27
void Extract(const std::string &file_path, const std::string &extract_dir)
Function to extract compressed files.
Definition: Extract.cpp:33
Generic file read and write utility for python interface.