Search Toolkit Book for CJson_ConstNode
#include <misc/jsonwrapp/jsonwrapp11.hpp>
Container for JSON value. A JSON value must be an object, array, number, or string, or one of the following three literal names: false null true. The class provides basic access methods only. To get access to value data, one should "get" (cast) it as Value, Array or Object and use an appropriate API.
Definition at line 123 of file jsonwrapp11.hpp.
◆ _Impl ◆ TCharType ◆ TKeyType ◆ TStringType ◆ EJsonTypeValue type.
Enumerator eNullnull
eBoolbool
eNumbernumber
eStringstring
eArrayarray
eObjectobject
Definition at line 135 of file jsonwrapp11.hpp.
◆ ~CJson_ConstNode() CJson_ConstNode::~CJson_ConstNode ( void ) inlineDefinition at line 180 of file jsonwrapp11.hpp.
◆ CJson_ConstNode() [1/3]Note: this does not copy Node data Instead, both Node objects will point to the same data.
Definition at line 1218 of file jsonwrapp11.hpp.
◆ CJson_ConstNode() [2/3] CJson_ConstNode::CJson_ConstNode ( void ) inlineprotected ◆ CJson_ConstNode() [3/3] ◆ GetArray() ◆ GetNode() ◆ GetObject()Get JSON object contents of the node.
Definition at line 1329 of file jsonwrapp11.hpp.
References _ASSERT, CJson_ConstObject, IsObject(), and m_Impl.
Referenced by CPsgCgiApp::AddParamsTable(), CDoiLookup::GetPubFromCrossRef(), SInteractiveNewRequestStart::SExtra::Print(), CProcessing::ReadCommands(), s_GetId(), NSNPWebServices::SearchByVarId(), CParallelProcessing< TParams >::SImpl::Submitter(), and CCompareWithBiosample::x_ReportBiosampleUpdate().
◆ GetType()Get value type.
Definition at line 1251 of file jsonwrapp11.hpp.
References eArray, eBool, eNull, eNumber, eObject, eString, rapidjson::kArrayType, rapidjson::kFalseType, rapidjson::kNullType, rapidjson::kNumberType, rapidjson::kObjectType, rapidjson::kStringType, rapidjson::kTrueType, and m_Impl.
Referenced by SInteractiveNewRequestStart::SExtra::Print().
◆ GetValue()Get JSON value contents of the node.
Definition at line 1305 of file jsonwrapp11.hpp.
References _ASSERT, CJson_ConstValue, IsValue(), and m_Impl.
Referenced by CDoiLookup::GetPubFromCrossRef(), SRequestBuilder::SImpl< TRequest >::GetSpecified(), SInteractiveNewRequestStart::SExtra::Print(), CProcessing::ReadCommands(), s_GetId(), NSNPWebServices::SearchByVarId(), CParallelProcessing< TParams >::SImpl::Submitter(), and CCompareWithBiosample::x_ReportBiosampleUpdate().
◆ HasNode() ◆ IsArray() bool CJson_ConstNode::IsArray ( void ) const inline ◆ IsNull() bool CJson_ConstNode::IsNull ( void ) const inline ◆ IsObject() bool CJson_ConstNode::IsObject ( void ) const inline ◆ IsValue() bool CJson_ConstNode::IsValue ( void ) const inline ◆ operator!=() ◆ operator=() ◆ operator==() ◆ ToString()Convert the contents of the node into string.
Definition at line 1334 of file jsonwrapp11.hpp.
References fJson_Write_IndentWithTab, fJson_Write_NoEol, fJson_Write_NoIndentation, flags, m_Impl, rapidjson::PrettyWriter< OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags >::SetIndent(), rapidjson::PrettyWriter< OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags >::SetWriteEol(), and string.
Referenced by CBiosampleChkApp::CreateBiosampleUpdateWebService(), and CCompareWithBiosample::CreateBiosampleUpdateWebService().
◆ x_Assign() ◆ x_Impl() ◆ CJson_Array ◆ CJson_ConstArray ◆ CJson_ConstObject ◆ CJson_ConstObject_pair ◆ CJson_ConstValue ◆ CJson_Document ◆ CJson_Node ◆ CJson_Object ◆ CJson_Object_pair ◆ CJson_WalkHandler ◆ m_Impl _Impl* CJson_ConstNode::m_Impl protectedDefinition at line 199 of file jsonwrapp11.hpp.
Referenced by CJson_Node::AssignCopy(), CJson_Object::at(), CJson_ConstObject::at(), CJson_ConstArray::begin(), CJson_Array::begin(), CJson_ConstObject::begin(), CJson_Object::begin(), CJson_ConstArray::capacity(), CJson_Array::CJson_Array(), CJson_ConstArray::CJson_ConstArray(), CJson_ConstObject::CJson_ConstObject(), CJson_ConstValue::CJson_ConstValue(), CJson_Document::CJson_Document(), CJson_Node::CJson_Node(), CJson_Object::CJson_Object(), CJson_Value::CJson_Value(), CJson_Array::clear(), CJson_Object::clear(), CJson_ConstArray::empty(), CJson_ConstObject::empty(), CJson_ConstArray::end(), CJson_Array::end(), CJson_ConstObject::end(), CJson_Object::end(), CJson_Object::erase(), CJson_Array::erase(), CJson_ConstObject::find(), CJson_Object::find(), GetArray(), CJson_ConstValue::GetBool(), CJson_ConstValue::GetDouble(), CJson_ConstValue::GetInt4(), CJson_ConstValue::GetInt8(), GetNode(), GetObject(), CJson_ConstValue::GetString(), CJson_ConstValue::GetStringLength(), GetType(), CJson_ConstValue::GetUint4(), CJson_ConstValue::GetUint8(), GetValue(), CJson_ConstObject::has(), HasNode(), CJson_Object::insert(), CJson_Object::insert_array(), CJson_Object::insert_object(), IsArray(), CJson_ConstValue::IsBool(), CJson_ConstValue::IsDouble(), CJson_ConstValue::IsInt4(), CJson_ConstValue::IsInt8(), IsNull(), CJson_ConstValue::IsNumber(), IsObject(), CJson_ConstValue::IsString(), CJson_ConstValue::IsUint4(), CJson_ConstValue::IsUint8(), operator!=(), operator=(), CJson_Document::operator=(), operator==(), CJson_Object::operator[](), CJson_ConstObject::operator[](), CJson_Array::operator[](), CJson_ConstArray::operator[](), CJson_Array::pop_back(), CJson_Array::push_back(), CJson_Array::push_back_array(), CJson_Array::push_back_object(), CJson_Array::reserve(), CJson_Node::ResetArray(), CJson_Node::ResetObject(), CJson_Node::ResetValue(), CJson_Node::SetArray(), CJson_Value::SetBool(), CJson_Value::SetDouble(), CJson_Value::SetInt4(), CJson_Value::SetInt8(), CJson_Node::SetNode(), CJson_Node::SetNull(), CJson_Node::SetObject(), CJson_Value::SetString(), CJson_Value::SetUint4(), CJson_Value::SetUint8(), CJson_Node::SetValue(), CJson_ConstArray::size(), CJson_ConstObject::size(), ToString(), x_Assign(), and x_Impl().
The documentation for this class was generated from the following file:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4