diff options
author | Aaron <aaron@10gen.com> | 2009-05-28 15:22:24 -0400 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2009-05-28 15:22:24 -0400 |
commit | 6a2a8d385f70db58e864b424aa43643822d04f84 (patch) | |
tree | 2485450b9225e05b9aaab3250bead43b549df4e4 /db/pdfile.h | |
parent | 0c2ab274ee2be1aadc0e616bb54a08545c3aa97e (diff) | |
download | mongo-6a2a8d385f70db58e864b424aa43643822d04f84.tar.gz |
comments MINOR
Diffstat (limited to 'db/pdfile.h')
-rw-r--r-- | db/pdfile.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/db/pdfile.h b/db/pdfile.h index 9a7938b6a0c..af15264af24 100644 --- a/db/pdfile.h +++ b/db/pdfile.h @@ -364,9 +364,12 @@ namespace mongo { namespace mongo { + // Heritable class to implement an operation that may be applied to all + // files in a database using _applyOpToDataFiles() class FileOp { public: virtual ~FileOp() {} + // Return true if file exists and operation successful virtual bool apply( const boost::filesystem::path &p ) = 0; virtual const char * op() const = 0; }; |