A token is the basic units of internal representation. Plus de détails...
#include <arcane/utils/internal/json/rapidjson/pointer.h>
Attributs publics | |
const Ch * | name |
Name of the token. It has null character at the end but it can contain null character. | |
SizeType | length |
Length of the name. | |
SizeType | index |
A valid array index, if it is not equal to kPointerInvalidIndex. | |
A token is the basic units of internal representation.
A JSON pointer string representation "/foo/123" is parsed to two tokens: "foo" and 123. 123 will be represented in both numeric form and string form. They are resolved according to the actual value type (object or array).
For token that are not numbers, or the numeric value is out of bound (greater than limits of SizeType), they are only treated as string form (i.e. the token's index will be equal to kPointerInvalidIndex).
This struct is public so that user can create a Pointer without parsing and allocation, using a special constructor.
SizeType GenericPointer< ValueType, Allocator >::Token::index |
A valid array index, if it is not equal to kPointerInvalidIndex.
Définition à la ligne 101 du fichier pointer.h.
Référencé par GenericPointer< ValueType, Allocator >::Append().
SizeType GenericPointer< ValueType, Allocator >::Token::length |
Length of the name.
Définition à la ligne 100 du fichier pointer.h.
Référencé par GenericPointer< ValueType, Allocator >::Append().
const Ch* GenericPointer< ValueType, Allocator >::Token::name |
Name of the token. It has null character at the end but it can contain null character.
Définition à la ligne 99 du fichier pointer.h.
Référencé par GenericPointer< ValueType, Allocator >::Append().