libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
bitmap< V, W, H, Init > Struct Template Reference

Classes

struct  element_type
 
struct  lower_iterations
 
struct  neighbourhood_item
 

Public Types

enum  { width =W , height =H , initial_value =Init }
 
enum  { width =W , height =H , initial_value =Init }
 
typedef std::tr1::array< element_type, heightcolumn_type
 
typedef std::tr1::array< column_type, widthcontainer_type
 The bitmaps is in the usual (x,y) cartesian co-ordinate format. More...
 
typedef column_type::const_iterator const_iterator
 
typedef column_type::iterator iterator
 
typedef std::tr1::array< const neighbourhood_item, 8 > const_neighbourhood_type
 
typedef std::tr1::array< neighbourhood_item, 8 > neighbourhood_type
 
typedef std::tr1::array< element_type, heightcolumn_type
 
typedef std::tr1::array< column_type, widthcontainer_type
 The bitmaps is in the usual (x,y) cartesian co-ordinate format. More...
 
typedef column_type::const_iterator const_iterator
 
typedef column_type::iterator iterator
 
typedef std::tr1::array< const neighbourhood_item, 8 > const_neighbourhood_type
 
typedef std::tr1::array< neighbourhood_item, 8 > neighbourhood_type
 

Public Member Functions

const_iterator __fastcall find (point_type const &pt) const noexcept(true)
 
iterator __fastcall find (point_type const &pt) noexcept(true)
 
const_iterator __fastcall bottom_left () const noexcept(true)
 
const_iterator __fastcall top_right () const noexcept(true)
 
bool __fastcall inside (point_type const &pt) const noexcept(true)
 
const_neighbourhood_type neighbours (point_type const &p) const noexcept(true)
 
neighbourhood_type neighbours (point_type const &p) noexcept(true)
 
const_iterator __fastcall find (point_type const &pt) const noexcept(true)
 
iterator __fastcall find (point_type const &pt) noexcept(true)
 
const_iterator __fastcall bottom_left () const noexcept(true)
 
const_iterator __fastcall top_right () const noexcept(true)
 
bool __fastcall inside (point_type const &pt) const noexcept(true)
 
const_neighbourhood_type neighbours (point_type const &p) const noexcept(true)
 
neighbourhood_type neighbours (point_type const &p) noexcept(true)
 

Public Attributes

container_type screen
 

Friends

std::ostream &__fastcall operator<< (std::ostream &os, bitmap const &b) noexcept(false)
 
std::ostream &__fastcall operator<< (std::ostream &os, bitmap const &b) noexcept(false)
 

Detailed Description

template<class V, unsigned int W, unsigned int H, V Init>
struct bitmap< V, W, H, Init >

Definition at line 63 of file mandelbrot.cpp.

Member Typedef Documentation

◆ column_type [1/2]

template<class V , unsigned int W, unsigned int H, V Init>
typedef std::tr1::array<element_type, height> bitmap< V, W, H, Init >::column_type

Definition at line 82 of file mandelbrot.cpp.

◆ column_type [2/2]

template<class V , unsigned int W, unsigned int H, V Init>
typedef std::tr1::array<element_type, height> bitmap< V, W, H, Init >::column_type

Definition at line 82 of file mandelbrot.cpp.

◆ const_iterator [1/2]

template<class V , unsigned int W, unsigned int H, V Init>
typedef column_type::const_iterator bitmap< V, W, H, Init >::const_iterator

Definition at line 85 of file mandelbrot.cpp.

◆ const_iterator [2/2]

template<class V , unsigned int W, unsigned int H, V Init>
typedef column_type::const_iterator bitmap< V, W, H, Init >::const_iterator

Definition at line 85 of file mandelbrot.cpp.

◆ const_neighbourhood_type [1/2]

template<class V , unsigned int W, unsigned int H, V Init>
typedef std::tr1::array<const neighbourhood_item, 8> bitmap< V, W, H, Init >::const_neighbourhood_type

Definition at line 101 of file mandelbrot.cpp.

◆ const_neighbourhood_type [2/2]

template<class V , unsigned int W, unsigned int H, V Init>
typedef std::tr1::array<const neighbourhood_item, 8> bitmap< V, W, H, Init >::const_neighbourhood_type

Definition at line 101 of file mandelbrot.cpp.

◆ container_type [1/2]

template<class V , unsigned int W, unsigned int H, V Init>
typedef std::tr1::array<column_type, width> bitmap< V, W, H, Init >::container_type

The bitmaps is in the usual (x,y) cartesian co-ordinate format.

Definition at line 84 of file mandelbrot.cpp.

◆ container_type [2/2]

template<class V , unsigned int W, unsigned int H, V Init>
typedef std::tr1::array<column_type, width> bitmap< V, W, H, Init >::container_type

The bitmaps is in the usual (x,y) cartesian co-ordinate format.

Definition at line 84 of file mandelbrot.cpp.

◆ iterator [1/2]

template<class V , unsigned int W, unsigned int H, V Init>
typedef column_type::iterator bitmap< V, W, H, Init >::iterator

Definition at line 86 of file mandelbrot.cpp.

◆ iterator [2/2]

template<class V , unsigned int W, unsigned int H, V Init>
typedef column_type::iterator bitmap< V, W, H, Init >::iterator

Definition at line 86 of file mandelbrot.cpp.

◆ neighbourhood_type [1/2]

