BValueMap Class Reference

#include <support_p/ValueMap.h>

List of all members.

Public Member Functions

ssize_t Archive (SParcel &into) const
ssize_t ArchivedSize () const
void AssertEditing () const
BValueMapClone () const
int32_t Compare (const BValueMap &o) const
size_t CountMaps () const
void DecUsers () const
void IncUsers () const
ssize_t IndexFor (uint32_t type, const void *data, size_t length) const
ssize_t IndexFor (const SValue &key, const SValue &value=B_UNDEFINED_VALUE) const
bool IsEditing () const
bool IsShared () const
int32_t LexicalCompare (const BValueMap &o) const
const pairMapAt (size_t index) const
void Pool ()
void SetFirstMap (const SValue &key, const SValue &value)

Static Public Member Functions

static ssize_t AddNewMap (BValueMap **This, const SValue &key, const SValue &value)
static SValueBeginEditMapAt (BValueMap **This, size_t index)
static BValueMapCreate (SParcel &from, size_t avail, size_t count, ssize_t *out_size)
static BValueMapCreate (size_t initSize=1)
static void EndEditMapAt (BValueMap **This)
static status_t RemoveMap (BValueMap **This, const SValue &key, const SValue &value=B_UNDEFINED_VALUE)
static void RemoveMapAt (BValueMap **This, size_t index)
static status_t RenameMap (BValueMap **This, const SValue &old_key, const SValue &new_key)

Friends

class BValueMapPool

Classes

struct  pair


Member Function Documentation

ssize_t AddNewMap BValueMap **  This,
const SValue key,
const SValue value
[static]
 

ssize_t Archive SParcel into  )  const
 

ssize_t ArchivedSize  )  const [inline]
 

void AssertEditing  )  const [inline]
 

SValue * BeginEditMapAt BValueMap **  This,
size_t  index
[static]
 

BValueMap * Clone  )  const
 

int32_t Compare const BValueMap o  )  const
 

size_t CountMaps  )  const [inline]
 

BValueMap * Create SParcel from,
size_t  avail,
size_t  count,
ssize_t *  out_size
[static]
 

BValueMap * Create size_t  initSize = 1  )  [static]
 

void DecUsers  )  const [inline]
 

void EndEditMapAt BValueMap **  This  )  [static]
 

void IncUsers  )  const [inline]
 

ssize_t IndexFor uint32_t  type,
const void *  data,
size_t  length
const [inline]
 

ssize_t IndexFor const SValue key,
const SValue value = B_UNDEFINED_VALUE
const [inline]
 

bool IsEditing  )  const [inline]
 

bool IsShared  )  const [inline]
 

int32_t LexicalCompare const BValueMap o  )  const
 

const BValueMap::pair & MapAt size_t  index  )  const [inline]
 

void Pool  ) 
 

status_t RemoveMap BValueMap **  This,
const SValue key,
const SValue value = B_UNDEFINED_VALUE
[static]
 

void RemoveMapAt BValueMap **  This,
size_t  index
[static]
 

status_t RenameMap BValueMap **  This,
const SValue old_key,
const SValue new_key
[static]
 

void SetFirstMap const SValue key,
const SValue value
 


Friends And Related Function Documentation

friend class BValueMapPool [friend]
 


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