Templates -- Meow  1.2.11
A C++ template contains kinds of interesting classes and functions
meow::SplayTree_Range< Key, Value >::Element Class Reference

類似 stliterator ,不過這邊叫做Element More...

#include "SplayTree.h"

Public Member Functions

 Element ()
 
 Element (Node *node)
 
 Element (Element const &element2)
 
 ~Element ()
 
ElementcopyFrom (Element const &e)
 複製資料 More...
 
bool same (Element const &e2) const
 比對兩者是否為指向同一個Entry More...
 
Elementoperator= (Element const &e2)
 same as copyFrom More...
 
Entry * operator-> ()
 重導至std::pair<Key const&,Value&>* More...
 
Entry & operator* ()
 重導至std::pair<Key const&,Value&>& More...
 
bool operator== (Element const &e2) const
 same as same(e2) More...
 
bool operator!= (Element const &e2) const
 same as !same(e2) More...
 

Detailed Description

template<class Key, class Value>
class meow::SplayTree_Range< Key, Value >::Element

類似 stliterator ,不過這邊叫做Element

用來當作回傳資料的媒介

Definition at line 750 of file SplayTree.h.

Constructor & Destructor Documentation

template<class Key , class Value >
meow::SplayTree_Range< Key, Value >::Element::Element ( )
inline

Definition at line 762 of file SplayTree.h.

template<class Key , class Value >
meow::SplayTree_Range< Key, Value >::Element::Element ( Node *  node)
inline

Definition at line 764 of file SplayTree.h.

template<class Key , class Value >
meow::SplayTree_Range< Key, Value >::Element::Element ( Element const &  element2)
inline

Definition at line 767 of file SplayTree.h.

template<class Key , class Value >
meow::SplayTree_Range< Key, Value >::Element::~Element ( )
inline

Definition at line 770 of file SplayTree.h.

Member Function Documentation

template<class Key , class Value >
Element& meow::SplayTree_Range< Key, Value >::Element::copyFrom ( Element const &  e)
inline

複製資料

Definition at line 775 of file SplayTree.h.

template<class Key , class Value >
bool meow::SplayTree_Range< Key, Value >::Element::operator!= ( Element const &  e2) const
inline

same as !same(e2)

Definition at line 806 of file SplayTree.h.

template<class Key , class Value >
Entry& meow::SplayTree_Range< Key, Value >::Element::operator* ( )
inline

重導至std::pair<Key const&,Value&>&

Definition at line 796 of file SplayTree.h.

template<class Key , class Value >
Entry* meow::SplayTree_Range< Key, Value >::Element::operator-> ( )
inline

重導至std::pair<Key const&,Value&>*

Definition at line 791 of file SplayTree.h.

template<class Key , class Value >
Element& meow::SplayTree_Range< Key, Value >::Element::operator= ( Element const &  e2)
inline

same as copyFrom

Definition at line 786 of file SplayTree.h.

template<class Key , class Value >
bool meow::SplayTree_Range< Key, Value >::Element::operator== ( Element const &  e2) const
inline

same as same(e2)

Definition at line 801 of file SplayTree.h.

template<class Key , class Value >
bool meow::SplayTree_Range< Key, Value >::Element::same ( Element const &  e2) const
inline

比對兩者是否為指向同一個Entry

Definition at line 781 of file SplayTree.h.


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