cdm/src/main/java/ucar/nc2/Structure.java
public StructureMembers makeStructureMembers() {
    StructureMembers smembers = new StructureMembers( getShortName());
    for (Variable v2 : getVariables()) {
      StructureMembers.Member m = smembers.addMember( v2.getShortName(), v2.getDescription(),
          v2.getUnitsString(), v2.getDataType(), v2.getShape());
      if (v2 instanceof Structure)
        m.setStructureMembers( ((Structure)v2).makeStructureMembers());
    }
    return smembers;
  }
public StructureMembers makeStructureMembers() {
    StructureMembers smembers = new StructureMembers( getShortName());
    for (Variable v2 : getVariables()) {
      StructureMembers.Member m = smembers.addMember( v2.getShortName(), v2.getDescription(),
          v2.getUnitsString(), v2.getDataType(), v2.getShape());
      if (v2 instanceof Structure)
        m.setStructureMembers( ((Structure)v2).makeStructureMembers());
    }
    return smembers;
  }
public StructureMembers makeStructureMembers ( ) { StructureMembers smembers = new StructureMembers ( getShortName ( ) ) ; for ( Variable v2 : getVariables ( ) ) { StructureMembers . Member m = smembers . addMember ( v2 . getShortName ( ) , v2 . getDescription ( ) , v2 . getUnitsString ( ) , v2 . getDataType ( ) , v2 . getShape ( ) ) ; if ( v2 instanceof Structure ) m . setStructureMembers ( ( ( Structure ) v2 ) . makeStructureMembers ( ) ) ; } return smembers ; }
Create a StructureMembers object that describes this Structure.
CAUTION: Do not use for iterating over a StructureData or ArrayStructure - get the StructureMembers object
directly from the StructureData or ArrayStructure.

@return a StructureMembers object that describes this Structure.
Create a StructureMembers object that describes this Structure . CAUTION : Do not use for iterating over a StructureData or ArrayStructure - get the StructureMembers object directly from the StructureData or ArrayStructure .