SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::helper::io::FileAccess Class Reference

#include <FileAccess.h>

Inheritance diagram for sofa::helper::io::FileAccess:

Public Member Functions

 ~FileAccess () override
 
virtual bool open (const std::string &filename, std::ios_base::openmode openMode) override
 
void close () override
 
virtual std::streambuf * streambuf () const override
 
virtual std::string readAll () override
 
virtual void write (const std::string &data) override
 
- Public Member Functions inherited from sofa::helper::io::BaseFileAccess
virtual ~BaseFileAccess ()
 

Protected Member Functions

 FileAccess ()
 
- Protected Member Functions inherited from sofa::helper::io::BaseFileAccess
 BaseFileAccess ()
 

Friends

class FileAccessCreator< FileAccess >
 

Additional Inherited Members

- Static Public Member Functions inherited from sofa::helper::io::BaseFileAccess
static void SetDefaultCreator ()
 
static void SetCreator (BaseFileAccessCreator *baseFileAccessCreator)
 
template<class T >
static void SetCreator ()
 
static BaseFileAccessCreate ()
 

Constructor details

sofa::helper::io::FileAccess::FileAccess ( )
protected
sofa::helper::io::FileAccess::~FileAccess ( )
override

Function details

void sofa::helper::io::FileAccess::close ( )
overridevirtual
bool sofa::helper::io::FileAccess::open ( const std::string &  filename,
std::ios_base::openmode  openMode 
)
overridevirtual
std::string sofa::helper::io::FileAccess::readAll ( )
overridevirtual
std::streambuf * sofa::helper::io::FileAccess::streambuf ( ) const
overridevirtual
void sofa::helper::io::FileAccess::write ( const std::string &  data)
overridevirtual

Related details

friend class FileAccessCreator< FileAccess >
friend