File: fgdlist.h

package info (click to toggle)
ftpgrab 0.1.5-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 444 kB
  • sloc: cpp: 2,906; makefile: 103
file content (34 lines) | stat: -rw-r--r-- 712 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef _FGDLIST_H
#define _FGDLIST_H

// fgdlist.h

#ifndef _FGFILEINFO_H
#include "fgfileinfo.h"
#endif

#ifndef __SGI_STL_VECTOR_H
#include <vector>
#endif

#ifndef _FGSTRING_H
#define "fgstring.h"
#endif

class FGDirListing : public std::vector<FGFileInfo> {
public:
  // Constructor must specify the name of the dir
  FGDirListing(const FGString& dirName);

  // Some static helper methods for comparing file lists etc.
  static FGDirListing GetRHSOnlyFiles(const FGDirListing& lhs,
                                      const FGDirListing& rhs);

  const FGString& GetDirName(void) const;

private:
  // Directory name (full path) this listing is actually for
  FGString mDirName;
};

#endif // _FGDLIST_H