• Home
  • Raw
  • Download

Lines Matching refs:Value

31 static const unsigned char kNull[sizeof(Value)] = { 0 };
32 const Value& Value::null = reinterpret_cast<const Value&>(kNull);
34 const Int Value::minInt = Int( ~(UInt(-1)/2) );
35 const Int Value::maxInt = Int( UInt(-1)/2 );
36 const UInt Value::maxUInt = UInt(-1);
38 const Int64 Value::minInt64 = Int64( ~(UInt64(-1)/2) );
39 const Int64 Value::maxInt64 = Int64( UInt64(-1)/2 );
40 const UInt64 Value::maxUInt64 = UInt64(-1);
46 const LargestInt Value::minLargestInt = LargestInt( ~(LargestUInt(-1)/2) );
47 const LargestInt Value::maxLargestInt = LargestInt( LargestUInt(-1)/2 );
48 const LargestUInt Value::maxLargestUInt = LargestUInt(-1);
94 if (length >= (unsigned)Value::maxInt) in duplicateStringValue()
95 length = Value::maxInt - 1; in duplicateStringValue()
144 Value::CommentInfo::CommentInfo() in CommentInfo()
149 Value::CommentInfo::~CommentInfo() in ~CommentInfo()
157 Value::CommentInfo::setComment( const char *text ) in setComment()
180 Value::CZString::CZString( ArrayIndex index ) in CZString()
186 Value::CZString::CZString( const char *cstr, DuplicationPolicy allocate ) in CZString()
193 Value::CZString::CZString( const CZString &other ) in CZString()
202 Value::CZString::~CZString() in ~CZString()
209 Value::CZString::swap( CZString &other ) in swap()
215 Value::CZString &
216 Value::CZString::operator =( const CZString &other ) in operator =()
224 Value::CZString::operator<( const CZString &other ) const in operator <()
232 Value::CZString::operator==( const CZString &other ) const in operator ==()
241 Value::CZString::index() const in index()
248 Value::CZString::c_str() const in c_str()
254 Value::CZString::isStaticString() const in isStaticString()
274 Value::Value( ValueType type ) in Value() function in Json::Value
318 Value::Value( UInt value ) in Value() function in Json::Value
329 Value::Value( Int value ) in Value() function in Json::Value
342 Value::Value( Int64 value ) in Value() function in Json::Value
354 Value::Value( UInt64 value ) in Value() function in Json::Value
366 Value::Value( double value ) in Value() function in Json::Value
377 Value::Value( const char *value ) in Value() function in Json::Value
389 Value::Value( const char *beginValue, in Value() function in Json::Value
403 Value::Value( const std::string &value ) in Value() function in Json::Value
416 Value::Value( const StaticString &value ) in Value() function in Json::Value
429 Value::Value( const CppTL::ConstString &value ) in Value() function in Json::Value
441 Value::Value( bool value ) in Value() function in Json::Value
453 Value::Value( const Value &other ) in Value() function in Json::Value
508 Value::~Value() in ~Value()
543 Value &
544 Value::operator=( const Value &other ) in operator =()
546 Value temp( other ); in operator =()
552 Value::swap( Value &other ) in swap()
564 Value::type() const in type()
571 Value::compare( const Value &other ) const in compare()
582 Value::operator <( const Value &other ) const in operator <()
626 Value::operator <=( const Value &other ) const in operator <=()
632 Value::operator >=( const Value &other ) const in operator >=()
638 Value::operator >( const Value &other ) const in operator >()
644 Value::operator ==( const Value &other ) const in operator ==()
688 Value::operator !=( const Value &other ) const in operator !=()
694 Value::asCString() const in asCString()
702 Value::asString() const in asString()
725 Value::asConstString() const in asConstString()
732 Value::Int
733 Value::asInt() const in asInt()
757 Value::UInt
758 Value::asUInt() const in asUInt()
784 Value::Int64
785 Value::asInt64() const in asInt64()
808 Value::UInt64
809 Value::asUInt64() const in asUInt64()
834 Value::asLargestInt() const in asLargestInt()
845 Value::asLargestUInt() const in asLargestUInt()
856 Value::asDouble() const in asDouble()
881 Value::asFloat() const in asFloat()
906 Value::asBool() const in asBool()
928 Value::isConvertibleTo( ValueType other ) const in isConvertibleTo()
976 Value::size() const in size()
1011 Value::empty() const in empty()
1021 Value::operator!() const in operator !()
1028 Value::clear() in clear()
1053 Value::resize( ArrayIndex newSize ) in resize()
1057 *this = Value( arrayValue ); in resize()
1078 Value &
1079 Value::operator[]( ArrayIndex index ) in operator []()
1083 *this = Value( arrayValue ); in operator []()
1099 Value &
1100 Value::operator[]( int index ) in operator []()
1107 const Value &
1108 Value::operator[]( ArrayIndex index ) const in operator []()
1120 Value *value = value_.array_->find( index ); in operator []()
1126 const Value &
1127 Value::operator[]( int index ) const in operator []()
1134 Value &
1135 Value::operator[]( const char *key ) in operator []()
1141 Value &
1142 Value::resolveReference( const char *key, in resolveReference()
1147 *this = Value( objectValue ); in resolveReference()
1157 Value &value = (*it).second; in resolveReference()
1165 Value
1166 Value::get( ArrayIndex index, in get()
1167 const Value &defaultValue ) const in get()
1169 const Value *value = &((*this)[index]); in get()
1175 Value::isValidIndex( ArrayIndex index ) const in isValidIndex()
1182 const Value &
1183 Value::operator[]( const char *key ) const in operator []()
1195 const Value *value = value_.map_->find( key ); in operator []()
1201 Value &
1202 Value::operator[]( const std::string &key ) in operator []()
1208 const Value &
1209 Value::operator[]( const std::string &key ) const in operator []()
1214 Value &
1215 Value::operator[]( const StaticString &key ) in operator []()
1222 Value &
1223 Value::operator[]( const CppTL::ConstString &key ) in operator []()
1229 const Value &
1230 Value::operator[]( const CppTL::ConstString &key ) const in operator []()
1237 Value &
1238 Value::append( const Value &value ) in append()
1244 Value
1245 Value::get( const char *key, in get()
1246 const Value &defaultValue ) const in get()
1248 const Value *value = &((*this)[key]); in get()
1253 Value
1254 Value::get( const std::string &key, in get()
1255 const Value &defaultValue ) const in get()
1260 Value
1261 Value::removeMember( const char* key ) in removeMember()
1271 Value old(it->second); in removeMember()
1275 Value *value = value_.map_->find( key ); in removeMember()
1277 Value old(*value); in removeMember()
1286 Value
1287 Value::removeMember( const std::string &key ) in removeMember()
1293 Value
1294 Value::get( const CppTL::ConstString &key, in get()
1295 const Value &defaultValue ) const in get()
1302 Value::isMember( const char *key ) const in isMember()
1304 const Value *value = &((*this)[key]); in isMember()
1310 Value::isMember( const std::string &key ) const in isMember()
1318 Value::isMember( const CppTL::ConstString &key ) const in isMember()
1324 Value::Members
1325 Value::getMemberNames() const in getMemberNames()
1329 return Value::Members(); in getMemberNames()
1380 Value::isNull() const in isNull()
1387 Value::isBool() const in isBool()
1394 Value::isInt() const in isInt()
1414 Value::isUInt() const in isUInt()
1433 Value::isInt64() const in isInt64()
1457 Value::isUInt64() const in isUInt64()
1482 Value::isIntegral() const in isIntegral()
1493 Value::isDouble() const in isDouble()
1500 Value::isNumeric() const in isNumeric()
1507 Value::isString() const in isString()
1514 Value::isArray() const in isArray()
1521 Value::isObject() const in isObject()
1528 Value::setComment( const char *comment, in setComment()
1538 Value::setComment( const std::string &comment, in setComment()
1546 Value::hasComment( CommentPlacement placement ) const in hasComment()
1552 Value::getComment( CommentPlacement placement ) const in getComment()
1561 Value::toStyledString() const in toStyledString()
1568 Value::const_iterator
1569 Value::begin() const in begin()
1603 Value::const_iterator
1604 Value::end() const in end()
1639 Value::iterator
1640 Value::begin() in begin()
1674 Value::iterator
1675 Value::end() in end()
1837 const Value &
1838 Path::resolve( const Value &root ) const in resolve()
1840 const Value *node = &root; in resolve()
1859 if ( node == &Value::null ) in resolve()
1869 Value
1870 Path::resolve( const Value &root, in resolve()
1871 const Value &defaultValue ) const in resolve()
1873 const Value *node = &root; in resolve()
1888 if ( node == &Value::null ) in resolve()
1896 Value &
1897 Path::make( Value &root ) const in make()
1899 Value *node = &root; in make()