#include "basic.h"#include <ctime>#include <sstream>#include <iostream>#include <fstream>#include <omp.h>Namespaces | |
| namespace | ccgl |
| Common Cross-platform Geographic Library (CCGL) | |
Functions | |
| bool | ccgl::IsIpAddress (const char *ip) |
| Check if the IP address is valid. More... | |
| void | ccgl::Log (const string &msg, const string &logpath="debugInfo.log") |
| Writes an entry to the log file. More... | |
| int | ccgl::GetAvailableThreadNum () |
| Detect the available threads number. More... | |
| void | ccgl::SetDefaultOpenMPThread () |
| Set the default omp thread number if necessary. More... | |
| void | ccgl::SetOpenMPThread (int n) |
| Set the omp thread number by given thread number. More... | |
| void | ccgl::StatusMessage (const char *msg) |
| Print status messages for Debug. More... | |
| void | ccgl::StatusMessage (const string &msg) |
| Print status messages for Debug. More... | |