SOFA API  014b24ea
Open source framework for multi-physics simuation
sofa::helper::io::BaseFileAccess Class Referenceabstract

#include <BaseFileAccess.h>

Inheritance diagram for sofa::helper::io::BaseFileAccess:

Public Member Functions

virtual ~BaseFileAccess ()
 
virtual bool open (const std::string &filename, std::ios_base::openmode openMode)=0
 
virtual void close ()=0
 
virtual std::streambuf * streambuf () const =0
 
virtual std::string readAll ()=0
 
virtual void write (const std::string &data)=0
 

Static Public Member Functions

static void SetDefaultCreator ()
 
static void SetCreator (BaseFileAccessCreator *baseFileAccessCreator)
 
template<class T >
static void SetCreator ()
 
static BaseFileAccessCreate ()
 

Protected Member Functions

 BaseFileAccess ()
 

Constructor details

sofa::helper::io::BaseFileAccess::BaseFileAccess ( )
protected
sofa::helper::io::BaseFileAccess::~BaseFileAccess ( )
virtual

Function details

virtual void sofa::helper::io::BaseFileAccess::close ( )
pure virtual
BaseFileAccess * sofa::helper::io::BaseFileAccess::Create ( )
static
virtual bool sofa::helper::io::BaseFileAccess::open ( const std::string &  filename,
std::ios_base::openmode  openMode 
)
pure virtual
virtual std::string sofa::helper::io::BaseFileAccess::readAll ( )
pure virtual
void sofa::helper::io::BaseFileAccess::SetCreator ( BaseFileAccessCreator baseFileAccessCreator)
static
template<class T >
void sofa::helper::io::BaseFileAccess::SetCreator ( )
inlinestatic
void sofa::helper::io::BaseFileAccess::SetDefaultCreator ( )
static
virtual std::streambuf* sofa::helper::io::BaseFileAccess::streambuf ( ) const
pure virtual
virtual void sofa::helper::io::BaseFileAccess::write ( const std::string &  data)
pure virtual