MongoDB C++ Driver  legacy-1.1.2
Public Member Functions | List of all members
mongo::GridFile Class Reference

wrapper for a file stored in the Mongo database More...

#include <gridfs.h>

Public Member Functions

bool exists () const
 
gridfs_offset write (std::ostream &out) const
 write the file to the output stream
 
gridfs_offset write (const std::string &where) const
 write the file to this filename
 

Detailed Description

wrapper for a file stored in the Mongo database

Member Function Documentation

bool mongo::GridFile::exists ( ) const
inline
Returns
whether or not this file exists findFile will always return a GriFile, so need to check this

The documentation for this class was generated from the following file: