Browse
 
Tools
Rss Categories

LVSemanticData Class

1 LVSemanticData C++ API Summary

LVSemanticData is the C++ class presenting semantic data. Think of an LVSemanticData object as a container containing one of the following items: An integer A floating point number A composite object An array Return Value Function Description LVSemanticData…

2 LVSemanticData::GetBool

Returns a boolean value contained in an LVSemanticData object. This function assumes that the object contains data of type SI_TYPE_BOOL. If the user calls this function when its type is not SI_TYPE_BOOL, the function always returns false. Function bool GetBool()…

3 LVSemanticData::GetDouble

Returns a double precision floating point value contained in the given semantic data object. This function assumes that the contained data is of type SI_TYPE_DOUBLE . If it is not, this function always returns 0.0. Function double GetDouble() Return Values…

4 LVSemanticData::GetInt

Returns the integer value contained in a given semantic data object. This function assumes that the data contained is of type SI_TYPE_INT. If it is not, this function always returns 0. Function int GetInt() Return Values An integer value. See Also LVSemanticData…

5 LVSemanticData::GetSemanticArray

If the LVSemanticData object contains an element of type SI_DATA_ARRAY this function returns the array object. Otherwise, it returns an empty array object. Function const LVSemanticArray& GetSemanticArray() Return Values A semantic array See Also LVSemanticData…

6 LVSemanticData::GetSemanticObject

If the LVSemanticData object contains an element of type SI_DATA_OBJECT, this function returns the composite object. Otherwise, it returns an empty object. Function const LVSemanticObject& GetSemanticObject() Return Values A semantic object See Also LVSemanticData…

7 LVSemanticData::GetString

Returns the string contained in a given LVSemanticData object. This function assumes that the contained data is of type SI_TYPE_STRING. If it is not, this function always returns NULL. Function const char* GetString() Return Values NULL Either the contained…

8 LVSemanticData::LVSemanticData

LVSemanticData constructor. Function LVSemanticData() LVSemanticData(const LVSemanticData & other) LVSemanticData(H_SI_DATA hsi) Parameters other The semantic data object being copied. hsi The semantic data handle being copied. Example C++ Code // The…

9 LVSemanticData::operator =

Assignment Operator. Function LVSemanticData& operator = (const LVSemanticData& other) Parameters other The semantic data object being copied. See Also LVSemanticData C++ API Summary ~LVSemanticData LVSemanticData_CreateFromCopy (C API)

10 LVSemanticData::Print

Prints the content of the object in specified format. Function const char* Print(int format) Parameters format The format type. Return Values Returns a string with the objects contents in the specified format. See Also LVSemanticData C++ API Summary LVSemanticData_Print…

1 2 Next