Defined in:Finds a named structure.
Structure *FindStructure(const StructureRef& reference) const;
||The reference to the structure to find.|
FindStructurefunction finds the structure referenced by the sequence of names stored in the
referenceparameter and returns a pointer to it. If no such structure exists, then the return value is
The reference must be a global reference, meaning that the first name stored in the reference is a global name as indicated by a value of
truebeing returned by the
StructureRef::GetGlobalRefFlagfunction. If the reference is not a global reference, then this function always returns
Structure::FindStructurefunction should be used to find a structure through a local reference.
If the specified reference has an empty name array, then the return value is always
nullptr. The empty name array is assigned to a reference data value when
nullappears in the OpenDDL file.