summaryrefslogtreecommitdiff
path: root/TAO/tao/Parser_Registry.h
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-24 15:50:11 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-24 15:50:11 +0000
commit8008dd09ccf88d4edef237a184a698cac42f2952 (patch)
treeda50d054f9c761c3f6a5923f6979e93306c56d68 /TAO/tao/Parser_Registry.h
parent13d6e89af439164c0ade48e6f5c3e9b3f971e8c9 (diff)
downloadATCD-8008dd09ccf88d4edef237a184a698cac42f2952.tar.gz
Repo restructuring
Diffstat (limited to 'TAO/tao/Parser_Registry.h')
-rw-r--r--TAO/tao/Parser_Registry.h93
1 files changed, 0 insertions, 93 deletions
diff --git a/TAO/tao/Parser_Registry.h b/TAO/tao/Parser_Registry.h
deleted file mode 100644
index ce997817d8c..00000000000
--- a/TAO/tao/Parser_Registry.h
+++ /dev/null
@@ -1,93 +0,0 @@
-// This may look like C, but it's really -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Parser_Registry.h
- *
- * $Id$
- *
- * @author Priyanka Gontla <pgontla@uci.edu>
- * @author Carlos O'Ryan <coryan@uci.edu>
- */
-//=============================================================================
-
-
-#ifndef TAO_PARSER_REGISTRY_H
-#define TAO_PARSER_REGISTRY_H
-
-#include /**/ "ace/pre.h"
-
-#include "tao/TAO_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "tao/Versioned_Namespace.h"
-
-#include "ace/os_include/os_stddef.h"
-
-
-TAO_BEGIN_VERSIONED_NAMESPACE_DECL
-
-// Forward declarations.
-class TAO_ORB_Core;
-class TAO_IOR_Parser;
-
-/**
- * @class TAO_Parser_Registry
- *
- * @brief Maintain the collection of known IOR format parsers
- *
- * The ORB dynamically loads a collection of IOR parsers (check
- * the IOR_Parser class). The collection is kept in this class
- * for easy lookup and use.
- */
-class TAO_Export TAO_Parser_Registry
-{
-public:
- // = Initialization and termination methods.
- /// Default constructor.
- TAO_Parser_Registry (void);
-
- /// Dstructor.
- ~TAO_Parser_Registry (void);
-
- /// Initialize the parser registry with the list of known protocols.
- /// Invoked by the ORB during startup.
- int open (TAO_ORB_Core *orb_core);
-
- /// Find the parser that can parse @a ior_string
- /// The lookup is based on the prefix in the string
- TAO_IOR_Parser *match_parser (const char *ior_string);
-
- // = Iterator.
- typedef TAO_IOR_Parser** Parser_Iterator;
- Parser_Iterator begin (void) const;
- Parser_Iterator end (void) const;
-
-private:
-
- // The parser registry should not be copied.
- TAO_Parser_Registry (const TAO_Parser_Registry&);
- void operator= (const TAO_Parser_Registry&);
-
-private:
-
- /// List of parsers
- TAO_IOR_Parser **parsers_;
-
- /// Number of parsers
- size_t size_;
-
-};
-
-TAO_END_VERSIONED_NAMESPACE_DECL
-
-#if defined(__ACE_INLINE__)
-#include "tao/Parser_Registry.i"
-#endif /* __ACE_INLINE__ */
-
-#include /**/ "ace/post.h"
-
-#endif /* TAO_PARSER_REGISTRY_H */