Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > e0521f28751d07a87e3a3d6c7d15a1ac > files > 680

libgtkmm2.0_1-devel-2.2.1-2mdk.ppc.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Glib::FileError class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<table border="0" width="100%">
<tr>
    <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td>
    <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td>
</tr>
</table>
<center>
  <a class="qindex" href="../../index.html">Main Page</a> &nbsp;
  <a href="group__Widgets.html">Widgets</a> &nbsp;
  <a class="qindex" href="namespaces.html"> Namespaces</a> &nbsp;
  <a href="../../tutorial/html/index.html"> Book</a> &nbsp;
</center>
<hr width="100%"/>

<!-- Generated by Doxygen 1.3-rc1 -->
<h1>Glib::FileError Class Reference<br>
<small>
[<a class="el" href="group__FileUtils.html">File Utilities</a>]</small>
</h1><a class="el" href="classGlib_1_1Exception.html">Exception</a> class for file-related errors. 
<a href="#_details">More...</a>
<p>
Inheritance diagram for Glib::FileError:<p><center><img src="classGlib_1_1FileError__inherit__graph.png" border="0" usemap="#Glib_1_1FileError__inherit__map" alt="Inheritance graph"></center>
<map name="Glib_1_1FileError__inherit__map">
<area href="classGlib_1_1Error.html" shape="rect" coords="21,86,93,105" alt="">
<area href="classGlib_1_1Exception.html" shape="rect" coords="7,17,108,36" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGlib_1_1FileError-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classGlib_1_1FileError.html#s24">Code</a> { <br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s0">EXISTS</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s1">IS_DIRECTORY</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s2">ACCESS_DENIED</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s3">NAME_TOO_LONG</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s4">NO_SUCH_ENTITY</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s5">NOT_DIRECTORY</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s6">NO_SUCH_DEVICE</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s7">NOT_DEVICE</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s8">READONLY_FILESYSTEM</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s9">TEXT_FILE_BUSY</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s10">FAULTY_ADDRESS</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s11">SYMLINK_LOOP</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s12">NO_SPACE_LEFT</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s13">NOT_ENOUGH_MEMORY</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s14">TOO_MANY_OPEN_FILES</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s15">FILE_TABLE_OVERFLOW</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s16">BAD_FILE_DESCRIPTOR</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s17">INVALID_ARGUMENT</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s18">BROKEN_PIPE</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s19">TRYAGAIN</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s20">INTERRUPTED</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s21">IO_ERROR</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s22">NOT_OWNER</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classGlib_1_1FileError.html#s24s23">FAILED</a>
<br>
 }</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Values corresponding to <code>errno</code> codes returned from file operations on UNIX.</em> <a href="#s24">More...</a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classGlib_1_1FileError.html#a0">FileError</a> (<a class="el" href="classGlib_1_1FileError.html#s24">Code</a> error_code, const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp; error_message)</td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classGlib_1_1FileError.html#a1">FileError</a> (GError* gobject)</td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classGlib_1_1FileError.html#s24">Code</a>&nbsp;</td><td valign=bottom><a class="el" href="classGlib_1_1FileError.html#a2">code</a> () const</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classGlib_1_1Exception.html">Exception</a> class for file-related errors.
