~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/cached_directory.h

Updating test cases + added Drizzle specific schema_names and schema_info.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
class CachedDirectory
54
54
{
55
55
public:
 
56
  enum FILTER {
 
57
    NONE,
 
58
    DIRECTORY,
 
59
    FILE,
 
60
    MAX
 
61
  };
 
62
 
56
63
  class Entry
57
64
  {
58
65
    Entry();
83
90
   * @param[in] File extensions to allow
84
91
   */
85
92
  CachedDirectory(const std::string& in_path, std::set<std::string>& allowed_exts);
 
93
  CachedDirectory(const std::string& in_path, enum CachedDirectory::FILTER filter);
86
94
 
87
95
  /**
88
96
   * Destructor.  Cleans up any resources we've taken 
149
157
   * @retval false Failure
150
158
   */
151
159
  bool open(const std::string &in_path, std::set<std::string> &allowable_exts);
 
160
  bool open(const std::string &in_path, std::set<std::string> &allowed_exts, enum CachedDirectory::FILTER filter);
 
161
 
152
162
};
153
163
 
154
164
} /* namespace drizzled */