Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <temp_path.h>
Public Types | |
enum | Location { Local } |
Public Member Functions | |
TempPath (absl::string_view prefix) | |
TempPath (absl::string_view prefix, absl::Status *status) | |
TempPath (TempPath &&rhs) | |
TempPath is moveable, but not copyable. | |
TempPath (const TempPath &rhs)=delete | |
TempPath & | operator= (TempPath &&rhs) |
TempPath & | operator= (const TempPath &rhs)=delete |
~TempPath () | |
std::string | path () const |
Returns the path which was created by this object. | |
Static Public Member Functions | |
static TempPath * | Create (Location location) |
Static Public Attributes | |
static constexpr int | kDefaultMode = 0777 |
default mode to create directories (a+rwx): | |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition at line 23 of file temp_path.h.
enum TempPath::Location |
Enumerator | |
---|---|
Local |
Definition at line 42 of file temp_path.h.
|
explicit |
Definition at line 37 of file temp_path.cc.
TempPath::TempPath | ( | absl::string_view | prefix, |
absl::Status * | status ) |
Definition at line 41 of file temp_path.cc.
TempPath::TempPath | ( | TempPath && | rhs | ) |
TempPath is moveable, but not copyable.
Definition at line 46 of file temp_path.cc.
|
delete |
TempPath::~TempPath | ( | ) |
Definition at line 54 of file temp_path.cc.
Definition at line 56 of file temp_path.cc.
Definition at line 48 of file temp_path.cc.
|
inline |
Returns the path which was created by this object.
Definition at line 40 of file temp_path.h.
|
staticconstexpr |
default mode to create directories (a+rwx):
Definition at line 26 of file temp_path.h.