Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

FILE_Parser.h

Go to the documentation of this file.
00001 
00002 //=============================================================================
00003 /**
00004  *  @file   FILE_Parser.h
00005  *
00006  *  $Id: FILE_Parser.h,v 1.1.1.2 2003/02/21 18:36:44 chad Exp $
00007  *
00008  *  @author Carlos O'Ryan (coryan@cs.wustl.edu)
00009  */
00010 //=============================================================================
00011 
00012 
00013 #ifndef TAO_FILE_PARSER_H
00014 #define TAO_FILE_PARSER_H
00015 #include "ace/pre.h"
00016 
00017 #include "tao/IOR_Parser.h"
00018 #include "ace/Service_Config.h"
00019 
00020 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00021 # pragma once
00022 #endif /* ACE_LACKS_PRAGMA_ONCE */
00023 
00024 /**
00025  * @class TAO_FILE_Parser
00026  *
00027  * @brief Implements the <file:> IOR format
00028  *
00029  * This class implements the <file:> IOR format.
00030  * It is dynamically loaded by the ORB and used to open a file,
00031  * read its contents and then interepret the file as an IOR (that
00032  * can be in any valid format).
00033  */
00034 class TAO_Export TAO_FILE_Parser : public TAO_IOR_Parser
00035 {
00036 public:
00037   /// Constructor
00038   TAO_FILE_Parser (void);
00039 
00040   /// The destructor
00041   virtual ~TAO_FILE_Parser (void);
00042 
00043   // = The IOR_Parser methods, please read the documentation in
00044   //   IOR_Parser.h
00045   virtual int match_prefix (const char *ior_string) const;
00046   virtual CORBA::Object_ptr parse_string (const char *ior,
00047                                           CORBA::ORB_ptr orb
00048                                           ACE_ENV_ARG_DECL_NOT_USED)
00049     ACE_THROW_SPEC ((CORBA::SystemException));
00050 };
00051 
00052 #if defined (__ACE_INLINE__)
00053 # include "FILE_Parser.i"
00054 #endif /* __ACE_INLINE__ */
00055 
00056 ACE_STATIC_SVC_DECLARE_EXPORT (TAO, TAO_FILE_Parser)
00057 ACE_FACTORY_DECLARE (TAO, TAO_FILE_Parser)
00058 
00059 #include "ace/post.h"
00060 #endif /* TAO_FILE_PARSER_H */

Generated on Mon Jun 16 13:48:23 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002