SimGrid  3.21
Versatile Simulation of Distributed Systems
simgrid::s4u::FileSystemStorageExt Class Reference

#include <file_system.h>

Public Member Functions

 FileSystemStorageExt (Storage *ptr)
 
 ~FileSystemStorageExt ()
 
std::map< std::string, sg_size_t > * parse_content (std::string filename)
 
std::map< std::string, sg_size_t > * get_content ()
 
sg_size_t get_size ()
 
sg_size_t get_used_size ()
 
void decr_used_size (sg_size_t size)
 
void incr_used_size (sg_size_t size)
 

Static Public Attributes

static simgrid::xbt::Extension< Storage, FileSystemStorageExtEXTENSION_ID
 

Constructor & Destructor Documentation

◆ FileSystemStorageExt()

simgrid::s4u::FileSystemStorageExt::FileSystemStorageExt ( Storage ptr)
explicit

◆ ~FileSystemStorageExt()

simgrid::s4u::FileSystemStorageExt::~FileSystemStorageExt ( )

Member Function Documentation

◆ parse_content()

std::map< std::string, sg_size_t > * simgrid::s4u::FileSystemStorageExt::parse_content ( std::string  filename)

◆ get_content()

std::map<std::string, sg_size_t>* simgrid::s4u::FileSystemStorageExt::get_content ( )
inline

◆ get_size()

sg_size_t simgrid::s4u::FileSystemStorageExt::get_size ( )
inline

◆ get_used_size()

sg_size_t simgrid::s4u::FileSystemStorageExt::get_used_size ( )
inline

◆ decr_used_size()

void simgrid::s4u::FileSystemStorageExt::decr_used_size ( sg_size_t  size)
inline

◆ incr_used_size()

void simgrid::s4u::FileSystemStorageExt::incr_used_size ( sg_size_t  size)
inline

Member Data Documentation

◆ EXTENSION_ID

simgrid::xbt::Extension< Storage, FileSystemStorageExt > simgrid::s4u::FileSystemStorageExt::EXTENSION_ID
static

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