Project Alice
Loading...
Searching...
No Matches
simple_fs::file Class Reference

#include <simple_fs_types_nix.hpp>

Public Member Functions

 file (file const &other)=delete
 
 file (file &&other) noexcept
 
void operator= (file const &other)=delete
 
void operator= (file &&other) noexcept
 
 ~file ()
 
 file (file const &other)=delete
 
 file (file &&other) noexcept
 
void operator= (file const &other)=delete
 
void operator= (file &&other) noexcept
 
 ~file ()
 

Friends

class std::optional< file >
 
std::optional< fileopen_file (directory const &dir, native_string_view file_name)
 
std::optional< fileopen_file (unopened_file const &f)
 
file_contents view_contents (file const &f)
 
native_string get_full_name (file const &f)
 
std::optional< fileopen_file (directory const &dir, native_string_view file_name)
 
std::optional< fileopen_file (unopened_file const &f)
 
file_contents view_contents (file const &f)
 
native_string get_full_name (file const &f)
 

Detailed Description

Definition at line 67 of file simple_fs_types_nix.hpp.

Constructor & Destructor Documentation

◆ file() [1/4]

simple_fs::file::file ( file const &  other)
delete

◆ file() [2/4]

simple_fs::file::file ( file &&  other)
noexcept

Definition at line 31 of file simple_fs_nix.cpp.

◆ ~file() [1/2]

simple_fs::file::~file ( )

Definition at line 14 of file simple_fs_nix.cpp.

◆ file() [3/4]

simple_fs::file::file ( file const &  other)
delete

◆ file() [4/4]

simple_fs::file::file ( file &&  other)
noexcept

◆ ~file() [2/2]

simple_fs::file::~file ( )

Member Function Documentation

◆ operator=() [1/4]

void simple_fs::file::operator= ( file &&  other)
noexcept

Definition at line 48 of file simple_fs_nix.cpp.

◆ operator=() [2/4]

void simple_fs::file::operator= ( file &&  other)
noexcept

◆ operator=() [3/4]

void simple_fs::file::operator= ( file const &  other)
delete

◆ operator=() [4/4]

void simple_fs::file::operator= ( file const &  other)
delete

Friends And Related Function Documentation

◆ get_full_name [1/2]

native_string get_full_name ( file const &  f)
friend

Definition at line 411 of file simple_fs_nix.cpp.

◆ get_full_name [2/2]

native_string get_full_name ( file const &  f)
friend

Definition at line 411 of file simple_fs_nix.cpp.

◆ open_file [1/4]

std::optional< file > open_file ( directory const &  dir,
native_string_view  file_name 
)
friend

Definition at line 340 of file simple_fs_nix.cpp.

◆ open_file [2/4]

std::optional< file > open_file ( directory const &  dir,
native_string_view  file_name 
)
friend

Definition at line 340 of file simple_fs_nix.cpp.

◆ open_file [3/4]

std::optional< file > open_file ( unopened_file const &  f)
friend

Definition at line 109 of file simple_fs_nix.cpp.

◆ open_file [4/4]

std::optional< file > open_file ( unopened_file const &  f)
friend

Definition at line 109 of file simple_fs_nix.cpp.

◆ std::optional< file >

friend class std::optional< file >
friend

Definition at line 89 of file simple_fs_types_nix.hpp.

◆ view_contents [1/2]

file_contents view_contents ( file const &  f)
friend

Definition at line 441 of file simple_fs_nix.cpp.

◆ view_contents [2/2]

file_contents view_contents ( file const &  f)
friend

Definition at line 441 of file simple_fs_nix.cpp.


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