Class for working with file of... any format, including a text and just binary. Подробнее...
Открытые члены | |
File () | |
Constructor for building an empty file-object. Подробнее... | |
File & | binary (const bool &v) |
Setter for binary mode of file. Подробнее... | |
bool | binary () const |
Getter a binary mode of file. Подробнее... | |
File & | extension (const std::string &) |
Setter for extension of file. Подробнее... | |
std::string | extension () const |
Getter for extension of file. Подробнее... | |
File & | fullPathFile (const std::string &v) |
Setter for full path with file name. Подробнее... | |
std::string | fullPathFile () const |
Getter for full path with file name. Подробнее... | |
File & | path (const std::string &) |
Setter for path of file. Подробнее... | |
std::string | path () const |
Getter for path of file. Подробнее... | |
template<class T > | |
File & | operator= (const T &) |
Write to file with erase it. Подробнее... | |
template<class T > | |
File & | append (const T &) |
Write to file with append to it. Подробнее... | |
template<class T > | |
File & | operator+= (const T &v) |
Write to file with append to it. Подробнее... | |
File & | remove () |
Removes the file. Подробнее... | |
template<> | |
File & | operator= (const FormatBinary &b) |
template<> | |
File & | operator= (const FormatDAE &b) |
template<> | |
File & | operator= (const FormatFBX &b) |
template<> | |
File & | operator= (const FormatOBJ &b) |
template<> | |
File & | append (const FormatBinary &b) |
template<> | |
File & | append (const unsigned char &d) |
Class for working with file of... any format, including a text and just binary.
|
inline |
Constructor for building an empty file-object.
|
inline |
Setter for binary mode of file.
|
inline |
Getter a binary mode of file.
File & coat::scripto::File::extension | ( | const std::string & | v | ) |
Setter for extension of file.
std::string coat::scripto::File::extension | ( | ) | const |
Getter for extension of file.
|
inline |
Setter for full path with file name.
|
inline |
Getter for full path with file name.
File & coat::scripto::File::path | ( | const std::string & | v | ) |
Setter for path of file.
name of file with extension
std::string name() const;
std::string coat::scripto::File::path | ( | ) | const |
Getter for path of file.
File& coat::scripto::File::operator= | ( | const T & | ) |
File& coat::scripto::File::append | ( | const T & | ) |
|
inline |
File & coat::scripto::File::remove | ( | ) |
Removes the file.
write to file with prepend
File& copy()