#include <Trie.h>
Public Member Functions | |
void | clear () |
TrieNode< T > * | newNode (const T &value) |
TrieFactory (unsigned paquetSize) | |
~TrieFactory () | |
Private Member Functions | |
TrieFactory & | operator= (const TrieFactory &e)=delete |
avoid affectation operator More... | |
TrieFactory ()=delete | |
avoid default constructor More... | |
TrieFactory (const TrieFactory &e)=delete | |
avoid copy constructor More... | |
Private Attributes | |
std::list< TrieNode< T > * > | _allocatedNodes |
TrieNode< T > * | _lastNodes |
unsigned | _nbUsedInLastNodes |
unsigned | _paquetSize |
The goal of this class is to allocate Trie node by paquet of X element in order to reduce heap-admin size
edm::TrieFactory< T >::TrieFactory | ( | unsigned | paquetSize | ) |
edm::TrieFactory< T >::~TrieFactory | ( | ) |
Definition at line 326 of file Trie.h.
References edm::TrieFactory< T >::_allocatedNodes, and edm::TrieFactory< T >::_lastNodes.
|
privatedelete |
avoid default constructor
|
privatedelete |
avoid copy constructor
void edm::TrieFactory< T >::clear | ( | void | ) |
Definition at line 353 of file Trie.h.
References edm::TrieFactory< T >::_allocatedNodes, and edm::TrieFactory< T >::_nbUsedInLastNodes.
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), BeautifulSoup.Tag::setString(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
edm::TrieNode< T > * edm::TrieFactory< T >::newNode | ( | const T & | value | ) |
Definition at line 337 of file Trie.h.
References edm::TrieFactory< T >::_allocatedNodes, edm::TrieFactory< T >::_lastNodes, edm::TrieFactory< T >::_nbUsedInLastNodes, edm::TrieFactory< T >::_paquetSize, edm::TrieNode< T >::clear(), and edm::TrieNode< T >::setValue().
|
privatedelete |
avoid affectation operator
|
private |
Definition at line 61 of file Trie.h.
Referenced by edm::TrieFactory< T >::clear(), edm::TrieFactory< T >::newNode(), and edm::TrieFactory< T >::~TrieFactory().
|
private |
Definition at line 62 of file Trie.h.
Referenced by edm::TrieFactory< T >::newNode(), edm::TrieFactory< T >::TrieFactory(), and edm::TrieFactory< T >::~TrieFactory().
|
private |
Definition at line 63 of file Trie.h.
Referenced by edm::TrieFactory< T >::clear(), and edm::TrieFactory< T >::newNode().
|
private |
Definition at line 60 of file Trie.h.
Referenced by edm::TrieFactory< T >::newNode().