MCPcopy Create free account
hub / github.com/apache/trafficserver / SetFlowType

Method SetFlowType

lib/yamlcpp/src/emitterstate.cpp:354–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352}
353
354bool EmitterState::SetFlowType(GroupType::value groupType, EMITTER_MANIP value,
355 FmtScope::value scope) {
356 switch (value) {
357 case Block:
358 case Flow:
359 _Set(groupType == GroupType::Seq ? m_seqFmt : m_mapFmt, value, scope);
360 return true;
361 default:
362 return false;
363 }
364}
365
366EMITTER_MANIP EmitterState::GetFlowType(GroupType::value groupType) const {
367 // force flow style if we're currently in a flow

Callers 2

SetSeqFormatMethod · 0.80
SetMapFormatMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected