[GCC-XML] "members" and "context" consistent (and thus redundant?)
Brad King
brad.king at kitware.com
Tue Apr 19 13:27:19 EDT 2005
John Morrison wrote:
> Is it safe to assume that each child "member" (e.g., a top-level
> class) of a parent record (e.g., a namespace) has a "context" that
> references the parent (e.g., the namespace)?
That direction is safe...every "member" will have a corresponding
element with a "context" that references the original element. The
other way around is not true, though. Some elements will have a
"context" that references an element whose "member" list does not
contain them.
-Brad
More information about the gccxml
mailing list