StructureRefclass represents a structure reference in an OpenDDL file.
||Returns the array of names stored in a reference.|
||Returns a boolean value indicating whether a reference is global.|
||Adds a name to a reference.|
||Resets a reference to an empty sequence of names.|
StructureRef(bool global = true);
||A boolean value that indicates whether the reference is global.|
StructureRefclass holds an array of structure names that compose an OpenDDL reference. A reference can be global or local, depending on whether the first name in the sequence is a global name or local name. Only the first name can be a global name, and the rest, if any, are always local names.
StructureRef::GetNameArrayfunction can be used to retrieve the array of
Stringobjects containing the sequence of names stored in the reference. For a null reference, this array is empty. For non-null references, the
StructureRef::GetGlobalRefFlagfunction can be called to determine whether a reference is global or local.
StructureRef::AddNamefunction is used to add names to a reference. Initially, a
StructureRefobject is a null reference, and thus its name array is empty.