| 1 | //
|
|---|
| 2 | // File: MPQC_ComponentClassDescription_Impl.cc
|
|---|
| 3 | // Symbol: MPQC.ComponentClassDescription-v0.2
|
|---|
| 4 | // Symbol Type: class
|
|---|
| 5 | // Babel Version: 0.10.2
|
|---|
| 6 | // Description: Server-side implementation for MPQC.ComponentClassDescription
|
|---|
| 7 | //
|
|---|
| 8 | // WARNING: Automatically generated; only changes within splicers preserved
|
|---|
| 9 | //
|
|---|
| 10 | // babel-version = 0.10.2
|
|---|
| 11 | //
|
|---|
| 12 | #include "MPQC_ComponentClassDescription_Impl.hh"
|
|---|
| 13 |
|
|---|
| 14 | // DO-NOT-DELETE splicer.begin(MPQC.ComponentClassDescription._includes)
|
|---|
| 15 | // Put additional includes or other arbitrary code here...
|
|---|
| 16 | // DO-NOT-DELETE splicer.end(MPQC.ComponentClassDescription._includes)
|
|---|
| 17 |
|
|---|
| 18 | // user-defined constructor.
|
|---|
| 19 | void MPQC::ComponentClassDescription_impl::_ctor() {
|
|---|
| 20 | // DO-NOT-DELETE splicer.begin(MPQC.ComponentClassDescription._ctor)
|
|---|
| 21 | // add construction details here
|
|---|
| 22 | // DO-NOT-DELETE splicer.end(MPQC.ComponentClassDescription._ctor)
|
|---|
| 23 | }
|
|---|
| 24 |
|
|---|
| 25 | // user-defined destructor.
|
|---|
| 26 | void MPQC::ComponentClassDescription_impl::_dtor() {
|
|---|
| 27 | // DO-NOT-DELETE splicer.begin(MPQC.ComponentClassDescription._dtor)
|
|---|
| 28 | // add destruction details here
|
|---|
| 29 | // DO-NOT-DELETE splicer.end(MPQC.ComponentClassDescription._dtor)
|
|---|
| 30 | }
|
|---|
| 31 |
|
|---|
| 32 | // static class initializer.
|
|---|
| 33 | void MPQC::ComponentClassDescription_impl::_load() {
|
|---|
| 34 | // DO-NOT-DELETE splicer.begin(MPQC.ComponentClassDescription._load)
|
|---|
| 35 | // guaranteed to be called at most once before any other method in this class
|
|---|
| 36 | // DO-NOT-DELETE splicer.end(MPQC.ComponentClassDescription._load)
|
|---|
| 37 | }
|
|---|
| 38 |
|
|---|
| 39 | // user-defined static methods: (none)
|
|---|
| 40 |
|
|---|
| 41 | // user-defined non-static methods:
|
|---|
| 42 | /**
|
|---|
| 43 | * Method: initialize[]
|
|---|
| 44 | */
|
|---|
| 45 | void
|
|---|
| 46 | MPQC::ComponentClassDescription_impl::initialize (
|
|---|
| 47 | /* in */ const ::std::string& className,
|
|---|
| 48 | /* in */ const ::std::string& classAlias )
|
|---|
| 49 | throw ()
|
|---|
| 50 | {
|
|---|
| 51 | // DO-NOT-DELETE splicer.begin(MPQC.ComponentClassDescription.initialize)
|
|---|
| 52 | cName = className;
|
|---|
| 53 | cAlias = classAlias;
|
|---|
| 54 | // DO-NOT-DELETE splicer.end(MPQC.ComponentClassDescription.initialize)
|
|---|
| 55 | }
|
|---|
| 56 |
|
|---|
| 57 | /**
|
|---|
| 58 | * Returns the class name provided in
|
|---|
| 59 | * <code>BuilderService.createInstance()</code>
|
|---|
| 60 | * or in
|
|---|
| 61 | * <code>AbstractFramework.getServices()</code>.
|
|---|
| 62 | * <p>
|
|---|
| 63 | * Throws <code>CCAException</code> if <code>ComponentClassDescription</code> is invalid.
|
|---|
| 64 | */
|
|---|
| 65 | ::std::string
|
|---|
| 66 | MPQC::ComponentClassDescription_impl::getComponentClassName ()
|
|---|
| 67 | throw (
|
|---|
| 68 | ::gov::cca::CCAException
|
|---|
| 69 | )
|
|---|
| 70 | {
|
|---|
| 71 | // DO-NOT-DELETE splicer.begin(MPQC.ComponentClassDescription.getComponentClassName)
|
|---|
| 72 | return cName;
|
|---|
| 73 | // DO-NOT-DELETE splicer.end(MPQC.ComponentClassDescription.getComponentClassName)
|
|---|
| 74 | }
|
|---|
| 75 |
|
|---|
| 76 |
|
|---|
| 77 | // DO-NOT-DELETE splicer.begin(MPQC.ComponentClassDescription._misc)
|
|---|
| 78 | // Put miscellaneous code here
|
|---|
| 79 | // DO-NOT-DELETE splicer.end(MPQC.ComponentClassDescription._misc)
|
|---|
| 80 |
|
|---|