fs::FileObject
- Inherits: api::ExecutionContext
public
- Inherits: fs::FileInfoFlags
public
- fs::FileObject::Ioctl
- fs::FileObject::LocationGuard
- fs::FileObject::Verify
- fs::FileObject::Write
Types
#
IsNull- yes
#
IsOverwrite- no
- yes
#
LocationScopeusing fs::FileObject::LocationScope = LocationGuard
Type: LocationGuard
#
Whence- set
- current
- end
Functions
#
FileObject()=defaultfs::FileObject::FileObject ()=default
#
FileObject(const FileObject &a)=deletefs::FileObject::FileObject (const FileObject &a)=delete
#
FileObject(FileObject &&a)=defaultfs::FileObject::FileObject (FileObject &&a)=default
#
get_line(char term='\n') constinline
StringType fs::FileObject::get_line (char term='\n') const
Type: StringType
Parameters:
char
term
#
gets(char term='\n') constvar::GeneralString fs::FileObject::gets (char term='\n') const
Type: var::GeneralString
Parameters:
char
term
#
ioctl(const Ioctl &options)inline
FileObject & fs::FileObject::ioctl (const Ioctl &options)
Type: FileObject &
Parameters:
- const Ioctl &
options
#
ioctl(const Ioctl &options) constinline
const FileObject & fs::FileObject::ioctl (const Ioctl &options) const
Type: const FileObject &
Parameters:
- const Ioctl &
options
#
ioctl(int request)inline
FileObject & fs::FileObject::ioctl (int request)
Type: FileObject &
Parameters:
int
request
#
ioctl(int request) constinline
const FileObject & fs::FileObject::ioctl (int request) const
Type: const FileObject &
Parameters:
int
request
#
ioctl(int request, void *arg)inline
FileObject & fs::FileObject::ioctl (int request, void *arg)
Type: FileObject &
Parameters:
int
request
void *
arg
#
ioctl(int request, void *arg) constconst FileObject & fs::FileObject::ioctl (int request, void *arg) const
Type: const FileObject &
Parameters:
int
request
void *
arg
#
location() constint fs::FileObject::location () const
Type: int
#
operator=(const FileObject &a)=deleteFileObject & fs::FileObject::operator= (const FileObject &a)=delete
Type: FileObject &
Parameters:
- const FileObject &
a
#
operator=(FileObject &&a)=defaultFileObject & fs::FileObject::operator= (FileObject &&a)=default
Type: FileObject &
Parameters:
- FileObject &&
a
#
read(var::View view)inline
FileObject & fs::FileObject::read (var::View view)
Type: FileObject &
Parameters:
- var::View
view
#
read(var::View view) constinline
const FileObject & fs::FileObject::read (var::View view) const
Type: const FileObject &
Parameters:
- var::View
view
#
read(void *buf, int size)inline
FileObject & fs::FileObject::read (void *buf, int size)
Type: FileObject &
Parameters:
void *
buf
int
size
#
read(void *buf, int size) constconst FileObject & fs::FileObject::read (void *buf, int size) const
Type: const FileObject &
Parameters:
void *
buf
int
size
#
seek(int location, Whence whence=Whence::set)inline
FileObject & fs::FileObject::seek (int location, Whence whence=Whence::set)
Type: FileObject &
Parameters:
int
location
- Whence
whence
#
seek(int location, Whence whence=Whence::set) constconst FileObject & fs::FileObject::seek (int location, Whence whence=Whence::set) const
Type: const FileObject &
Parameters:
int
location
- Whence
whence
#
size() constsize_t fs::FileObject::size () const
Type: size_t
#
size_signed() constinline
ssize_t fs::FileObject::size_signed () const
Type: ssize_t
#
sync()inline
FileObject & fs::FileObject::sync ()
Type: FileObject &
#
sync() constconst FileObject & fs::FileObject::sync () const
Type: const FileObject &
#
verify(const FileObject &source_file, const Verify &options=Verify()) constbool fs::FileObject::verify (const FileObject &source_file, const Verify &options=Verify()) const
Type: bool
Parameters:
- const FileObject &
source_file
- const Verify &
options
#
write(const FileObject &source_file, const var::Transformer &transformer, const Write &options=Write())inline
FileObject & fs::FileObject::write (const FileObject &source_file, const var::Transformer &transformer, const Write &options=Write())
Type: FileObject &
Parameters:
- const FileObject &
source_file
- const var::Transformer &
transformer
- const Write &
options
#
write(const FileObject &source_file, const var::Transformer &transformer, const Write &options=Write()) constinline
const FileObject & fs::FileObject::write (const FileObject &source_file, const var::Transformer &transformer, const Write &options=Write()) const
Type: const FileObject &
Parameters:
- const FileObject &
source_file
- const var::Transformer &
transformer
- const Write &
options
#
write(const FileObject &source_file, const Write &options=Write())inline
FileObject & fs::FileObject::write (const FileObject &source_file, const Write &options=Write())
Type: FileObject &
Parameters:
- const FileObject &
source_file
- const Write &
options
#
write(const FileObject &source_file, const Write &options=Write()) constconst FileObject & fs::FileObject::write (const FileObject &source_file, const Write &options=Write()) const
Type: const FileObject &
Parameters:
- const FileObject &
source_file
- const Write &
options
#
write(const void *buf, int size)inline
FileObject & fs::FileObject::write (const void *buf, int size)
Type: FileObject &
Parameters:
const void *
buf
int
size
#
write(const void *buf, int size) constconst FileObject & fs::FileObject::write (const void *buf, int size) const
Type: const FileObject &
Parameters:
const void *
buf
int
size
#
write(var::View view)inline
FileObject & fs::FileObject::write (var::View view)
Type: FileObject &
Parameters:
- var::View
view
#
write(var::View view) constinline
const FileObject & fs::FileObject::write (var::View view) const
Type: const FileObject &
Parameters:
- var::View
view