| 76 | |
| 77 | |
| 78 | void OPS_printCrdTransf(OPS_Stream &s, int flag) { |
| 79 | if (flag == OPS_PRINT_PRINTMODEL_JSON) { |
| 80 | s << "\t\t\"crdTransformations\": [\n"; |
| 81 | MapOfTaggedObjectsIter theObjects = theCrdTransfObjects.getIter(); |
| 82 | theObjects.reset(); |
| 83 | TaggedObject *theObject; |
| 84 | int count = 0; |
| 85 | int numComponents = theCrdTransfObjects.getNumComponents(); |
| 86 | while ((theObject = theObjects()) != 0) { |
| 87 | CrdTransf *theTransf = (CrdTransf *)theObject; |
| 88 | theTransf->Print(s, flag); |
| 89 | if (count < numComponents-1) |
| 90 | s << ",\n"; |
| 91 | count++; |
| 92 | } |
| 93 | s << "\n\t\t]"; |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | ID OPS_getAllCrdTransfTags() { |
| 98 | |