Package::Pointer p = d->GetPackage();
std::string name = b->second->bbGetTypeName();
-
+
std::string url;
if (relative_link)
url = p->GetDocRelativeURL();
return s;
}
//==========================================================================
+void ComplexBlackBoxDescriptor::GetBoxesInside (NodeTreeC& tree, std::vector<std::string>& list, int cont)
+ {
+ std::string name = GetTypeName();
+ std::string descr = GetDescription();
+ std::string author = GetAuthor();
+ list.push_back(name);
+ tree.setData(name);
+ // list.push_back(descr);
+ // list.push_back(author);
+ int k = 0;
+ const ComplexBlackBox::BlackBoxMapType& B = mPrototype->bbGetBlackBoxMap();
+ if (B.size())
+ {
+ std::set<BlackBoxDescriptor::Pointer> pdeps;
+ ComplexBlackBox::BlackBoxMapType::const_iterator b;
+ for ( b = B.begin(); b != B.end(); ++b )
+ {
+ BlackBoxDescriptor::Pointer d = b->second->bbGetDescriptor();
+
+
+ //if (pdeps.find(d) != pdeps.end())
+ // continue;
+ //pdeps.insert(d);
+
+ Package::Pointer p = d->GetPackage();
+ std::string nameBox = b->second->bbGetTypeName();
+ std::string packageBox = p->GetName();
+
+ tree.insertChild(nameBox);
+
+ list.push_back(nameBox);
+ list.push_back(packageBox);
+
+ d->GetBoxesInside (tree.childs[k],list, cont+1);
+ k++;
+ } // for
+
+ } // If B.size
+
+ }
+
+//===================================================
+
+ //==========================================================================
}