#include <AssimpInputResourceAdaptor.hpp>
◆ AssimpInputResourceAdaptor()
dart::dynamics::AssimpInputResourceAdaptor::AssimpInputResourceAdaptor |
( |
const common::ResourcePtr & |
_resource | ) |
|
|
explicit |
◆ ~AssimpInputResourceAdaptor()
dart::dynamics::AssimpInputResourceAdaptor::~AssimpInputResourceAdaptor |
( |
| ) |
|
|
virtual |
◆ FileSize()
std::size_t dart::dynamics::AssimpInputResourceAdaptor::FileSize |
( |
| ) |
const |
|
override |
Returns filesize.
Returns the filesize.
◆ Flush()
void dart::dynamics::AssimpInputResourceAdaptor::Flush |
( |
| ) |
|
|
override |
Not implemented. This is a read-only stream.
◆ Read()
std::size_t dart::dynamics::AssimpInputResourceAdaptor::Read |
( |
void * |
pvBuffer, |
|
|
std::size_t |
pSize, |
|
|
std::size_t |
pCount |
|
) |
| |
|
override |
Read from the file.
See fread() for more details
◆ Seek()
aiReturn dart::dynamics::AssimpInputResourceAdaptor::Seek |
( |
std::size_t |
pOffset, |
|
|
aiOrigin |
pOrigin |
|
) |
| |
|
override |
Set the read/write cursor of the file.
Note that the offset is negative for aiOrigin_END. See fseek() for more details
◆ Tell()
std::size_t dart::dynamics::AssimpInputResourceAdaptor::Tell |
( |
| ) |
const |
|
override |
Get the current position of the read/write cursor.
See ftell() for more details
◆ Write()
std::size_t dart::dynamics::AssimpInputResourceAdaptor::Write |
( |
const void * |
pvBuffer, |
|
|
std::size_t |
pSize, |
|
|
std::size_t |
pCount |
|
) |
| |
|
override |
Not implemented. This is a read-only stream.
◆ mResource