summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/IFR_Service/IRObject_i.cpp
blob: 98b6e25a0cedec9f176b967cda660547648fcdd9 (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
/* -*- C++ -*- */
// $Id$

#include "IRObject_i.h"
#include "Repository_i.h"

ACE_RCSID(IFR_Service, IRObject_i, "$Id$")

TAO_IRObject_i::TAO_IRObject_i (TAO_Repository_i *repo,
                                ACE_Configuration_Section_Key section_key)
  : repo_ (repo),
    section_key_ (section_key)
{
}

TAO_IRObject_i::~TAO_IRObject_i (void)
{
}

char *
TAO_IRObject_i::int_to_string (CORBA::ULong number) const
{
  char retval[9];

  ACE_OS::sprintf (retval, "%08.8X", number);

  return CORBA::string_dup (retval);
}