RenderMan  26.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RixLPEAutomata Class Reference

A compact deterministic finite automata class. More...

#include <RixLPEInline.h>

Classes

struct  State
 
struct  Transition
 

Public Member Functions

short getTransition (short state, RixLPEToken symbol) const
 
void *const * getRules (int state, int &count) const
 

Public Attributes

std::vector< Transitionm_trans
 
std::vector< void * > m_rules
 
std::vector< Statem_states
 

Detailed Description

A compact deterministic finite automata class.

Stores the state transition tables and the per-state list of channel ids to accumulate results into.

Member Function Documentation

void* const* RixLPEAutomata::getRules ( int  state,
int &  count 
) const
inline

References m_rules, and m_states.

Member Data Documentation

std::vector<void *> RixLPEAutomata::m_rules

Referenced by getRules().

std::vector<State> RixLPEAutomata::m_states

Referenced by getRules(), and getTransition().

std::vector<Transition> RixLPEAutomata::m_trans

Referenced by getTransition().


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