summaryrefslogtreecommitdiff
path: root/TAO/tao/varbase.h
blob: 37aa16c3273ede2cf0a4b76b7326e73656bb2889 (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
// This may look like C, but it's really -*- C++ -*-

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


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

/**
 * @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 (void) {}

private:

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

};

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