summaryrefslogtreecommitdiff
path: root/TAO/tao/varbase.h
blob: 6cb0b76960977c539848de0e1d76cc4db296642c (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
// -*- C++ -*-

//=============================================================================
/**
 *  @file     varbase.h
 *
 *   Contains a base class for the object _var classes.
 *
 *  @author  Jeff Parsons.
 */
//=============================================================================

#ifndef TAO_VARBASE_H
#define TAO_VARBASE_H
#include /**/ "ace/pre.h"

#include /**/ "tao/Versioned_Namespace.h"

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

/**
 * @class TAO_Base_var
 *
 * @brief TAO_Base_var
 *
 * Base class for object _var classes. Used to prevent the
 * _var class of a CORBA interface from accepting the _var
 * of a more derived interface in its copy constructor or
 * assignment operator.
 */
class TAO_Base_var
{
public:
  TAO_Base_var () {}

private:

  TAO_Base_var (const TAO_Base_var &);
  TAO_Base_var & operator= (const TAO_Base_var &);

};

TAO_END_VERSIONED_NAMESPACE_DECL

#include /**/ "ace/post.h"
#endif /* TAO_VARBASE_H */