Ignore:
Timestamp:
07/20/10 16:06:33 (22 months ago)
Author:
ddangelo
Message:

Name field of all scripts set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/avango-utils/python/_utils.cpp

    r497 r498  
    9999  { 
    100100    std::string type = ::av::ContainerPool::getNameByInstance(iter->second); 
     101//    std::string type = iter->second->Name.getValue(); 
     102 
    101103    int l = type.length(); 
    102104    if(l>maxLength) 
     
    123125    ss<< i->first << std::endl; 
    124126  } 
    125   ss << "Total number of containers: " << av::ContainerPool::getNumberOfContainers() << std::endl; 
     127  for(int n=0;n<maxLength+2;++n) 
     128      ss << " "; 
     129  ss << "-------"<<std::endl; 
     130  std::string total_desc = "Total number of containers:"; 
     131  int l = maxLength - total_desc.length(); 
     132  ss <<"\""<< total_desc << "\" "; 
     133  for(int n=0;n<l;++n) 
     134    ss << " "; 
     135  ss<< av::ContainerPool::getNumberOfContainers() << std::endl; 
     136 
    126137 
    127138  std::cout << ss.str(); 
Note: See TracChangeset for help on using the changeset viewer.