blob: bb4cf4e4e79558f088ce245346a8c8047b38581a (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
// -*- C++ -*-
// ================================================================
/**
* @file DLL_Test_Parent.h
*
* @author Kirthika Parameswaran <kirthika@cs.wustl.edu>
* @author Ossama Othman <ossama@dre.vanderbilt.edu>
*/
// ================================================================
#ifndef ACE_TESTS_DLL_TEST_PARENT_H
#define ACE_TESTS_DLL_TEST_PARENT_H
#include "DLL_Test_Parent_Export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include <cstdint>
class DLL_Test_Parent_Export Parent
{
public:
virtual ~Parent ();
virtual void test ();
};
class DLL_Test_Parent_Export Data
{
public:
Data () = default;
Data (const Data&) = default;
Data (Data&&) = default;
Data& operator= (const Data&) = default;
Data& operator= (Data&&) = default;
virtual ~Data();
private:
int8_t i {};
};
class DLL_Test_Parent_Export Base
{
public:
virtual void _raise () const;
Base ();
virtual ~Base() = default;
};
class DLL_Test_Parent_Export Derived : public Base
{
public:
Derived ();
static Base* _alloc ();
void _raise () const override;
~Derived () override = default;
};
#endif /* ACE_TESTS_DLL_TEST_PARENT_H */
|