summaryrefslogtreecommitdiff
path: root/ace/Local_Tokens_T.cpp
blob: c28e62feb317792f09bb823f9a37fa17feb7dbf8 (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
// Local_Tokens_T.cpp
// $Id$

#if !defined (ACE_LOCAL_TOKENS_T_C)
#define ACE_LOCAL_TOKENS_T_C

#define ACE_BUILD_DLL
#include "ace/Local_Tokens_T.h"

#if !defined (__ACE_INLINE__)
#include "ace/Local_Tokens_T.i"
#endif /* __ACE_INLINE__ */

template <class TYPE>
ACE_Token_Name<TYPE>::ACE_Token_Name (void)
{
  ACE_TRACE ("ACE_Token_Name::ACE_Token_Name");
}

template <class TYPE>
ACE_Token_Name<TYPE>::ACE_Token_Name (const char *token_name, 
				      TYPE type)
{ 
  ACE_TRACE ("ACE_Token_Name::ACE_Token_Name");
  this->type (type);
  this->name (token_name);
}

template <class TYPE>
ACE_Token_Name<TYPE>::ACE_Token_Name (const ACE_Token_Name<TYPE> &rhs)
{
  ACE_TRACE ("ACE_Token_Name::ACE_Token_Name");
  this->type (rhs.type ());
  this->name (rhs.name ());
}

template <class TYPE>
ACE_Token_Name<TYPE>::~ACE_Token_Name ()
{
  ACE_TRACE ("ACE_Token_Name::~ACE_Token_Name");
}

template <class TYPE> void
ACE_Token_Name<TYPE>::dump (void) const
{
  ACE_TRACE ("ACE_Token_Name::dump");
  ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
  ACE_DEBUG ((LM_DEBUG, "ACE_Token_Name::dump:\n"
			" token_name_ = %s\n"
			" type_ = %d\n",
			token_name_, (int) type_));
  ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));    
}

#endif /* ACE_LOCAL_TOKENS_T_C */