15 #include "lwoPolygonTags.h" 16 #include "lwoInputFile.h" 32 return (_tmap.count(polygon_index) != 0);
43 TMap::const_iterator ti;
44 ti = _tmap.find(polygon_index);
45 if (ti != _tmap.end()) {
69 int polygon_index = lin->
get_vx();
72 bool inserted = _tmap.insert(TMap::value_type(polygon_index, tag)).second;
74 nout <<
"Duplicate index " << polygon_index <<
" in map.\n";
87 write(ostream &out,
int indent_level)
const {
88 indent(out, indent_level)
89 <<
get_id() <<
" { tag_type = " << _tag_type <<
", " 90 << _tmap.size() <<
" values }\n";
TypeHandle is the identifier used to differentiate C++ class types.
IffId get_id() const
Returns the ID associated with this chunk.