All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
zip.cc File Reference
#include <stdlib.h>
#include <assert.h>
#include <algorithm>
#include <map>
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include "boost/iostreams/slice.hpp"
#include "boost/iostreams/copy.hpp"
#include "boost/iostreams/filter/zlib.hpp"
#include "boost/iostreams/filtering_stream.hpp"
Include dependency graph for zip.cc:

Go to the source code of this file.

Classes

struct  ZipInfo
 
class  ZipFile
 

Functions

int main (int argc, char **argv)
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 161 of file zip.cc.

162 {
163  if (argc<2) {
164  cerr << "Must give at least filename" << endl;
165  ::exit(1);
166  }
167  ZipFile file(argv[1]);
168  int i = 1;
169  while (++i<argc) {
170  cout << "================== " << argv[i] << "==================" << endl;
171  if (! file.dump( string(argv[i]), cout ) ) {
172  cout << " NOT FOUND! " << endl;
173  }
174  }
175 }
GAUDI_API long argc()
Number of arguments passed to the commandline (==numCmdLineArgs()); just to match argv call...
Definition: System.cpp:526
list argv
Definition: gaudirun.py:192
Definition: zip.cc:48
list file
Definition: ana.py:160
list i
Definition: ana.py:128