![]() |
3DCoat
3D-COAT 4.9.xx
3DCoat is the one application that has all the tools you need to take your 3D idea from a block of digital clay all the way to a production ready, fully textured organic or hard surface model.
|
Class for working with file of... any format, including a text and just binary. More...
#include <SFile.h>
Public Member Functions | |
| File () | |
| Constructor for building an empty file-object. More... | |
| File & | binary (const bool &v) |
| Setter for binary mode of file. More... | |
| bool | binary () const |
| Getter a binary mode of file. More... | |
| File & | extension (const std::string &) |
| Setter for extension of file. More... | |
| std::string | extension () const |
| Getter for extension of file. More... | |
| File & | fullPathFile (const std::string &v) |
| Setter for full path with file name. More... | |
| std::string | fullPathFile () const |
| Getter for full path with file name. More... | |
| File & | path (const std::string &) |
| Setter for path of file. More... | |
| std::string | path () const |
| Getter for path of file. More... | |
| bool | operator== (const File &b) const |
| File comparison in binary. More... | |
| template<class T > | |
| File & | operator= (const T &) |
| Write to file with erase it. More... | |
| template<class T > | |
| File & | append (const T &) |
| Write to file with append to it. More... | |
| template<class T > | |
| File & | operator+= (const T &v) |
| Write to file with append to it. More... | |
| File & | remove () |
| Removes the file. More... | |
Class for working with file of... any format, including a text and just binary.
|
inline |
Constructor for building an empty file-object.
| File& coat::scripto::File::append | ( | const T & | ) |
Write to file with append to it.
Referenced by operator+=().
|
inline |
Setter for binary mode of file.
|
inline |
Getter a binary mode of file.
| File & coat::scripto::File::extension | ( | const std::string & | v | ) |
| std::string coat::scripto::File::extension | ( | ) | const |
Getter for extension of file.
References fullPathFile().
|
inline |
Setter for full path with file name.
Referenced by operator==().
|
inline |
Getter for full path with file name.
Referenced by extension(), operator==(), path(), and remove().
|
inline |
| File& coat::scripto::File::operator= | ( | const T & | ) |
| bool coat::scripto::File::operator== | ( | const File & | b | ) | const |
File comparison in binary.
References fullPathFile().
| File & coat::scripto::File::path | ( | const std::string & | v | ) |
Setter for path of file.
name of file with extension
std::string name() const;
References fullPathFile().
| std::string coat::scripto::File::path | ( | ) | const |
Getter for path of file.
References fullPathFile().
| File & coat::scripto::File::remove | ( | ) |