33#ifndef DART_COMMON_LOCALRESOURCE_HPP_
34#define DART_COMMON_LOCALRESOURCE_HPP_
59 std::size_t
tell()
override;
66 void* _buffer, std::size_t _size, std::size_t _count)
override;
#define DART_DECLARE_CLASS_WITH_VIRTUAL_BASE_END
Definition ClassWithVirtualBase.hpp:44
#define DART_DECLARE_CLASS_WITH_VIRTUAL_BASE_BEGIN
Definition ClassWithVirtualBase.hpp:43
Definition LocalResource.hpp:44
LocalResource & operator=(const LocalResource &_other)=delete
std::FILE * mFile
Definition LocalResource.hpp:69
bool isGood() const
Returns true if the resource is open and in a valid state.
Definition LocalResource.cpp:67
LocalResource(const LocalResource &_other)=delete
std::size_t tell() override
Return the current value of the position indicator.
Definition LocalResource.cpp:129
virtual ~LocalResource()
Definition LocalResource.cpp:54
std::size_t getSize() override
Return the size of the resource, in bytes.
Definition LocalResource.cpp:73
bool seek(ptrdiff_t _origin, SeekType _mode) override
Set the position indicator to a new position.
Definition LocalResource.cpp:157
std::size_t read(void *_buffer, std::size_t _size, std::size_t _count) override
Read _count element, each of size _size, into _buffer.
Definition LocalResource.cpp:191
Resource provides file-like access to a resource loaded from URI.
Definition Resource.hpp:49
SeekType
Position to seek relative to.
Definition Resource.hpp:53
Definition BulletCollisionDetector.cpp:65