Program: bbtk
Module: $RCSfile: bbtkBlackBoxDescriptor.cxx,v $
Language: C++
- Date: $Date: 2008/02/07 11:06:37 $
- Version: $Revision: 1.11 $
+ Date: $Date: 2008/02/08 07:39:49 $
+ Version: $Revision: 1.12 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
std::string descr = GetDescription();
Utilities::html_format(descr);
- std::cout << "HTML *** "<<descr<<std::endl;
std::string author = GetAuthor();
Utilities::html_format(author);
- std::string category = GetCategory();
- Utilities::html_format(category);
+ std::vector<std::string> categories;
+ // Split the category string
+ std::string delimiters = ";,";
+ Utilities::SplitString(GetCategory(),
+ delimiters,categories);
+
(s) << "<p><TABLE cellspacing=0 cellpadding=3>\n";
(s) << "<TR><TD style='vertical-align: top;'><b> Description </b></TD><TD style='vertical-align: top;'> : </TD><TD style='vertical-align: top;'> "
<< descr << "</TD></TR>\n";
(s) << "<TR><TD style='vertical-align: top;'><b> Author(s) </b></TD><TD style='vertical-align: top;'> : </TD><TD style='vertical-align: top;'> "
<< author << "</TD></TR>\n";
- (s) << "<TR><TD style='vertical-align: top;'><b> Category(s) </b></TD><TD style='vertical-align: top;'> : </TD><TD style='vertical-align: top;'> "
- << category << "</TD></TR>\n";
+ (s) << "<TR><TD style='vertical-align: top;'><b> Category(s) </b></TD><TD style='vertical-align: top;'> : </TD><TD style='vertical-align: top;'> ";
+ std::vector<std::string>::iterator ci;
+ for (ci=categories.begin(); ci!=categories.end(); ++ci)
+ {
+ s << "<a href=\"../index-category.html#"<< *ci <<"\">" << *ci
+ << "</a> \n";
+ }
+ s << "</TD></TR>\n";
+
(s) << "<TR><TD style='vertical-align: top;'><b> To use it </b></TD><TD style='vertical-align: top;'> : </TD><TD style='vertical-align: top;'> include "
<< GetPackage()->GetName() << "</TD></TR>\n";
(s) << "</TABLE>\n";
Program: bbtk
Module: $RCSfile: bbtkComplexBlackBoxDescriptor.cxx,v $
Language: C++
- Date: $Date: 2008/02/07 11:06:37 $
- Version: $Revision: 1.7 $
+ Date: $Date: 2008/02/08 07:39:49 $
+ Version: $Revision: 1.8 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
std::string author = GetAuthor();
Utilities::html_format(author);
- std::string category = GetCategory();
- Utilities::html_format(category);
+ std::vector<std::string> categories;
+ // Split the category string
+ std::string delimiters = ";,";
+ Utilities::SplitString(GetCategory(),
+ delimiters,categories);
+
(s) << "<p><TABLE cellspacing=0 cellpadding=3>\n";
(s) << "<TR><TD style='vertical-align: top;'><b> Description </b></TD><TD style='vertical-align: top;'> : </TD><TD style='vertical-align: top;'> "
(s) << "<TR><TD style='vertical-align: top;'><b> Author(s) </b></TD><TD style='vertical-align: top;'> : </TD><TD style='vertical-align: top;'> "
<< author << "</TD></TR>\n";
- (s) << "<TR><TD style='vertical-align: top;'><b> Category(s) </b></TD><TD style='vertical-align: top;'> : </TD><TD style='vertical-align: top;'> "
- << category << "</TD></TR>\n";
-
+ (s) << "<TR><TD style='vertical-align: top;'><b> Category(s) </b></TD><TD style='vertical-align: top;'> : </TD><TD style='vertical-align: top;'> ";
+ std::vector<std::string>::iterator ci;
+ for (ci=categories.begin(); ci!=categories.end(); ++ci)
+ {
+ s << "<a href=\"../index-category.html#"<< *ci <<"\">" << *ci
+ << "</a> \n";
+ }
+ s << "</TD></TR>\n";
std::string inc = GetScriptFileName();
if (inc.size()>0)
{
if (B.size())
{
- (s) << "<TR><TD style='vertical-align: top;'><b> Dependencies </b></TD><TD style='vertical-align: top;'> : </TD><TD style='vertical-align: top;'> ";
+ (s) << "<TR><TD style='vertical-align: top;'><b> Uses </b></TD><TD style='vertical-align: top;'> : </TD><TD style='vertical-align: top;'> ";
std::set<BlackBoxDescriptor*> pdeps;
ComplexBlackBox::BlackBoxMapType::const_iterator b;
Module: $RCSfile: bbtkFactory.cxx,v $
Language: C++
-Date: $Date: 2008/02/06 10:51:28 $
-Version: $Revision: 1.16 $
+Date: $Date: 2008/02/08 07:39:49 $
+Version: $Revision: 1.17 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
std::string k("");
k += pack->GetName();
keys.push_back(k);
- title = "List by package";
+ title = "Boxes by package";
}
else if (type==Initials)
{
}
else if (type==Categories)
{
-
// Split the category string
- //std::vector<std::string> categories;
-
std::string delimiters = ";,";
Utilities::SplitString(j->second->GetCategory(),
delimiters,keys);
-
- //std::vector<std::string>::iterator si;
- //for (si=categories.begin();si!=categories.end;++si)
- // {
- // keys.push_back(*si);
- // }
- title = "Index by category";
-
if (keys.size()==0)
keys.push_back(" NONE");
- title = "List by category";
+ title = "Boxes by category";
}
std::vector<std::string>::const_iterator k;
{
s << "<p><hr>\n";
s << "<p><a href=\"#Top\">Top</a>";
- s << "<a name=\""<<ii->first<<"\"></a>\n";
- s << "<p><b>"<<ii->first<<"</b>\n";
+ if (type==Packages)
+ {
+ s << "<a name=\""<<ii->first<<"\"></a>\n";
+ s << "<p><a href=\""<<ii->first<<"/index.html\">"
+ << ii->first<<"</a>\n";
+ }
+ else
+ {
+ s << "<a name=\""<<ii->first<<"\"></a>\n";
+ s << "<p><b>"<<ii->first<<"</b>\n";
+ }
s << "<ul>\n";
s << "<p><TABLE cellspacing=0 cellpadding=3>\n";
{
std::string pack = (*di)->GetPackage()->GetName();
std::string name = (*di)->GetTypeName();
+ Utilities::html_format(name);
std::string descr = (*di)->GetDescription();
+ Utilities::html_format(descr);
s << "<TR>";
s << "<TD style='vertical-align: top;'>";
s << " <a href=\""<<pack
Program: bbtk
Module: $RCSfile: bbtkPackage.cxx,v $
Language: C++
- Date: $Date: 2008/02/06 10:51:28 $
- Version: $Revision: 1.6 $
+ Date: $Date: 2008/02/08 07:39:49 $
+ Version: $Revision: 1.7 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See doc/license.txt or
std::string name = i->second->GetTypeName();
Utilities::html_format(name);
std::string descr = i->second->GetDescription();
+ Utilities::html_format(descr);
s << "<TR>";
s << "<TD style='vertical-align: top;'>";
+# DO NOT REMOVE :
+INCLUDE(${BBTK_CMAKE_DIR}/BBTKConfigurePackage_PackageConfig.cmake)
+
+# INSERT YOUR CUSTOM CONFIG HERE
+# DO NOT REMOVE :
+INCLUDE(${BBTK_CMAKE_DIR}/BBTKConfigurePackage_UsePackage.cmake)
+
+# INSERT YOUR CUSTOM USE HERE
+# DO NOT REMOVE :
+INCLUDE(${BBTK_CMAKE_DIR}/BBTKConfigurePackage_PackageConfig.cmake)
+
+# INSERT YOUR CUSTOM CONFIG HERE
+# DO NOT REMOVE :
+INCLUDE(${BBTK_CMAKE_DIR}/BBTKConfigurePackage_UsePackage.cmake)
+
+# INSERT YOUR CUSTOM USE HERE
+# DO NOT REMOVE :
+INCLUDE(${BBTK_CMAKE_DIR}/BBTKConfigurePackage_PackageConfig.cmake)
+
+# INSERT YOUR CUSTOM CONFIG HERE
+# DO NOT REMOVE :
+INCLUDE(${BBTK_CMAKE_DIR}/BBTKConfigurePackage_UsePackage.cmake)
+
+# INSERT YOUR CUSTOM USE HERE