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

Method compare

ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:2920–2926  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2918}
2919
2920int Value::compare(const Value& other) const {
2921 if (*this < other)
2922 return -1;
2923 if (*this > other)
2924 return 1;
2925 return 0;
2926}
2927
2928bool Value::operator<(const Value& other) const {
2929 int typeDelta = type() - other.type();

Callers 15

createItemMethod · 0.45
isArrayTagMethod · 0.45
DuplicatePointerMethod · 0.45
NewMethod · 0.45
getPropertiesMethod · 0.45
populateItemMethod · 0.45
getStepControllersFunction · 0.45
populateItemMethod · 0.45
getGridCollectionMethod · 0.45
getCurvilinearGridMethod · 0.45
getRectilinearGridMethod · 0.45

Calls

no outgoing calls

Tested by 2

testPipeFunction · 0.36
testFileFunction · 0.36