File: decaf_ComponentID_Impl.cc

package info (click to toggle)
babel 0.10.2-1
  • links: PTS
  • area: contrib
  • in suites: sarge
  • size: 43,932 kB
  • ctags: 29,707
  • sloc: java: 74,695; ansic: 73,142; cpp: 40,649; sh: 18,411; f90: 10,062; fortran: 6,727; python: 6,406; makefile: 3,866; xml: 118; perl: 48
file content (109 lines) | stat: -rw-r--r-- 3,516 bytes parent folder | download
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
// 
// File:          decaf_ComponentID_Impl.cc
// Symbol:        decaf.ComponentID-v0.6.3
// Symbol Type:   class
// Babel Version: 0.10.2
// Description:   Server-side implementation for decaf.ComponentID
// 
// WARNING: Automatically generated; only changes within splicers preserved
// 
// babel-version = 0.10.2
// 
#include "decaf_ComponentID_Impl.hh"

#line 14 "../../../../babel/examples/cca/libdecaf/decaf_ComponentID_Impl.cc"
// DO-NOT-DELETE splicer.begin(decaf.ComponentID._includes)
// Put additional includes or other arbitrary code here...
// DO-NOT-DELETE splicer.end(decaf.ComponentID._includes)
#line 18 "decaf_ComponentID_Impl.cc"

// user-defined constructor.
void decaf::ComponentID_impl::_ctor() {
#line 20 "../../../../babel/examples/cca/libdecaf/decaf_ComponentID_Impl.cc"
  // DO-NOT-DELETE splicer.begin(decaf.ComponentID._ctor)
  // add construction details here
  // DO-NOT-DELETE splicer.end(decaf.ComponentID._ctor)
#line 26 "decaf_ComponentID_Impl.cc"
}

// user-defined destructor.
void decaf::ComponentID_impl::_dtor() {
#line 27 "../../../../babel/examples/cca/libdecaf/decaf_ComponentID_Impl.cc"
  // DO-NOT-DELETE splicer.begin(decaf.ComponentID._dtor)
  // add destruction details here
  // DO-NOT-DELETE splicer.end(decaf.ComponentID._dtor)
#line 35 "decaf_ComponentID_Impl.cc"
}

// static class initializer.
void decaf::ComponentID_impl::_load() {
#line 34 "../../../../babel/examples/cca/libdecaf/decaf_ComponentID_Impl.cc"
  // DO-NOT-DELETE splicer.begin(decaf.ComponentID._load)
  // guaranteed to be called at most once before any other method in this class
  // DO-NOT-DELETE splicer.end(decaf.ComponentID._load)
#line 44 "decaf_ComponentID_Impl.cc"
}

// user-defined static methods: (none)

// user-defined non-static methods:
/**
 * Method:  initialize[]
 */
void
decaf::ComponentID_impl::initialize (
  /* in */ const ::std::string& name ) 
throw () 
{
#line 50 "../../../../babel/examples/cca/libdecaf/decaf_ComponentID_Impl.cc"
  // DO-NOT-DELETE splicer.begin(decaf.ComponentID.initialize)
  d_name = name;
  // DO-NOT-DELETE splicer.end(decaf.ComponentID.initialize)
#line 62 "decaf_ComponentID_Impl.cc"
}

/**
 * Returns the instance name provided in 
 * <code>BuilderService.createInstance()</code>
 * or in 
 * <code>AbstractFramework.getServices()</code>.
 * @throws CCAException if <code>ComponentID</code> is invalid
 */
::std::string
decaf::ComponentID_impl::getInstanceName ()
throw ( 
  ::gov::cca::CCAException
)
{
#line 68 "../../../../babel/examples/cca/libdecaf/decaf_ComponentID_Impl.cc"
  // DO-NOT-DELETE splicer.begin(decaf.ComponentID.getInstanceName)
  return d_name;
  // DO-NOT-DELETE splicer.end(decaf.ComponentID.getInstanceName)
#line 82 "decaf_ComponentID_Impl.cc"
}

/**
 * Returns a framework specific serialization of the ComponentID.
 * @throws CCAException if <code>ComponentID</code> is
 * invalid.
 */
::std::string
decaf::ComponentID_impl::getSerialization ()
throw ( 
  ::gov::cca::CCAException
)
{
#line 84 "../../../../babel/examples/cca/libdecaf/decaf_ComponentID_Impl.cc"
  // DO-NOT-DELETE splicer.begin(decaf.ComponentID.getSerialization)
  return d_name;
  // DO-NOT-DELETE splicer.end(decaf.ComponentID.getSerialization)
#line 100 "decaf_ComponentID_Impl.cc"
}


#line 90 "../../../../babel/examples/cca/libdecaf/decaf_ComponentID_Impl.cc"
// DO-NOT-DELETE splicer.begin(decaf.ComponentID._misc)
// Put miscellaneous code here
// DO-NOT-DELETE splicer.end(decaf.ComponentID._misc)
#line 108 "decaf_ComponentID_Impl.cc"