Changeset 8293
- Timestamp:
- 05/16/11 11:39:05 (14 years ago)
- Location:
- issm/trunk/src/c/objects/KML
- Files:
-
- 34 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/KML/KML_ColorStyle.cpp
r8208 r8293 91 91 92 92 /*FUNCTION KML_ColorStyle::Read {{{1*/ 93 void KML_ColorStyle::Read(FILE* fi lin,char* kstr){93 void KML_ColorStyle::Read(FILE* fid,char* kstr){ 94 94 95 /* process field within opening and closing tags */ 96 97 if (!strncmp(kstr,"</ColorStyle",11)) 98 return; 99 else if (!strncmp(kstr,"</",2)) 100 _error_("KML_ColorStyle::Read -- Unexpected closing tag %s.\n",kstr); 101 else if (strncmp(kstr,"<",1)) 102 _error_("KML_ColorStyle::Read -- Unexpected field \"%s\".\n",kstr); 103 104 else if (!strcmp(kstr,"<color>")) 105 KMLFileTokenParse( color ,NULL,KML_COLORSTYLE_COLOR_LENGTH, 106 kstr, 107 fid); 108 else if (!strcmp(kstr,"<colorMode>")) 109 KMLFileTokenParse( colormode ,NULL,KML_COLORSTYLE_COLORMODE_LENGTH, 110 kstr, 111 fid); 112 113 else if (!strncmp(kstr,"<",1)) 114 KML_SubStyle::Read(fid,kstr); 95 115 96 116 return; … … 98 118 /*}}}*/ 99 119 100 /*FUNCTION KML_ColorStyle::Id {{{1*/101 int KML_ColorStyle::Id(){102 }103 /*}}}*/104 105 /*FUNCTION KML_ColorStyle::MyRank {{{1*/106 int KML_ColorStyle::MyRank(){107 }108 /*}}}*/109 110 /*FUNCTION KML_ColorStyle::Marshall {{{1*/111 void KML_ColorStyle::Marshall(char** pmarshalled_dataset){112 }113 /*}}}*/114 115 /*FUNCTION KML_ColorStyle::MarshallSize {{{1*/116 int KML_ColorStyle::MarshallSize(){117 }118 /*}}}*/119 120 /*FUNCTION KML_ColorStyle::Demarshall {{{1*/121 void KML_ColorStyle::Demarshall(char** pmarshalled_dataset){122 }123 /*}}}*/124 125 /*FUNCTION KML_ColorStyle::Enum {{{1*/126 int KML_ColorStyle::Enum(){127 }128 /*}}}*/129 130 /*FUNCTION KML_ColorStyle::copy {{{1*/131 Object* KML_ColorStyle::copy(){132 }133 /*}}}*/134 -
issm/trunk/src/c/objects/KML/KML_ColorStyle.h
r8208 r8293 35 35 void Write(FILE* fid,char* indent); 36 36 void Read(FILE* fid,char* kstr); 37 int Id() ;38 int MyRank() ;39 void Marshall(char** pmarshalled_dataset) ;40 int MarshallSize() ;41 void Demarshall(char** pmarshalled_dataset) ;42 int Enum() ;43 Object* copy() ;37 int Id(){_error_("Not implemented yet.");}; 38 int MyRank(){_error_("Not implemented yet.");}; 39 void Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 40 int MarshallSize(){_error_("Not implemented yet.");}; 41 void Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 42 int Enum(){_error_("Not implemented yet.");}; 43 Object* copy(){_error_("Not implemented yet.");}; 44 44 /*}}}*/ 45 45 -
issm/trunk/src/c/objects/KML/KML_Container.cpp
r8215 r8293 151 151 /*}}}*/ 152 152 153 /*FUNCTION KML_Container::Id {{{1*/154 int KML_Container::Id(){155 }156 /*}}}*/157 158 /*FUNCTION KML_Container::MyRank {{{1*/159 int KML_Container::MyRank(){160 }161 /*}}}*/162 163 /*FUNCTION KML_Container::Marshall {{{1*/164 void KML_Container::Marshall(char** pmarshalled_dataset){165 }166 /*}}}*/167 168 /*FUNCTION KML_Container::MarshallSize {{{1*/169 int KML_Container::MarshallSize(){170 }171 /*}}}*/172 173 /*FUNCTION KML_Container::Demarshall {{{1*/174 void KML_Container::Demarshall(char** pmarshalled_dataset){175 }176 /*}}}*/177 178 /*FUNCTION KML_Container::Enum {{{1*/179 int KML_Container::Enum(){180 }181 /*}}}*/182 183 /*FUNCTION KML_Container::copy {{{1*/184 Object* KML_Container::copy(){185 }186 /*}}}*/187 -
issm/trunk/src/c/objects/KML/KML_Container.h
r8215 r8293 31 31 void Write(FILE* fid,char* indent); 32 32 void Read(FILE* fid,char* kstr); 33 int Id() ;34 int MyRank() ;35 void Marshall(char** pmarshalled_dataset) ;36 int MarshallSize() ;37 void Demarshall(char** pmarshalled_dataset) ;38 int Enum() ;39 Object* copy() ;33 int Id(){_error_("Not implemented yet.");}; 34 int MyRank(){_error_("Not implemented yet.");}; 35 void Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 36 int MarshallSize(){_error_("Not implemented yet.");}; 37 void Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 38 int Enum(){_error_("Not implemented yet.");}; 39 Object* copy(){_error_("Not implemented yet.");}; 40 40 /*}}}*/ 41 41 -
issm/trunk/src/c/objects/KML/KML_Document.cpp
r8215 r8293 121 121 /*}}}*/ 122 122 123 /*FUNCTION KML_Document::Id {{{1*/124 int KML_Document::Id(){125 }126 /*}}}*/127 128 /*FUNCTION KML_Document::MyRank {{{1*/129 int KML_Document::MyRank(){130 }131 /*}}}*/132 133 /*FUNCTION KML_Document::Marshall {{{1*/134 void KML_Document::Marshall(char** pmarshalled_dataset){135 }136 /*}}}*/137 138 /*FUNCTION KML_Document::MarshallSize {{{1*/139 int KML_Document::MarshallSize(){140 }141 /*}}}*/142 143 /*FUNCTION KML_Document::Demarshall {{{1*/144 void KML_Document::Demarshall(char** pmarshalled_dataset){145 }146 /*}}}*/147 148 /*FUNCTION KML_Document::Enum {{{1*/149 int KML_Document::Enum(){150 }151 /*}}}*/152 153 /*FUNCTION KML_Document::copy {{{1*/154 Object* KML_Document::copy(){155 }156 /*}}}*/157 -
issm/trunk/src/c/objects/KML/KML_Document.h
r8215 r8293 31 31 void Write(FILE* fid,char* indent); 32 32 void Read(FILE* fid,char* kstr); 33 int Id() ;34 int MyRank() ;35 void Marshall(char** pmarshalled_dataset) ;36 int MarshallSize() ;37 void Demarshall(char** pmarshalled_dataset) ;38 int Enum() ;39 Object* copy() ;33 int Id(){_error_("Not implemented yet.");}; 34 int MyRank(){_error_("Not implemented yet.");}; 35 void Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 36 int MarshallSize(){_error_("Not implemented yet.");}; 37 void Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 38 int Enum(){_error_("Not implemented yet.");}; 39 Object* copy(){_error_("Not implemented yet.");}; 40 40 /*}}}*/ 41 41 -
issm/trunk/src/c/objects/KML/KML_Feature.cpp
r8208 r8293 192 192 /*}}}*/ 193 193 194 /*FUNCTION KML_Feature::Id {{{1*/195 int KML_Feature::Id(){196 }197 /*}}}*/198 199 /*FUNCTION KML_Feature::MyRank {{{1*/200 int KML_Feature::MyRank(){201 }202 /*}}}*/203 204 /*FUNCTION KML_Feature::Marshall {{{1*/205 void KML_Feature::Marshall(char** pmarshalled_dataset){206 }207 /*}}}*/208 209 /*FUNCTION KML_Feature::MarshallSize {{{1*/210 int KML_Feature::MarshallSize(){211 }212 /*}}}*/213 214 /*FUNCTION KML_Feature::Demarshall {{{1*/215 void KML_Feature::Demarshall(char** pmarshalled_dataset){216 }217 /*}}}*/218 219 /*FUNCTION KML_Feature::Enum {{{1*/220 int KML_Feature::Enum(){221 }222 /*}}}*/223 224 /*FUNCTION KML_Feature::copy {{{1*/225 Object* KML_Feature::copy(){226 }227 /*}}}*/228 -
issm/trunk/src/c/objects/KML/KML_Feature.h
r8208 r8293 44 44 void Write(FILE* fid,char* indent); 45 45 void Read(FILE* fid,char* kstr); 46 int Id() ;47 int MyRank() ;48 void Marshall(char** pmarshalled_dataset) ;49 int MarshallSize() ;50 void Demarshall(char** pmarshalled_dataset) ;51 int Enum() ;52 Object* copy() ;46 int Id(){_error_("Not implemented yet.");}; 47 int MyRank(){_error_("Not implemented yet.");}; 48 void Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 49 int MarshallSize(){_error_("Not implemented yet.");}; 50 void Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 51 int Enum(){_error_("Not implemented yet.");}; 52 Object* copy(){_error_("Not implemented yet.");}; 53 53 /*}}}*/ 54 54 -
issm/trunk/src/c/objects/KML/KML_Folder.cpp
r8215 r8293 92 92 void KML_Folder::Read(FILE* fid,char* kstr){ 93 93 94 char* kstri; 95 96 /* check for id attribute */ 97 98 // KML_Object::Read(fid,kstr); 99 KMLFileTagAttrib( id ,NULL,KML_OBJECT_ID_LENGTH, 100 kstr, 101 "id"); 102 103 /* loop over and process fields within opening and closing tags */ 104 105 while (kstri=KMLFileToken(fid)) { 106 if (!strncmp(kstri,"</Folder", 8)) { 107 xfree((void**)&kstri); 108 break; 109 } 110 else if (!strncmp(kstri,"</",2)) 111 _error_("KML_Folder::Read -- Unexpected closing tag %s.\n",kstri); 112 else if (strncmp(kstri,"<",1)) 113 _error_("KML_Folder::Read -- Unexpected field \"%s\".\n",kstri); 114 115 else if (!strncmp(kstri,"<",1)) 116 KML_Container::Read(fid,kstri); 117 118 xfree((void**)&kstri); 119 } 94 120 95 121 return; … … 97 123 /*}}}*/ 98 124 99 /*FUNCTION KML_Folder::Id {{{1*/100 int KML_Folder::Id(){101 }102 /*}}}*/103 104 /*FUNCTION KML_Folder::MyRank {{{1*/105 int KML_Folder::MyRank(){106 }107 /*}}}*/108 109 /*FUNCTION KML_Folder::Marshall {{{1*/110 void KML_Folder::Marshall(char** pmarshalled_dataset){111 }112 /*}}}*/113 114 /*FUNCTION KML_Folder::MarshallSize {{{1*/115 int KML_Folder::MarshallSize(){116 }117 /*}}}*/118 119 /*FUNCTION KML_Folder::Demarshall {{{1*/120 void KML_Folder::Demarshall(char** pmarshalled_dataset){121 }122 /*}}}*/123 124 /*FUNCTION KML_Folder::Enum {{{1*/125 int KML_Folder::Enum(){126 }127 /*}}}*/128 129 /*FUNCTION KML_Folder::copy {{{1*/130 Object* KML_Folder::copy(){131 }132 /*}}}*/133 -
issm/trunk/src/c/objects/KML/KML_Folder.h
r8215 r8293 31 31 void Write(FILE* fid,char* indent); 32 32 void Read(FILE* fid,char* kstr); 33 int Id() ;34 int MyRank() ;35 void Marshall(char** pmarshalled_dataset) ;36 int MarshallSize() ;37 void Demarshall(char** pmarshalled_dataset) ;38 int Enum() ;39 Object* copy() ;33 int Id(){_error_("Not implemented yet.");}; 34 int MyRank(){_error_("Not implemented yet.");}; 35 void Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 36 int MarshallSize(){_error_("Not implemented yet.");}; 37 void Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 38 int Enum(){_error_("Not implemented yet.");}; 39 Object* copy(){_error_("Not implemented yet.");}; 40 40 /*}}}*/ 41 41 -
issm/trunk/src/c/objects/KML/KML_Geometry.cpp
r8208 r8293 68 68 void KML_Geometry::Write(FILE* filout,char* indent){ 69 69 70 this->KML_Object::Write(filout,indent);70 KML_Object::Write(filout,indent); 71 71 72 72 return; … … 75 75 76 76 /*FUNCTION KML_Geometry::Read {{{1*/ 77 void KML_Geometry::Read(FILE* fi lin,char* kstr){77 void KML_Geometry::Read(FILE* fid,char* kstr){ 78 78 79 KML_Object::Read(fid,kstr); 79 80 80 81 return; … … 82 83 /*}}}*/ 83 84 84 /*FUNCTION KML_Geometry::Id {{{1*/85 int KML_Geometry::Id(){86 }87 /*}}}*/88 89 /*FUNCTION KML_Geometry::MyRank {{{1*/90 int KML_Geometry::MyRank(){91 }92 /*}}}*/93 94 /*FUNCTION KML_Geometry::Marshall {{{1*/95 void KML_Geometry::Marshall(char** pmarshalled_dataset){96 }97 /*}}}*/98 99 /*FUNCTION KML_Geometry::MarshallSize {{{1*/100 int KML_Geometry::MarshallSize(){101 }102 /*}}}*/103 104 /*FUNCTION KML_Geometry::Demarshall {{{1*/105 void KML_Geometry::Demarshall(char** pmarshalled_dataset){106 }107 /*}}}*/108 109 /*FUNCTION KML_Geometry::Enum {{{1*/110 int KML_Geometry::Enum(){111 }112 /*}}}*/113 114 /*FUNCTION KML_Geometry::copy {{{1*/115 Object* KML_Geometry::copy(){116 }117 /*}}}*/118 -
issm/trunk/src/c/objects/KML/KML_Geometry.h
r8208 r8293 29 29 void Write(FILE* fid,char* indent); 30 30 void Read(FILE* fid,char* kstr); 31 int Id() ;32 int MyRank() ;33 void Marshall(char** pmarshalled_dataset) ;34 int MarshallSize() ;35 void Demarshall(char** pmarshalled_dataset) ;36 int Enum() ;37 Object* copy() ;31 int Id(){_error_("Not implemented yet.");}; 32 int MyRank(){_error_("Not implemented yet.");}; 33 void Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 34 int MarshallSize(){_error_("Not implemented yet.");}; 35 void Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 36 int Enum(){_error_("Not implemented yet.");}; 37 Object* copy(){_error_("Not implemented yet.");}; 38 38 /*}}}*/ 39 39 -
issm/trunk/src/c/objects/KML/KML_LineString.cpp
r8208 r8293 123 123 124 124 /*FUNCTION KML_LineString::Read {{{1*/ 125 void KML_LineString::Read(FILE* fi lin,char* kstr){125 void KML_LineString::Read(FILE* fid,char* kstr){ 126 126 127 127 … … 130 130 /*}}}*/ 131 131 132 /*FUNCTION KML_LineString::Id {{{1*/133 int KML_LineString::Id(){134 }135 /*}}}*/136 137 /*FUNCTION KML_LineString::MyRank {{{1*/138 int KML_LineString::MyRank(){139 }140 /*}}}*/141 142 /*FUNCTION KML_LineString::Marshall {{{1*/143 void KML_LineString::Marshall(char** pmarshalled_dataset){144 }145 /*}}}*/146 147 /*FUNCTION KML_LineString::MarshallSize {{{1*/148 int KML_LineString::MarshallSize(){149 }150 /*}}}*/151 152 /*FUNCTION KML_LineString::Demarshall {{{1*/153 void KML_LineString::Demarshall(char** pmarshalled_dataset){154 }155 /*}}}*/156 157 /*FUNCTION KML_LineString::Enum {{{1*/158 int KML_LineString::Enum(){159 }160 /*}}}*/161 162 /*FUNCTION KML_LineString::copy {{{1*/163 Object* KML_LineString::copy(){164 }165 /*}}}*/166 -
issm/trunk/src/c/objects/KML/KML_LineString.h
r8208 r8293 37 37 void Write(FILE* fid,char* indent); 38 38 void Read(FILE* fid,char* kstr); 39 int Id() ;40 int MyRank() ;41 void Marshall(char** pmarshalled_dataset) ;42 int MarshallSize() ;43 void Demarshall(char** pmarshalled_dataset) ;44 int Enum() ;45 Object* copy() ;39 int Id(){_error_("Not implemented yet.");}; 40 int MyRank(){_error_("Not implemented yet.");}; 41 void Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 42 int MarshallSize(){_error_("Not implemented yet.");}; 43 void Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 44 int Enum(){_error_("Not implemented yet.");}; 45 Object* copy(){_error_("Not implemented yet.");}; 46 46 /*}}}*/ 47 47 -
issm/trunk/src/c/objects/KML/KML_LineStyle.cpp
r8208 r8293 97 97 98 98 /*FUNCTION KML_LineStyle::Read {{{1*/ 99 void KML_LineStyle::Read(FILE* fi lin,char* kstr){99 void KML_LineStyle::Read(FILE* fid,char* kstr){ 100 100 101 101 … … 104 104 /*}}}*/ 105 105 106 /*FUNCTION KML_LineStyle::Id {{{1*/107 int KML_LineStyle::Id(){108 }109 /*}}}*/110 111 /*FUNCTION KML_LineStyle::MyRank {{{1*/112 int KML_LineStyle::MyRank(){113 }114 /*}}}*/115 116 /*FUNCTION KML_LineStyle::Marshall {{{1*/117 void KML_LineStyle::Marshall(char** pmarshalled_dataset){118 }119 /*}}}*/120 121 /*FUNCTION KML_LineStyle::MarshallSize {{{1*/122 int KML_LineStyle::MarshallSize(){123 }124 /*}}}*/125 126 /*FUNCTION KML_LineStyle::Demarshall {{{1*/127 void KML_LineStyle::Demarshall(char** pmarshalled_dataset){128 }129 /*}}}*/130 131 /*FUNCTION KML_LineStyle::Enum {{{1*/132 int KML_LineStyle::Enum(){133 }134 /*}}}*/135 136 /*FUNCTION KML_LineStyle::copy {{{1*/137 Object* KML_LineStyle::copy(){138 }139 /*}}}*/140 -
issm/trunk/src/c/objects/KML/KML_LineStyle.h
r8208 r8293 31 31 void Write(FILE* fid,char* indent); 32 32 void Read(FILE* fid,char* kstr); 33 int Id() ;34 int MyRank() ;35 void Marshall(char** pmarshalled_dataset) ;36 int MarshallSize() ;37 void Demarshall(char** pmarshalled_dataset) ;38 int Enum() ;39 Object* copy() ;33 int Id(){_error_("Not implemented yet.");}; 34 int MyRank(){_error_("Not implemented yet.");}; 35 void Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 36 int MarshallSize(){_error_("Not implemented yet.");}; 37 void Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 38 int Enum(){_error_("Not implemented yet.");}; 39 Object* copy(){_error_("Not implemented yet.");}; 40 40 /*}}}*/ 41 41 -
issm/trunk/src/c/objects/KML/KML_LinearRing.cpp
r8208 r8293 123 123 124 124 /*FUNCTION KML_LinearRing::Read {{{1*/ 125 void KML_LinearRing::Read(FILE* fi lin,char* kstr){125 void KML_LinearRing::Read(FILE* fid,char* kstr){ 126 126 127 127 … … 130 130 /*}}}*/ 131 131 132 /*FUNCTION KML_LinearRing::Id {{{1*/133 int KML_LinearRing::Id(){134 }135 /*}}}*/136 137 /*FUNCTION KML_LinearRing::MyRank {{{1*/138 int KML_LinearRing::MyRank(){139 }140 /*}}}*/141 142 /*FUNCTION KML_LinearRing::Marshall {{{1*/143 void KML_LinearRing::Marshall(char** pmarshalled_dataset){144 }145 /*}}}*/146 147 /*FUNCTION KML_LinearRing::MarshallSize {{{1*/148 int KML_LinearRing::MarshallSize(){149 }150 /*}}}*/151 152 /*FUNCTION KML_LinearRing::Demarshall {{{1*/153 void KML_LinearRing::Demarshall(char** pmarshalled_dataset){154 }155 /*}}}*/156 157 /*FUNCTION KML_LinearRing::Enum {{{1*/158 int KML_LinearRing::Enum(){159 }160 /*}}}*/161 162 /*FUNCTION KML_LinearRing::copy {{{1*/163 Object* KML_LinearRing::copy(){164 }165 /*}}}*/166 -
issm/trunk/src/c/objects/KML/KML_LinearRing.h
r8208 r8293 37 37 void Write(FILE* fid,char* indent); 38 38 void Read(FILE* fid,char* kstr); 39 int Id() ;40 int MyRank() ;41 void Marshall(char** pmarshalled_dataset) ;42 int MarshallSize() ;43 void Demarshall(char** pmarshalled_dataset) ;44 int Enum() ;45 Object* copy() ;39 int Id(){_error_("Not implemented yet.");}; 40 int MyRank(){_error_("Not implemented yet.");}; 41 void Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 42 int MarshallSize(){_error_("Not implemented yet.");}; 43 void Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 44 int Enum(){_error_("Not implemented yet.");}; 45 Object* copy(){_error_("Not implemented yet.");}; 46 46 /*}}}*/ 47 47 -
issm/trunk/src/c/objects/KML/KML_MultiGeometry.cpp
r8208 r8293 120 120 121 121 /*FUNCTION KML_MultiGeometry::Read {{{1*/ 122 void KML_MultiGeometry::Read(FILE* fi lin,char* kstr){122 void KML_MultiGeometry::Read(FILE* fid,char* kstr){ 123 123 124 124 … … 127 127 /*}}}*/ 128 128 129 /*FUNCTION KML_MultiGeometry::Id {{{1*/130 int KML_MultiGeometry::Id(){131 }132 /*}}}*/133 134 /*FUNCTION KML_MultiGeometry::MyRank {{{1*/135 int KML_MultiGeometry::MyRank(){136 }137 /*}}}*/138 139 /*FUNCTION KML_MultiGeometry::Marshall {{{1*/140 void KML_MultiGeometry::Marshall(char** pmarshalled_dataset){141 }142 /*}}}*/143 144 /*FUNCTION KML_MultiGeometry::MarshallSize {{{1*/145 int KML_MultiGeometry::MarshallSize(){146 }147 /*}}}*/148 149 /*FUNCTION KML_MultiGeometry::Demarshall {{{1*/150 void KML_MultiGeometry::Demarshall(char** pmarshalled_dataset){151 }152 /*}}}*/153 154 /*FUNCTION KML_MultiGeometry::Enum {{{1*/155 int KML_MultiGeometry::Enum(){156 }157 /*}}}*/158 159 /*FUNCTION KML_MultiGeometry::copy {{{1*/160 Object* KML_MultiGeometry::copy(){161 }162 /*}}}*/163 -
issm/trunk/src/c/objects/KML/KML_MultiGeometry.h
r8208 r8293 33 33 void Write(FILE* fid,char* indent); 34 34 void Read(FILE* fid,char* kstr); 35 int Id() ;36 int MyRank() ;37 void Marshall(char** pmarshalled_dataset) ;38 int MarshallSize() ;39 void Demarshall(char** pmarshalled_dataset) ;40 int Enum() ;41 Object* copy() ;35 int Id(){_error_("Not implemented yet.");}; 36 int MyRank(){_error_("Not implemented yet.");}; 37 void Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 38 int MarshallSize(){_error_("Not implemented yet.");}; 39 void Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 40 int Enum(){_error_("Not implemented yet.");}; 41 Object* copy(){_error_("Not implemented yet.");}; 42 42 /*}}}*/ 43 43 -
issm/trunk/src/c/objects/KML/KML_Object.cpp
r8208 r8293 102 102 /*}}}*/ 103 103 104 /*FUNCTION KML_Object::Id {{{1*/105 int KML_Object::Id(){106 }107 /*}}}*/108 109 /*FUNCTION KML_Object::MyRank {{{1*/110 int KML_Object::MyRank(){111 }112 /*}}}*/113 114 /*FUNCTION KML_Object::Marshall {{{1*/115 void KML_Object::Marshall(char** pmarshalled_dataset){116 }117 /*}}}*/118 119 /*FUNCTION KML_Object::MarshallSize {{{1*/120 int KML_Object::MarshallSize(){121 }122 /*}}}*/123 124 /*FUNCTION KML_Object::Demarshall {{{1*/125 void KML_Object::Demarshall(char** pmarshalled_dataset){126 }127 /*}}}*/128 129 /*FUNCTION KML_Object::Enum {{{1*/130 int KML_Object::Enum(){131 }132 /*}}}*/133 134 /*FUNCTION KML_Object::copy {{{1*/135 Object* KML_Object::copy(){136 }137 /*}}}*/138 -
issm/trunk/src/c/objects/KML/KML_Object.h
r8208 r8293 30 30 virtual void DeepEcho(); 31 31 virtual void DeepEcho(char* indent); 32 int Id() ;33 int MyRank() ;34 void Marshall(char** pmarshalled_dataset) ;35 int MarshallSize() ;36 void Demarshall(char** pmarshalled_dataset) ;37 int Enum() ;38 Object* copy() ;32 int Id(){_error_("Not implemented yet.");}; 33 int MyRank(){_error_("Not implemented yet.");}; 34 void Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 35 int MarshallSize(){_error_("Not implemented yet.");}; 36 void Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 37 int Enum(){_error_("Not implemented yet.");}; 38 Object* copy(){_error_("Not implemented yet.");}; 39 39 /*}}}*/ 40 40 -
issm/trunk/src/c/objects/KML/KML_Placemark.cpp
r8208 r8293 120 120 121 121 /*FUNCTION KML_Placemark::Read {{{1*/ 122 void KML_Placemark::Read(FILE* fi lin,char* kstr){122 void KML_Placemark::Read(FILE* fid,char* kstr){ 123 123 124 char* kstri; 125 KML_Object* kobj; 126 127 /* check for id attribute */ 128 129 // KML_Object::Read(fid,kstr); 130 KMLFileTagAttrib( id ,NULL,KML_OBJECT_ID_LENGTH, 131 kstr, 132 "id"); 133 134 /* loop over and process fields within opening and closing tags */ 135 136 while (kstri=KMLFileToken(fid)) { 137 if (!strncmp(kstri,"</Placemark",11)) { 138 xfree((void**)&kstri); 139 break; 140 } 141 else if (!strncmp(kstri,"</",2)) 142 _error_("KML_Placemark::Read -- Unexpected closing tag %s.\n",kstri); 143 else if (strncmp(kstri,"<",1)) 144 _error_("KML_Placemark::Read -- Unexpected field \"%s\".\n",kstri); 145 146 else if (!strncmp(kstri,"<LineString",11)) { 147 kobj=(KML_Object*)new KML_LineString(); 148 kobj->Read(fid,kstr); 149 geometry ->AddObject((Object*)kobj); 150 } 151 152 else if (!strncmp(kstri,"<LinearRing",11)) { 153 kobj=(KML_Object*)new KML_LinearRing(); 154 kobj->Read(fid,kstr); 155 geometry ->AddObject((Object*)kobj); 156 } 157 158 else if (!strncmp(kstri,"<Polygon", 8)) { 159 kobj=(KML_Object*)new KML_Polygon(); 160 kobj->Read(fid,kstr); 161 geometry ->AddObject((Object*)kobj); 162 } 163 164 else if (!strncmp(kstri,"<MultiGeometry",14)) { 165 kobj=(KML_Object*)new KML_MultiGeometry(); 166 kobj->Read(fid,kstr); 167 geometry ->AddObject((Object*)kobj); 168 } 169 170 else if (!strncmp(kstri,"<",1)) 171 KML_Feature::Read(fid,kstri); 172 173 xfree((void**)&kstri); 174 } 124 175 125 176 return; … … 127 178 /*}}}*/ 128 179 129 /*FUNCTION KML_Placemark::Id {{{1*/130 int KML_Placemark::Id(){131 }132 /*}}}*/133 134 /*FUNCTION KML_Placemark::MyRank {{{1*/135 int KML_Placemark::MyRank(){136 }137 /*}}}*/138 139 /*FUNCTION KML_Placemark::Marshall {{{1*/140 void KML_Placemark::Marshall(char** pmarshalled_dataset){141 }142 /*}}}*/143 144 /*FUNCTION KML_Placemark::MarshallSize {{{1*/145 int KML_Placemark::MarshallSize(){146 }147 /*}}}*/148 149 /*FUNCTION KML_Placemark::Demarshall {{{1*/150 void KML_Placemark::Demarshall(char** pmarshalled_dataset){151 }152 /*}}}*/153 154 /*FUNCTION KML_Placemark::Enum {{{1*/155 int KML_Placemark::Enum(){156 }157 /*}}}*/158 159 /*FUNCTION KML_Placemark::copy {{{1*/160 Object* KML_Placemark::copy(){161 }162 /*}}}*/163 -
issm/trunk/src/c/objects/KML/KML_Placemark.h
r8208 r8293 33 33 void Write(FILE* fid,char* indent); 34 34 void Read(FILE* fid,char* kstr); 35 int Id() ;36 int MyRank() ;37 void Marshall(char** pmarshalled_dataset) ;38 int MarshallSize() ;39 void Demarshall(char** pmarshalled_dataset) ;40 int Enum() ;41 Object* copy() ;35 int Id(){_error_("Not implemented yet.");}; 36 int MyRank(){_error_("Not implemented yet.");}; 37 void Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 38 int MarshallSize(){_error_("Not implemented yet.");}; 39 void Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 40 int Enum(){_error_("Not implemented yet.");}; 41 Object* copy(){_error_("Not implemented yet.");}; 42 42 /*}}}*/ 43 43 -
issm/trunk/src/c/objects/KML/KML_PolyStyle.cpp
r8208 r8293 101 101 102 102 /*FUNCTION KML_PolyStyle::Read {{{1*/ 103 void KML_PolyStyle::Read(FILE* fi lin,char* kstr){103 void KML_PolyStyle::Read(FILE* fid,char* kstr){ 104 104 105 105 … … 108 108 /*}}}*/ 109 109 110 /*FUNCTION KML_PolyStyle::Id {{{1*/111 int KML_PolyStyle::Id(){112 }113 /*}}}*/114 115 /*FUNCTION KML_PolyStyle::MyRank {{{1*/116 int KML_PolyStyle::MyRank(){117 }118 /*}}}*/119 120 /*FUNCTION KML_PolyStyle::Marshall {{{1*/121 void KML_PolyStyle::Marshall(char** pmarshalled_dataset){122 }123 /*}}}*/124 125 /*FUNCTION KML_PolyStyle::MarshallSize {{{1*/126 int KML_PolyStyle::MarshallSize(){127 }128 /*}}}*/129 130 /*FUNCTION KML_PolyStyle::Demarshall {{{1*/131 void KML_PolyStyle::Demarshall(char** pmarshalled_dataset){132 }133 /*}}}*/134 135 /*FUNCTION KML_PolyStyle::Enum {{{1*/136 int KML_PolyStyle::Enum(){137 }138 /*}}}*/139 140 /*FUNCTION KML_PolyStyle::copy {{{1*/141 Object* KML_PolyStyle::copy(){142 }143 /*}}}*/144 -
issm/trunk/src/c/objects/KML/KML_PolyStyle.h
r8208 r8293 32 32 void Write(FILE* fid,char* indent); 33 33 void Read(FILE* fid,char* kstr); 34 int Id() ;35 int MyRank() ;36 void Marshall(char** pmarshalled_dataset) ;37 int MarshallSize() ;38 void Demarshall(char** pmarshalled_dataset) ;39 int Enum() ;40 Object* copy() ;34 int Id(){_error_("Not implemented yet.");}; 35 int MyRank(){_error_("Not implemented yet.");}; 36 void Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 37 int MarshallSize(){_error_("Not implemented yet.");}; 38 void Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 39 int Enum(){_error_("Not implemented yet.");}; 40 Object* copy(){_error_("Not implemented yet.");}; 41 41 /*}}}*/ 42 42 -
issm/trunk/src/c/objects/KML/KML_Polygon.cpp
r8208 r8293 156 156 157 157 /*FUNCTION KML_Polygon::Read {{{1*/ 158 void KML_Polygon::Read(FILE* fi lin,char* kstr){158 void KML_Polygon::Read(FILE* fid,char* kstr){ 159 159 160 160 … … 163 163 /*}}}*/ 164 164 165 /*FUNCTION KML_Polygon::Id {{{1*/166 int KML_Polygon::Id(){167 }168 /*}}}*/169 170 /*FUNCTION KML_Polygon::MyRank {{{1*/171 int KML_Polygon::MyRank(){172 }173 /*}}}*/174 175 /*FUNCTION KML_Polygon::Marshall {{{1*/176 void KML_Polygon::Marshall(char** pmarshalled_dataset){177 }178 /*}}}*/179 180 /*FUNCTION KML_Polygon::MarshallSize {{{1*/181 int KML_Polygon::MarshallSize(){182 }183 /*}}}*/184 185 /*FUNCTION KML_Polygon::Demarshall {{{1*/186 void KML_Polygon::Demarshall(char** pmarshalled_dataset){187 }188 /*}}}*/189 190 /*FUNCTION KML_Polygon::Enum {{{1*/191 int KML_Polygon::Enum(){192 }193 /*}}}*/194 195 /*FUNCTION KML_Polygon::copy {{{1*/196 Object* KML_Polygon::copy(){197 }198 /*}}}*/199 -
issm/trunk/src/c/objects/KML/KML_Polygon.h
r8208 r8293 39 39 void Write(FILE* fid,char* indent); 40 40 void Read(FILE* fid,char* kstr); 41 int Id() ;42 int MyRank() ;43 void Marshall(char** pmarshalled_dataset) ;44 int MarshallSize() ;45 void Demarshall(char** pmarshalled_dataset) ;46 int Enum() ;47 Object* copy() ;41 int Id(){_error_("Not implemented yet.");}; 42 int MyRank(){_error_("Not implemented yet.");}; 43 void Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 44 int MarshallSize(){_error_("Not implemented yet.");}; 45 void Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 46 int Enum(){_error_("Not implemented yet.");}; 47 Object* copy(){_error_("Not implemented yet.");}; 48 48 /*}}}*/ 49 49 -
issm/trunk/src/c/objects/KML/KML_Style.cpp
r8208 r8293 176 176 177 177 /*FUNCTION KML_Style::Read {{{1*/ 178 void KML_Style::Read(FILE* fi lin,char* kstr){178 void KML_Style::Read(FILE* fid,char* kstr){ 179 179 180 180 … … 183 183 /*}}}*/ 184 184 185 /*FUNCTION KML_Style::Id {{{1*/186 int KML_Style::Id(){187 }188 /*}}}*/189 190 /*FUNCTION KML_Style::MyRank {{{1*/191 int KML_Style::MyRank(){192 }193 /*}}}*/194 195 /*FUNCTION KML_Style::Marshall {{{1*/196 void KML_Style::Marshall(char** pmarshalled_dataset){197 }198 /*}}}*/199 200 /*FUNCTION KML_Style::MarshallSize {{{1*/201 int KML_Style::MarshallSize(){202 }203 /*}}}*/204 205 /*FUNCTION KML_Style::Demarshall {{{1*/206 void KML_Style::Demarshall(char** pmarshalled_dataset){207 }208 /*}}}*/209 210 /*FUNCTION KML_Style::Enum {{{1*/211 int KML_Style::Enum(){212 }213 /*}}}*/214 215 /*FUNCTION KML_Style::copy {{{1*/216 Object* KML_Style::copy(){217 }218 /*}}}*/219 -
issm/trunk/src/c/objects/KML/KML_Style.h
r8208 r8293 38 38 void Write(FILE* fid,char* indent); 39 39 void Read(FILE* fid,char* kstr); 40 int Id() ;41 int MyRank() ;42 void Marshall(char** pmarshalled_dataset) ;43 int MarshallSize() ;44 void Demarshall(char** pmarshalled_dataset) ;45 int Enum() ;46 Object* copy() ;40 int Id(){_error_("Not implemented yet.");}; 41 int MyRank(){_error_("Not implemented yet.");}; 42 void Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 43 int MarshallSize(){_error_("Not implemented yet.");}; 44 void Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 45 int Enum(){_error_("Not implemented yet.");}; 46 Object* copy(){_error_("Not implemented yet.");}; 47 47 /*}}}*/ 48 48 -
issm/trunk/src/c/objects/KML/KML_StyleSelector.cpp
r8208 r8293 75 75 76 76 /*FUNCTION KML_StyleSelector::Read {{{1*/ 77 void KML_StyleSelector::Read(FILE* fi lin,char* kstr){77 void KML_StyleSelector::Read(FILE* fid,char* kstr){ 78 78 79 KML_Object::Read(fid,kstr); 79 80 80 81 return; … … 82 83 /*}}}*/ 83 84 84 /*FUNCTION KML_StyleSelector::Id {{{1*/85 int KML_StyleSelector::Id(){86 }87 /*}}}*/88 89 /*FUNCTION KML_StyleSelector::MyRank {{{1*/90 int KML_StyleSelector::MyRank(){91 }92 /*}}}*/93 94 /*FUNCTION KML_StyleSelector::Marshall {{{1*/95 void KML_StyleSelector::Marshall(char** pmarshalled_dataset){96 }97 /*}}}*/98 99 /*FUNCTION KML_StyleSelector::MarshallSize {{{1*/100 int KML_StyleSelector::MarshallSize(){101 }102 /*}}}*/103 104 /*FUNCTION KML_StyleSelector::Demarshall {{{1*/105 void KML_StyleSelector::Demarshall(char** pmarshalled_dataset){106 }107 /*}}}*/108 109 /*FUNCTION KML_StyleSelector::Enum {{{1*/110 int KML_StyleSelector::Enum(){111 }112 /*}}}*/113 114 /*FUNCTION KML_StyleSelector::copy {{{1*/115 Object* KML_StyleSelector::copy(){116 }117 /*}}}*/118 -
issm/trunk/src/c/objects/KML/KML_StyleSelector.h
r8208 r8293 29 29 void Write(FILE* fid,char* indent); 30 30 void Read(FILE* fid,char* kstr); 31 int Id() ;32 int MyRank() ;33 void Marshall(char** pmarshalled_dataset) ;34 int MarshallSize() ;35 void Demarshall(char** pmarshalled_dataset) ;36 int Enum() ;37 Object* copy() ;31 int Id(){_error_("Not implemented yet.");}; 32 int MyRank(){_error_("Not implemented yet.");}; 33 void Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 34 int MarshallSize(){_error_("Not implemented yet.");}; 35 void Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 36 int Enum(){_error_("Not implemented yet.");}; 37 Object* copy(){_error_("Not implemented yet.");}; 38 38 /*}}}*/ 39 39 -
issm/trunk/src/c/objects/KML/KML_SubStyle.cpp
r8208 r8293 75 75 76 76 /*FUNCTION KML_SubStyle::Read {{{1*/ 77 void KML_SubStyle::Read(FILE* fi lin,char* kstr){77 void KML_SubStyle::Read(FILE* fid,char* kstr){ 78 78 79 KML_Object::Read(fid,kstr); 79 80 80 81 return; … … 82 83 /*}}}*/ 83 84 84 /*FUNCTION KML_SubStyle::Id {{{1*/85 int KML_SubStyle::Id(){86 }87 /*}}}*/88 89 /*FUNCTION KML_SubStyle::MyRank {{{1*/90 int KML_SubStyle::MyRank(){91 }92 /*}}}*/93 94 /*FUNCTION KML_SubStyle::Marshall {{{1*/95 void KML_SubStyle::Marshall(char** pmarshalled_dataset){96 }97 /*}}}*/98 99 /*FUNCTION KML_SubStyle::MarshallSize {{{1*/100 int KML_SubStyle::MarshallSize(){101 }102 /*}}}*/103 104 /*FUNCTION KML_SubStyle::Demarshall {{{1*/105 void KML_SubStyle::Demarshall(char** pmarshalled_dataset){106 }107 /*}}}*/108 109 /*FUNCTION KML_SubStyle::Enum {{{1*/110 int KML_SubStyle::Enum(){111 }112 /*}}}*/113 114 /*FUNCTION KML_SubStyle::copy {{{1*/115 Object* KML_SubStyle::copy(){116 }117 /*}}}*/118 -
issm/trunk/src/c/objects/KML/KML_SubStyle.h
r8208 r8293 29 29 void Write(FILE* fid,char* indent); 30 30 void Read(FILE* fid,char* kstr); 31 int Id() ;32 int MyRank() ;33 void Marshall(char** pmarshalled_dataset) ;34 int MarshallSize() ;35 void Demarshall(char** pmarshalled_dataset) ;36 int Enum() ;37 Object* copy() ;31 int Id(){_error_("Not implemented yet.");}; 32 int MyRank(){_error_("Not implemented yet.");}; 33 void Marshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 34 int MarshallSize(){_error_("Not implemented yet.");}; 35 void Demarshall(char** pmarshalled_dataset){_error_("Not implemented yet.");}; 36 int Enum(){_error_("Not implemented yet.");}; 37 Object* copy(){_error_("Not implemented yet.");}; 38 38 /*}}}*/ 39 39
Note:
See TracChangeset
for help on using the changeset viewer.