Material Definition Language API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::neuraylib::IMdl_package_info Class Referenceabstract

Interface for a graph node representing an MDL package. More...

Inheritance diagram for mi::neuraylib::IMdl_package_info:
mi::base::Interface_declare< 0x94d, 0x66, 0x47a, 0xb0, 0xc3, 0x7b, 0x68, 0xba, 0x40, 0xde, 0x06, IMdl_info >

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_infoget_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 IStringget_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, 0x66, 0x47a, 0xb0, 0xc3, 0x7b, 0x68, 0xba, 0x40, 0xde, 0x06, IMdl_info >
typedef Interface_declare< id1,
id2, id3, id4, id5, id6, id7,
id8, id9, id10, id11,
IMdl_info > 
Self
 Own type. More...
 
typedef Uuid_t< id1, id2, id3,
id4, id5, id6, id7, id8, id9,
id10, id11 > 
IID
 Declares the interface ID (IID) of this interface. More...
 
- Static Public Member Functions inherited from mi::base::Interface_declare< 0x94d, 0x66, 0x47a, 0xb0, 0xc3, 0x7b, 0x68, 0xba, 0x40, 0xde, 0x06, IMdl_info >
static bool compare_iid (const Uuid &iid)
 Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
 

Detailed Description

Interface for a graph node representing an MDL package.

Member Function Documentation

virtual const IMdl_info* mi::neuraylib::IMdl_package_info::get_child ( Size  index) const
pure virtual

Returns a child of this package.

Parameters
indexIndex in the child list of this package.
virtual Size mi::neuraylib::IMdl_package_info::get_child_count ( ) const
pure virtual

Returns the number of modules and packages contained by this package.

virtual const IString* mi::neuraylib::IMdl_package_info::get_resolved_path ( Size  index) const
pure virtual

Returns an absolute path to package in the local file system.

Parameters
indexIndex in the resolved path list of this package.
virtual const char* mi::neuraylib::IMdl_package_info::get_search_path ( Size  index) const
pure virtual

Returns a search path in the local file system where this package has been found.

Parameters
indexIndex in the search path list of this package.
virtual Size mi::neuraylib::IMdl_package_info::get_search_path_index ( Size  index) const
pure virtual

Returns the search path index in the current IMdl_discovery_result.

Parameters
indexIndex in the IMdl_discovery_result search path list.
virtual Size mi::neuraylib::IMdl_package_info::get_search_path_index_count ( ) const
pure virtual

Returns the number of search paths of this package.

virtual bool mi::neuraylib::IMdl_package_info::in_archive ( Size  index) const
pure virtual

Returns true if the package has been discovered inside of an archive, false if not.

Parameters
indexIndex in the interval [0, search_path_index_count).