Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines
nsAttrAndChildArray.h File Reference
#include "nscore.h"
#include "nsAttrName.h"
#include "nsAttrValue.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsAttrAndChildArray
struct  nsAttrAndChildArray::InternalAttr
struct  nsAttrAndChildArray::Impl

Defines

#define ATTRCHILD_ARRAY_GROWSIZE   8
#define ATTRCHILD_ARRAY_LINEAR_THRESHOLD   32
#define ATTRCHILD_ARRAY_ATTR_SLOTS_BITS   10
#define ATTRCHILD_ARRAY_MAX_ATTR_COUNT   ((1 << ATTRCHILD_ARRAY_ATTR_SLOTS_BITS) - 1)
#define ATTRCHILD_ARRAY_MAX_CHILD_COUNT   (~PtrBits(0) >> ATTRCHILD_ARRAY_ATTR_SLOTS_BITS)
#define ATTRCHILD_ARRAY_ATTR_SLOTS_COUNT_MASK   ((1 << ATTRCHILD_ARRAY_ATTR_SLOTS_BITS) - 1)
#define ATTRSIZE   (sizeof(InternalAttr) / sizeof(void*))

Class Documentation

struct nsAttrAndChildArray::InternalAttr

Definition at line 164 of file nsAttrAndChildArray.h.

Collaboration diagram for nsAttrAndChildArray::InternalAttr:
Class Members
nsAttrName mName
nsAttrValue mValue
struct nsAttrAndChildArray::Impl

Definition at line 170 of file nsAttrAndChildArray.h.

Collaboration diagram for nsAttrAndChildArray::Impl:
Class Members
PRUint32 mAttrAndChildCount
void * mBuffer
PRUint32 mBufferSize
nsMappedAttributes * mMappedAttrs

Define Documentation

Definition at line 55 of file nsAttrAndChildArray.h.

Definition at line 63 of file nsAttrAndChildArray.h.

Definition at line 52 of file nsAttrAndChildArray.h.

Definition at line 53 of file nsAttrAndChildArray.h.

Definition at line 57 of file nsAttrAndChildArray.h.

Definition at line 60 of file nsAttrAndChildArray.h.

#define ATTRSIZE   (sizeof(InternalAttr) / sizeof(void*))

Definition at line 67 of file nsAttrAndChildArray.h.