activemq-cpp-3.9.5
Pointer.h File Reference
#include <decaf/util/Config.h>
#include <decaf/lang/exceptions/NullPointerException.h>
#include <decaf/lang/exceptions/ClassCastException.h>
#include <decaf/util/concurrent/atomic/AtomicRefCounter.h>
#include <decaf/util/Comparator.h>
#include <memory>
#include <typeinfo>
#include <algorithm>
#include <functional>

Go to the source code of this file.

Data Structures

struct  decaf::lang::STATIC_CAST_TOKEN
 
struct  decaf::lang::DYNAMIC_CAST_TOKEN
 
class  decaf::lang::Pointer< T, REFCOUNTER >
 Decaf's implementation of a Smart Pointer that is a template on a Type and is Thread Safe if the default Reference Counter is used. More...
 
class  decaf::lang::PointerComparator< T, R >
 This implementation of Comparator is designed to allows objects in a Collection to be sorted or tested for equality based on the value of the Object being Pointed to and not the value of the contained pointer in the Pointer instance. More...
 
struct  std::less< decaf::lang::Pointer< T > >
 An override of the less function object so that the Pointer objects can be stored in STL Maps, etc. More...
 

Namespaces

namespace  decaf
 Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
 
namespace  decaf::lang
 
namespace  std
 

Functions

template<typename T, typename R, typename U>
bool decaf::lang::operator== (const Pointer< T, R > &left, const U *right)
 
template<typename T, typename R, typename U>
bool decaf::lang::operator== (const U *left, const Pointer< T, R > &right)
 
template<typename T, typename R, typename U>
bool decaf::lang::operator!= (const Pointer< T, R > &left, const U *right)
 
template<typename T, typename R, typename U>
bool decaf::lang::operator!= (const U *left, const Pointer< T, R > &right)
 
template<typename T, typename R>
std::ostream & decaf::lang::operator<< (std::ostream &out, const Pointer< T, R > &pointer)