LVParseTree Construction, Assignment and Destruction

LVParseTree objects are fully copyable and assignable.

Functions

LVParseTree()

LVParseTree(const LVParseTree& Other)

LVParseTree& operator = (const LVParseTree& Other)

~LVParseTree()

Parameters

Other

The LVParseTree object being copied

Remarks

You shouldn't have to worry too much about construction or destruction of an LVParseTree object.  When you declare an LVParseTree, an empty tree is created.  Just set it equal to the results of a decode, and begin using it.

Example

LVSpeechPort Port;

//open the port and do a decode
//...
//when the decode is finished, grab a parse tree from the speech port

LVParseTree Tree = Port.GetParseTree (voicechannel, index);

//start using the tree.  It is valid as long as its in scope.
 

See Also

Creating and Releasing an LVParseTree Handle (C API)


Complete Help Topic List | Speech Engine Product Information