In file src/automat.h:

class automat


Public Classes

[more]struct statestruct transition
[more]struct state

Public Methods

[more]typedef void (T:: *action)(char c)
[more] automat(T *output)
[more]void add_transition(const char *src, const char *dest, const string in, action act = 0)
[more]void reset()
[more]void process(char c)
[more]bool is_end()
[more]bool is_error()
[more]bool is_eof()
[more]void read_from(istream &in)

Private Fields

[more]T* output
replace by &
[more]map<string,state> states
[more]state* begin
[more]state* end
[more]state* error
[more]state* eof
[more]state* current


Documentation

otypedef void (T:: *action)(char c)

ostruct statestruct transition

o transition(state *dest, const string &input, action act)

oset<char> input

ostate* dest

oaction act

ostruct state

ovoid add_transition(state *dest, const string &input, action act)

otransition* get_transition(char c)

olist<transition> transitions

o automat(T *output)

ovoid add_transition(const char *src, const char *dest, const string in, action act = 0)

ovoid reset()

ovoid process(char c)

obool is_end()

obool is_error()

obool is_eof()

ovoid read_from(istream &in)

oT* output
replace by &

omap<string,state> states

ostate* begin

ostate* end

ostate* error

ostate* eof

ostate* current


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.