#include <File.h>
Public Member Functions | |
| File () | |
| File (const std::string &filename, std::ios_base::openmode openMode=std::ios_base::in|std::ios_base::binary) | |
| ~File () | |
| bool | open (const std::string &filename, std::ios_base::openmode openMode=std::ios_base::in|std::ios_base::binary) |
| void | close () |
| std::streambuf * | streambuf () const |
| std::string | readAll () |
Protected Member Functions | |
| bool | checkFileAccess () const |
| sofa::helper::io::File::File | ( | ) |
| sofa::helper::io::File::File | ( | const std::string & | filename, |
| std::ios_base::openmode | openMode = std::ios_base::in | std::ios_base::binary |
||
| ) |
| sofa::helper::io::File::~File | ( | ) |
|
protected |
| void sofa::helper::io::File::close | ( | ) |
| bool sofa::helper::io::File::open | ( | const std::string & | filename, |
| std::ios_base::openmode | openMode = std::ios_base::in | std::ios_base::binary |
||
| ) |
| std::string sofa::helper::io::File::readAll | ( | ) |
| std::streambuf * sofa::helper::io::File::streambuf | ( | ) | const |