equal
deleted
inserted
replaced
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; |