Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / utils / catior / Catior_i.h
blob60d7e2610eba1587fad3c96e51b8a6e8b58baa86
2 #ifndef CATIOR_I_H
3 #define CATIOR_I_H
5 //=============================================================================
6 /**
7 * @file Catior_i.h
9 * Reads stringified IORs and outputs the encoded information.
11 * @author Jeff Hopper <jrhopper@cts.com> SCIOP and Tagged component modifications by: Jason Cohen
12 * @author Lockheed Martin ATL <jcohen@atl.lmco.com> Split into a separate library by: Chad Elliott <elliott_c@ociweb.com>
14 //=============================================================================
17 #include "catior_export.h"
18 #include "ace/String_Base.h"
19 #include "ace/SStringfwd.h"
20 #include "tao/Basic_Types.h"
21 #include "tao/CDR.h"
23 class catior_Export Catior_i
25 public:
26 /// Default constructor to initialize all data members.
27 Catior_i();
29 /// Decode the input IOR string into a human readable format stored in
30 /// the supplied output string reference. A return value of true
31 /// indicates that there were no problems decoding the IOR.
32 CORBA::Boolean decode (const ACE_CString& input, ACE_CString& output);
34 private:
35 // These methods used to be functions in catior.cpp
36 CORBA::Boolean catiiop (char* string);
39 CORBA::Boolean catior (char const* str);
41 CORBA::Boolean catpoop (char* string);
43 CORBA::Boolean cat_tag_orb_type (TAO_InputCDR& stream);
45 CORBA::Boolean cat_ibm_partner_version (TAO_InputCDR& stream);
47 CORBA::Boolean cat_tao_tag_endpoints (TAO_InputCDR& stream);
49 CORBA::Boolean cat_tag_alternate_endpoints (TAO_InputCDR& stream);
51 CORBA::Boolean cat_tag_policies (TAO_InputCDR& stream);
53 CORBA::Boolean cat_security_association (const CORBA::UShort& a);
55 CORBA::Boolean cat_tag_ssl_sec_trans (TAO_InputCDR& cdr);
57 CORBA::Boolean cat_octet_seq (const char* object_name,
58 TAO_InputCDR& stream);
60 CORBA::Boolean cat_object_key (TAO_InputCDR& stream);
62 ACE_CString _find_info (CORBA::ULong id);
64 void displayHex (TAO_InputCDR & str);
66 CORBA::Boolean cat_codeset_info (TAO_InputCDR& cdr);
68 CORBA::Boolean cat_tagged_components (TAO_InputCDR& stream);
70 CORBA::Boolean cat_multiple_components (TAO_InputCDR& stream);
72 CORBA::Boolean cat_profile_helper (TAO_InputCDR& stream,
73 const char* protocol);
75 CORBA::Boolean cat_coiop_profile (TAO_InputCDR& stream);
77 CORBA::Boolean cat_iiop_profile (TAO_InputCDR& stream);
79 CORBA::Boolean cat_shmiop_profile (TAO_InputCDR& stream);
81 CORBA::Boolean cat_uiop_profile (TAO_InputCDR& stream);
83 CORBA::Boolean cat_sciop_profile (TAO_InputCDR& stream);
85 CORBA::Boolean cat_nsk_profile_helper (TAO_InputCDR& stream,
86 const char* protocol);
88 CORBA::Boolean cat_nskpw_profile (TAO_InputCDR& stream);
90 CORBA::Boolean cat_nskfs_profile (TAO_InputCDR& stream);
92 void indent (void);
94 size_t trace_depth_;
95 ACE_CString buffer_;
98 #endif // CATIOR_I_H