Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

MNRopeLeaf.h

Go to the documentation of this file.
00001 /* 00002 * Copyright (c) 1997 00003 * Silicon Graphics Computer Systems, Inc. 00004 * 00005 * Permission to use, copy, modify, distribute and sell this software 00006 * and its documentation for any purpose is hereby granted without fee, 00007 * provided that the above copyright notice appear in all copies and 00008 * that both that copyright notice and this permission notice appear 00009 * in supporting documentation. Silicon Graphics makes no 00010 * representations about the suitability of this software for any 00011 * purpose. It is provided "as is" without express or implied warranty. 00012 * 00013 * Heavily modified by KOM/Darmstadt University of Technology, 2000 00014 */ 00015 #ifndef _R_ROPE_LEAF_H 00016 #define _R_ROPE_LEAF_H 00017 00018 #include "MNRopeRep.h" 00019 00024 struct MNRopeLeaf : public MNRopeRep 00025 { 00026 bool _invalid; // brutal validity verifier 00027 bool _special; // alternative constructor identification 00028 public: 00029 // Apparently needed by VC++ 00030 // The data fields of leaves are allocated with some 00031 // extra space, to accomodate future growth and for basic 00032 // character types, to hold a trailing eos character. 00033 enum { _S_alloc_granularity = 8 }; 00034 00035 static size_t _S_rounded_up_size(size_t __n); 00036 00041 uchar_t* _M_data; 00042 00047 MNRopeLeaf( uchar_t* __d, size_t __size); 00048 MNRopeLeaf( uchar_t* __d, size_t __size, bool special); 00049 00050 virtual ~MNRopeLeaf(); 00051 }; 00052 00054 00055 #endif /* _R_ROPE_LEAF_H */ 00056

Generated on Sun Mar 6 13:35:49 2005 for Komssys by doxygen 1.3.8