rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Maps Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvDefaultDataPathResolver Class Reference

Resolves a relative path name using a specified path. More...

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

Inheritance diagram for IlvDefaultDataPathResolver:
IlvMapDataPathResolver

List of all members.

Public Member Functions

 IlvDefaultDataPathResolver (const char *directory)
 Creates a new data path resolver to find files in the specified directory.
char * resolvePath (const char *filename)
 Resolves the specified relative path name.

Detailed Description

Resolves a relative path name using a specified path.

Library: ilvmaps

This default implementation of IlvMapDataPathResolver searches for a file in a directory.


Constructor & Destructor Documentation

IlvDefaultDataPathResolver::IlvDefaultDataPathResolver ( const char *  directory  ) 

Creates a new data path resolver to find files in the specified directory.

Parameters:
directory The absolute path of the directory in which the files are to be searched.

Member Function Documentation

char* IlvDefaultDataPathResolver::resolvePath ( const char *  filename  )  [virtual]

Resolves the specified relative path name.

Parameters:
filename The relative file name to resolve.
Returns:
The absolute path name, or null if this resolver cannot resolve the path. If a nonnull value is returned, it must be freed using the delete[] operator.

Implements IlvMapDataPathResolver.

 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.