TAO  2.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
TAO_IOR_Parser Class Referenceabstract

Defines the interface for the pluggable IOR parser components. More...

#include <IOR_Parser.h>

Inheritance diagram for TAO_IOR_Parser:
Inheritance graph
[legend]
Collaboration diagram for TAO_IOR_Parser:
Collaboration graph
[legend]

Public Member Functions

virtual ~TAO_IOR_Parser (void)
 The destructor. More...
 
virtual bool match_prefix (const char *ior_string) const =0
 
virtual CORBA::Object_ptr parse_string (const char *ior, CORBA::ORB_ptr orb)=0
 

Detailed Description

Defines the interface for the pluggable IOR parser components.

The ORB is able to dynamically load the list of IOR formats it understands. That allow us to integrate formats such as corbaname:, http: or ftp: only when required. This class provides a uniform interface for all the IOR parsers

Constructor & Destructor Documentation

TAO_IOR_Parser::~TAO_IOR_Parser ( void  )
virtual

The destructor.

Member Function Documentation

virtual bool TAO_IOR_Parser::match_prefix ( const char *  ior_string) const
pure virtual

Return true if ior_string starts with a prefix known to this IOR parser

Implemented in TAO_DLL_Parser, TAO_CORBALOC_Parser, TAO_CORBANAME_Parser, TAO_HTTP_Parser, and TAO_FILE_Parser.

virtual CORBA::Object_ptr TAO_IOR_Parser::parse_string ( const char *  ior,
CORBA::ORB_ptr  orb 
)
pure virtual

Parse the ior argument and return an object reference. The call may raise the standard system exceptions (NO_MEMORY, INV_OBJREF, etc.)

Implemented in TAO_DLL_Parser, TAO_CORBALOC_Parser, TAO_CORBANAME_Parser, TAO_HTTP_Parser, and TAO_FILE_Parser.


The documentation for this class was generated from the following files: