neuray API Programmer's Manual

mi::neuraylib::ISerialized_function_name Class Reference

[Miscellaneous MDL-related Interfaces]

Description

Represents a serialized function name.

See also:

mi::neuraylib::IMdl_impexp_api::serialize_function_name()

Public Member Functions

virtual const char* get_function_name() const =0
Returns the serialized function name. More...
virtual const char* get_function_name_without_module_name() const =0
Returns the serialized function name (without the module name). More...
virtual const char* get_module_name() const =0
Returns the serialized module name. More...

Member Functions

virtual const char* mi::​neuraylib::​ISerialized_function_name::get_function_name() const [pure virtual]

Returns the serialized function name. Useful for serialization schemes that support only a single string entity.

Pass to the first overload of mi::neuraylib::IMdl_impexp_api::deserialize_function_name() during deserialization.

virtual const char* mi::​neuraylib::​ISerialized_function_name::get_function_name_without_module_name() const [pure virtual]

Returns the serialized function name (without the module name). Useful for serialization schemes that support two string entities.

Pass to the second overload of mi::neuraylib::IMdl_impexp_api::deserialize_function_name() during deserialization.

virtual const char* mi::​neuraylib::​ISerialized_function_name::get_module_name() const [pure virtual]

Returns the serialized module name. Useful for serialization schemes that support two string entities.

Pass to mi::neuraylib::IMdl_impexp_api::deserialize_module_name() or the second overload of mi::neuraylib::IMdl_impexp_api::deserialize_function_name() during deserialization.