Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / DynAny_Test / analyzer.h
blob619380af541d232f84aef1f21336add645d185aa
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file analyzer.h
7 * This file contains a DynAny analyzer that dumps the contents of a DynAny
8 * to the ace logging using ACE_DEBUG.
10 * @author Johnny Willemsen (jwillemsen@remedy.nl)
12 //=============================================================================
14 #ifndef ANALYZER_H
15 #define ANALYZER_H
17 #include "tao/AnyTypeCode/AnyTypeCode_methods.h"
18 #include "tao/DynamicAny/DynamicAny.h"
19 #include "tao/ORB.h"
21 class DynAnyAnalyzer
23 public:
24 DynAnyAnalyzer (CORBA::ORB_ptr orb,
25 DynamicAny::DynAnyFactory_ptr dynany_factory,
26 int debug);
28 void tab (int t);
30 ~DynAnyAnalyzer (void);
32 void resetTab (void);
34 void analyze (DynamicAny::DynAny_ptr da);
36 void analyze_basic_seq (CORBA::TypeCode_ptr tc,
37 DynamicAny::DynAny_ptr da);
39 private:
40 CORBA::ORB_var orb_;
41 DynamicAny::DynAnyFactory_var dynany_factory_;
42 int level_;
43 int debug_;
47 #endif // ANALYZER_H