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

MNRopeLeaf Struct Reference
[Ropes that hold unsigned characters]

#include <MNRopeLeaf.h>

Inheritance diagram for MNRopeLeaf:

Inheritance graph
[legend]
Collaboration diagram for MNRopeLeaf:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { _S_alloc_granularity = 8 }

Public Member Functions

 MNRopeLeaf (uchar_t *__d, size_t __size)
 MNRopeLeaf (uchar_t *__d, size_t __size, bool special)
virtual ~MNRopeLeaf ()

Static Public Member Functions

size_t _S_rounded_up_size (size_t __n)

Public Attributes

bool _invalid
bool _special
uchar_t * _M_data

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
_S_alloc_granularity 


Constructor & Destructor Documentation

MNRopeLeaf::MNRopeLeaf uchar_t *  __d,
size_t  __size
 

The constructor assumes that d has been allocated with the proper allocator and the properly padded size. In contrast, the destructor deallocates the data:

MNRopeLeaf::MNRopeLeaf uchar_t *  __d,
size_t  __size,
bool  special
 

virtual MNRopeLeaf::~MNRopeLeaf  )  [virtual]
 


Member Function Documentation

size_t MNRopeLeaf::_S_rounded_up_size size_t  __n  )  [static]
 


Member Data Documentation

bool MNRopeLeaf::_invalid
 

uchar_t* MNRopeLeaf::_M_data
 

Not necessarily 0 terminated. The allocated size is _S_rounded_up_size(size), except in the GC case, in which it doesn't matter.

bool MNRopeLeaf::_special
 


The documentation for this struct was generated from the following file:
Generated on Sun Mar 6 13:35:58 2005 for Komssys by doxygen 1.3.8