OSDN Git Service

Initial release for VER0.1.5
[lib1stclass/main.git] / 1stclass.hpp
1 /*
2 * See the file LICENSE for redistribution information.
3 *
4 * Copyright: 2010- 1stclass.co.jp.  All rights reserved.
5 *
6 * Created by Hajime Kurita
7 */
8 #ifndef INCLUDED_1stclass
9 #define INCLUDED_1stclass
10 #include<string>
11 using namespace std;
12
13 class firstclass {
14 public:
15   string host2ip(const string server);
16   int is_num(const string moji);
17   int itoa(int n, char s[]);
18   int rmkdir(const string check_dir);
19   string rel2abs(const string in_rel_path);
20   int remove_path(const string path);
21   string remove_not_file_char(const string *str);
22   int reverse_char(char s[]);
23   int safe_strcat(char *dst, const char *append, size_t size);
24   string shmf(const string file);
25 };
26 #endif