~zorba-coders/zorba/bugs-1022495-and-1022494

« back to all changes in this revision

Viewing changes to swig/Item.h

  • Committer: chillery+launchpad at lambda
  • Date: 2012-09-12 00:14:08 UTC
  • mfrom: (10923.1.111 zorba)
  • Revision ID: chillery+launchpad@lambda.nu-20120912001408-r0hxvjukenfzpjrk
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
199
199
   * Note that this function is only available for node Items.
200
200
   *
201
201
   * @return bool if the name of the node was retrieved successfully
202
 
   * @return aNodeName the name of the node
 
202
   * @param aNodeName the name of the node
203
203
   * @throw ZorbaException if an error occured (e.g. the Item is not of type node).
204
204
   */
205
205
  bool getNodeName (Item &aNodeName) const;
298
298
   * Also note that this function is available for all types of Items.
299
299
   */
300
300
  void close();
 
301
  
 
302
  /** \brief Serializes the object
 
303
   *
 
304
   * Put the serialized object into the specified stream.
 
305
   *
 
306
   * @param aStream The stream to write the value of the Item.
 
307
   * @throw ZorbaException if an error occured.
 
308
   */
 
309
  void serializeToStream(ZorbaIOStream & aStream) const;
 
310
 
 
311
  /** \brief Serializes the object
 
312
   *
 
313
   * Put the serialized object into the specified stream.
 
314
   *
 
315
   * @param aStream The stream to write the value of the Item.
 
316
   * @param serOptions The serialization options for this Item
 
317
   * @throw ZorbaException if an error occured.
 
318
   */
 
319
  void serializeToStream(ZorbaIOStream & aStream, SerializationOptions serOptions) const;
 
320
 
301
321
}; // class Item
302
322
 
303
323
#endif