2 * $XConsortium: locator_hd.h /main/5 1996/10/26 18:18:57 cde-hal $
4 * Copyright (c) 1992 HAL Computer Systems International, Ltd.
5 * All rights reserved. Unpublished -- rights reserved under
6 * the Copyright Laws of the United States. USE OF A COPYRIGHT
7 * NOTICE IS PRECAUTIONARY ONLY AND DOES NOT IMPLY PUBLICATION
10 * THIS SOFTWARE CONTAINS CONFIDENTIAL INFORMATION AND TRADE
11 * SECRETS OF HAL COMPUTER SYSTEMS INTERNATIONAL, LTD. USE,
12 * DISCLOSURE, OR REPRODUCTION IS PROHIBITED WITHOUT THE
13 * PRIOR EXPRESS WRITTEN PERMISSION OF HAL COMPUTER SYSTEMS
16 * RESTRICTED RIGHTS LEGEND
17 * Use, duplication, or disclosure by the Government is subject
18 * to the restrictions as set forth in subparagraph (c)(l)(ii)
19 * of the Rights in Technical Data and Computer Software clause
20 * at DFARS 252.227-7013.
22 * HAL COMPUTER SYSTEMS INTERNATIONAL, LTD.
30 #define _locator_hd_h 1
32 #include "object/short_list.h"
33 #include "object/tuple.h"
34 #include "object/oid.h"
35 #include "object/pstring.h"
36 #include "object/integer.h"
37 #include "oliasdb/olias_consts.h"
38 #include "api/smart_ptr.h"
40 /*************************************/
42 /*************************************/
44 class olias_locator : public tuple
49 virtual ~olias_locator() {};
51 MMDB_SIGNATURES(olias_locator);
56 typedef olias_locator* locatorPtr;
58 class locator_smart_ptr : public smart_ptr
61 locator_smart_ptr(info_lib* lib_ptr,
62 const char* info_base_name, const char* locator);
63 locator_smart_ptr(info_base* base_ptr, const char* locator);
64 locator_smart_ptr(info_base* base_ptr, const oid_t& id);
66 virtual ~locator_smart_ptr() {};
69 const char* inside_node_locator_str();
75 typedef locator_smart_ptr* locator_smart_ptrPtr;