File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
PointParentItem.cpp
1 
7 /* SPDX-License-Identifier: CC0-1.0 */
8 
9 #include "IsisDebug.h"
10 
11 #include "PointParentItem.h"
12 
13 #include "MeasureLeafItem.h"
14 
15 
16 namespace Isis {
17  PointParentItem::PointParentItem(ControlPoint *cp,
18  int avgCharWidth, AbstractTreeItem *parent)
19  : AbstractTreeItem(parent), AbstractPointItem(cp, avgCharWidth) {
20  }
21 
22 
23  PointParentItem::~PointParentItem() {
24  }
25 
26 
27  void PointParentItem::addChild(AbstractTreeItem *child) {
28  // Only MeasureLeafItems should be children of PointParentItems
29  ASSERT(dynamic_cast< MeasureLeafItem * >(child));
30 
31  AbstractParentItem::addChild(child);
32  }
33 }
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 07/13/2023 15:17:01