OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Data Structures | Namespaces | Functions
image_handle.hh File Reference
#include <boost/shared_ptr.hpp>
#include <ost/img/module_config.hh>
#include <ost/message.hh>
#include <ost/base.hh>
#include "data.hh"
#include "observable.hh"
#include "extent_iterator.hh"
#include "image_state/image_state_visitor_fw.hh"
#include "image_state/image_state_base_fw.hh"

Go to the source code of this file.

Data Structures

class  InvalidImageHandle
 Exception thrown upon invalid image handle usage. More...
class  ImageHandle
 Manage shared instances of images. More...
class  ConstImageHandle
 read-only ImageHandle implementation More...

Namespaces

namespace  test_image
namespace  ost
namespace  ost::img

Functions

void test_Observer ()
Global operators

These operators are implemented in terms of the member operators of ImageHandle, and due to the implicit convertability of ImageHandle to ConstImageHandle, they may be applied to both handle variants.

DLLEXPORT_OST_IMG_BASE bool operator== (const ImageHandle &lhs, const ConstImageHandle &rhs)
DLLEXPORT_OST_IMG_BASE bool operator!= (const ImageHandle &lhs, const ConstImageHandle &rhs)
DLLEXPORT_OST_IMG_BASE ImageHandle operator+ (const ConstImageHandle &h, Real v)
DLLEXPORT_OST_IMG_BASE ImageHandle operator+ (const ConstImageHandle &h, const Complex &v)
DLLEXPORT_OST_IMG_BASE ImageHandle operator+ (Real v, const ConstImageHandle &h)
DLLEXPORT_OST_IMG_BASE ImageHandle operator+ (const Complex &v, const ConstImageHandle &h)
DLLEXPORT_OST_IMG_BASE ImageHandle operator- (const ConstImageHandle &h, Real v)
DLLEXPORT_OST_IMG_BASE ImageHandle operator- (const ConstImageHandle &h, const Complex &v)
DLLEXPORT_OST_IMG_BASE ImageHandle operator- (Real v, const ConstImageHandle &h)
DLLEXPORT_OST_IMG_BASE ImageHandle operator- (const Complex &v, const ConstImageHandle &h)
DLLEXPORT_OST_IMG_BASE ImageHandle operator* (const ConstImageHandle &h, Real v)
DLLEXPORT_OST_IMG_BASE ImageHandle operator* (const ConstImageHandle &h, const Complex &v)
DLLEXPORT_OST_IMG_BASE ImageHandle operator* (Real v, const ConstImageHandle &h)
DLLEXPORT_OST_IMG_BASE ImageHandle operator* (const Complex &v, const ConstImageHandle &h)
DLLEXPORT_OST_IMG_BASE ImageHandle operator/ (const ConstImageHandle &h, Real v)
DLLEXPORT_OST_IMG_BASE ImageHandle operator/ (const ConstImageHandle &h, const Complex &v)
DLLEXPORT_OST_IMG_BASE ImageHandle operator+ (const ConstImageHandle &h1, const ConstImageHandle &h2)
DLLEXPORT_OST_IMG_BASE ImageHandle operator- (const ConstImageHandle &h1, const ConstImageHandle &h2)
DLLEXPORT_OST_IMG_BASE ImageHandle operator* (const ConstImageHandle &h1, const ConstImageHandle &h2)
DLLEXPORT_OST_IMG_BASE ImageHandle operator/ (const ConstImageHandle &h1, const ConstImageHandle &h2)