ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ExtractZIP.cpp File Reference
#include "cloudViewer/utility/ExtractZIP.h"
#include <FileSystem.h>
#include <Logging.h>
#include <errno.h>
#include <stdio.h>
#include <unzip.h>
#include <iostream>
#include <string>
Include dependency graph for ExtractZIP.cpp:

Go to the source code of this file.

Namespaces

 cloudViewer
 Generic file read and write utility for python interface.
 
 cloudViewer::utility
 

Macros

#define FOPEN_FUNC(filename, mode)   fopen64(filename, mode)
 
#define WRITEBUFFERSIZE   (8192)
 

Functions

static int cloudViewer::utility::ExtractCurrentFile (unzFile uf, const std::string &extract_dir, const std::string &password)
 
void cloudViewer::utility::ExtractFromZIP (const std::string &file_path, const std::string &extract_dir)
 Function to extract files compressed in .zip format. More...
 

Macro Definition Documentation

◆ FOPEN_FUNC

#define FOPEN_FUNC (   filename,
  mode 
)    fopen64(filename, mode)

Definition at line 27 of file ExtractZIP.cpp.

◆ WRITEBUFFERSIZE

#define WRITEBUFFERSIZE   (8192)

Definition at line 31 of file ExtractZIP.cpp.