2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these librararies and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 //%% (c) Copyright 1993, 1994 Hewlett-Packard Company
24 //%% (c) Copyright 1993, 1994 International Business Machines Corp.
25 //%% (c) Copyright 1993, 1994 Sun Microsystems, Inc.
26 //%% (c) Copyright 1993, 1994 Novell, Inc.
27 //%% $XConsortium: api_objid_spec.C /main/3 1995/10/23 09:53:54 rswiston $
32 * Copyright (c) 1990 by Sun Microsystems, Inc.
36 #include "api/c/api_objid_spec.h"
43 } // end -_Tt_objid_spec()-
46 _Tt_objid_spec(_Tt_string objid)
48 : _Tt_db_object(objid)
51 } // end -_Tt_objid_spec()-
58 } // end -~_Tt_objid_spec()-
61 // onDiskFlag - Rules for flag value are:
63 // 1) Set sync flag to TRUE by default, if the
64 // object is already on disk. If it is a
65 // brand new object that has never been written
66 // to disk, set the flag to FALSE.
67 // 2) If a memory only set is done, set sync
69 // 3) If a write to disk is done, set sync flag
71 // 4) If sync flag is TRUE, read from disk by
72 // refreshing memory version and calling read
74 // 5) If sync flag is FALSE, read from memory.
77 void _Tt_objid_spec ::
78 setOnDiskFlag(bool_t flag)
81 } // end -setOnDiskFlag()-
84 bool_t _Tt_objid_spec ::
88 } // end -getOnDiskFlag()-