---
name: "fileentry.h"
section: "3"
platform: "linux"
package: "libzipios++-dev"
version: "0.1.5.9+cvs.2007.04.28-6"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/fileentry.h"
---

# fileentry.h(3)

Header file that defines FileEntry.

## NAME

fileentry.h - Header file that defines FileEntry.

## SYNOPSIS

`#include 'zipios++/zipios-config.h'`\
 `#include <string>`\
 `#include <vector>`\
 `#include 'zipios++/meta-iostreams.h'`\
 `#include 'zipios++/simplesmartptr.h'`\
 `#include 'zipios++/zipios_defs.h'`\

### Classes

class **zipios::FileEntry**\
 *A* **FileEntry** *represents an entry in a* **FileCollection***.*  class **zipios::FileEntry::MatchName**\
 *Function object to be used with the STL find\_if algorithm to find a* **FileEntry** *in a container, which name (as obtained with* **FileEntry::getName()***) is identical to the name specified in the* **MatchName** *constructor.*  class **zipios::FileEntry::MatchFileName**\
 *Function object to be used with the STL find\_if algorithm to find a* **FileEntry** *in a container, which name (as obtained with* **FileEntry::getFileName()***) is identical to the name specified in the* **MatchName** *constructor.*

### Typedefs

typedef SimpleSmartPointer\< FileEntry \> **zipios::EntryPointer**\
 *EntryPointer is a* **SimpleSmartPointer** *for* **FileEntry***'s.*  typedef SimpleSmartPointer\< const FileEntry \> **zipios::ConstEntryPointer**\
 *ConstEntryPointer is a* **SimpleSmartPointer** *for const* **FileEntry***'s.*  typedef vector\< EntryPointer \> **zipios::Entries**\
 *Entries is a vector of EntryPointer's.*  typedef vector\< EntryPointer \> **zipios::ConstEntries**\
 *ConstEntries is a vector of ConstEntryPointer's.*

### Enumerations

enum **zipios::StorageMethod** { **STORED** = 0, **SHRUNK**, **REDUCED1**, **REDUCED2**, **REDUCED3**, **REDUCED4**, **IMPLODED**, **RESERVED**, **DEFLATED** } *The types used with FileEntry::setMethod and FileEntry::getMethod.* "\

### Functions

ostream & **zipios::operator\<\<** (ostream &os, const FileEntry &entry)\
 ostream & **zipios::operator\<\<** (ostream &os, const ConstEntryPointer &entry)\

## Detailed Description

Header file that defines FileEntry.

Definition in file **fileentry.h**.

## Typedef Documentation

### typedef vector\< EntryPointer \> zipios::ConstEntries

ConstEntries is a vector of ConstEntryPointer's.

Definition at line 43 of file fileentry.h.

### typedef SimpleSmartPointer\< const FileEntry \> zipios::ConstEntryPointer

ConstEntryPointer is a **SimpleSmartPointer** for const **FileEntry**'s.

Definition at line 37 of file fileentry.h.

### typedef vector\< EntryPointer \> zipios::Entries

Entries is a vector of EntryPointer's.

Definition at line 40 of file fileentry.h.

### typedef SimpleSmartPointer\< FileEntry \> zipios::EntryPointer

EntryPointer is a **SimpleSmartPointer** for **FileEntry**'s.

Definition at line 33 of file fileentry.h.

## Enumeration Type Documentation

### enum zipios::StorageMethod

The types used with **FileEntry::setMethod** and **FileEntry::getMethod**. The current entries are the types supported by the zip format. The numbering also matches the numbering used in the zip file format, ie STORED is indicated by a 0 in the method field in a zip file and so on.

Definition at line 25 of file fileentry.h.

## Author

Generated automatically by Doxygen for Zipios++ from the source code.
