Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / DynAny_Test / analyzer.h
blob7da71ab4f6aeaaa1858c631bc80cd9b0f1eec139
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 ();
32 void resetTab ();
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