NEST
2.6.0,not_revisioned_source_dir@0
|
#include <triedatum.h>
Public Member Functions | |
TrieDatum (TrieDatum const &fd) | |
TrieDatum (Name const &n) | |
TrieDatum (Name const &n, const TokenArray &ta) | |
void | print (std::ostream &o) const |
void | pprint (std::ostream &o) const |
void | info (std::ostream &out) const |
bool | equals (Datum const *) const |
const Name & | getname (void) const |
void | insert (const TypeArray &a, const Token &t) |
void | insert_move (const TypeArray &a, Token &t) |
const Token & | lookup (const TokenStack &s) const |
TypeTrie & | get (void) |
Public Member Functions inherited from TypedDatum<&SLIInterpreter::Trietype > | |
TypedDatum (void) | |
Public Member Functions inherited from Datum | |
virtual | ~Datum () |
void | addReference () const |
void | removeReference () |
size_t | numReferences () const |
bool | is_executable () const |
void | set_executable () |
void | unset_executable () |
virtual void | list (std::ostream &o, std::string prefix, int l) const |
virtual void | input_form (std::ostream &o) const |
const Name & | gettypename (void) const |
bool | isoftype (SLIType const &t) const |
void | execute (SLIInterpreter *i) |
Static Public Member Functions | |
static void * | operator new (size_t size) |
static void | operator delete (void *p, size_t size) |
Static Protected Attributes | |
static sli::pool | memory |
Private Member Functions | |
Datum * | clone (void) const |
Virtual copy constructor. More... | |
Datum * | get_ptr () |
Returns a reference counted pointer to the datum, or a new pointer, if the type does not support reference counting. More... | |
Private Attributes | |
Name | name |
TypeTrie | tree |
Additional Inherited Members | |
Protected Member Functions inherited from TypedDatum<&SLIInterpreter::Trietype > | |
TypedDatum (const TypedDatum< slt > &d) | |
const TypedDatum< slt > & | operator= (const TypedDatum< slt > &) |
Protected Member Functions inherited from Datum | |
Datum () | |
Datum (const SLIType *t) | |
Datum (const Datum &d) | |
Protected Attributes inherited from Datum | |
const SLIType * | type |
Pointer to type object. More... | |
const SLIFunction * | action |
Shortcut to the SLIType default action. More... | |
unsigned int | reference_count_ |
bool | executable_ |
|
inline |
References Datum::set_executable().
Referenced by clone().
|
inline |
References Datum::set_executable().
|
inline |
References Datum::set_executable().
|
inlineprivatevirtual |
Virtual copy constructor.
Use this function to lazily copy a datum.
Implements Datum.
References TrieDatum().
|
virtual |
|
inline |
References tree.
Referenced by TrieInfoFunction::execute(), Cva_tFunction::execute(), and SLIInterpreter::print_error().
|
inlineprivatevirtual |
Returns a reference counted pointer to the datum, or a new pointer, if the type does not support reference counting.
The prefix const indicates that the pointer should be trated as const because changes affect all other references as well.
Reimplemented from Datum.
References Datum::addReference().
|
inline |
References name.
Referenced by AddtotrieFunction::execute(), Cva_tFunction::execute(), and SLIInterpreter::getcurrentname().
|
inlinevirtual |
Reimplemented from Datum.
References TypeTrie::info(), pprint(), and tree.
References TypeTrie::insert(), and tree.
References TypeTrie::insert_move(), and tree.
Referenced by AddtotrieFunction::execute().
|
inline |
References TypeTrie::lookup(), and tree.
Referenced by TrietypeFunction::execute().
|
inlinestatic |
References sli::pool::free(), memory, nest::names::p, and sli::pool::size_of().
|
inlinestatic |
References sli::pool::alloc(), memory, and sli::pool::size_of().
|
inlinevirtual |
|
inlinevirtual |
|
staticprotected |
Referenced by operator delete(), and operator new().
|
private |