#include <FILE.h>
Inheritance diagram for ACE_FILE:
Public Methods | |
int | close (void) |
Close the <ACE_FILE> handle without removing the <ACE_FILE> from the file system. More... | |
int | remove (void) |
Close and remove the <ACE_FILE> from the file system. More... | |
int | unlink (void) |
Remove the <ACE_FILE> from the file system without closing the <ACE_FILE> handle. More... | |
int | get_info (ACE_FILE_Info *finfo) |
Get information on this <ACE_FILE>. More... | |
int | get_info (ACE_FILE_Info &finfo) |
Get information on this <ACE_FILE>. More... | |
int | truncate (off_t length) |
Set filesize to length byte. More... | |
off_t | seek (off_t offset, int whence=SEEK_CUR) |
Sets the file pointer as follows: o If <whence> is <SEEK_SET>, the pointer is set to <offset> bytes. More... | |
off_t | position (long offset, int startpos) |
off_t | tell (void) |
Return an offset for the file handle. More... | |
off_t | position (void) |
Same as <tell>, but <position> is deprecated. More... | |
int | disable (int signum) const |
Disable signal <signum> This is here to prevent Win32 from disabling SPIPE using socket calls. More... | |
int | get_local_addr (ACE_Addr &) const |
Return the local endpoint address in the referenced <ACE_Addr>. Returns 0 if successful, else -1. More... | |
int | get_remote_addr (ACE_Addr &) const |
Return the same thing as <get_local_addr>. More... | |
void | dump (void) const |
Dump the state of an object. More... | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. More... | |
Protected Methods | |
ACE_FILE (void) | |
Ensure that this class is only created by the <ACE_FILE_Connector>. More... | |
Protected Attributes | |
ACE_FILE_Addr | addr_ |
File we are "connected" with... More... |
|
Ensure that this class is only created by the <ACE_FILE_Connector>.
|
|
Close the <ACE_FILE> handle without removing the <ACE_FILE> from the file system.
|
|
Disable signal <signum> This is here to prevent Win32 from disabling SPIPE using socket calls.
Reimplemented from ACE_IO_SAP. |
|
Dump the state of an object.
Reimplemented from ACE_IO_SAP. Reimplemented in ACE_FILE_IO. |
|
Get information on this <ACE_FILE>.
|
|
Get information on this <ACE_FILE>.
|
|
Return the local endpoint address in the referenced <ACE_Addr>. Returns 0 if successful, else -1.
|
|
Return the same thing as <get_local_addr>.
|
|
Same as <tell>, but <position> is deprecated.
|
|
|
|
Close and remove the <ACE_FILE> from the file system.
|
|
Sets the file pointer as follows: o If <whence> is <SEEK_SET>, the pointer is set to <offset> bytes. o If <whence> is <SEEK_CUR>, the pointer is set to its current location plus <offset>. o If <whence> is <SEEK_END>, the pointer is set to the size of the file plus offset. Same as <seek>, but <position> is deprecated. |
|
Return an offset for the file handle.
|
|
Set filesize to length byte.
|
|
Remove the <ACE_FILE> from the file system without closing the <ACE_FILE> handle.
|
|
Declare the dynamic allocation hooks.
Reimplemented from ACE_IO_SAP. Reimplemented in ACE_FILE_IO. |
|
File we are "connected" with...
|