18 #ifndef CUPT_COMMON_SEEN 19 #define CUPT_COMMON_SEEN 22 #define CUPT_API __attribute__ ((visibility("default"))) 23 #define CUPT_LOCAL __attribute__ ((visibility("hidden"))) 55 :
std::runtime_error(message)
62 :
std::runtime_error(message)
68 using std::shared_ptr;
69 using std::static_pointer_cast;
70 using std::dynamic_pointer_cast;
71 using std::unique_ptr;
81 CUPT_API
string join(
const string& joiner,
const vector< string >& parts);
82 CUPT_API
string humanReadableSizeString(uint64_t bytes);
83 CUPT_API
string globToRegexString(
const string&);
91 CUPT_API
const char*
__(
const char* message);
95 #include <cupt/format2.hpp> general library exception class
Definition: common.hpp:45
Definition: binarypackage.hpp:26
int messageFd
message file descriptor
const char * __(const char *message)
localizes message
Exception(const char *message)
constructor
Definition: common.hpp:54
const char *const libraryVersion
the version of Cupt library
Exception(const string &message)
constructor
Definition: common.hpp:61