ar-cpp
Classes | Functions
ar Namespace Reference

The namespace of the library. More...

Classes

class  Error
 Base class for exceptions thrown by the library. More...
 
class  File
 Base class and factory for files. More...
 
class  Files
 A vector-like container storing files. More...
 
class  InvalidArchiveError
 Exception thrown when the archive is invalid. More...
 
class  IOError
 Exception thrown when there is an I/O error. More...
 

Functions

Files extract (std::unique_ptr< File > archive)
 Extracts the given archive and returns the files it contains. More...
 

Detailed Description

The namespace of the library.

Function Documentation

◆ extract()

Files ar::extract ( std::unique_ptr< File archive)

Extracts the given archive and returns the files it contains.

Exceptions
InvalidArchiveErrorwhen the archive is invalid.