RenderMan API  23.0
RixLPEAutomata Class Reference

#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.

Definition at line 70 of file RixLPEInline.h.

Member Function Documentation

◆ getRules()

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

Definition at line 90 of file RixLPEInline.h.

◆ getTransition()

short RixLPEAutomata::getTransition ( short  state,
RixLPEToken  symbol 
) const
inline

Definition at line 73 of file RixLPEInline.h.

Member Data Documentation

◆ m_rules

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

Definition at line 116 of file RixLPEInline.h.

◆ m_states

std::vector<State> RixLPEAutomata::m_states

Definition at line 117 of file RixLPEInline.h.

◆ m_trans

std::vector<Transition> RixLPEAutomata::m_trans

Definition at line 115 of file RixLPEInline.h.


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