teditor  1.8.0@@fee5e94
Terminal based editor written in C++
Public Member Functions | List of all members
teditor::Node Class Reference

#include <trie.h>

Public Member Functions

 Node ()
 
 ~Node ()
 
NodeaddNode (const std::string &key)
 
void delNode (const Strings &keys, size_t pos)
 
NodegetNode (const std::string &key)
 
void makeLeaf (const std::string &d)
 
bool leaf () const
 
const std::string & data ()
 
void clear ()
 

Constructor & Destructor Documentation

◆ Node()

teditor::Node::Node ( )
inline

◆ ~Node()

teditor::Node::~Node ( )
inline

Member Function Documentation

◆ addNode()

Node * teditor::Node::addNode ( const std::string &  key)

◆ clear()

void teditor::Node::clear ( )

◆ data()

const std::string& teditor::Node::data ( )
inline

◆ delNode()

void teditor::Node::delNode ( const Strings keys,
size_t  pos 
)

◆ getNode()

Node * teditor::Node::getNode ( const std::string &  key)

◆ leaf()

bool teditor::Node::leaf ( ) const
inline

◆ makeLeaf()

void teditor::Node::makeLeaf ( const std::string &  d)

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