FILE_Parser.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file   FILE_Parser.h
00006  *
00007  *  $Id: FILE_Parser.h 79237 2007-08-07 09:48:21Z johnnyw $
00008  *
00009  *  @author Carlos O'Ryan (coryan@cs.wustl.edu)
00010  */
00011 //=============================================================================
00012 
00013 
00014 #ifndef TAO_FILE_PARSER_H
00015 #define TAO_FILE_PARSER_H
00016 
00017 #include /**/ "ace/pre.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 #include "tao/IOR_Parser.h"
00025 
00026 #if (TAO_HAS_FILE_PARSER == 1)
00027 
00028 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00029 
00030 /**
00031  * @class TAO_FILE_Parser
00032  *
00033  * @brief Implements the <file:> IOR format
00034  *
00035  * This class implements the <file:> IOR format.
00036  * It is dynamically loaded by the ORB and used to open a file,
00037  * read its contents and then interprete the file as an IOR (that
00038  * can be in any valid format).
00039  */
00040 class TAO_FILE_Parser : public TAO_IOR_Parser
00041 {
00042 public:
00043 
00044   /// The destructor
00045   virtual ~TAO_FILE_Parser (void);
00046 
00047   // = The IOR_Parser methods, please read the documentation in
00048   //   IOR_Parser.h
00049   virtual bool match_prefix (const char *ior_string) const;
00050   virtual CORBA::Object_ptr parse_string (const char *ior, CORBA::ORB_ptr orb);
00051 };
00052 
00053 TAO_END_VERSIONED_NAMESPACE_DECL
00054 
00055 ACE_STATIC_SVC_DECLARE_EXPORT (TAO, TAO_FILE_Parser)
00056 ACE_FACTORY_DECLARE (TAO, TAO_FILE_Parser)
00057 
00058 #endif /* TAO_HAS_FILE_PARSER == 1 */
00059 
00060 #include /**/ "ace/post.h"
00061 #endif /* TAO_FILE_PARSER_H */

Generated on Tue Feb 2 17:37:51 2010 for TAO by  doxygen 1.4.7