#ifndef _SNIFFER_R_PATTERN_LIST_H
#define _SNIFFER_R_PATTERN_LIST_H
#include <vector>
#include "DisjList.h"
namespace BPrivate {
namespace Storage {
namespace Sniffer {
class Err;
class RPattern;
class RPatternList : public DisjList {
public:
RPatternList();
virtual ~RPatternList();
status_t InitCheck() const;
Err* GetErr() const;
virtual bool Sniff(const Data& data) const;
virtual ssize_t BytesNeeded() const;
void Add(RPattern *rpattern);
private:
std::vector<RPattern*> fList;
};
};
};
};
#endif