2 * $XConsortium: misc.h /main/4 1996/06/11 17:22:54 cde-hal $
4 * Copyright (c) 1993 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.
32 #include "object/root.h"
33 #include "utility/ostring.h"
34 #include "storage/abs_storage.h"
35 #include "object/handler.h"
37 Boolean name_oid_ls(const void* o1, const void* o2);
38 Boolean name_oid_eq(const void* o1, const void* o2);
40 Boolean oid_storage_ls(const void* o1, const void* o2);
41 Boolean oid_storage_eq(const void* o1, const void* o2);
43 //Boolean oid_ls(const void* o1, const void* o2);
44 //Boolean oid_eq(const void* o1, const void* o2);
50 name_oid_t(const char* nm, abs_storage* store = 0) : v_store(store)
54 name_oid_t(const char* nm, const oid_t& id, abs_storage* store = 0) :
55 v_oid(id), v_store(store)
68 void delete_name_oid_rec_f(const void* name_oid_ptr);
70 class mark_t : private ostring
73 mark_t(char* marks = "\t\n ");
75 friend istream& operator >>(istream&, mark_t&);
76 friend ostream& operator <<(ostream&, mark_t&);