diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-27 01:03:39 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-27 01:03:39 +0900 |
| commit | 8fc5cdea02afe9992acb680cf7ecce9f445fc5de (patch) | |
| tree | 2e64ad30a29e5404cd5f7666c96b6a96ad3b52eb /src/util.h | |
| parent | 89f18dde856894eef23dde77a9257655725ba843 (diff) | |
Removed unused functions
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -255,10 +255,6 @@ std::string fromHex(InputIterator first, InputIterator last) return dest; } -FILE* openFile(const std::string& filename, const std::string& mode); - -bool isPowerOf(int num, int base); - std::string secfmt(time_t sec); bool parseIntNoThrow(int32_t& res, const std::string& s, int base = 10); @@ -293,9 +289,6 @@ std::string iso8859ToUtf8(const std::string& src); std::string getContentDispositionFilename(const std::string& header); -std::string randomAlpha(size_t length, - const SharedHandle<Randomizer>& randomizer); - std::string toUpper(const std::string& src); std::string toLower(const std::string& src); @@ -395,15 +388,6 @@ bool isUppercase(InputIterator first, InputIterator last) return true; } -/** - * Converts alphabets to unsigned int, assuming alphabets as a base 26 - * integer and 'a' or 'A' is 0. - * This function assumes alphabets includes only a-z. - * Upper case are allowed but all letters must be upper case. - * If overflow occurs, returns 0. - */ -unsigned int alphaToNum(const std::string& alphabets); - void mkdirs(const std::string& dirpath); void convertBitfield(BitfieldMan* dest, const BitfieldMan* src); |
