RealityServer Web Services API Programmer's Manual

mi::rswservices::IDirectory_configuration Class Reference

[Configuration]

Description

Configuration for a Directory.

Public Member Functions

virtual const char* get_allow( mi::Uint32 index) const =0
Returns an allow access control value by index. More...
virtual const char* get_deny( mi::Uint32 index) const =0
Returns a deny access control value by index. More...
virtual const char* get_index_file() const =0
Returns the name of the file to use serve when a directory request is made for this directory. More...
virtual Access_order get_order() const =0
Returns which order to apply allow and deny access control in. More...
virtual const char* get_pattern() const =0
Returns the Directory pattern that this configuration applies to.
virtual const char* get_virtual_directory_path() const =0
Returns the absolute file system path to the virtual directory configured for this directory. More...

Member Functions

virtual const char* mi::​rswservices::​IDirectory_configuration::get_allow( mi::Uint32 index) const [pure virtual]

Returns an allow access control value by index.

Parameters

index
the index of the allow to retrieve.

Returns

the allow value or NULL if index is greater than the number of configured allows.

virtual const char* mi::​rswservices::​IDirectory_configuration::get_deny( mi::Uint32 index) const [pure virtual]

Returns a deny access control value by index.

Parameters

index
the index of the deny to retrieve.

Returns

the deny value or NULL if index is greater than the number of configured denys.

virtual const char* mi::​rswservices::​IDirectory_configuration::get_index_file() const [pure virtual]

Returns the name of the file to use serve when a directory request is made for this directory.

Returns

the index file or NULL if none is configured.

virtual Access_order mi::​rswservices::​IDirectory_configuration::get_order() const [pure virtual]

Returns which order to apply allow and deny access control in.

Returns

the order to apply in.

virtual const char* mi::​rswservices::​IDirectory_configuration::get_pattern() const [pure virtual]

Returns the Directory pattern that this configuration applies to.

virtual const char* mi::​rswservices::​IDirectory_configuration::get_virtual_directory_path() const [pure virtual]

Returns the absolute file system path to the virtual directory configured for this directory.

Returns

the path or NULL if this is not a virtual directory.