<p>
<hr><h2>Member Enumeration Documentation</h2>
<a name="s24" doxytag="Glib::FileError::Code"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> enum Glib::FileError::Code
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Values corresponding to <code>errno</code> codes returned from file operations on UNIX.
<p>
Unlike <code>errno</code> codes, <a class="el" href="classGlib_1_1FileError.html#s24">FileError::Code</a> values are available on all systems, even Windows. The exact meaning of each code depends on what sort of file operation you were performing; the UNIX documentation gives more details. The following error code descriptions come from the GNU C Library manual, and are under the copyright of that manual.
<p>
It's not very portable to make detailed assumptions about exactly which errors will be returned from a given operation. Some errors don't occur on some systems, etc., sometimes there are subtle differences in when a system will report a given error, etc. <dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a name="s24s0" doxytag="EXISTS"></a><em>EXISTS</em></em>&nbsp;</td><td>
<code>(EEXIST)</code> Operation not permitted; only the owner of the file (or other resource) or processes with special privileges can perform the operation. <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s1" doxytag="IS_DIRECTORY"></a><em>IS_DIRECTORY</em></em>&nbsp;</td><td>
<code>(EISDIR)</code> File is a directory; you cannot open a directory for writing, or create or remove hard links to it. <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s2" doxytag="ACCESS_DENIED"></a><em>ACCESS_DENIED</em></em>&nbsp;</td><td>
<code>(EACCES)</code> Permission denied; the file permissions do not allow the attempted operation. <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s3" doxytag="NAME_TOO_LONG"></a><em>NAME_TOO_LONG</em></em>&nbsp;</td><td>
<code>(ENAMETOOLONG)</code> Filename too long. <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s4" doxytag="NO_SUCH_ENTITY"></a><em>NO_SUCH_ENTITY</em></em>&nbsp;</td><td>
<code>(ENOENT)</code> No such file or directory. This is a "file doesn't exist" error for ordinary files that are referenced in contexts where they are expected to already exist. <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s5" doxytag="NOT_DIRECTORY"></a><em>NOT_DIRECTORY</em></em>&nbsp;</td><td>
<code>(ENOTDIR)</code> A file that isn't a directory was specified when a directory is required. <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s6" doxytag="NO_SUCH_DEVICE"></a><em>NO_SUCH_DEVICE</em></em>&nbsp;</td><td>
<code>(ENXIO)</code> No such device or address. The system tried to use the device represented by a file you specified, and it couldn't find the device. This can mean that the device file was installed incorrectly, or that the physical device is missing or not correctly attached to the computer. <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s7" doxytag="NOT_DEVICE"></a><em>NOT_DEVICE</em></em>&nbsp;</td><td>
<code>(ENODEV)</code> This file is of a type that doesn't support mapping. <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s8" doxytag="READONLY_FILESYSTEM"></a><em>READONLY_FILESYSTEM</em></em>&nbsp;</td><td>
<code>(EROFS)</code> The directory containing the new link can't be modified because it's on a read-only file system. <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s9" doxytag="TEXT_FILE_BUSY"></a><em>TEXT_FILE_BUSY</em></em>&nbsp;</td><td>
<code>(ETXTBSY)</code> Text file busy. <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s10" doxytag="FAULTY_ADDRESS"></a><em>FAULTY_ADDRESS</em></em>&nbsp;</td><td>
<code>(EFAULT)</code> You passed in a pointer to bad memory. (Glib won't reliably return this, don't pass in pointers to bad memory.) <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s11" doxytag="SYMLINK_LOOP"></a><em>SYMLINK_LOOP</em></em>&nbsp;</td><td>
<code>(ELOOP)</code> Too many levels of symbolic links were encountered in looking up a file name. This often indicates a cycle of symbolic links. <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s12" doxytag="NO_SPACE_LEFT"></a><em>NO_SPACE_LEFT</em></em>&nbsp;</td><td>
<code>(ENOSPC)</code> No space left on device; write operation on a file failed because the disk is full. <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s13" doxytag="NOT_ENOUGH_MEMORY"></a><em>NOT_ENOUGH_MEMORY</em></em>&nbsp;</td><td>
<code>(ENOMEM)</code> No memory available. The system cannot allocate more virtual memory because its capacity is full. <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s14" doxytag="TOO_MANY_OPEN_FILES"></a><em>TOO_MANY_OPEN_FILES</em></em>&nbsp;</td><td>
<code>(EMFILE)</code> The current process has too many files open and can't open any more. Duplicate descriptors do count toward this limit. <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s15" doxytag="FILE_TABLE_OVERFLOW"></a><em>FILE_TABLE_OVERFLOW</em></em>&nbsp;</td><td>
<code>(ENFILE)</code> There are too many distinct file openings in the entire system. <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s16" doxytag="BAD_FILE_DESCRIPTOR"></a><em>BAD_FILE_DESCRIPTOR</em></em>&nbsp;</td><td>
<code>(EBADF)</code> Bad file descriptor; for example, I/O on a descriptor that has been closed or reading from a descriptor open only for writing (or vice versa). <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s17" doxytag="INVALID_ARGUMENT"></a><em>INVALID_ARGUMENT</em></em>&nbsp;</td><td>
<code>(EINVAL)</code> Invalid argument. This is used to indicate various kinds of problems with passing the wrong argument to a library function. <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s18" doxytag="BROKEN_PIPE"></a><em>BROKEN_PIPE</em></em>&nbsp;</td><td>
<code>(EPIPE)</code> Broken pipe; there is no process reading from the other end of a pipe. Every library function that returns this error code also generates a <code>SIGPIPE</code> signal; this signal terminates the program if not handled or blocked. Thus, your program will never actually see this code unless it has handled or blocked <code>SIGPIPE</code>. <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s19" doxytag="TRYAGAIN"></a><em>TRYAGAIN</em></em>&nbsp;</td><td>
<code>(EAGAIN)</code> Resource temporarily unavailable; the call might work if you try again later. We used TRYAGAIN instead of TRY_AGAIN, because that is a defined as a macro by a Unix header. <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s20" doxytag="INTERRUPTED"></a><em>INTERRUPTED</em></em>&nbsp;</td><td>
<code>(EINTR)</code> Interrupted function call; an asynchronous signal occurred and prevented completion of the call. When this happens, you should try the call again. <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s21" doxytag="IO_ERROR"></a><em>IO_ERROR</em></em>&nbsp;</td><td>
<code>(EIO)</code> Input/output error; usually used for physical read or write errors. I.e. the disk or other physical device hardware is returning errors. <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s22" doxytag="NOT_OWNER"></a><em>NOT_OWNER</em></em>&nbsp;</td><td>
<code>(EPERM)</code> Operation not permitted; only the owner of the file (or other resource) or processes with special privileges can perform the operation. <br>
<br>
 </td></tr>
<tr><td valign=top><em><a name="s24s23" doxytag="FAILED"></a><em>FAILED</em></em>&nbsp;</td><td>
Does not correspond to a UNIX error code; this is the standard "failed for unspecified reason" error code present in all <a class="el" href="classGlib_1_1Error.html">Glib::Error</a> error code enumerations. Returned if no specific code applies. </td></tr>
</table>
</dl>
    </td>
  </tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="Glib::FileError::FileError"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Glib::FileError::FileError </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top"><a class="el" href="classGlib_1_1FileError.html#s24">Code</a>&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>error_code</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>&amp;&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>error_message</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="a1" doxytag="Glib::FileError::FileError"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Glib::FileError::FileError </td>
          <td class="md" valign="top">(</td>
          <td class="md" nowrap valign="top">GError*&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>gobject</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [explicit]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a2" doxytag="Glib::FileError::code"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classGlib_1_1FileError.html#s24">Code</a> Glib::FileError::code </td>
          <td class="md" valign="top">(</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Reimplemented from <a class="el" href="classGlib_1_1Error.html#a7">Glib::Error</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="fileutils_8h.html">fileutils.h</a></ul>
<hr><address><small>
Generated for gtkmm by <a href="http://www.doxygen.org/index.html">
Doxygen</a> 1.3-rc1 &copy;&nbsp;1997-2001</small></address>
</body>
</html>