Cupt
Classes | Namespaces | Functions | Variables
common.hpp File Reference
#include <string>
#include <vector>
#include <memory>
#include <stdexcept>
#include <cupt/format2.hpp>

Go to the source code of this file.

Classes

class  cupt::Exception
 general library exception class More...
 

Namespaces

 cupt
 

Functions

const char * cupt::__ (const char *message)
 localizes message More...
 
void cupt::consumePackageName (const char *begin, const char *end, const char *&resultEnd)
 reads package name in range More...
 
bool cupt::checkPackageName (const string &packageName, bool throwOnError=true)
 checks package name for correctness More...
 
bool cupt::checkVersionString (const string &versionString, bool throwOnError=true)
 checks version string for correctness More...
 
int cupt::compareVersionStrings (const string &left, const string &right)
 compares two version strings More...
 

Variables

const char *const cupt::libraryVersion
 the version of Cupt library
 
int cupt::messageFd
 message file descriptor More...