NEST  2.6.0,not_revisioned_source_dir@0
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
TypeTrie Class Reference

#include <typechk.h>

Classes

class  TypeNode
 

Public Member Functions

 TypeTrie ()
 
 TypeTrie (const TokenArray &ta)
 
 TypeTrie (const TypeTrie &tt)
 
 ~TypeTrie ()
 
void insert_move (const TypeArray &, Token &)
 
void insert (const TypeArray &a, const Token &t)
 
const Tokenlookup (const TokenStack &st) const
 
bool operator== (const TypeTrie &) const
 
bool equals (const Name &, const Name &) const
 
void toTokenArray (TokenArray &) const
 
void info (std::ostream &) const
 

Private Member Functions

TypeNodegetalternative (TypeNode *, const Name &)
 
TypeNodenewnode (const TokenArray &) const
 

Private Attributes

TypeNoderoot
 

Constructor & Destructor Documentation

TypeTrie::TypeTrie ( )
inline
TypeTrie::TypeTrie ( const TokenArray ta)
inline

References newnode(), and root.

TypeTrie::TypeTrie ( const TypeTrie tt)
inline
TypeTrie::~TypeTrie ( )
inline

Member Function Documentation

bool TypeTrie::equals ( const Name t1,
const Name t2 
) const
inline

References sli::any.

Referenced by lookup().

TypeTrie::TypeNode * TypeTrie::getalternative ( TypeTrie::TypeNode pos,
const Name type 
)
private
void TypeTrie::info ( std::ostream &  out) const
void TypeTrie::insert ( const TypeArray a,
const Token t 
)
inline

References insert_move().

Referenced by TrieDatum::insert().

void TypeTrie::insert_move ( const TypeArray a,
Token f 
)
const Token & TypeTrie::lookup ( const TokenStack st) const
inline
TypeTrie::TypeNode * TypeTrie::newnode ( const TokenArray ta) const
private
bool TypeTrie::operator== ( const TypeTrie tt) const
inline

References root.

void TypeTrie::toTokenArray ( TokenArray a) const

Member Data Documentation

TypeNode* TypeTrie::root
private

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