Templates -- Meow  1.1.2
不能,也不應該先編譯成obj-file的templates
meow::SplayTree< 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< Key, Value >::Element

類似 stliterator ,不過這邊叫做Element

用來當作回傳資料的媒介

Constructor & Destructor Documentation

template<class Key , class Value >
meow::SplayTree< Key, Value >::Element::Element ( )
inline
template<class Key , class Value >
meow::SplayTree< Key, Value >::Element::Element ( Node *  node)
inline
template<class Key , class Value >
meow::SplayTree< Key, Value >::Element::Element ( Element const &  element2)
inline
template<class Key , class Value >
meow::SplayTree< Key, Value >::Element::~Element ( )
inline

Member Function Documentation

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

複製資料

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

same as !same(e2)

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

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

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

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

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

same as copyFrom

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

same as same(e2)

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

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


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