MCPcopy Create free account
hub / github.com/Illumina/hap.py / begin

Method begin

external/jsoncpp/jsoncpp.cpp:2779–2807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2777}
2778
2779Value::const_iterator Value::begin() const {
2780 switch (type_) {
2781#ifdef JSON_VALUE_USE_INTERNAL_MAP
2782 case arrayValue:
2783 if (value_.array_) {
2784 ValueInternalArray::IteratorState it;
2785 value_.array_->makeBeginIterator(it);
2786 return const_iterator(it);
2787 }
2788 break;
2789 case objectValue:
2790 if (value_.map_) {
2791 ValueInternalMap::IteratorState it;
2792 value_.map_->makeBeginIterator(it);
2793 return const_iterator(it);
2794 }
2795 break;
2796#else
2797 case arrayValue:
2798 case objectValue:
2799 if (value_.map_)
2800 return const_iterator(value_.map_->begin());
2801 break;
2802#endif
2803 default:
2804 break;
2805 }
2806 return const_iterator();
2807}
2808
2809Value::const_iterator Value::end() const {
2810 switch (type_) {

Callers 15

dropRowsWithMissingMethod · 0.80
intersectLanesMethod · 0.80
writeMethod · 0.80
getLevelsMethod · 0.80
advanceMethod · 0.80
advanceMethod · 0.80
writeHeaderMethod · 0.80
putMethod · 0.80
advanceMethod · 0.80
trimAllelesFunction · 0.80
runMethod · 0.80
countMethod · 0.80

Calls

no outgoing calls

Tested by 3

BOOST_AUTO_TEST_CASEFunction · 0.64
listcmpFunction · 0.64
mergeMethod · 0.64