Skip to content
Snippets Groups Projects
Select Git revision
  • c46c59e11354fa0a5697ecb5822a3f40008da476
  • master default protected
  • relaying
  • overlaps_tags_and_distributed_export
  • alphashapes
  • patches-4.14
  • steplayer
  • bl
  • pluginMeshQuality
  • fixBugsAmaury
  • hierarchical-basis
  • new_export_boris
  • oras_vs_osm
  • reassign_partitions
  • distributed_fwi
  • rename-classes
  • fix/fortran-api-example-t4
  • robust_partitions
  • reducing_files
  • fix_overlaps
  • 3115-issue-fix
  • gmsh_4_14_0
  • gmsh_4_13_1
  • gmsh_4_13_0
  • gmsh_4_12_2
  • gmsh_4_12_1
  • gmsh_4_12_0
  • gmsh_4_11_1
  • gmsh_4_11_0
  • gmsh_4_10_5
  • gmsh_4_10_4
  • gmsh_4_10_3
  • gmsh_4_10_2
  • gmsh_4_10_1
  • gmsh_4_10_0
  • gmsh_4_9_5
  • gmsh_4_9_4
  • gmsh_4_9_3
  • gmsh_4_9_2
  • gmsh_4_9_1
  • gmsh_4_9_0
41 results

zipper.h

  • zipper.h 617 B
    #ifndef _ZIPPER_H_
    #define _ZIPPER_H_
    
    #include <ioapi.h>
    #include <zip.h>
    #include <string>
    #include <vector>
    #include <iostream>
    #include <time.h>
    
    namespace ziputils
    {
      class zipper
      {
      public:
        zipper();
        ~zipper(void);
    
        bool open(const char* filename, bool append = false);
        void close();
        bool isOpen();
    
        bool addEntry(const char* filename);
        void closeEntry();
        bool isOpenEntry();
    
        zipper& operator<<(std::istream& is);
    
      private:
        void getTime(tm_zip& tmZip);
    
      private:
        zipFile zipFile_;
        bool entryOpen_;
      };
    
    };
    
    #endif