rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Maps Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvMapDataPathManager Class Reference

This class is a data path manager that uses a set of IlvMapDataPathResolvers to resolve paths. More...

#include <ilviews/maps/format/pathmgr.h>

List of all members.

Static Public Member Functions

static IlBoolean AddDataPathResolver (IlvMapDataPathResolver *resolver)
 Adds the specified IlvMapDataPathResolver to the data path manager.
static IlListIteratorOf (MapDataPathResolver) GetDataPathResolvers()
 Returns an enumeration of the resolvers contained in the data path manager.
static IlBoolean RemoveDataPathResolver (IlvMapDataPathResolver *resolver)
 Removes the specified IlvMapDataPathResolver from the data path manager.
static char * ResolvePath (const char *filename)
 Resolves the specified file name using the registered resolvers.

Detailed Description

This class is a data path manager that uses a set of IlvMapDataPathResolvers to resolve paths.

Library: ilvmaps

This set is managed as a singleton used by the load-on-demand mechanism of Views Maps.


Member Function Documentation

static IlBoolean IlvMapDataPathManager::AddDataPathResolver ( IlvMapDataPathResolver resolver  )  [static]

Adds the specified IlvMapDataPathResolver to the data path manager.

Parameters:
resolver The IlvMapDataPathResolver to add.
static IlvMapDataPathManager::IlListIteratorOf ( MapDataPathResolver   )  [static]

Returns an enumeration of the resolvers contained in the data path manager.

Returns:
An IlListIteratorOf of the resolvers.
static IlBoolean IlvMapDataPathManager::RemoveDataPathResolver ( IlvMapDataPathResolver resolver  )  [static]

Removes the specified IlvMapDataPathResolver from the data path manager.

Parameters:
resolver The IlvMapDataPathResolver to remove.
Returns:
true if the data path manager contained the specified resolver.
static char* IlvMapDataPathManager::ResolvePath ( const char *  filename  )  [static]

Resolves the specified file name using the registered resolvers.

If filename is an absolute path name, and the file exists, filename is returned. Otherwise, the resolved path is returned or 0 if the resolution fails.

Parameters:
filename The relative path of the file name.
Returns:
The resolved path, or a copy of filename if the resolution failed. In any cases, the returned value must be freed by the caller using the delete[] operator.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.