librime: common.h File Reference

| librime 1.2 Rime Input Method Engine, the core library

Classes | Namespaces | Macros | Typedefs | Functions
common.h File Reference
`#include <rime/build_config.h>`
`#include <filesystem>`
`#include <functional>`
`#include <list>`
`#include <map>`
`#include <memory>`
`#include <set>`
`#include <string>`
`#include <utility>`
`#include <vector>`
`#include <deque>`
`#include <boost/signals2/connection.hpp>`
`#include <boost/signals2/signal.hpp>`
`#include <boost/unordered_map.hpp>`
`#include <boost/unordered_set.hpp>`
`#include "no_logging.h"`
Include dependency graph for common.h:

Go to the source code of this file.

## Classes
class | rime::path
class | rime::deque< T >
| STL class. More...
class | rime::list< T >
| STL class. More...
class | rime::map< K, T >
| STL class. More...
class | rime::pair< T1, T2 >
| STL class. More...
class | rime::set< K >
| STL class. More...
class | rime::string
| STL class. More...
class | rime::vector< T >
| STL class. More...

## Namespaces
namespace | rime

## Macros
#define | BOOST_BIND_NO_PLACEHOLDERS
#define | RIME_THIS_CALL(f)
#define | RIME_THIS_CALL_AS(T, f)

## Typedefs
template<class Key, class T>
using | rime::hash_map = boost::unordered_map<Key, T>
template<class T>
using | rime::hash_set = boost::unordered_set<T>
template<class T>
using | rime::the = std::unique_ptr<T>
template<class T>
using | rime::an = std::shared_ptr<T>
template<class T>
using | rime::of = an<T>
template<class T>
using | rime::weak = std::weak_ptr<T>

## Functions
template<class X, class Y>
an< X > | rime::As (const an< Y > &ptr)
template<class X, class Y>
bool | rime::Is (const an< Y > &ptr)
template<class T, class... Args>
an< T > | rime::New (Args &&... args)

## Macro Definition Documentation

## ◆ BOOST_BIND_NO_PLACEHOLDERS

#define BOOST_BIND_NO_PLACEHOLDERS

## ◆ RIME_THIS_CALL

#define RIME_THIS_CALL | ( |  | f | ) |

Value:
(this->*(f))

## ◆ RIME_THIS_CALL_AS

#define RIME_THIS_CALL_AS | ( |  | T,
|  |  | f )

Value:
((T*)this->*(f))