![]() | InDesign SDK 20.5 |
#include <IDResourceShell.h>
Public Types | |
| typedef base_type | data_type |
Public Member Functions | |
| IDResource (IDResourcePrivateWrapper *resource) | |
| virtual | ~IDResource () |
| void * | Get () const |
| size_t | Length () const |
| bool16 | IsValid () const |
Struct to hold shared pointer to a resource wrapper so clients don't have to worry about memory management
| IDResource::IDResource | ( | IDResourcePrivateWrapper * | resource | ) |
Constructor
| resource | [IN] resource wrapper to manage |
| inlinevirtual |
Destructor
| void* IDResource::Get | ( | ) | const |
Returns a pointer to the managed resource buffer
| bool16 IDResource::IsValid | ( | ) | const |
Returns true if this resource wrapper is wrapping an actual and valid resource
| size_t IDResource::Length | ( | ) | const |
Returns the length of the managed resource buffer