Interface for resources.
More...
#include <imdl_discovery_api.h>
|
using | Self = Interface_declare< id1, ... > |
| Own type. More...
|
|
using | IID = Uuid_t< id1, ... > |
| Declares the interface ID (IID) of this interface. More...
|
|
enum | Kind |
| The kinds of the graph nodes. More...
|
|
using | Self = Interface_declare< id1, ... > |
| Own type. More...
|
|
using | IID = Uuid_t< id1, ... > |
| Declares the interface ID (IID) of this interface. More...
|
|
using | IID = Uuid_t<0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0> |
| Declares the interface ID (IID) of this interface. More...
|
|
static bool | compare_iid (const Uuid &iid) |
| Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
|
|
static bool | compare_iid (const Uuid &iid) |
| Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
|
|
static bool | compare_iid (const Uuid &iid) |
| Compares the interface ID iid against the interface ID of this interface. More...
|
|
◆ get_extension()
virtual const char * mi::neuraylib::IMdl_resource_info::get_extension |
( |
| ) |
const |
|
pure virtual |
Returns the file extension of the resource file.
◆ get_resolved_path()
virtual const char * mi::neuraylib::IMdl_resource_info::get_resolved_path |
( |
| ) |
const |
|
pure virtual |
Returns an absolute path to the resource file in the local file system.
◆ get_search_path()
virtual const char * mi::neuraylib::IMdl_resource_info::get_search_path |
( |
| ) |
const |
|
pure virtual |
Returns the search path in the local file system that contains this resource.
◆ get_search_path_index()
virtual Size mi::neuraylib::IMdl_resource_info::get_search_path_index |
( |
| ) |
const |
|
pure virtual |
Returns the index of the search path where this resource has been found.
◆ get_shadow()
Returns one of the shadows this resource has.
- Parameters
-
index | Index in the shadow list of this resource. |
◆ get_shadows_count()
virtual Size mi::neuraylib::IMdl_resource_info::get_shadows_count |
( |
| ) |
const |
|
pure virtual |
Returns the number of shadows of this resource.
◆ in_archive()
virtual bool mi::neuraylib::IMdl_resource_info::in_archive |
( |
| ) |
const |
|
pure virtual |
Returns true
if the resource has been discovered inside of an archive, false
if not.