utils/print-introspected-doxygen.cc
changeset 2951 2a3db8645225
parent 2945 8e9f4dc59d8b
child 2964 4e8cb1577144
equal deleted inserted replaced
2950:9e20fb862cd8 2951:2a3db8645225
    24 	{
    24 	{
    25 	  os << " -> " << checker->GetTypeConstraints ();
    25 	  os << " -> " << checker->GetTypeConstraints ();
    26 	}
    26 	}
    27       os << "</li>" << std::endl;
    27       os << "</li>" << std::endl;
    28       uint32_t flags = tid.GetAttributeFlags (j);
    28       uint32_t flags = tid.GetAttributeFlags (j);
       
    29       Ptr<const AttributeAccessor> accessor = tid.GetAttributeAccessor (j);
    29       os << "    <li>Flags: ";
    30       os << "    <li>Flags: ";
    30       if (flags & TypeId::ATTR_SET)
    31       if (flags & TypeId::ATTR_SET && accessor->HasSetter ())
    31 	{
    32 	{
    32 	  os << "write ";
    33 	  os << "write ";
    33 	}
    34 	}
    34       if (flags & TypeId::ATTR_GET)
    35       if (flags & TypeId::ATTR_GET && accessor->HasGetter ())
    35 	{
    36 	{
    36 	  os << "read ";
    37 	  os << "read ";
    37 	}
    38 	}
    38       if (flags & TypeId::ATTR_CONSTRUCT)
    39       if (flags & TypeId::ATTR_CONSTRUCT && accessor->HasSetter ())
    39 	{
    40 	{
    40 	  os << "construct ";
    41 	  os << "construct ";
    41 	}
    42 	}
    42       os << "</li>" << std::endl;
    43       os << "</li>" << std::endl;
    43       os << "  </ul> " << std::endl;
    44       os << "  </ul> " << std::endl;