11 #include <top/dbobjects/TOPGeoSideRails.h>
22 bool TOPGeoSideRails::isConsistent()
const
24 if (m_thickness <= 0)
return false;
25 if (m_reducedThickness <= 0)
return false;
26 if (m_height <= 0)
return false;
27 if (m_material.empty())
return false;
32 void TOPGeoSideRails::print(
const std::string& title)
const
34 TOPGeoBase::print(title);
36 cout <<
" thickness = " << getThickness() <<
" " << s_unitName;
37 cout <<
", reduced thickness = " << getReducedThickness() <<
" " << s_unitName;
38 cout <<
", height = " << getHeight() <<
" " << s_unitName;
39 cout <<
", material = " << getMaterial() << endl;