summaryrefslogtreecommitdiff
path: root/ace/Capabilities.i
blob: 6f7647ee269e04bfcbf8fc8c3ada4950dd77e62a (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++ -*- */
// $Id$

ACE_INLINE
ACE_CapEntry::ACE_CapEntry (int captype)
  : captype_ (captype)
{
}

ACE_INLINE
ACE_IntCapEntry::ACE_IntCapEntry (int val)
  : ACE_CapEntry (ACE_INTCAP),
    val_ (val)
{
}

ACE_INLINE int
ACE_IntCapEntry::getval (void) const
{
  return val_;
}

ACE_INLINE
ACE_StringCapEntry::ACE_StringCapEntry (const ACE_CString &val)
  : ACE_CapEntry (ACE_STRINGCAP),
    val_(val)
{
}

ACE_INLINE ACE_CString
ACE_StringCapEntry::getval (void) const
{
  return val_;
}

ACE_INLINE
ACE_BoolCapEntry::ACE_BoolCapEntry (int val)
  : ACE_CapEntry (ACE_BOOLCAP),
    val_(val)
{
}

ACE_INLINE int
ACE_BoolCapEntry::getval (void) const
{
  return val_;
}