Value.cpp File Reference

#include <support/Value.h>
#include <support/KeyedVector.h>
#include <support/Atom.h>
#include <support/Debug.h>
#include <support/ITextStream.h>
#include <support/String.h>
#include <support/TypeConstants.h>
#include <support/Binder.h>
#include <support/Parcel.h>
#include <support/Looper.h>
#include <support/SharedBuffer.h>
#include <support/StdIO.h>
#include <support/StringIO.h>
#include <support_p/SupportMisc.h>
#include <support_p/ValueMap.h>
#include <support_p/WindowsCompatibility.h>
#include <support_p/binder_module.h>
#include <math.h>
#include <ctype.h>
#include <float.h>
#include <new>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "ValueInternal.h"

Defines

#define CHECK_CORRECTNESS(mine, correct, left, op, right)
#define CHECK_INTEGRITY(v)   (v).check_integrity()
#define DB_CORRECTNESS_CHECKS   0
#define DB_INTEGRITY_CHECKS   1
#define DISABLE_COW   0
#define FINISH_ARCHIVE(func)   return func
#define INIT_CORRECTNESS(ops)
#define TYPED_DATA_COMPARE(d1, d2, type)
#define VALIDATES_VALUE   0

Typedefs

typedef uint8_t dummy_value [sizeof(SValue)]

Functions

SValue BArrayAsValue (const SValue *from, size_t count)
status_t BArrayConstruct (SValue *to, const SValue &value, size_t count)
const sptr< ITextOutput > & operator<< (const sptr< ITextOutput > &io, const SValue &value)


Define Documentation

#define CHECK_CORRECTNESS mine,
correct,
left,
op,
right   ) 
 

#define CHECK_INTEGRITY  )     (v).check_integrity()
 

#define DB_CORRECTNESS_CHECKS   0
 

#define DB_INTEGRITY_CHECKS   1
 

#define DISABLE_COW   0
 

#define FINISH_ARCHIVE func   )     return func
 

#define INIT_CORRECTNESS ops   ) 
 

#define TYPED_DATA_COMPARE d1,
d2,
type   ) 
 

Value:

( (*reinterpret_cast<const type*>(d1)) < (*reinterpret_cast<const type*>(d2))       \
        ? -1                                                                            \
        : ( (*reinterpret_cast<const type*>(d1)) > (*reinterpret_cast<const type*>(d2)) \
            ? 1 : 0 )                                                                   \
    )

#define VALIDATES_VALUE   0
 


Typedef Documentation

typedef uint8_t dummy_value[sizeof(SValue)]
 


Function Documentation

SValue BArrayAsValue const SValue from,
size_t  count
 

status_t BArrayConstruct SValue to,
const SValue value,
size_t  count
 

const sptr<ITextOutput>& operator<< const sptr< ITextOutput > &  io,
const SValue value