MCPcopy Create free account
hub / github.com/GeoDaCenter/geoda / GetColTypes

Method GetColTypes

DataViewer/OGRTable.cpp:552–563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

550}
551
552std::vector<GdaConst::FieldType> OGRTable::GetColTypes(int col)
553{
554 size_t ts = GetColTimeSteps(col);
555 std::vector<GdaConst::FieldType> ret(ts);
556 for (size_t t=0; t<ts; ++t) {
557 ret[t] = GetColType(col, t);
558 if (ret[t] == GdaConst::placeholder_type) {
559 throw GdaException("Placeholder found in grouped column.");
560 }
561 }
562 return ret;
563}
564
565GdaConst::FieldType OGRTable::GetColType(int col, int time)
566{

Callers 3

OnOKMethod · 0.80
OnOkClickMethod · 0.80
promptVarSettingsMethod · 0.80

Calls 1

GdaExceptionClass · 0.85

Tested by

no test coverage detected