Sha256: 6b8dda81d9242327a7f46cae55ddd22d79e0447864b8c2f07bfbbf9cb6ebdb40
Contents?: true
Size: 499 Bytes
Versions: 8
Compression:
Stored size: 499 Bytes
Contents
#ifndef __downcase_h__ #define __dowmcase_h__ #include "inplace_processor.h" #include <cctype> namespace Preprocessing { namespace Text { class Downcase : public InplaceProcessor { public: static const uint32_t file_mark = 'down'; uint32_t mark() { return file_mark; } char *process(char *start, char *end) { while(start != end) { *start = tolower(*start); start++; } return end; } }; } } #endif
Version data entries
8 entries across 8 versions & 1 rubygems