rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Maps Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Static Public Member Functions
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>

Static Public Member Functions

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

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
resolverThe 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
resolverThe 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
filenameThe 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.

© 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.