xref: /aoo42x/main/autodoc/inc/ary/cessentl.hxx (revision 1c78a5d6)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef ARY_CESSENTL_HXX
25 #define ARY_CESSENTL_HXX
26 //  KORR_DEPRECATED_3.0
27 
28 
29 // USED SERVICES
30 	// BASE CLASSES
31 	// COMPONENTS
32 	// PARAMETERS
33 #include <ary/cpp/c_types4cpp.hxx>
34 #include <ary/loc/loc_types4loc.hxx>
35 
36 
37 
38 namespace ary
39 {
40 namespace cpp
41 {
42 
43 
44 class CeEssentials
45 {	// Non inline functions are implemented in ceworker.cxx .
46   public:
47 	// LIFECYCLE
48 						CeEssentials();
49 						CeEssentials(
50 							const String  &     i_sLocalName,
51 							Ce_id               i_nOwner,
52 							loc::Le_id          i_nLocation );
53 						~CeEssentials();
54 	// INQUIRY
55 	const String  &     LocalName() const;
56 	Ce_id     		    Owner() const;
57 	loc::Le_id          Location() const;
58 
59 	// ACCESS
60   private:
61 	String              sLocalName;
62 	Ce_id			    nOwner;
63     loc::Le_id          nLocation;
64 };
65 
66 
67 
68 // IMPLEMENTATION
69 inline const String 	&
LocalName() const70 CeEssentials::LocalName() const
71 	{ return sLocalName; }
72 inline Ce_id
Owner() const73 CeEssentials::Owner() const
74 	{ return nOwner; }
75 inline loc::Le_id
Location() const76 CeEssentials::Location() const
77 	{ return nLocation; }
78 
79 
80 
81 
82 }   // namespace cpp
83 }   // namespace ary
84 #endif
85