natefw

natefw Mercurial Source Tree


Root/src/nfw.h

#ifndef NFW_H
#define NFW_H
 
#include <string>
#include <vector>
#define NFW_VERSION "1.1-4"
 
class nfw
{
    private:
        std::vector<std::string> paramters;
        std::vector<std::string> grammar;
        bool valid;
        std::string failedrule;
    public:
        nfw(int, char*[]);
        void parseArguments();
        void parseRule(std::vector<std::string>&);
        void populateGrammar();
        bool isValid();
        std::string getFalidRule();
        bool validateRules(std::vector<std::string>&);
        void split(const std::string &s, char delim, std::vector<std::string> &elems);
};
 
#endif

Archive Download this file

Branches

Tags

Page rendered in 1.09629s using 11 queries.