Skip to main content

fs::FileObject

Types

IsNull#

  • yes

IsOverwrite#

  • no
  • yes

LocationScope#

using fs::FileObject::LocationScope =  LocationGuard 

Type: LocationGuard

Whence#

  • set
  • current
  • end

Functions

FileObject()=default#

fs::FileObject::FileObject ()=default

FileObject(const FileObject &a)=delete#

fs::FileObject::FileObject (const FileObject &a)=delete

FileObject(FileObject &&a)=default#

fs::FileObject::FileObject (FileObject &&a)=default

get_line(char term='\n') const#

inline

StringType fs::FileObject::get_line (char term='\n') const

Type: StringType

Parameters:

  • char term

gets(char term='\n') const#

var::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:

ioctl(const Ioctl &options) const#

inline

const FileObject & fs::FileObject::ioctl (const Ioctl &options) const

Type: const FileObject &

Parameters:

ioctl(int request)#

inline

FileObject & fs::FileObject::ioctl (int request)

Type: FileObject &

Parameters:

  • int request

ioctl(int request) const#

inline

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) const#

const FileObject & fs::FileObject::ioctl (int request, void *arg) const

Type: const FileObject &

Parameters:

  • int request
  • void * arg

location() const#

int fs::FileObject::location () const

Type: int

operator=(const FileObject &a)=delete#

FileObject & fs::FileObject::operator= (const FileObject &a)=delete

Type: FileObject &

Parameters:

operator=(FileObject &&a)=default#

FileObject & fs::FileObject::operator= (FileObject &&a)=default

Type: FileObject &

Parameters:

read(var::View view)#

inline

FileObject & fs::FileObject::read (var::View view)

Type: FileObject &

Parameters:

read(var::View view) const#

inline

const FileObject & fs::FileObject::read (var::View view) const

Type: const FileObject &

Parameters:

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) const#

const 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:

seek(int location, Whence whence=Whence::set) const#

const FileObject & fs::FileObject::seek (int location, Whence whence=Whence::set) const

Type: const FileObject &

Parameters:

size() const#

size_t fs::FileObject::size () const

Type: size_t

size_signed() const#

inline

ssize_t fs::FileObject::size_signed () const

Type: ssize_t

sync()#

inline

FileObject & fs::FileObject::sync ()

Type: FileObject &

sync() const#

const FileObject & fs::FileObject::sync () const

Type: const FileObject &

verify(const FileObject &source_file, const Verify &options=Verify()) const#

bool fs::FileObject::verify (const FileObject &source_file, const Verify &options=Verify()) const

Type: bool

Parameters:

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:

write(const FileObject &source_file, const var::Transformer &transformer, const Write &options=Write()) const#

inline

const FileObject & fs::FileObject::write (const FileObject &source_file, const var::Transformer &transformer, const Write &options=Write()) const

Type: const FileObject &

Parameters:

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:

write(const FileObject &source_file, const Write &options=Write()) const#

const FileObject & fs::FileObject::write (const FileObject &source_file, const Write &options=Write()) const

Type: const FileObject &

Parameters:

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) const#

const 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:

write(var::View view) const#

inline

const FileObject & fs::FileObject::write (var::View view) const

Type: const FileObject &

Parameters: