![]() |
GDBMS 1.0
|
Go to the source code of this file.
Functions | |
| int | hshcode (std::string username) |
| hshcode function. | |
| bool | is_textfile_empty (const char *filename) |
| is_textfile_empty function. | |
| int | hsh_int (int h) |
| char * | inttostr (int k) |
| char * | current_moment (void) |
| bool | FileExists (std::string strFilename) |
| bool | FileExists1 (std::string strFilename) |
| void | mkfolder1 (string folname) |
| int | strtoint (char *str) |
| char* current_moment | ( | void | ) |
Definition at line 75 of file some_functions.cpp.
| bool FileExists | ( | std::string | strFilename | ) |
Definition at line 84 of file some_functions.cpp.
| bool FileExists1 | ( | std::string | strFilename | ) |
Definition at line 112 of file some_functions.cpp.
| int hsh_int | ( | int | h | ) |
Definition at line 58 of file some_functions.cpp.
| int hshcode | ( | std::string | username | ) |
hshcode function.
| username | computes hash code of a string. |
Used internally for the purposes of hash_table.
Definition at line 18 of file some_functions.cpp.
| char* inttostr | ( | int | k | ) |
Definition at line 63 of file some_functions.cpp.
| bool is_textfile_empty | ( | const char * | filename | ) |
is_textfile_empty function.
| filename | boolean function that returns true if a file is empty. Used by the file_semaphore class and tr_twin_ht class to solve problems with cross process synchronization. |
Used internally for the purposes of hash_table.
Definition at line 29 of file some_functions.cpp.
| void mkfolder1 | ( | string | folname | ) |
Definition at line 140 of file some_functions.cpp.
| int strtoint | ( | char * | str | ) |
Definition at line 149 of file some_functions.cpp.
1.7.4