OpenSpeech Browser

Getting Started
Architecture Description
Integration Guide

Copyright (c) 1998-2001 SpeechWorks International, Inc. All Rights Reserved.



VXIVALUE_API VXIvalueResult VXIMapSetProperty

(VXIMap* m,
  const VXIchar* key,
  VXIValue* val)

Set a named property on an Map

Documentation

Set a named property on an Map

The value can be an Map so a tree can be constructed.

If the property already exists, the existing value is first destroyed using VXIValueDestroy( ) (thus recursively deleting held values within it if it is an Map or Vector), then does the set operation with the new value.

Parameters:
m - Map to access
key - NULL terminated property name
val - Value to set the property to, ownership is passed to the Map (a simple pointer copy is done), so on success the user must not delete, modify, or otherwise use this. Also be careful to not add a Map as a property of itself (directly or indirectly), otherwise infinite loops may occur on access or deletion.
Returns:
VXIvalue_RESULT_SUCCESS on success

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.