Octree< Content, GivenDimension >::__Leaf Class Reference

Inheritance diagram for Octree< Content, GivenDimension >::__Leaf:

Inheritance graph
[legend]
Collaboration diagram for Octree< Content, GivenDimension >::__Leaf:

Collaboration graph
[legend]

List of all members.

Public Types

enum  Type { subtree, leaf }

Public Member Functions

const __Node::Type type () const
void setValue (const Content &value)
const TinyVector< Dimension,
real_t > & 
position () const
Content & value ()
const Content & value () const
 __Leaf (const TinyVector< Dimension, real_t > position)
 __Leaf (const __Leaf &l)
 ~__Leaf ()

Private Attributes

const TinyVector< Dimension,
real_t > 
__position
Content __value


Detailed Description

template<typename Content, size_t GivenDimension>
class Octree< Content, GivenDimension >::__Leaf

Definition at line 70 of file Octree.hpp.


Member Enumeration Documentation

template<typename Content, size_t GivenDimension>
enum Octree::__Node::Type [inherited]

Enumerator:
subtree 
leaf 

Definition at line 47 of file Octree.hpp.

00047               {
00048       subtree,
00049       leaf
00050     };


Constructor & Destructor Documentation

template<typename Content, size_t GivenDimension>
Octree< Content, GivenDimension >::__Leaf::__Leaf ( const TinyVector< Dimension, real_t >  position  )  [inline]

Definition at line 102 of file Octree.hpp.

00103       :__position(position)
00104     {
00105       ;
00106     }

template<typename Content, size_t GivenDimension>
Octree< Content, GivenDimension >::__Leaf::__Leaf ( const __Leaf l  )  [inline]

Definition at line 108 of file Octree.hpp.

00109       : __Node(l),
00110         __position(l.__position),
00111         __value(l.__value)
00112     {
00113       ;
00114     }

template<typename Content, size_t GivenDimension>
Octree< Content, GivenDimension >::__Leaf::~__Leaf (  )  [inline]

Definition at line 116 of file Octree.hpp.

00117     {
00118       ;
00119     }


Member Function Documentation

template<typename Content, size_t GivenDimension>
const __Node::Type Octree< Content, GivenDimension >::__Leaf::type (  )  const [inline, virtual]

Implements Octree< Content, GivenDimension >::__Node.

Definition at line 77 of file Octree.hpp.

References Octree< Content, GivenDimension >::__Node::leaf.

00078     {
00079       return __Node::leaf;
00080     }

template<typename Content, size_t GivenDimension>
void Octree< Content, GivenDimension >::__Leaf::setValue ( const Content &  value  )  [inline]

Definition at line 82 of file Octree.hpp.

References Octree< Content, GivenDimension >::__Leaf::__value.

00083     {
00084       __value = value;
00085     }

template<typename Content, size_t GivenDimension>
const TinyVector<Dimension, real_t>& Octree< Content, GivenDimension >::__Leaf::position (  )  const [inline]

Definition at line 87 of file Octree.hpp.

References Octree< Content, GivenDimension >::__Leaf::__position.

00088     {
00089       return __position;
00090     }

template<typename Content, size_t GivenDimension>
Content& Octree< Content, GivenDimension >::__Leaf::value (  )  [inline]

Definition at line 92 of file Octree.hpp.

References Octree< Content, GivenDimension >::__Leaf::__value.

00093     {
00094       return __value;
00095     }

template<typename Content, size_t GivenDimension>
const Content& Octree< Content, GivenDimension >::__Leaf::value (  )  const [inline]

Definition at line 97 of file Octree.hpp.

References Octree< Content, GivenDimension >::__Leaf::__value.

00098     {
00099       return __value;
00100     }


Member Data Documentation

template<typename Content, size_t GivenDimension>
const TinyVector<Dimension, real_t> Octree< Content, GivenDimension >::__Leaf::__position [private]

Definition at line 74 of file Octree.hpp.

Referenced by Octree< Content, GivenDimension >::__Leaf::position().

template<typename Content, size_t GivenDimension>
Content Octree< Content, GivenDimension >::__Leaf::__value [private]


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

Generated on Wed Nov 19 00:10:42 2008 for FreeFEM3D (aka ff3d) by  doxygen 1.5.6