Interface for a graph node representing an MDL package. More...
#include <imdl_discovery_api.h>
Public Member Functions | |
virtual Size | get_child_count () const =0 |
Returns the number of modules and packages contained by this package. More... | |
virtual const IMdl_info * | get_child (Size index) const =0 |
Returns a child of this package. More... | |
virtual Size | get_search_path_index_count () const =0 |
Returns the number of search paths of this package. More... | |
virtual Size | get_search_path_index (Size index) const =0 |
Returns the search path index in the current IMdl_discovery_result. More... | |
virtual const char * | get_search_path (Size index) const =0 |
Returns a search path in the local file system where this package has been found. More... | |
virtual const IString * | get_resolved_path (Size index) const =0 |
Returns an absolute path to package in the local file system. More... | |
virtual bool | in_archive (Size index) const =0 |
Returns true if the package has been discovered inside of an archive, false if not. More... | |
Additional Inherited Members | |
Public Types inherited from mi::base::Interface_declare< 0x94d, ... > | |
typedef Interface_declare< id1, ... > | Self |
Own type. More... | |
typedef Uuid_t< id1, ... > | IID |
Declares the interface ID (IID) of this interface. More... | |
Static Public Member Functions inherited from mi::base::Interface_declare< 0x94d, ... > | |
static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface and of its ancestors. More... | |
Interface for a graph node representing an MDL package.
|
pure virtual |
Returns a child of this package.
index | Index in the child list of this package. |
|
pure virtual |
Returns the number of modules and packages contained by this package.
|
pure virtual |
Returns an absolute path to package in the local file system.
index | Index in the resolved path list of this package. |
|
pure virtual |
Returns a search path in the local file system where this package has been found.
index | Index in the search path list of this package. |
|
pure virtual |
Returns the search path index in the current IMdl_discovery_result.
index | Index in the IMdl_discovery_result search path list. |
|
pure virtual |
Returns the number of search paths of this package.
|
pure virtual |
Returns true
if the package has been discovered inside of an archive, false
if not.
index | Index in the interval [0, search_path_index_count). |