#ifndef AFFUNCTIONS_H #define AFFUNCTIONS_H #include "aftypes.h" #include #include AFPData af_length(std::vector const &args); AFPData af_lcase(std::vector const &args); AFPData af_ccnorm(std::vector const &args); AFPData af_rmdoubles(std::vector const &args); AFPData af_specialratio(std::vector const &args); AFPData af_rmspecials(std::vector const &args); AFPData af_norm(std::vector const &args); AFPData af_count(std::vector const &args); map const &getEquivSet(); int next_utf8_char(std::string::const_iterator & p, std::string::const_iterator & charStart, std::string::const_iterator end); string codepointToUtf8( int codepoint ); string confusable_character_normalise(std::string const &orig); vector makeFuncArgList( AFPData arg ); AFPData callFunction(string const &name, AFPData arg); string rmdoubles(string const &orig); string rmspecials(string const &orig); std::size_t utf8_strlen(std::string const &s); std::string utf8_tolower(std::string const &s); #endif /* !AFFUNCTIONS_H */