template<class V , unsigned int W, unsigned int H, V Init>
typedef std::tr1::array<neighbourhood_item, 8> bitmap< V, W, H, Init >::neighbourhood_type

Definition at line 102 of file mandelbrot.cpp.

◆ neighbourhood_type [2/2]

template<class V , unsigned int W, unsigned int H, V Init>
typedef std::tr1::array<neighbourhood_item, 8> bitmap< V, W, H, Init >::neighbourhood_type

Definition at line 102 of file mandelbrot.cpp.

Member Enumeration Documentation

◆ anonymous enum

template<class V , unsigned int W, unsigned int H, V Init>
anonymous enum
Enumerator
width 
height 
initial_value 

Definition at line 64 of file mandelbrot.cpp.

◆ anonymous enum

template<class V , unsigned int W, unsigned int H, V Init>
anonymous enum
Enumerator
width 
height 
initial_value 

Definition at line 64 of file mandelbrot.cpp.

Member Function Documentation

◆ bottom_left() [1/2]

template<class V , unsigned int W, unsigned int H, V Init>
const_iterator __fastcall bitmap< V, W, H, Init >::bottom_left ( ) const
inlinenoexcept

Definition at line 124 of file mandelbrot.cpp.

◆ bottom_left() [2/2]

template<class V , unsigned int W, unsigned int H, V Init>
const_iterator __fastcall bitmap< V, W, H, Init >::bottom_left ( ) const
inlinenoexcept

Definition at line 124 of file mandelbrot.cpp.

◆ find() [1/4]

template<class V , unsigned int W, unsigned int H, V Init>
const_iterator __fastcall bitmap< V, W, H, Init >::find ( point_type const &  pt) const
inlinenoexcept

Definition at line 117 of file mandelbrot.cpp.

◆ find() [2/4]

template<class V , unsigned int W, unsigned int H, V Init>
const_iterator __fastcall bitmap< V, W, H, Init >::find ( point_type const &  pt) const
inlinenoexcept

Definition at line 117 of file mandelbrot.cpp.

◆ find() [3/4]

template<class V , unsigned int W, unsigned int H, V Init>
iterator __fastcall bitmap< V, W, H, Init >::find ( point_type const &  pt)
inlinenoexcept

Definition at line 120 of file mandelbrot.cpp.

◆ find() [4/4]

template<class V , unsigned int W, unsigned int H, V Init>
iterator __fastcall bitmap< V, W, H, Init >::find ( point_type const &  pt)
inlinenoexcept

Definition at line 120 of file mandelbrot.cpp.

◆ inside() [1/2]

template<class V , unsigned int W, unsigned int H, V Init>
bool __fastcall bitmap< V, W, H, Init >::inside ( point_type const &  pt) const
inlinenoexcept

◆ inside() [2/2]

template<class V , unsigned int W, unsigned int H, V Init>
bool __fastcall bitmap< V, W, H, Init >::inside ( point_type const &  pt) const
inlinenoexcept

Definition at line 132 of file mandelbrot.cpp.

◆ neighbours() [1/4]

template<class V , unsigned int W, unsigned int H, V Init>
const_neighbourhood_type bitmap< V, W, H, Init >::neighbours ( point_type const &  p) const
inlinenoexcept

Definition at line 136 of file mandelbrot.cpp.

◆ neighbours() [2/4]

template<class V , unsigned int W, unsigned int H, V Init>
const_neighbourhood_type bitmap< V, W, H, Init >::neighbours ( point_type const &  p) const
inlinenoexcept

Definition at line 136 of file mandelbrot.cpp.

◆ neighbours() [3/4]

template<class V , unsigned int W, unsigned int H, V Init>
neighbourhood_type bitmap< V, W, H, Init >::neighbours ( point_type const &  p)
inlinenoexcept

Definition at line 149 of file mandelbrot.cpp.

◆ neighbours() [4/4]

template<class V , unsigned int W, unsigned int H, V Init>
neighbourhood_type bitmap< V, W, H, Init >::neighbours ( point_type const &  p)
inlinenoexcept

Definition at line 149 of file mandelbrot.cpp.

◆ top_right() [1/2]

template<class V , unsigned int W, unsigned int H, V Init>
const_iterator __fastcall bitmap< V, W, H, Init >::top_right ( ) const
inlinenoexcept

Definition at line 128 of file mandelbrot.cpp.

◆ top_right() [2/2]

template<class V , unsigned int W, unsigned int H, V Init>
const_iterator __fastcall bitmap< V, W, H, Init >::top_right ( ) const
inlinenoexcept

Definition at line 128 of file mandelbrot.cpp.

Friends And Related Function Documentation

◆ operator<< [1/2]

template<class V , unsigned int W, unsigned int H, V Init>
std::ostream& __fastcall operator<< ( std::ostream &  os,
bitmap< V, W, H, Init > const &  b 
)
friend

Definition at line 163 of file mandelbrot.cpp.

◆ operator<< [2/2]

template<class V , unsigned int W, unsigned int H, V Init>
std::ostream& __fastcall operator<< ( std::ostream &  os,
bitmap< V, W, H, Init > const &  b 
)
friend

Definition at line 163 of file mandelbrot.cpp.

Member Data Documentation

◆ screen

template<class V , unsigned int W, unsigned int H, V Init>
container_type bitmap< V, W, H, Init >::screen

Definition at line 115 of file mandelbrot.cpp.


The documentation for this struct was generated from the following file: