blob: 619380af541d232f84aef1f21336add645d185aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
// -*- C++ -*-
//=============================================================================
/**
* @file analyzer.h
*
* This file contains a DynAny analyzer that dumps the contents of a DynAny
* to the ace logging using ACE_DEBUG.
*
* @author Johnny Willemsen (jwillemsen@remedy.nl)
*/
//=============================================================================
#ifndef ANALYZER_H
#define ANALYZER_H
#include "tao/AnyTypeCode/AnyTypeCode_methods.h"
#include "tao/DynamicAny/DynamicAny.h"
#include "tao/ORB.h"
class DynAnyAnalyzer
{
public:
DynAnyAnalyzer (CORBA::ORB_ptr orb,
DynamicAny::DynAnyFactory_ptr dynany_factory,
int debug);
void tab (int t);
~DynAnyAnalyzer (void);
void resetTab (void);
void analyze (DynamicAny::DynAny_ptr da);
void analyze_basic_seq (CORBA::TypeCode_ptr tc,
DynamicAny::DynAny_ptr da);
private:
CORBA::ORB_var orb_;
DynamicAny::DynAnyFactory_var dynany_factory_;
int level_;
int debug_;
};
#endif // ANALYZER_H
|