SimGrid  3.17
Versatile Simulation of Distributed Systems
simgrid::surf::FileImpl Class Reference

#include <FileImpl.hpp>

Public Member Functions

 FileImpl (sg_storage_t st, std::string path, std::string mount)
 
 ~FileImpl ()=default
 
std::string name ()
 
const char * cname ()
 
const char * mount ()
 
sg_size_t size ()
 
void setSize (sg_size_t size)
 
void setPosition (sg_size_t size)
 
void incrPosition (sg_size_t incr)
 
sg_size_t tell ()
 
int seek (sg_offset_t offset, int origin)
 
int unlink ()
 
void move (std::string fullpath)
 
Actionread (sg_size_t size)
 
Actionwrite (sg_size_t size)
 

Constructor & Destructor Documentation

◆ FileImpl()

simgrid::surf::FileImpl::FileImpl ( sg_storage_t  st,
std::string  path,
std::string  mount 
)

◆ ~FileImpl()

simgrid::surf::FileImpl::~FileImpl ( )
default

Member Function Documentation

◆ name()

std::string simgrid::surf::FileImpl::name ( )
inline

◆ cname()

const char* simgrid::surf::FileImpl::cname ( )
inline

◆ mount()

const char* simgrid::surf::FileImpl::mount ( )
inline

◆ size()

sg_size_t simgrid::surf::FileImpl::size ( )
inline

◆ setSize()

void simgrid::surf::FileImpl::setSize ( sg_size_t  size)
inline

◆ setPosition()

void simgrid::surf::FileImpl::setPosition ( sg_size_t  size)
inline

◆ incrPosition()

void simgrid::surf::FileImpl::incrPosition ( sg_size_t  incr)
inline

◆ tell()

sg_size_t simgrid::surf::FileImpl::tell ( )
inline

◆ seek()

int simgrid::surf::FileImpl::seek ( sg_offset_t  offset,
int  origin 
)

◆ unlink()

int simgrid::surf::FileImpl::unlink ( )

◆ move()

void simgrid::surf::FileImpl::move ( std::string  fullpath)

◆ read()

Action * simgrid::surf::FileImpl::read ( sg_size_t  size)

◆ write()

Action * simgrid::surf::FileImpl::write ( sg_size_t  size)

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