LVSemanticData

LVSemanticData is the C++ class presenting semantic data. Think of an LVSemanticData object as a container containing one of the following items

 

Return Value

Function

Description

 

LVSemanticData( )

Constructor

 

LVSemanticData (const LVSemanticData& other)

Copy constructor

LVSemanticData

operator = (const LVSemanticData& other)

Assignment operator

 

~LVSemanticdata ( )

Destructor

 

 

 

int

Type ( )

Returns the semantic data type contained in this object.

bool

GetBool ( )

If thedata in this object  is of  type SI_TYPE_BOOL, returns the boolean value.

int

GetInt ( )

If the data in this object is of type SI_TYPE_INT, returns the integer value

double

GetDouble ( )

If the data in this object is of type SI_TYPE_DOUBLE, returns the floating point value.

const char*

GetString ( )

If the data in this object is of type SI_TYPE_STRING, returns the string value.

LVSemanticObject

GetSemanticObject ( )

If the data in this object is of type SI_TYPE_OBJECT, returns the semantic object value.

LVSemanticArray

GetSemanticArray ( )

If the data in this object is of type SI_TYPE_ARRAY, returns the semantic array value.

 

 

 

 

 


Complete Help Topic List | Speech Engine Product Information