Changed property output for strings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@101 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -73,7 +73,12 @@ void BaseKernel::vprop_stats( std::string& _string ) const
|
|||||||
PropertyContainer::Properties::const_iterator it;
|
PropertyContainer::Properties::const_iterator it;
|
||||||
const PropertyContainer::Properties& vps = vprops_.properties();
|
const PropertyContainer::Properties& vps = vprops_.properties();
|
||||||
for (it=vps.begin(); it!=vps.end(); ++it)
|
for (it=vps.begin(); it!=vps.end(); ++it)
|
||||||
*it == NULL ? _string += "[deleted] \n" : _string += (*it)->name();
|
if ( *it == NULL )
|
||||||
|
_string += "[deleted] \n";
|
||||||
|
else {
|
||||||
|
_string += (*it)->name();
|
||||||
|
_string += "\n";
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -84,7 +89,12 @@ void BaseKernel::hprop_stats( std::string& _string ) const
|
|||||||
PropertyContainer::Properties::const_iterator it;
|
PropertyContainer::Properties::const_iterator it;
|
||||||
const PropertyContainer::Properties& hps = hprops_.properties();
|
const PropertyContainer::Properties& hps = hprops_.properties();
|
||||||
for (it=hps.begin(); it!=hps.end(); ++it)
|
for (it=hps.begin(); it!=hps.end(); ++it)
|
||||||
*it == NULL ? _string += "[deleted] \n" : _string += (*it)->name();
|
if ( *it == NULL )
|
||||||
|
_string += "[deleted] \n";
|
||||||
|
else {
|
||||||
|
_string += (*it)->name();
|
||||||
|
_string += "\n";
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -95,7 +105,12 @@ void BaseKernel::eprop_stats( std::string& _string ) const
|
|||||||
PropertyContainer::Properties::const_iterator it;
|
PropertyContainer::Properties::const_iterator it;
|
||||||
const PropertyContainer::Properties& eps = eprops_.properties();
|
const PropertyContainer::Properties& eps = eprops_.properties();
|
||||||
for (it=eps.begin(); it!=eps.end(); ++it)
|
for (it=eps.begin(); it!=eps.end(); ++it)
|
||||||
*it == NULL ? _string += "[deleted] \n" : _string += (*it)->name();
|
if ( *it == NULL )
|
||||||
|
_string += "[deleted] \n";
|
||||||
|
else {
|
||||||
|
_string += (*it)->name();
|
||||||
|
_string += "\n";
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
void BaseKernel::fprop_stats( std::string& _string ) const
|
void BaseKernel::fprop_stats( std::string& _string ) const
|
||||||
@@ -105,7 +120,12 @@ void BaseKernel::fprop_stats( std::string& _string ) const
|
|||||||
PropertyContainer::Properties::const_iterator it;
|
PropertyContainer::Properties::const_iterator it;
|
||||||
const PropertyContainer::Properties& fps = fprops_.properties();
|
const PropertyContainer::Properties& fps = fprops_.properties();
|
||||||
for (it=fps.begin(); it!=fps.end(); ++it)
|
for (it=fps.begin(); it!=fps.end(); ++it)
|
||||||
*it == NULL ? _string += "[deleted] \n" : _string += (*it)->name();
|
if ( *it == NULL )
|
||||||
|
_string += "[deleted] \n";
|
||||||
|
else {
|
||||||
|
_string += (*it)->name();
|
||||||
|
_string += "\n";
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -116,7 +136,12 @@ void BaseKernel::mprop_stats( std::string& _string ) const
|
|||||||
PropertyContainer::Properties::const_iterator it;
|
PropertyContainer::Properties::const_iterator it;
|
||||||
const PropertyContainer::Properties& mps = mprops_.properties();
|
const PropertyContainer::Properties& mps = mprops_.properties();
|
||||||
for (it=mps.begin(); it!=mps.end(); ++it)
|
for (it=mps.begin(); it!=mps.end(); ++it)
|
||||||
*it == NULL ? _string += "[deleted] \n" : _string += (*it)->name();
|
if ( *it == NULL )
|
||||||
|
_string += "[deleted] \n";
|
||||||
|
else {
|
||||||
|
_string += (*it)->name();
|
||||||
|
_string += "\n";
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user