OR-Tools  9.6
gzipfile.cc
Go to the documentation of this file.
1 // Copyright 2010-2022 Google LLC
2 // Licensed under the Apache License, Version 2.0 (the "License");
3 // you may not use this file except in compliance with the License.
4 // You may obtain a copy of the License at
5 //
6 // http://www.apache.org/licenses/LICENSE-2.0
7 //
8 // Unless required by applicable law or agreed to in writing, software
9 // distributed under the License is distributed on an "AS IS" BASIS,
10 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 // See the License for the specific language governing permissions and
12 // limitations under the License.
13 
14 // Files which read from and write to a gzip'ed files.
15 // This could be optimized, most notably by eliminating copies in many
16 // common cases.
17 
18 #include "ortools/base/gzipfile.h"
19 
20 #include "absl/strings/string_view.h"
21 #include "ortools/base/file.h"
22 #include "ortools/base/logging.h"
23 
24 // public entry points
25 File* GZipFileReader(const absl::string_view name, File* file,
26  Ownership ownership, AppendedStreams appended_streams) {
27  // unimplemented
28  LOG(INFO) << "not implemented";
29  return nullptr;
30 }
Definition: base/file.h:33
const std::string name
File * GZipFileReader(const absl::string_view name, File *file, Ownership ownership, AppendedStreams appended_streams)
Definition: gzipfile.cc:25
AppendedStreams
Definition: gzipfile.h:26
Ownership
Definition: gzipfile.h:34