TAO
2.0.8
|
Defines the interface for the pluggable IOR parser components. More...
#include <IOR_Parser.h>
Public Member Functions | |
virtual | ~TAO_IOR_Parser (void) |
The destructor. | |
virtual bool | match_prefix (const char *ior_string) const =0 |
virtual CORBA::Object_ptr | parse_string (const char *ior, CORBA::ORB_ptr orb)=0 |
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
TAO_IOR_Parser::~TAO_IOR_Parser | ( | void | ) | [virtual] |
The destructor.
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.