bit7z 4.1.0
A C++ library for interfacing with the 7-zip shared libs.
Loading...
Searching...
No Matches
Bit7zLibrary Class Referencefinal

The Bit7zLibrary class allows accessing the basic functionalities provided by the 7z DLLs. More...

#include <bit7z/bit7zlibrary.hpp>

Public Member Functions

 Bit7zLibrary (const tstring &libraryPath=kDefaultLibrary)
 Constructs a Bit7zLibrary object by loading the specified 7zip shared library.
 ~Bit7zLibrary ()=default
 Destructs the Bit7zLibrary object, freeing the loaded shared library.
void setLargePageMode ()
 Set the 7-zip shared library to use large memory pages.
void useLargePages () const
 Set the 7-zip shared library to use large memory pages.

Detailed Description

The Bit7zLibrary class allows accessing the basic functionalities provided by the 7z DLLs.

Constructor & Destructor Documentation

◆ Bit7zLibrary()

Bit7zLibrary ( const tstring & libraryPath = kDefaultLibrary)
explicit

Constructs a Bit7zLibrary object by loading the specified 7zip shared library.

By default, it searches a 7z.dll in the same path of the application.

Parameters
libraryPaththe path to the shared library file to be loaded.

◆ ~Bit7zLibrary()

~Bit7zLibrary ( )
default

Destructs the Bit7zLibrary object, freeing the loaded shared library.

Member Function Documentation

◆ setLargePageMode()

void setLargePageMode ( )

Set the 7-zip shared library to use large memory pages.

Deprecated
Since v4.1. Please use the useLargePages() method.

◆ useLargePages()

void useLargePages ( ) const

Set the 7-zip shared library to use large memory pages.


The documentation for this class was generated from the following file: