Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsCacheMetaData::MetaElement Struct Reference
Collaboration diagram for nsCacheMetaData::MetaElement:
Collaboration graph

List of all members.

Public Member Functions

voidoperator new (size_t size, const char *value, PRUint32 valueSize) CPP_THROW_NEW

Public Attributes

struct MetaElementmNext
nsCOMPtr< nsIAtommKey
char mValue [1]

Detailed Description

Definition at line 74 of file nsCacheMetaData.h.

Member Function Documentation

void * nsCacheMetaData::MetaElement::operator new ( size_t  size,
const char *  value,
PRUint32  valueSize 

Definition at line 234 of file nsCacheMetaData.cpp.

    size += valueSize;

    MetaElement *elem = (MetaElement *) ::operator new(size);
    if (!elem)
        return nsnull;

    memcpy(elem->mValue, value, valueSize);
    elem->mValue[valueSize] = 0;

    return elem;

Here is the call graph for this function:

Member Data Documentation

Definition at line 77 of file nsCacheMetaData.h.

Definition at line 76 of file nsCacheMetaData.h.

Definition at line 78 of file nsCacheMetaData.h.

The documentation for this struct was generated from the following files: