Om
|
The Om library.
Namespaces | |
Language | |
The Om language implementation. | |
Macro | |
A namespace for all code used to implement global macros. | |
Sink | |
A namespace for all sinks. | |
Source | |
A namespace for all sources. | |
Classes | |
class | Copyable |
An object that can be passed to Copy to be copied. More... | |
class | DefaultCopyable |
A partial implementation of Copyable. More... | |
class | DefaultGiveable |
A partial implementation of Giveable. More... | |
class | DefaultMoveable |
A partial implementation of Moveable. More... | |
class | Giveable |
An object that can be copied or moved via Give. More... | |
class | List |
A doubly-linked list in which nodes are unowned. More... | |
class | Moveable |
An object that can be passed to Move to be moved. More... | |
class | Owner |
A polymorphic object with value semantics. More... | |
class | Shareable |
A pointee for boost::intrusive_ptr. More... | |
class | Taker |
An object that can take (copy or swap) another of the same type. More... | |
Typedefs | |
typedef boost::locale::utf::code_point | CodePoint |
A UTF-8 code point. More... | |
typedef boost::locale::utf::utf_traits< char > | Utf8 |
The UTF-8 traits type. More... | |
Functions | |
template<typename TheCopyable > | |
std::auto_ptr< TheCopyable > | Copy (TheCopyable const &) |
template<typename TheGiveable > | |
std::auto_ptr< TheGiveable > | Give (TheGiveable &) |
Calls Move on the object. More... | |
template<typename TheGiveable > | |
std::auto_ptr< TheGiveable > | Give (TheGiveable const &) |
Calls Copy on the object. More... | |
template<typename TheGiveable > | |
std::auto_ptr< TheGiveable > | Give (std::auto_ptr< TheGiveable > &) |
Transfers pointer ownership. More... | |
template<typename TheGiveable > | |
std::auto_ptr< TheGiveable > | Give (std::auto_ptr< TheGiveable > const &) |
Transfers pointer ownership. More... | |
template<typename TheMoveable > | |
std::auto_ptr< TheMoveable > | Move (TheMoveable &) |
template<typename TheOwnerCount > | |
void | intrusive_ptr_add_ref (Shareable< TheOwnerCount > *const) |
template<typename TheOwnerCount > | |
void | intrusive_ptr_release (Shareable< TheOwnerCount > *const) |
template<typename TheItem > | |
bool | operator== (Source::Source< TheItem > const &, Source::Source< TheItem > const &) |
template<typename TheItem > | |
bool | operator!= (Source::Source< TheItem > const &, Source::Source< TheItem > const &) |
typedef boost::locale::utf::code_point Om::CodePoint |
Definition at line 32 of file code_point.hpp.
std::auto_ptr<TheCopyable> Om::Copy | ( | TheCopyable const & | ) |
std::auto_ptr<TheGiveable> Om::Give | ( | TheGiveable & | ) |
std::auto_ptr<TheGiveable> Om::Give | ( | TheGiveable const & | ) |
std::auto_ptr<TheGiveable> Om::Give | ( | std::auto_ptr< TheGiveable > & | ) |
std::auto_ptr<TheGiveable> Om::Give | ( | std::auto_ptr< TheGiveable > const & | ) |
This is useful in situations where the argument auto_ptr is a member of a const class.
std::auto_ptr<TheMoveable> Om::Move | ( | TheMoveable & | ) |
void Om::intrusive_ptr_add_ref | ( | Shareable< TheOwnerCount > * const | ) |
std::overflow_error | On overflow. |
void Om::intrusive_ptr_release | ( | Shareable< TheOwnerCount > * const | ) |
bool Om::operator== | ( | Source::Source< TheItem > const & | , |
Source::Source< TheItem > const & | |||
) |
bool Om::operator!= | ( | Source::Source< TheItem > const & | , |
Source::Source< TheItem > const & | |||
) |