00001 #include <creaImageIOTree.h> 00002 #include <creaImageIOSystem.h> 00003 00004 00005 namespace creaImageIO 00006 { 00007 namespace tree 00008 { 00009 00010 Tree::Tree() 00011 : Node(0) 00012 { 00013 GimmickMessage(5,"Default Tree constructor" 00014 << std::endl); 00015 00016 } 00017 00018 Tree::~Tree() 00019 { 00020 00021 } 00022 00023 void Tree::Print() const 00024 { 00025 GimmickMessage(1,GetLabel()<<std::endl); 00026 ChildrenListType::const_iterator i; 00027 for (i=GetChildrenList().begin(); i!=GetChildrenList().end(); i++) 00028 { 00029 (*i)->Print(); 00030 } 00031 00032 } 00033 } 00034 }
1.7.1