File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
ConnectionParentItem.cpp
1 
7 /* SPDX-License-Identifier: CC0-1.0 */
8 
9 #include "IsisDebug.h"
10 
11 #include "ConnectionParentItem.h"
12 
13 #include "ImageParentItem.h"
14 
15 
16 namespace Isis {
17  ConnectionParentItem::ConnectionParentItem(QString imageSerial, ControlNet *net,
18  int avgCharWidth, AbstractTreeItem *parent)
19  : AbstractTreeItem(parent), AbstractImageItem(imageSerial, net, avgCharWidth) {
20  }
21 
22 
23  ConnectionParentItem::~ConnectionParentItem() {
24  }
25 
26 
27  void ConnectionParentItem::addChild(AbstractTreeItem *child) {
28  // Only ImageParentItems should be children of ConnectionParentItems
29  ASSERT(dynamic_cast< ImageParentItem * >(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:16:17