Lines Matching refs:Value
29 const Value Value::null;
30 const Int Value::minInt = Int( ~(UInt(-1)/2) );
31 const Int Value::maxInt = Int( UInt(-1)/2 );
32 const UInt Value::maxUInt = UInt(-1);
34 const Int64 Value::minInt64 = Int64( ~(UInt64(-1)/2) );
35 const Int64 Value::maxInt64 = Int64( UInt64(-1)/2 );
36 const UInt64 Value::maxUInt64 = UInt64(-1);
42 const LargestInt Value::minLargestInt = LargestInt( ~(LargestUInt(-1)/2) );
43 const LargestInt Value::maxLargestInt = LargestInt( LargestUInt(-1)/2 );
44 const LargestUInt Value::maxLargestUInt = LargestUInt(-1);
90 if (length >= (unsigned)Value::maxInt) in duplicateStringValue()
91 length = Value::maxInt - 1; in duplicateStringValue()
140 Value::CommentInfo::CommentInfo() in CommentInfo()
145 Value::CommentInfo::~CommentInfo() in ~CommentInfo()
153 Value::CommentInfo::setComment( const char *text ) in setComment()
176 Value::CZString::CZString( ArrayIndex index ) in CZString()
182 Value::CZString::CZString( const char *cstr, DuplicationPolicy allocate ) in CZString()
189 Value::CZString::CZString( const CZString &other ) in CZString()
198 Value::CZString::~CZString() in ~CZString()
205 Value::CZString::swap( CZString &other ) in swap()
211 Value::CZString &
212 Value::CZString::operator =( const CZString &other ) in operator =()
220 Value::CZString::operator<( const CZString &other ) const in operator <()
228 Value::CZString::operator==( const CZString &other ) const in operator ==()
237 Value::CZString::index() const in index()
244 Value::CZString::c_str() const in c_str()
250 Value::CZString::isStaticString() const in isStaticString()
270 Value::Value( ValueType type ) in Value() function in Json::Value
314 Value::Value( UInt value ) in Value() function in Json::Value
325 Value::Value( Int value ) in Value() function in Json::Value
338 Value::Value( Int64 value ) in Value() function in Json::Value
350 Value::Value( UInt64 value ) in Value() function in Json::Value
362 Value::Value( double value ) in Value() function in Json::Value
373 Value::Value( const char *value ) in Value() function in Json::Value
385 Value::Value( const char *beginValue, in Value() function in Json::Value
399 Value::Value( const std::string &value ) in Value() function in Json::Value
412 Value::Value( const StaticString &value ) in Value() function in Json::Value
425 Value::Value( const CppTL::ConstString &value ) in Value() function in Json::Value
437 Value::Value( bool value ) in Value() function in Json::Value
449 Value::Value( const Value &other ) in Value() function in Json::Value
504 Value::~Value() in ~Value()
539 Value &
540 Value::operator=( const Value &other ) in operator =()
542 Value temp( other ); in operator =()
548 Value::swap( Value &other ) in swap()
560 Value::type() const in type()
567 Value::compare( const Value &other ) const in compare()
578 Value::operator <( const Value &other ) const in operator <()
622 Value::operator <=( const Value &other ) const in operator <=()
628 Value::operator >=( const Value &other ) const in operator >=()
634 Value::operator >( const Value &other ) const in operator >()
640 Value::operator ==( const Value &other ) const in operator ==()
684 Value::operator !=( const Value &other ) const in operator !=()
690 Value::asCString() const in asCString()
698 Value::asString() const in asString()
721 Value::asConstString() const in asConstString()
728 Value::Int
729 Value::asInt() const in asInt()
753 Value::UInt
754 Value::asUInt() const in asUInt()
780 Value::Int64
781 Value::asInt64() const in asInt64()
804 Value::UInt64
805 Value::asUInt64() const in asUInt64()
830 Value::asLargestInt() const in asLargestInt()
841 Value::asLargestUInt() const in asLargestUInt()
852 Value::asDouble() const in asDouble()
877 Value::asFloat() const in asFloat()
902 Value::asBool() const in asBool()
924 Value::isConvertibleTo( ValueType other ) const in isConvertibleTo()
972 Value::size() const in size()
1007 Value::empty() const in empty()
1017 Value::operator!() const in operator !()
1024 Value::clear() in clear()
1049 Value::resize( ArrayIndex newSize ) in resize()
1053 *this = Value( arrayValue ); in resize()
1074 Value &
1075 Value::operator[]( ArrayIndex index ) in operator []()
1079 *this = Value( arrayValue ); in operator []()
1095 Value &
1096 Value::operator[]( int index ) in operator []()
1103 const Value &
1104 Value::operator[]( ArrayIndex index ) const in operator []()
1116 Value *value = value_.array_->find( index ); in operator []()
1122 const Value &
1123 Value::operator[]( int index ) const in operator []()
1130 Value &
1131 Value::operator[]( const char *key ) in operator []()
1137 Value &
1138 Value::resolveReference( const char *key, in resolveReference()
1143 *this = Value( objectValue ); in resolveReference()
1153 Value &value = (*it).second; in resolveReference()
1161 Value
1162 Value::get( ArrayIndex index, in get()
1163 const Value &defaultValue ) const in get()
1165 const Value *value = &((*this)[index]); in get()
1171 Value::isValidIndex( ArrayIndex index ) const in isValidIndex()
1178 const Value &
1179 Value::operator[]( const char *key ) const in operator []()
1191 const Value *value = value_.map_->find( key ); in operator []()
1197 Value &
1198 Value::operator[]( const std::string &key ) in operator []()
1204 const Value &
1205 Value::operator[]( const std::string &key ) const in operator []()
1210 Value &
1211 Value::operator[]( const StaticString &key ) in operator []()
1218 Value &
1219 Value::operator[]( const CppTL::ConstString &key ) in operator []()
1225 const Value &
1226 Value::operator[]( const CppTL::ConstString &key ) const in operator []()
1233 Value &
1234 Value::append( const Value &value ) in append()
1240 Value
1241 Value::get( const char *key, in get()
1242 const Value &defaultValue ) const in get()
1244 const Value *value = &((*this)[key]); in get()
1249 Value
1250 Value::get( const std::string &key, in get()
1251 const Value &defaultValue ) const in get()
1256 Value
1257 Value::removeMember( const char* key ) in removeMember()
1267 Value old(it->second); in removeMember()
1271 Value *value = value_.map_->find( key ); in removeMember()
1273 Value old(*value); in removeMember()
1282 Value
1283 Value::removeMember( const std::string &key ) in removeMember()
1289 Value
1290 Value::get( const CppTL::ConstString &key, in get()
1291 const Value &defaultValue ) const in get()
1298 Value::isMember( const char *key ) const in isMember()
1300 const Value *value = &((*this)[key]); in isMember()
1306 Value::isMember( const std::string &key ) const in isMember()
1314 Value::isMember( const CppTL::ConstString &key ) const in isMember()
1320 Value::Members
1321 Value::getMemberNames() const in getMemberNames()
1325 return Value::Members(); in getMemberNames()
1376 Value::isNull() const in isNull()
1383 Value::isBool() const in isBool()
1390 Value::isInt() const in isInt()
1410 Value::isUInt() const in isUInt()
1429 Value::isInt64() const in isInt64()
1453 Value::isUInt64() const in isUInt64()
1478 Value::isIntegral() const in isIntegral()
1489 Value::isDouble() const in isDouble()
1496 Value::isNumeric() const in isNumeric()
1503 Value::isString() const in isString()
1510 Value::isArray() const in isArray()
1517 Value::isObject() const in isObject()
1524 Value::setComment( const char *comment, in setComment()
1534 Value::setComment( const std::string &comment, in setComment()
1542 Value::hasComment( CommentPlacement placement ) const in hasComment()
1548 Value::getComment( CommentPlacement placement ) const in getComment()
1557 Value::toStyledString() const in toStyledString()
1564 Value::const_iterator
1565 Value::begin() const in begin()
1599 Value::const_iterator
1600 Value::end() const in end()
1635 Value::iterator
1636 Value::begin() in begin()
1670 Value::iterator
1671 Value::end() in end()
1833 const Value &
1834 Path::resolve( const Value &root ) const in resolve()
1836 const Value *node = &root; in resolve()
1855 if ( node == &Value::null ) in resolve()
1865 Value
1866 Path::resolve( const Value &root, in resolve()
1867 const Value &defaultValue ) const in resolve()
1869 const Value *node = &root; in resolve()
1884 if ( node == &Value::null ) in resolve()
1892 Value &
1893 Path::make( Value &root ) const in make()
1895 Value *node = &root; in make()