Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
TempPath Class Reference

Detailed Description

Definition at line 24 of file temp_path.h.

#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 (const TempPath &rhs)=delete
TempPathoperator= (TempPath &&rhs)
TempPathoperator= (const TempPath &rhs)=delete
 ~TempPath ()
std::string path () const

Static Public Member Functions

static TempPathCreate (Location location)

Static Public Attributes

static constexpr int kDefaultMode = 0777

Member Enumeration Documentation

◆ Location

Enumerator
Local 

Definition at line 43 of file temp_path.h.

Constructor & Destructor Documentation

◆ TempPath() [1/4]

TempPath::TempPath ( absl::string_view prefix)
explicit

Definition at line 37 of file temp_path.cc.

◆ TempPath() [2/4]

TempPath::TempPath ( absl::string_view prefix,
absl::Status * status )

Definition at line 41 of file temp_path.cc.

◆ TempPath() [3/4]

TempPath::TempPath ( TempPath && rhs)

Definition at line 46 of file temp_path.cc.

◆ TempPath() [4/4]

TempPath::TempPath ( const TempPath & rhs)
delete

◆ ~TempPath()

TempPath::~TempPath ( )

Definition at line 54 of file temp_path.cc.

Member Function Documentation

◆ Create()

TempPath * TempPath::Create ( Location location)
static

Definition at line 56 of file temp_path.cc.

◆ operator=() [1/2]

TempPath & TempPath::operator= ( const TempPath & rhs)
delete

◆ operator=() [2/2]

TempPath & TempPath::operator= ( TempPath && rhs)

Definition at line 48 of file temp_path.cc.

◆ path()

std::string TempPath::path ( ) const
inline

Definition at line 41 of file temp_path.h.

Member Data Documentation

◆ kDefaultMode

int TempPath::kDefaultMode = 0777
staticconstexpr

Definition at line 27 of file temp_path.h.


The documentation for this class was generated from the following files: