Logo Search packages:      
Sourcecode: ardour version File versions  Download package

IOStatus Glib::IOChannel::read ( gunichar &  unichar  )  [inherited]

Read a single UCS-4 character.

Return values:
unichar The Unicode character.
Returns:
The status of the operation.
Exceptions:
Glib::IOChannelError 
Glib::ConvertError This function cannot be called on a channel with 0 encoding.
Parameters:
thechar A location to return a character.
error A location to return an error of type G::ConvertError or G::IOChannelError.
Returns:
A G::IOStatus.

Definition at line 580 of file iochannel.cc.

{
  GError *error = 0;
  IOStatus retvalue = ((IOStatus)(g_io_channel_read_unichar(gobj(), &(unichar), &(error))));
  if(error) ::Glib::Error::throw_exception(error);
  return retvalue;
}


Generated by  Doxygen 1.6.0   Back to index