MCPcopy Create free account
hub / github.com/comaps/comaps / ResetPoint

Method ResetPoint

libs/kml/serdes.cpp:666–696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664}
665
666void KmlParser::ResetPoint()
667{
668 m_name.clear();
669 m_description.clear();
670 m_org = {};
671 m_predefinedColor = PredefinedColor::None;
672 m_viewportScale = 0;
673 m_timestamp = {};
674
675 m_color = 0;
676 m_styleId.clear();
677 m_mapStyleId.clear();
678 m_styleUrlKey.clear();
679
680 m_featureTypes.clear();
681 m_customName.clear();
682 m_boundTracks.clear();
683 m_visible = true;
684 m_nearestToponym.clear();
685 m_nearestToponyms.clear();
686 m_properties.clear();
687 m_localId = 0;
688 m_trackLayers.clear();
689 m_trackWidth = kDefaultTrackWidth;
690 m_icon = BookmarkIcon::None;
691
692 m_geometry.Clear();
693 m_geometryType = GEOMETRY_TYPE_UNKNOWN;
694 m_skipTimes.clear();
695 m_lastTrackPointsCount = std::numeric_limits<size_t>::max();
696}
697
698void KmlParser::SetOrigin(std::string const & s)
699{

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected