MCPcopy Create free account
hub / github.com/Norbyte/ositools / DebugDumpTV

Function DebugDumpTV

OsiInterface/DebugMessages.cpp:88–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 }
87
88 void DebugDumpTV(std::wstringstream & ss, TypedValue const & tv)
89 {
90 switch ((ValueType)tv.TypeId) {
91 case ValueType::Integer:
92 ss << tv.Value.Val.Int32;
93 break;
94
95 case ValueType::Integer64:
96 ss << tv.Value.Val.Int64;
97 break;
98
99 case ValueType::Real:
100 ss << tv.Value.Val.Float;
101 break;
102
103 case ValueType::None:
104 case ValueType::Undefined:
105 ss << "(None)";
106 break;
107
108 default:
109 if (tv.Value.Val.String) {
110 ss << '"' << tv.Value.Val.String << '"';
111 }
112 else {
113 ss << "(Null)";
114 }
115 break;
116 }
117 }
118
119 void DebugDumpTuple(std::wstringstream & ss, TupleLL const & tuple)
120 {

Callers 1

DebugDumpTupleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected