User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Core - IO - Streams - bool EnableURLMapper()
 

   bool EnableURLMapper()    
 
Enable url mapping of filenames.
 
include "Ravl/Stream.hh"
Created:23/04/1998 
User Level:Normal
Library:RavlCore
In Scope:RavlN

With the expection of 'file:' specifications this enabled the changing of URL's to a RAVL special files. i.e. 'http:' becomes '@http:' This allows us to implement handlers in seperate libraries which can link in as required. If the 'file:' if found not to have a domain specifier then the 'file:' is stripped off and the file is treated normally.

Note: At the moment the URL handling mechanism may not handle relative filenames correctly as it uses the program current working directory as a start point. If this becomes a problem some optional data maybe added to StreamC which holds a current directory.
Maintainer:Charles Galambos, Created: 23/04/1998, Documentation by CxxDoc: Tue Aug 13 10:00:21 2002