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
|
#ifndef _FGSCOMP_H
#define _FGSCOMP_H
// fgscomp.h
//
// FGStringComponent: handles matching of plain string bits of a filename
#include "fgfncomp.h"
#ifndef _FGSTRING_H
#include "fgstring.h"
#endif
class FGStringComponent : public FGFileNameComponent {
public:
// Construct from string fragment
FGStringComponent(const FGString& str);
virtual bool MatchAndRankComponent(FGString& fnameRemainder,
int* pMatchVal) const;
virtual ~FGStringComponent();
private:
// Banned!
FGStringComponent(const FGStringComponent& other);
FGStringComponent& operator=(const FGStringComponent& other);
FGString mStringBit;
};
#endif // _FGSCOMP_H
|