13LT_BEGIN_LIDAR_NAMESPACE
55 virtual void open(
void) = 0;
91 size_t nbytes)
const = 0;
104 size_t nbytes)
const = 0;
152LT_END_LIDAR_NAMESPACE
long long int lt_int64
signed 64-bit integer
#define ABSTRACT_OBJECT(classname)
Macros for defining boilerplate parts of derived Object classes.
IO is the base class for binary input and output.
lt_int64 offset_type
Integer data type for file offsets and sizes.
virtual void close(void)=0
Close the IO object.
virtual size_t pread(offset_type offset, void *buffer, size_t nbytes) const =0
Read data.
virtual void truncate(offset_type length)=0
Set the size of the resource.
virtual offset_type size(void) const =0
Get the size of the resource.
virtual void unlink(void)=0
Delete the resource when the IO object is deleted.
virtual void open(void)=0
Open the IO object.
virtual size_t pwrite(offset_type offset, const void *buffer, size_t nbytes) const =0
Write data.
Location is a helper structure for holding the location of data in a IO object.
Location(const Location &rhs)
void set(IO *io, offset_type offset, offset_type length)
Location(IO *io=nullptr, offset_type offset=0, offset_type length=0)
Location & operator=(const Location &rhs)
Object is the base class for implementing reference counting.