MCPcopy Create free account
hub / github.com/Kitware/VTK / vtkStringToken

Function vtkStringToken

Common/Core/vtkStringToken.h:49–52  ·  view source on GitHub ↗

Construct a token given its hash value. NOTE: This will NOT insert a string into the manager as other constructors do.

Source from the content-addressed store, hash-verified

47 /// Construct a token given its hash value.
48 /// NOTE: This will NOT insert a string into the manager as other constructors do.
49 constexpr vtkStringToken(Hash tokenId) noexcept
50 : Id(tokenId)
51 {
52 }
53
54 /// Return the token's ID (usually its hash but possibly not in the case of collisions).
55 Hash GetId() const { return this->Id; }

Callers 15

TypeTokenFunction · 0.70
ChildrenMethod · 0.70
AllGroupsMethod · 0.70
FetchArrayFunction · 0.50
FromJSONMethod · 0.50
TestInheritsFunction · 0.50
HashFunction · 0.50
AddCellMetadataFunction · 0.50
GetCellsOfTypeFunction · 0.50

Calls

no outgoing calls

Tested by 2

TestInheritsFunction · 0.40