Cupt
Classes | Namespaces | Constant Groups | 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
 

Constant Groups

 cupt
 

Functions

void cupt::fatal (const char *format,...)
 
void cupt::warn (const char *format,...)
 
void cupt::debug (const char *format,...)
 
void cupt::simulate (const char *format,...)
 
string cupt::__ (const char *message)
 localizes message More...
 
void cupt::consumePackageName (string::const_iterator begin, string::const_iterator end, string::const_iterator &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...