src/common/utils.cpp
bool Utils::fileExist(const std::string& path) throw()
{
    if (access(path.c_str(), F_OK) == 0)
        return true;
    return false;
}
// checks an existance of a file that is specified at the argument
checks an existance of a file that is specified at the argument
checks an existance of a file that is specified at the argument
bool Utils::fileExist(const std::string& path) throw()
{
    if (access(path.c_str(), F_OK) == 0)
        return true;
    return false;
}
bool Utils :: fileExist ( const std :: string & path ) throw ( ) { if ( access ( path . c_str ( ) , F_OK ) == 0 ) return true ; return false ; }
checks an existance of a file that is specified at the argument
checks an existance of a file that is specified at the argument