|
| std::string | dev::getPassword (std::string const &_prompt) |
| | Requests the user to enter a password on the console. More...
|
| |
| bytes | dev::contents (boost::filesystem::path const &_file) |
| |
| bytesSec | dev::contentsSec (boost::filesystem::path const &_file) |
| | Secure variation. More...
|
| |
| string | dev::contentsString (boost::filesystem::path const &_file) |
| |
| void | dev::writeFile (boost::filesystem::path const &_file, bytesConstRef _data, bool _writeDeleteRename) |
| |
| void | dev::writeFile (boost::filesystem::path const &_file, bytes const &_data, bool _writeDeleteRename=false) |
| | Write the given binary data into the given file, replacing the file if it pre-exists. More...
|
| |
| void | dev::copyDirectory (boost::filesystem::path const &_srcDir, boost::filesystem::path const &_dstDir) |
| |
| string | dev::memDump (bytes const &_bytes, unsigned _width, bool _html) |
| |
| std::ostream & | dev::operator<< (std::ostream &_out, bytes const &_e) |
| |
| template<class T > |
| std::ostream & | dev::operator<< (std::ostream &_out, std::vector< T > const &_e) |
| |
| template<class T , std::size_t Z> |
| std::ostream & | dev::operator<< (std::ostream &_out, std::array< T, Z > const &_e) |
| |
| template<class T , class U > |
| std::ostream & | dev::operator<< (std::ostream &_out, std::set< T, U > const &_e) |
| |
| template<class T , class U > |
| std::ostream & | dev::operator<< (std::ostream &_out, std::unordered_set< T, U > const &_e) |
| |
| template<class T > |
| std::string | dev::toString (std::chrono::time_point< T > const &_e, std::string const &_format="%F %T") |
| |
| template<class T > |
| std::ostream & | dev::streamout (std::ostream &_out, std::vector< T > const &_e) |
| |
| template<class T , std::size_t Z> |
| std::ostream & | dev::streamout (std::ostream &_out, std::array< T, Z > const &_e) |
| |
| template<class T > |
| std::ostream & | dev::streamout (std::ostream &_out, std::set< T > const &_v) |
| |
| template<class T > |
| std::ostream & | dev::operator<< (std::ostream &_out, std::set< T > const &_e) |
| |
| template<class T > |
| std::ostream & | dev::streamout (std::ostream &_out, std::unordered_set< T > const &_v) |
| |
| template<class T > |
| std::ostream & | dev::operator<< (std::ostream &_out, std::unordered_set< T > const &_e) |
| |
| template<class _T > |
| std::string | dev::toString (_T const &_t) |
| | Converts arbitrary value to string representation using std::stringstream. More...
|
| |
| template<> |
| std::string | dev::toString< std::string > (std::string const &_s) |
| |
| template<> |
| std::string | dev::toString< uint8_t > (uint8_t const &_u) |
| |
- Author
- Gav Wood i@gav.nosp@m.wood.nosp@m..com
- Date
- 2014
File & stream I/O routines.
Definition in file CommonIO.h.