gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::Trie< Key, Value >::Node Struct Reference

#include <trie.hh>

Public Member Functions

bool matches (Key test)
 
 Node (Key _key, Key _mask, Value *_val)
 
void clear ()
 
void dump (std::ostream &os, int level)
 

Public Attributes

Key key
 
Key mask
 
Valuevalue
 
Nodeparent
 
std::unique_ptr< Nodekids [2]
 

Detailed Description

template<class Key, class Value>
struct gem5::Trie< Key, Value >::Node

Definition at line 59 of file trie.hh.

Constructor & Destructor Documentation

◆ Node()

template<class Key , class Value >
gem5::Trie< Key, Value >::Node::Node ( Key _key,
Key _mask,
Value * _val )
inline

Definition at line 75 of file trie.hh.

References gem5::Trie< Key, Value >::Node::kids.

Member Function Documentation

◆ clear()

template<class Key , class Value >
void gem5::Trie< Key, Value >::Node::clear ( )
inline

Definition at line 84 of file trie.hh.

References gem5::Trie< Key, Value >::Node::kids.

Referenced by gem5::Trie< Key, Value >::clear().

◆ dump()

◆ matches()

template<class Key , class Value >
bool gem5::Trie< Key, Value >::Node::matches ( Key test)
inline

Member Data Documentation

◆ key

template<class Key , class Value >
Key gem5::Trie< Key, Value >::Node::key

◆ kids

◆ mask

◆ parent

template<class Key , class Value >
Node* gem5::Trie< Key, Value >::Node::parent

◆ value


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

Generated on Tue Jun 18 2024 16:24:15 for gem5 by doxygen 1.11.0