~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/cached_directory.h

Extracted the LOAD command into its own class and implementation files.
Removed the corresponding case label from the switch statement.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 * A utility class to handle processing the entries/files within a directory.
40
40
 *
41
41
 * This class will allow the user to either get a list of the entry names 
42
 
 * within a given directory.
 
42
 * within a given directory, or, alternatively, apply a function to each
 
43
 * entry as it is read from the directory.
43
44
 */
44
45
class CachedDirectory
45
46
{
99
100
  }
100
101
 
101
102
  /**
102
 
   * Return the list of entries read from the directory
 
103
   * Return a list of directory entries populated in the call to open().
 
104
   *
 
105
   * @note
 
106
   *   You must call the open() method before getList() if you want the
 
107
   *   list contain any elements.
103
108
   *
104
109
   * @returns
105
110
   *   A vector of strings containing the directory entry names.