2 ** Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 ** Distributed under the terms of the MIT License.
17 class File
: public Node
{
19 File(Volume
&volume
, block_run run
);
20 File(Volume
&volume
, off_t id
);
21 File(const Stream
&stream
);
26 virtual ssize_t
ReadAt(void *cookie
, off_t pos
, void *buffer
, size_t bufferSize
);
27 virtual ssize_t
WriteAt(void *cookie
, off_t pos
, const void *buffer
, size_t bufferSize
);
29 virtual status_t
GetName(char *nameBuffer
, size_t bufferSize
) const;
30 virtual int32
Type() const;
31 virtual off_t
Size() const;
32 virtual ino_t
Inode() const;