Sha256: d5c82f46f2214da5a3b67704ec8ba7ada50bdf039a108df29bc250a6264b286e
Contents?: true
Size: 974 Bytes
Versions: 13
Compression:
Stored size: 974 Bytes
Contents
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_IMGLAB_COmMON_H__ #define DLIB_IMGLAB_COmMON_H__ #include <string> // ---------------------------------------------------------------------------------------- std::string strip_path ( const std::string& str, const std::string& prefix ); /*! ensures - if (prefix is a prefix of str) then - returns the part of str after the prefix (additionally, str will not begin with a / or \ character) - else - return str !*/ // ---------------------------------------------------------------------------------------- void make_empty_file ( const std::string& filename ); /*! ensures - creates an empty file of the given name !*/ // ---------------------------------------------------------------------------------------- #endif // DLIB_IMGLAB_COmMON_H__
Version data entries
13 entries across 13 versions & 1 rubygems