Public Member Functions | Protected Attributes

wali::witness::WitnessTrans Class Reference

List of all members.

Public Member Functions

 WitnessTrans (const wfa::ITrans &t)
 constructor
 ~WitnessTrans ()
virtual void accept (Visitor &v, bool visitOnce=false)
virtual std::ostream & prettyPrint (std::ostream &o, size_t depth) const
const wfa::TransgetTrans () const

Protected Attributes

wfa::Trans t

Detailed Description

This class bears witness to the fact that a weight comes from a transition, most likely user supplied as in the input WFA to pre/poststar


Constructor & Destructor Documentation

wali::witness::WitnessTrans::WitnessTrans ( const wfa::ITrans t  ) 

constructor

Creates a WitnessTrans. Copies information from trans_t excluding the weight, which it passes to its parent class Witness. This class should be kept in sync with reference counting of transitions, namely if it is changed that WFA uses reference counting then the contructor should reflect that. Local copies of the Trans object are made so that a cycle is not created b/c cycles render reference counting useless.

See also:
Witness
Trans
sem_elem_t
WFA
wali::witness::WitnessTrans::~WitnessTrans (  ) 

Destructor does nothing.


Member Function Documentation

void wali::witness::WitnessTrans::accept ( Visitor v,
bool visitOnce  ATTR_UNUSED = false 
) [virtual]
std::ostream & wali::witness::WitnessTrans::prettyPrint ( std::ostream &  o,
size_t  depth 
) const [virtual]
const wfa::Trans & wali::witness::WitnessTrans::getTrans (  )  const

Member Data Documentation

Referenced by getTrans(), and prettyPrint().


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