Web3S_Demo > IPLD Node

IPLD Node

An IPLD Node, implementing IPLD Data Model https://ipld.io/docs/data-model/node/

Inheritance Hierarchy

Object

References

Module Web3S_Ipld_Runtime
Header Plugins/Web3S_Plugin/Source/Web3S_Ipld_Runtime/Public/Ipld/Web3S_IpldNode.h
Source Plugins/Web3S_Plugin/Source/Web3S_Ipld_Runtime/Private/Ipld/Web3S_IpldNode.cpp
Include Ipld/Web3S_IpldNode.h

Functions

Clone Builds an IPLD Node with identical Value and Kind.
GetBoolean Gets IPLD Node value. IPLD Node Kind needs to be Boolean.
GetBytes Gets IPLD Node value. IPLD Node Kind needs to be Bytes.
GetFloat Gets IPLD Node value. IPLD Node Kind needs to be Float.
GetInteger Gets IPLD Node value. IPLD Node Kind needs to be Integer.
GetLink Get IPLD Node value. IPLD Node Kind needs to be Link.
GetList Gets IPLD Node value. IPLD Node Kind needs to be List.
GetMap Gets IPLD Node value. IPLD Node Kind needs to be Map.
GetString Gets IPLD Node value. IPLD Node Kind needs to be String.
IsEqual Checks whether two IPLD Nodes are equal in value (same kind, same value)
IsKind Checks if IPLD Node Kind is equal to the specified value.
SetBoolean Sets IPLD Node value to Boolean.
SetBytes Sets IPLD Node value to Bytes.
SetFloat Sets IPLD Node value to Float.
SetInteger Sets IPLD Node value to Integer.
SetList Sets IPLD Node value to List.
SetMap Sets IPLD Node value to Map.
SetNull Sets IPLD Node value to Null.
SetString Sets IPLD Node value to String.
TrySetLink Attempts to set IPLD Node value to Link. Only CIDv0 (base58) and CIDv1 (base32, base36) values are allowed.
TrySetRawLink Attempts to set IPLD Node value to Link using a raw (binary) CID. Only CIDv0 and CIDv1 values are allowed. CIDv0 will be encoded using base58, CIDv1 will be encoded using base32 or base36 if multicodec is libp2p-key (0x72) which corresponds to an IPNS name.