~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to drizzled/cached_directory.h

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-10-02 14:17:48 UTC
  • mfrom: (1.1.1 upstream)
  • mto: (2.1.17 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20101002141748-m6vbfbfjhrw1153e
Tags: 2010.09.1802-1
* New upstream release.
* Removed pid-file argument hack.
* Updated GPL-2 address to be new address.
* Directly copy in drizzledump.1 since debian doesn't have sphinx 1.0 yet.
* Link to jquery from libjs-jquery. Add it as a depend.
* Add drizzled.8 symlink to the install files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
155
155
  bool open(const std::string &in_path, std::set<std::string> &allowable_exts);
156
156
  bool open(const std::string &in_path, std::set<std::string> &allowed_exts, enum CachedDirectory::FILTER filter);
157
157
 
 
158
  friend std::ostream& operator<<(std::ostream& output, CachedDirectory &directory)
 
159
  {
 
160
    output << "CachedDirectory:(Path: " << directory.getPath() << ")\n";
 
161
 
 
162
    CachedDirectory::Entries files= directory.getEntries();
 
163
 
 
164
    for (CachedDirectory::Entries::iterator fileIter= files.begin();
 
165
         fileIter != files.end(); fileIter++)
 
166
    {
 
167
      CachedDirectory::Entry *entry= *fileIter;
 
168
      output << "\t(" << entry->filename << ")\n";
 
169
    }
 
170
 
 
171
    return output;  // for multiple << operators.
 
172
  }
 
173
 
158
174
};
159
175
 
160
176
} /* namespace drizzled */