File: fgbdfname.h

package info (click to toggle)
ftpgrab 0.1.5-6
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 444 kB
  • sloc: cpp: 2,906; makefile: 103
file content (34 lines) | stat: -rw-r--r-- 797 bytes parent folder | download | duplicates (9)
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 _FGBDFNAME_H
#define _FGBDFNAME_H

// fgbdfname.h
//
// FGBrokenDownFileName
//
// Class representing a filename broken down into components which
// typically consist of strings and version numbers

class FGString;
class FGMatchRanking;

class FGBrokenDownFileName {
public:
  // Constructor - takes in filename to parse into components
  FGBrokenDownFileName(const FGString& fname);

  FGMatchRanking GetRanking(const FGString& cmp) const;

  // Destructor
  ~FGBrokenDownFileName();

private:
  // Banned!!
  FGBrokenDownFileName(const FGBrokenDownFileName& other);
  FGBrokenDownFileName& operator=(const FGBrokenDownFileName& other);

  // Cheshire Cat to hide internals
  struct Internal_FGBrokenDownFileName;
  Internal_FGBrokenDownFileName* mpInternals;
};

#endif // _FGBDFNAME_H