version 3.3

VRS::DataResource Class Reference

Base class of all data resources used in imaging routines of VRS. More...

#include <vrs/io/dataresource.h>

Inheritance diagram for VRS::DataResource:

VRS::SharedObj VRS::Visitable VRS::DataSubResource VRS::FileDataResource VRS::MemoryDataResource

List of all members.

Public Member Functions

virtual void * pointer () const =0
 Returns a pointer to the data array.
virtual void * pointer (unsigned int byteOffset) const
 Returns a pointer to the data array starting at the given byteOffset.
virtual unsigned int size () const =0
 Returns the size of the data resource in bytes.
virtual bool isWritable () const =0
 Data resources can be writable, otherwise are read-only.
 VRS_TYPEINFO (DataResource, SharedObj)


Detailed Description

Base class of all data resources used in imaging routines of VRS.

Member Function Documentation

virtual void* VRS::DataResource::pointer (  )  const [pure virtual]

Returns a pointer to the data array.

Implemented in VRS::DataSubResource, VRS::FileDataResource, and VRS::MemoryDataResource.

virtual void* VRS::DataResource::pointer ( unsigned int  byteOffset  )  const [virtual]

Returns a pointer to the data array starting at the given byteOffset.

virtual unsigned int VRS::DataResource::size (  )  const [pure virtual]

Returns the size of the data resource in bytes.

Implemented in VRS::DataSubResource, VRS::FileDataResource, and VRS::MemoryDataResource.

virtual bool VRS::DataResource::isWritable (  )  const [pure virtual]

Data resources can be writable, otherwise are read-only.

Implemented in VRS::DataSubResource, VRS::FileDataResource, and VRS::MemoryDataResource.

VRS::DataResource::VRS_TYPEINFO ( DataResource  ,
SharedObj   
)


The documentation for this class was generated from the following file:

Generated on Mon May 20 06:00:27 2013 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact