Parser.h

00001 
00002 /*
00003  * ALMA - Atacama Large Millimeter Array
00004  * (c) European Southern Observatory, 2002
00005  * (c) Associated Universities Inc., 2002
00006  * Copyright by ESO (in the framework of the ALMA collaboration),
00007  * Copyright by AUI (in the framework of the ALMA collaboration),
00008  * All rights reserved.
00009  * 
00010  * This library is free software; you can redistribute it and/or
00011  * modify it under the terms of the GNU Lesser General Public
00012  * License as published by the Free software Foundation; either
00013  * version 2.1 of the License, or (at your option) any later version.
00014  * 
00015  * This library is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY, without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00018  * Lesser General Public License for more details.
00019  * 
00020  * You should have received a copy of the GNU Lesser General Public
00021  * License along with this library; if not, write to the Free Software
00022  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
00023  * MA 02111-1307  USA
00024  *
00025  * Warning!
00026  *  -------------------------------------------------------------------- 
00027  * | This is generated code!  Do not modify this file.                  |
00028  * | If you do, all changes will be lost when the file is re-generated. |
00029  *  --------------------------------------------------------------------
00030  *
00031  * File Parser.h
00032  */
00033 #ifndef Parser_CLASS
00034 #define Parser_CLASS
00035 
00036 #include <string>
00037 #include <vector>
00038 #include <set>
00039 
00040 using std::string;
00041 using std::vector;
00042 using std::set;
00043 
00044 #include <Angle.h>
00045 #include <AngularRate.h>
00046 #include <ArrayTime.h>
00047 #include <ArrayTimeInterval.h>
00048 #include <Complex.h>
00049 #include <Entity.h>
00050 #include <EntityId.h>
00051 #include <EntityRef.h>
00052 #include <Flux.h>
00053 #include <Frequency.h>
00054 #include <Humidity.h>
00055 #include <Interval.h>
00056 #include <Length.h>
00057 #include <Pressure.h>
00058 #include <Speed.h>
00059 #include <Tag.h>
00060 #include <Temperature.h>
00061  
00062 #include <StringTokenizer.h>
00063 #include <OutOfBoundsException.h>
00064 #include <Long.h>
00065 #include <ConversionException.h>
00066 
00067 using namespace std;
00068 using asdm::Angle;
00069 using asdm::AngularRate;
00070 using asdm::ArrayTime;
00071 using asdm::Complex;
00072 using asdm::Entity;
00073 using asdm::EntityId;
00074 using asdm::EntityRef;
00075 using asdm::Flux;
00076 using asdm::Frequency;
00077 using asdm::Humidity;
00078 using asdm::Interval;
00079 using asdm::Length;
00080 using asdm::Pressure;
00081 using asdm::Speed;
00082 using asdm::Tag;
00083 using asdm::Temperature;
00084 
00085 using asdm::StringTokenizer;
00086 using asdm::OutOfBoundsException;
00087 using asdm::Long;
00088 using asdm::ConversionException;
00089 
00090 namespace asdm {
00094 class Parser {
00095 
00096 public:
00097 
00098         Parser(const string &s);
00099 
00103         bool isStr(const string &) const;
00104 
00111         string getElement(const string &s1, const string &s2);
00112 
00119         string getElementContent(const string &s1, const string &s2);
00120 
00121         string getField(const string &field);
00122 
00123         static string getField(const string &xml, const string &field);
00124 
00125         // The follwing is a special case.
00126         static string getString(const string &name, const string &tableName, const string &xmlDoc) 
00127                 throw (ConversionException);
00128         static vector<string> get1DString(const string &name, const string &tableName, const string &xmlDoc)
00129                 throw (ConversionException);
00130         static vector <vector<string> > get2DString(const string &name, const string &tableName, const string &xmlDoc)
00131                 throw (ConversionException);
00132         static vector <vector <vector<string> > > get3DString(const string &name, const string &tableName, const string &xmlDoc)
00133                 throw (ConversionException);
00134 
00135         // Generated methods for conversion to and from XML
00136         // data representations for all types, both primitive
00137         // and extended.  Also included are 1, 2, and 3 
00138         // dimensional arrays of these types.
00139 
00140         
00141         // Field type: int
00142 
00143         static void toXML(int data, const string &name, string &buf);
00144 
00145         static void toXML(vector<int> data, const string &name, string &buf);
00146 
00147         static void toXML(vector< vector<int> > data, const string &name, string &buf);
00148         
00149         static void toXML(vector< vector< vector<int> > > data, const string &name, string &buf);
00150         
00151         static void toXML(vector<vector< vector< vector<int> > > >data, const string &name, string &buf);
00152         
00153         
00154         
00155         static void toXML(set < int > data, const string &name, string &buf);
00156         
00157 
00158                 
00159         
00160         
00161         
00162         static set< int >  getIntSet(const string &name, const string &tableName, const string &xmlDoc);
00163         
00164 
00165                         
00166         static int getInteger(const string &name, const string &tableName, const string &xmlDoc) 
00167         throw (ConversionException);
00168 
00169         static vector<int> get1DInteger(const string &name, const string &tableName, const string &xmlDoc)
00170         throw (ConversionException);
00171                 
00172         static vector< vector<int> > get2DInteger(const string &name, const string &tableName, const string &xmlDoc)
00173         throw (ConversionException);    
00174         
00175         static vector< vector< vector<int> > > get3DInteger(const string &name, const string &tableName, const string &xmlDoc)
00176         throw (ConversionException);    
00177         
00178         static vector<vector< vector< vector<int> > > >get4DInteger(const string &name, const string &tableName, const string &xmlDoc)
00179         throw (ConversionException);    
00180 
00181                 
00182 
00183 
00184         // Field type: short
00185 
00186         static void toXML(short data, const string &name, string &buf);
00187 
00188         static void toXML(vector<short> data, const string &name, string &buf);
00189 
00190         static void toXML(vector< vector<short> > data, const string &name, string &buf);
00191         
00192         static void toXML(vector< vector< vector<short> > > data, const string &name, string &buf);
00193         
00194         static void toXML(vector<vector< vector< vector<short> > > >data, const string &name, string &buf);
00195         
00196         
00197         
00198 
00199                 
00200         
00201         
00202         
00203 
00204                         
00205         static short getShort(const string &name, const string &tableName, const string &xmlDoc) 
00206         throw (ConversionException);
00207 
00208         static vector<short> get1DShort(const string &name, const string &tableName, const string &xmlDoc)
00209         throw (ConversionException);
00210                 
00211         static vector< vector<short> > get2DShort(const string &name, const string &tableName, const string &xmlDoc)
00212         throw (ConversionException);    
00213         
00214         static vector< vector< vector<short> > > get3DShort(const string &name, const string &tableName, const string &xmlDoc)
00215         throw (ConversionException);    
00216         
00217         static vector<vector< vector< vector<short> > > >get4DShort(const string &name, const string &tableName, const string &xmlDoc)
00218         throw (ConversionException);    
00219 
00220                 
00221 
00222 
00223         // Field type: long
00224 
00225         static void toXML(long data, const string &name, string &buf);
00226 
00227         static void toXML(vector<long> data, const string &name, string &buf);
00228 
00229         static void toXML(vector< vector<long> > data, const string &name, string &buf);
00230         
00231         static void toXML(vector< vector< vector<long> > > data, const string &name, string &buf);
00232         
00233         static void toXML(vector<vector< vector< vector<long> > > >data, const string &name, string &buf);
00234         
00235         
00236         
00237 
00238                 
00239         
00240         
00241         
00242 
00243                         
00244         static long getLong(const string &name, const string &tableName, const string &xmlDoc) 
00245         throw (ConversionException);
00246 
00247         static vector<long> get1DLong(const string &name, const string &tableName, const string &xmlDoc)
00248         throw (ConversionException);
00249                 
00250         static vector< vector<long> > get2DLong(const string &name, const string &tableName, const string &xmlDoc)
00251         throw (ConversionException);    
00252         
00253         static vector< vector< vector<long> > > get3DLong(const string &name, const string &tableName, const string &xmlDoc)
00254         throw (ConversionException);    
00255         
00256         static vector<vector< vector< vector<long> > > >get4DLong(const string &name, const string &tableName, const string &xmlDoc)
00257         throw (ConversionException);    
00258 
00259                 
00260 
00261 
00262         // Field type: char
00263 
00264         static void toXML(char data, const string &name, string &buf);
00265 
00266         static void toXML(vector<char> data, const string &name, string &buf);
00267 
00268         static void toXML(vector< vector<char> > data, const string &name, string &buf);
00269         
00270         static void toXML(vector< vector< vector<char> > > data, const string &name, string &buf);
00271         
00272         static void toXML(vector<vector< vector< vector<char> > > >data, const string &name, string &buf);
00273         
00274         
00275         
00276 
00277                 
00278         
00279         
00280         
00281 
00282                         
00283         static char getByte(const string &name, const string &tableName, const string &xmlDoc) 
00284         throw (ConversionException);
00285 
00286         static vector<char> get1DByte(const string &name, const string &tableName, const string &xmlDoc)
00287         throw (ConversionException);
00288                 
00289         static vector< vector<char> > get2DByte(const string &name, const string &tableName, const string &xmlDoc)
00290         throw (ConversionException);    
00291         
00292         static vector< vector< vector<char> > > get3DByte(const string &name, const string &tableName, const string &xmlDoc)
00293         throw (ConversionException);    
00294         
00295         static vector<vector< vector< vector<char> > > >get4DByte(const string &name, const string &tableName, const string &xmlDoc)
00296         throw (ConversionException);    
00297 
00298                 
00299 
00300 
00301         // Field type: float
00302 
00303         static void toXML(float data, const string &name, string &buf);
00304 
00305         static void toXML(vector<float> data, const string &name, string &buf);
00306 
00307         static void toXML(vector< vector<float> > data, const string &name, string &buf);
00308         
00309         static void toXML(vector< vector< vector<float> > > data, const string &name, string &buf);
00310         
00311         static void toXML(vector<vector< vector< vector<float> > > >data, const string &name, string &buf);
00312         
00313         
00314         
00315 
00316                 
00317         
00318         
00319         
00320 
00321                         
00322         static float getFloat(const string &name, const string &tableName, const string &xmlDoc) 
00323         throw (ConversionException);
00324 
00325         static vector<float> get1DFloat(const string &name, const string &tableName, const string &xmlDoc)
00326         throw (ConversionException);
00327                 
00328         static vector< vector<float> > get2DFloat(const string &name, const string &tableName, const string &xmlDoc)
00329         throw (ConversionException);    
00330         
00331         static vector< vector< vector<float> > > get3DFloat(const string &name, const string &tableName, const string &xmlDoc)
00332         throw (ConversionException);    
00333         
00334         static vector<vector< vector< vector<float> > > >get4DFloat(const string &name, const string &tableName, const string &xmlDoc)
00335         throw (ConversionException);    
00336 
00337                 
00338 
00339 
00340         // Field type: double
00341 
00342         static void toXML(double data, const string &name, string &buf);
00343 
00344         static void toXML(vector<double> data, const string &name, string &buf);
00345 
00346         static void toXML(vector< vector<double> > data, const string &name, string &buf);
00347         
00348         static void toXML(vector< vector< vector<double> > > data, const string &name, string &buf);
00349         
00350         static void toXML(vector<vector< vector< vector<double> > > >data, const string &name, string &buf);
00351         
00352         
00353         
00354 
00355                 
00356         
00357         
00358         
00359 
00360                         
00361         static double getDouble(const string &name, const string &tableName, const string &xmlDoc) 
00362         throw (ConversionException);
00363 
00364         static vector<double> get1DDouble(const string &name, const string &tableName, const string &xmlDoc)
00365         throw (ConversionException);
00366                 
00367         static vector< vector<double> > get2DDouble(const string &name, const string &tableName, const string &xmlDoc)
00368         throw (ConversionException);    
00369         
00370         static vector< vector< vector<double> > > get3DDouble(const string &name, const string &tableName, const string &xmlDoc)
00371         throw (ConversionException);    
00372         
00373         static vector<vector< vector< vector<double> > > >get4DDouble(const string &name, const string &tableName, const string &xmlDoc)
00374         throw (ConversionException);    
00375 
00376                 
00377 
00378 
00379         // Field type: unsigned char
00380 
00381         static void toXML(unsigned char data, const string &name, string &buf);
00382 
00383         static void toXML(vector<unsigned char> data, const string &name, string &buf);
00384 
00385         static void toXML(vector< vector<unsigned char> > data, const string &name, string &buf);
00386         
00387         static void toXML(vector< vector< vector<unsigned char> > > data, const string &name, string &buf);
00388         
00389         static void toXML(vector<vector< vector< vector<unsigned char> > > >data, const string &name, string &buf);
00390         
00391         
00392         
00393 
00394                 
00395         
00396         
00397         
00398 
00399                         
00400         static unsigned char getCharacter(const string &name, const string &tableName, const string &xmlDoc) 
00401         throw (ConversionException);
00402 
00403         static vector<unsigned char> get1DCharacter(const string &name, const string &tableName, const string &xmlDoc)
00404         throw (ConversionException);
00405                 
00406         static vector< vector<unsigned char> > get2DCharacter(const string &name, const string &tableName, const string &xmlDoc)
00407         throw (ConversionException);    
00408         
00409         static vector< vector< vector<unsigned char> > > get3DCharacter(const string &name, const string &tableName, const string &xmlDoc)
00410         throw (ConversionException);    
00411         
00412         static vector<vector< vector< vector<unsigned char> > > >get4DCharacter(const string &name, const string &tableName, const string &xmlDoc)
00413         throw (ConversionException);    
00414 
00415                 
00416 
00417 
00418         // Field type: bool
00419 
00420         static void toXML(bool data, const string &name, string &buf);
00421 
00422         static void toXML(vector<bool> data, const string &name, string &buf);
00423 
00424         static void toXML(vector< vector<bool> > data, const string &name, string &buf);
00425         
00426         static void toXML(vector< vector< vector<bool> > > data, const string &name, string &buf);
00427         
00428         static void toXML(vector<vector< vector< vector<bool> > > >data, const string &name, string &buf);
00429         
00430         
00431         
00432 
00433                 
00434         
00435         
00436         
00437 
00438                         
00439         static bool getBoolean(const string &name, const string &tableName, const string &xmlDoc) 
00440         throw (ConversionException);
00441 
00442         static vector<bool> get1DBoolean(const string &name, const string &tableName, const string &xmlDoc)
00443         throw (ConversionException);
00444                 
00445         static vector< vector<bool> > get2DBoolean(const string &name, const string &tableName, const string &xmlDoc)
00446         throw (ConversionException);    
00447         
00448         static vector< vector< vector<bool> > > get3DBoolean(const string &name, const string &tableName, const string &xmlDoc)
00449         throw (ConversionException);    
00450         
00451         static vector<vector< vector< vector<bool> > > >get4DBoolean(const string &name, const string &tableName, const string &xmlDoc)
00452         throw (ConversionException);    
00453 
00454                 
00455 
00456 
00457         // Field type: string
00458 
00459         static void toXML(string data, const string &name, string &buf);
00460 
00461         static void toXML(vector<string> data, const string &name, string &buf);
00462 
00463         static void toXML(vector< vector<string> > data, const string &name, string &buf);
00464         
00465         static void toXML(vector< vector< vector<string> > > data, const string &name, string &buf);
00466         
00467         static void toXML(vector<vector< vector< vector<string> > > >data, const string &name, string &buf);
00468         
00469         
00470         
00471 
00472                 
00473 
00474 
00475         // Field type: Angle
00476 
00477         static void toXML(Angle data, const string &name, string &buf);
00478 
00479         static void toXML(vector<Angle> data, const string &name, string &buf);
00480 
00481         static void toXML(vector< vector<Angle> > data, const string &name, string &buf);
00482         
00483         static void toXML(vector< vector< vector<Angle> > > data, const string &name, string &buf);
00484         
00485         static void toXML(vector<vector< vector< vector<Angle> > > >data, const string &name, string &buf);
00486         
00487         
00488         
00489 
00490                 
00491         
00492         
00493         
00494 
00495                         
00496         static Angle getAngle(const string &name, const string &tableName, const string &xmlDoc) 
00497         throw (ConversionException);
00498 
00499         static vector<Angle> get1DAngle(const string &name, const string &tableName, const string &xmlDoc)
00500         throw (ConversionException);
00501                 
00502         static vector< vector<Angle> > get2DAngle(const string &name, const string &tableName, const string &xmlDoc)
00503         throw (ConversionException);    
00504         
00505         static vector< vector< vector<Angle> > > get3DAngle(const string &name, const string &tableName, const string &xmlDoc)
00506         throw (ConversionException);    
00507         
00508         static vector<vector< vector< vector<Angle> > > >get4DAngle(const string &name, const string &tableName, const string &xmlDoc)
00509         throw (ConversionException);    
00510 
00511                 
00512 
00513 
00514         // Field type: AngularRate
00515 
00516         static void toXML(AngularRate data, const string &name, string &buf);
00517 
00518         static void toXML(vector<AngularRate> data, const string &name, string &buf);
00519 
00520         static void toXML(vector< vector<AngularRate> > data, const string &name, string &buf);
00521         
00522         static void toXML(vector< vector< vector<AngularRate> > > data, const string &name, string &buf);
00523         
00524         static void toXML(vector<vector< vector< vector<AngularRate> > > >data, const string &name, string &buf);
00525         
00526         
00527         
00528 
00529                 
00530         
00531         
00532         
00533 
00534                         
00535         static AngularRate getAngularRate(const string &name, const string &tableName, const string &xmlDoc) 
00536         throw (ConversionException);
00537 
00538         static vector<AngularRate> get1DAngularRate(const string &name, const string &tableName, const string &xmlDoc)
00539         throw (ConversionException);
00540                 
00541         static vector< vector<AngularRate> > get2DAngularRate(const string &name, const string &tableName, const string &xmlDoc)
00542         throw (ConversionException);    
00543         
00544         static vector< vector< vector<AngularRate> > > get3DAngularRate(const string &name, const string &tableName, const string &xmlDoc)
00545         throw (ConversionException);    
00546         
00547         static vector<vector< vector< vector<AngularRate> > > >get4DAngularRate(const string &name, const string &tableName, const string &xmlDoc)
00548         throw (ConversionException);    
00549 
00550                 
00551 
00552 
00553         // Field type: ArrayTime
00554 
00555         static void toXML(ArrayTime data, const string &name, string &buf);
00556 
00557         static void toXML(vector<ArrayTime> data, const string &name, string &buf);
00558 
00559         static void toXML(vector< vector<ArrayTime> > data, const string &name, string &buf);
00560         
00561         static void toXML(vector< vector< vector<ArrayTime> > > data, const string &name, string &buf);
00562         
00563         static void toXML(vector<vector< vector< vector<ArrayTime> > > >data, const string &name, string &buf);
00564         
00565         
00566         
00567 
00568                 
00569         
00570         
00571         
00572 
00573                         
00574         static ArrayTime getArrayTime(const string &name, const string &tableName, const string &xmlDoc) 
00575         throw (ConversionException);
00576 
00577         static vector<ArrayTime> get1DArrayTime(const string &name, const string &tableName, const string &xmlDoc)
00578         throw (ConversionException);
00579                 
00580         static vector< vector<ArrayTime> > get2DArrayTime(const string &name, const string &tableName, const string &xmlDoc)
00581         throw (ConversionException);    
00582         
00583         static vector< vector< vector<ArrayTime> > > get3DArrayTime(const string &name, const string &tableName, const string &xmlDoc)
00584         throw (ConversionException);    
00585         
00586         static vector<vector< vector< vector<ArrayTime> > > >get4DArrayTime(const string &name, const string &tableName, const string &xmlDoc)
00587         throw (ConversionException);    
00588 
00589                 
00590 
00591 
00592         // Field type: ArrayTimeInterval
00593 
00594         static void toXML(ArrayTimeInterval data, const string &name, string &buf);
00595 
00596         static void toXML(vector<ArrayTimeInterval> data, const string &name, string &buf);
00597 
00598         static void toXML(vector< vector<ArrayTimeInterval> > data, const string &name, string &buf);
00599         
00600         static void toXML(vector< vector< vector<ArrayTimeInterval> > > data, const string &name, string &buf);
00601         
00602         static void toXML(vector<vector< vector< vector<ArrayTimeInterval> > > >data, const string &name, string &buf);
00603         
00604         
00605         
00606 
00607                 
00608         
00609         
00610         
00611 
00612                         
00613         static ArrayTimeInterval getArrayTimeInterval(const string &name, const string &tableName, const string &xmlDoc) 
00614         throw (ConversionException);
00615 
00616         static vector<ArrayTimeInterval> get1DArrayTimeInterval(const string &name, const string &tableName, const string &xmlDoc)
00617         throw (ConversionException);
00618                 
00619         static vector< vector<ArrayTimeInterval> > get2DArrayTimeInterval(const string &name, const string &tableName, const string &xmlDoc)
00620         throw (ConversionException);    
00621         
00622         static vector< vector< vector<ArrayTimeInterval> > > get3DArrayTimeInterval(const string &name, const string &tableName, const string &xmlDoc)
00623         throw (ConversionException);    
00624         
00625         static vector<vector< vector< vector<ArrayTimeInterval> > > >get4DArrayTimeInterval(const string &name, const string &tableName, const string &xmlDoc)
00626         throw (ConversionException);    
00627 
00628                 
00629 
00630 
00631         // Field type: Complex
00632 
00633         static void toXML(Complex data, const string &name, string &buf);
00634 
00635         static void toXML(vector<Complex> data, const string &name, string &buf);
00636 
00637         static void toXML(vector< vector<Complex> > data, const string &name, string &buf);
00638         
00639         static void toXML(vector< vector< vector<Complex> > > data, const string &name, string &buf);
00640         
00641         static void toXML(vector<vector< vector< vector<Complex> > > >data, const string &name, string &buf);
00642         
00643         
00644         
00645 
00646                 
00647         
00648         
00649         
00650 
00651                         
00652         static Complex getComplex(const string &name, const string &tableName, const string &xmlDoc) 
00653         throw (ConversionException);
00654 
00655         static vector<Complex> get1DComplex(const string &name, const string &tableName, const string &xmlDoc)
00656         throw (ConversionException);
00657                 
00658         static vector< vector<Complex> > get2DComplex(const string &name, const string &tableName, const string &xmlDoc)
00659         throw (ConversionException);    
00660         
00661         static vector< vector< vector<Complex> > > get3DComplex(const string &name, const string &tableName, const string &xmlDoc)
00662         throw (ConversionException);    
00663         
00664         static vector<vector< vector< vector<Complex> > > >get4DComplex(const string &name, const string &tableName, const string &xmlDoc)
00665         throw (ConversionException);    
00666 
00667                 
00668 
00669 
00670         // Field type: Entity
00671 
00672         static void toXML(Entity data, const string &name, string &buf);
00673 
00674         static void toXML(vector<Entity> data, const string &name, string &buf);
00675 
00676         static void toXML(vector< vector<Entity> > data, const string &name, string &buf);
00677         
00678         static void toXML(vector< vector< vector<Entity> > > data, const string &name, string &buf);
00679         
00680         static void toXML(vector<vector< vector< vector<Entity> > > >data, const string &name, string &buf);
00681         
00682         
00683         
00684 
00685                 
00686         
00687         
00688         
00689 
00690                         
00691         static Entity getEntity(const string &name, const string &tableName, const string &xmlDoc) 
00692         throw (ConversionException);
00693 
00694         static vector<Entity> get1DEntity(const string &name, const string &tableName, const string &xmlDoc)
00695         throw (ConversionException);
00696                 
00697         static vector< vector<Entity> > get2DEntity(const string &name, const string &tableName, const string &xmlDoc)
00698         throw (ConversionException);    
00699         
00700         static vector< vector< vector<Entity> > > get3DEntity(const string &name, const string &tableName, const string &xmlDoc)
00701         throw (ConversionException);    
00702         
00703         static vector<vector< vector< vector<Entity> > > >get4DEntity(const string &name, const string &tableName, const string &xmlDoc)
00704         throw (ConversionException);    
00705 
00706                 
00707 
00708 
00709         // Field type: EntityId
00710 
00711         static void toXML(EntityId data, const string &name, string &buf);
00712 
00713         static void toXML(vector<EntityId> data, const string &name, string &buf);
00714 
00715         static void toXML(vector< vector<EntityId> > data, const string &name, string &buf);
00716         
00717         static void toXML(vector< vector< vector<EntityId> > > data, const string &name, string &buf);
00718         
00719         static void toXML(vector<vector< vector< vector<EntityId> > > >data, const string &name, string &buf);
00720         
00721         
00722         
00723 
00724                 
00725         
00726         
00727         
00728 
00729                         
00730         static EntityId getEntityId(const string &name, const string &tableName, const string &xmlDoc) 
00731         throw (ConversionException);
00732 
00733         static vector<EntityId> get1DEntityId(const string &name, const string &tableName, const string &xmlDoc)
00734         throw (ConversionException);
00735                 
00736         static vector< vector<EntityId> > get2DEntityId(const string &name, const string &tableName, const string &xmlDoc)
00737         throw (ConversionException);    
00738         
00739         static vector< vector< vector<EntityId> > > get3DEntityId(const string &name, const string &tableName, const string &xmlDoc)
00740         throw (ConversionException);    
00741         
00742         static vector<vector< vector< vector<EntityId> > > >get4DEntityId(const string &name, const string &tableName, const string &xmlDoc)
00743         throw (ConversionException);    
00744 
00745                 
00746 
00747 
00748         // Field type: EntityRef
00749 
00750         static void toXML(EntityRef data, const string &name, string &buf);
00751 
00752         static void toXML(vector<EntityRef> data, const string &name, string &buf);
00753 
00754         static void toXML(vector< vector<EntityRef> > data, const string &name, string &buf);
00755         
00756         static void toXML(vector< vector< vector<EntityRef> > > data, const string &name, string &buf);
00757         
00758         static void toXML(vector<vector< vector< vector<EntityRef> > > >data, const string &name, string &buf);
00759         
00760         
00761         
00762 
00763                 
00764         
00765         
00766         
00767 
00768                         
00769         static EntityRef getEntityRef(const string &name, const string &tableName, const string &xmlDoc) 
00770         throw (ConversionException);
00771 
00772         static vector<EntityRef> get1DEntityRef(const string &name, const string &tableName, const string &xmlDoc)
00773         throw (ConversionException);
00774                 
00775         static vector< vector<EntityRef> > get2DEntityRef(const string &name, const string &tableName, const string &xmlDoc)
00776         throw (ConversionException);    
00777         
00778         static vector< vector< vector<EntityRef> > > get3DEntityRef(const string &name, const string &tableName, const string &xmlDoc)
00779         throw (ConversionException);    
00780         
00781         static vector<vector< vector< vector<EntityRef> > > >get4DEntityRef(const string &name, const string &tableName, const string &xmlDoc)
00782         throw (ConversionException);    
00783 
00784                 
00785 
00786 
00787         // Field type: Flux
00788 
00789         static void toXML(Flux data, const string &name, string &buf);
00790 
00791         static void toXML(vector<Flux> data, const string &name, string &buf);
00792 
00793         static void toXML(vector< vector<Flux> > data, const string &name, string &buf);
00794         
00795         static void toXML(vector< vector< vector<Flux> > > data, const string &name, string &buf);
00796         
00797         static void toXML(vector<vector< vector< vector<Flux> > > >data, const string &name, string &buf);
00798         
00799         
00800         
00801 
00802                 
00803         
00804         
00805         
00806 
00807                         
00808         static Flux getFlux(const string &name, const string &tableName, const string &xmlDoc) 
00809         throw (ConversionException);
00810 
00811         static vector<Flux> get1DFlux(const string &name, const string &tableName, const string &xmlDoc)
00812         throw (ConversionException);
00813                 
00814         static vector< vector<Flux> > get2DFlux(const string &name, const string &tableName, const string &xmlDoc)
00815         throw (ConversionException);    
00816         
00817         static vector< vector< vector<Flux> > > get3DFlux(const string &name, const string &tableName, const string &xmlDoc)
00818         throw (ConversionException);    
00819         
00820         static vector<vector< vector< vector<Flux> > > >get4DFlux(const string &name, const string &tableName, const string &xmlDoc)
00821         throw (ConversionException);    
00822 
00823                 
00824 
00825 
00826         // Field type: Frequency
00827 
00828         static void toXML(Frequency data, const string &name, string &buf);
00829 
00830         static void toXML(vector<Frequency> data, const string &name, string &buf);
00831 
00832         static void toXML(vector< vector<Frequency> > data, const string &name, string &buf);
00833         
00834         static void toXML(vector< vector< vector<Frequency> > > data, const string &name, string &buf);
00835         
00836         static void toXML(vector<vector< vector< vector<Frequency> > > >data, const string &name, string &buf);
00837         
00838         
00839         
00840 
00841                 
00842         
00843         
00844         
00845 
00846                         
00847         static Frequency getFrequency(const string &name, const string &tableName, const string &xmlDoc) 
00848         throw (ConversionException);
00849 
00850         static vector<Frequency> get1DFrequency(const string &name, const string &tableName, const string &xmlDoc)
00851         throw (ConversionException);
00852                 
00853         static vector< vector<Frequency> > get2DFrequency(const string &name, const string &tableName, const string &xmlDoc)
00854         throw (ConversionException);    
00855         
00856         static vector< vector< vector<Frequency> > > get3DFrequency(const string &name, const string &tableName, const string &xmlDoc)
00857         throw (ConversionException);    
00858         
00859         static vector<vector< vector< vector<Frequency> > > >get4DFrequency(const string &name, const string &tableName, const string &xmlDoc)
00860         throw (ConversionException);    
00861 
00862                 
00863 
00864 
00865         // Field type: Humidity
00866 
00867         static void toXML(Humidity data, const string &name, string &buf);
00868 
00869         static void toXML(vector<Humidity> data, const string &name, string &buf);
00870 
00871         static void toXML(vector< vector<Humidity> > data, const string &name, string &buf);
00872         
00873         static void toXML(vector< vector< vector<Humidity> > > data, const string &name, string &buf);
00874         
00875         static void toXML(vector<vector< vector< vector<Humidity> > > >data, const string &name, string &buf);
00876         
00877         
00878         
00879 
00880                 
00881         
00882         
00883         
00884 
00885                         
00886         static Humidity getHumidity(const string &name, const string &tableName, const string &xmlDoc) 
00887         throw (ConversionException);
00888 
00889         static vector<Humidity> get1DHumidity(const string &name, const string &tableName, const string &xmlDoc)
00890         throw (ConversionException);
00891                 
00892         static vector< vector<Humidity> > get2DHumidity(const string &name, const string &tableName, const string &xmlDoc)
00893         throw (ConversionException);    
00894         
00895         static vector< vector< vector<Humidity> > > get3DHumidity(const string &name, const string &tableName, const string &xmlDoc)
00896         throw (ConversionException);    
00897         
00898         static vector<vector< vector< vector<Humidity> > > >get4DHumidity(const string &name, const string &tableName, const string &xmlDoc)
00899         throw (ConversionException);    
00900 
00901                 
00902 
00903 
00904         // Field type: Interval
00905 
00906         static void toXML(Interval data, const string &name, string &buf);
00907 
00908         static void toXML(vector<Interval> data, const string &name, string &buf);
00909 
00910         static void toXML(vector< vector<Interval> > data, const string &name, string &buf);
00911         
00912         static void toXML(vector< vector< vector<Interval> > > data, const string &name, string &buf);
00913         
00914         static void toXML(vector<vector< vector< vector<Interval> > > >data, const string &name, string &buf);
00915         
00916         
00917         
00918 
00919                 
00920         
00921         
00922         
00923 
00924                         
00925         static Interval getInterval(const string &name, const string &tableName, const string &xmlDoc) 
00926         throw (ConversionException);
00927 
00928         static vector<Interval> get1DInterval(const string &name, const string &tableName, const string &xmlDoc)
00929         throw (ConversionException);
00930                 
00931         static vector< vector<Interval> > get2DInterval(const string &name, const string &tableName, const string &xmlDoc)
00932         throw (ConversionException);    
00933         
00934         static vector< vector< vector<Interval> > > get3DInterval(const string &name, const string &tableName, const string &xmlDoc)
00935         throw (ConversionException);    
00936         
00937         static vector<vector< vector< vector<Interval> > > >get4DInterval(const string &name, const string &tableName, const string &xmlDoc)
00938         throw (ConversionException);    
00939 
00940                 
00941 
00942 
00943         // Field type: Length
00944 
00945         static void toXML(Length data, const string &name, string &buf);
00946 
00947         static void toXML(vector<Length> data, const string &name, string &buf);
00948 
00949         static void toXML(vector< vector<Length> > data, const string &name, string &buf);
00950         
00951         static void toXML(vector< vector< vector<Length> > > data, const string &name, string &buf);
00952         
00953         static void toXML(vector<vector< vector< vector<Length> > > >data, const string &name, string &buf);
00954         
00955         
00956         
00957 
00958                 
00959         
00960         
00961         
00962 
00963                         
00964         static Length getLength(const string &name, const string &tableName, const string &xmlDoc) 
00965         throw (ConversionException);
00966 
00967         static vector<Length> get1DLength(const string &name, const string &tableName, const string &xmlDoc)
00968         throw (ConversionException);
00969                 
00970         static vector< vector<Length> > get2DLength(const string &name, const string &tableName, const string &xmlDoc)
00971         throw (ConversionException);    
00972         
00973         static vector< vector< vector<Length> > > get3DLength(const string &name, const string &tableName, const string &xmlDoc)
00974         throw (ConversionException);    
00975         
00976         static vector<vector< vector< vector<Length> > > >get4DLength(const string &name, const string &tableName, const string &xmlDoc)
00977         throw (ConversionException);    
00978 
00979                 
00980 
00981 
00982         // Field type: Pressure
00983 
00984         static void toXML(Pressure data, const string &name, string &buf);
00985 
00986         static void toXML(vector<Pressure> data, const string &name, string &buf);
00987 
00988         static void toXML(vector< vector<Pressure> > data, const string &name, string &buf);
00989         
00990         static void toXML(vector< vector< vector<Pressure> > > data, const string &name, string &buf);
00991         
00992         static void toXML(vector<vector< vector< vector<Pressure> > > >data, const string &name, string &buf);
00993         
00994         
00995         
00996 
00997                 
00998         
00999         
01000         
01001 
01002                         
01003         static Pressure getPressure(const string &name, const string &tableName, const string &xmlDoc) 
01004         throw (ConversionException);
01005 
01006         static vector<Pressure> get1DPressure(const string &name, const string &tableName, const string &xmlDoc)
01007         throw (ConversionException);
01008                 
01009         static vector< vector<Pressure> > get2DPressure(const string &name, const string &tableName, const string &xmlDoc)
01010         throw (ConversionException);    
01011         
01012         static vector< vector< vector<Pressure> > > get3DPressure(const string &name, const string &tableName, const string &xmlDoc)
01013         throw (ConversionException);    
01014         
01015         static vector<vector< vector< vector<Pressure> > > >get4DPressure(const string &name, const string &tableName, const string &xmlDoc)
01016         throw (ConversionException);    
01017 
01018                 
01019 
01020 
01021         // Field type: Speed
01022 
01023         static void toXML(Speed data, const string &name, string &buf);
01024 
01025         static void toXML(vector<Speed> data, const string &name, string &buf);
01026 
01027         static void toXML(vector< vector<Speed> > data, const string &name, string &buf);
01028         
01029         static void toXML(vector< vector< vector<Speed> > > data, const string &name, string &buf);
01030         
01031         static void toXML(vector<vector< vector< vector<Speed> > > >data, const string &name, string &buf);
01032         
01033         
01034         
01035 
01036                 
01037         
01038         
01039         
01040 
01041                         
01042         static Speed getSpeed(const string &name, const string &tableName, const string &xmlDoc) 
01043         throw (ConversionException);
01044 
01045         static vector<Speed> get1DSpeed(const string &name, const string &tableName, const string &xmlDoc)
01046         throw (ConversionException);
01047                 
01048         static vector< vector<Speed> > get2DSpeed(const string &name, const string &tableName, const string &xmlDoc)
01049         throw (ConversionException);    
01050         
01051         static vector< vector< vector<Speed> > > get3DSpeed(const string &name, const string &tableName, const string &xmlDoc)
01052         throw (ConversionException);    
01053         
01054         static vector<vector< vector< vector<Speed> > > >get4DSpeed(const string &name, const string &tableName, const string &xmlDoc)
01055         throw (ConversionException);    
01056 
01057                 
01058 
01059 
01060         // Field type: Tag
01061 
01062         static void toXML(Tag data, const string &name, string &buf);
01063 
01064         static void toXML(vector<Tag> data, const string &name, string &buf);
01065 
01066         static void toXML(vector< vector<Tag> > data, const string &name, string &buf);
01067         
01068         static void toXML(vector< vector< vector<Tag> > > data, const string &name, string &buf);
01069         
01070         static void toXML(vector<vector< vector< vector<Tag> > > >data, const string &name, string &buf);
01071         
01072         
01073         
01074         static void toXML(set < Tag > data, const string &name, string &buf);
01075         
01076 
01077                 
01078         
01079         
01080         
01081         static set< Tag >  getTagSet(const string &name, const string &tableName, const string &xmlDoc);
01082         
01083 
01084                         
01085         static Tag getTag(const string &name, const string &tableName, const string &xmlDoc) 
01086         throw (ConversionException);
01087 
01088         static vector<Tag> get1DTag(const string &name, const string &tableName, const string &xmlDoc)
01089         throw (ConversionException);
01090                 
01091         static vector< vector<Tag> > get2DTag(const string &name, const string &tableName, const string &xmlDoc)
01092         throw (ConversionException);    
01093         
01094         static vector< vector< vector<Tag> > > get3DTag(const string &name, const string &tableName, const string &xmlDoc)
01095         throw (ConversionException);    
01096         
01097         static vector<vector< vector< vector<Tag> > > >get4DTag(const string &name, const string &tableName, const string &xmlDoc)
01098         throw (ConversionException);    
01099 
01100                 
01101 
01102 
01103         // Field type: Temperature
01104 
01105         static void toXML(Temperature data, const string &name, string &buf);
01106 
01107         static void toXML(vector<Temperature> data, const string &name, string &buf);
01108 
01109         static void toXML(vector< vector<Temperature> > data, const string &name, string &buf);
01110         
01111         static void toXML(vector< vector< vector<Temperature> > > data, const string &name, string &buf);
01112         
01113         static void toXML(vector<vector< vector< vector<Temperature> > > >data, const string &name, string &buf);
01114         
01115         
01116         
01117 
01118                 
01119         
01120         
01121         
01122 
01123                         
01124         static Temperature getTemperature(const string &name, const string &tableName, const string &xmlDoc) 
01125         throw (ConversionException);
01126 
01127         static vector<Temperature> get1DTemperature(const string &name, const string &tableName, const string &xmlDoc)
01128         throw (ConversionException);
01129                 
01130         static vector< vector<Temperature> > get2DTemperature(const string &name, const string &tableName, const string &xmlDoc)
01131         throw (ConversionException);    
01132         
01133         static vector< vector< vector<Temperature> > > get3DTemperature(const string &name, const string &tableName, const string &xmlDoc)
01134         throw (ConversionException);    
01135         
01136         static vector<vector< vector< vector<Temperature> > > >get4DTemperature(const string &name, const string &tableName, const string &xmlDoc)
01137         throw (ConversionException);    
01138 
01139                 
01140 
01141 
01142         
01143         // Generated methods for conversion to and from XML
01144         // data representations with  a Base64 encoded content.
01145         // The methods are generated only for 1, 2 and 3 dimensional arrays
01146         // of data whose BasicType have a non null BaseWrapperName.
01147         // In practice this represents data whose type is one of the basic numeric types
01148         // or is built upon a basic numeric type. 
01149         
01150         
01151         
01152         static void toXMLBase64(vector<int> data, const string &name, string &buf);
01153         static void toXMLBase64(vector< vector<int> > data, const string &name, string &buf);
01154         static void toXMLBase64(vector< vector< vector<int> > > data, const string &name, string &buf);
01155         static void toXMLBase64(vector< vector< vector< vector<int> > > >data, const string &name, string &buf);
01156         
01157     
01158         static vector<int>& get1DIntegerFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector<int>& attribute)
01159         throw (ConversionException);
01160         
01161          
01162         static vector <vector<int> >& get2DIntegerFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector<int> >& attribute)
01163         throw (ConversionException);
01164         
01165         
01166         static vector <vector <vector<int> > >& get3DIntegerFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector<int> > >& attribute)
01167         throw (ConversionException);
01168         
01169         
01170         static vector <vector <vector <vector<int> > > >& get4DIntegerFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector <vector<int> > > >& attribute)
01171         throw (ConversionException);
01172         
01173 
01174         
01175         
01176         static void toXMLBase64(vector<short> data, const string &name, string &buf);
01177         static void toXMLBase64(vector< vector<short> > data, const string &name, string &buf);
01178         static void toXMLBase64(vector< vector< vector<short> > > data, const string &name, string &buf);
01179         static void toXMLBase64(vector< vector< vector< vector<short> > > >data, const string &name, string &buf);
01180         
01181     
01182         static vector<short>& get1DShortFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector<short>& attribute)
01183         throw (ConversionException);
01184         
01185          
01186         static vector <vector<short> >& get2DShortFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector<short> >& attribute)
01187         throw (ConversionException);
01188         
01189         
01190         static vector <vector <vector<short> > >& get3DShortFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector<short> > >& attribute)
01191         throw (ConversionException);
01192         
01193         
01194         static vector <vector <vector <vector<short> > > >& get4DShortFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector <vector<short> > > >& attribute)
01195         throw (ConversionException);
01196         
01197 
01198         
01199         
01200         static void toXMLBase64(vector<long> data, const string &name, string &buf);
01201         static void toXMLBase64(vector< vector<long> > data, const string &name, string &buf);
01202         static void toXMLBase64(vector< vector< vector<long> > > data, const string &name, string &buf);
01203         static void toXMLBase64(vector< vector< vector< vector<long> > > >data, const string &name, string &buf);
01204         
01205     
01206         static vector<long>& get1DLongFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector<long>& attribute)
01207         throw (ConversionException);
01208         
01209          
01210         static vector <vector<long> >& get2DLongFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector<long> >& attribute)
01211         throw (ConversionException);
01212         
01213         
01214         static vector <vector <vector<long> > >& get3DLongFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector<long> > >& attribute)
01215         throw (ConversionException);
01216         
01217         
01218         static vector <vector <vector <vector<long> > > >& get4DLongFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector <vector<long> > > >& attribute)
01219         throw (ConversionException);
01220         
01221 
01222         
01223         
01224         static void toXMLBase64(vector<char> data, const string &name, string &buf);
01225         static void toXMLBase64(vector< vector<char> > data, const string &name, string &buf);
01226         static void toXMLBase64(vector< vector< vector<char> > > data, const string &name, string &buf);
01227         static void toXMLBase64(vector< vector< vector< vector<char> > > >data, const string &name, string &buf);
01228         
01229     
01230         static vector<char>& get1DByteFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector<char>& attribute)
01231         throw (ConversionException);
01232         
01233          
01234         static vector <vector<char> >& get2DByteFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector<char> >& attribute)
01235         throw (ConversionException);
01236         
01237         
01238         static vector <vector <vector<char> > >& get3DByteFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector<char> > >& attribute)
01239         throw (ConversionException);
01240         
01241         
01242         static vector <vector <vector <vector<char> > > >& get4DByteFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector <vector<char> > > >& attribute)
01243         throw (ConversionException);
01244         
01245 
01246         
01247         
01248         static void toXMLBase64(vector<float> data, const string &name, string &buf);
01249         static void toXMLBase64(vector< vector<float> > data, const string &name, string &buf);
01250         static void toXMLBase64(vector< vector< vector<float> > > data, const string &name, string &buf);
01251         static void toXMLBase64(vector< vector< vector< vector<float> > > >data, const string &name, string &buf);
01252         
01253     
01254         static vector<float>& get1DFloatFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector<float>& attribute)
01255         throw (ConversionException);
01256         
01257          
01258         static vector <vector<float> >& get2DFloatFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector<float> >& attribute)
01259         throw (ConversionException);
01260         
01261         
01262         static vector <vector <vector<float> > >& get3DFloatFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector<float> > >& attribute)
01263         throw (ConversionException);
01264         
01265         
01266         static vector <vector <vector <vector<float> > > >& get4DFloatFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector <vector<float> > > >& attribute)
01267         throw (ConversionException);
01268         
01269 
01270         
01271         
01272         static void toXMLBase64(vector<double> data, const string &name, string &buf);
01273         static void toXMLBase64(vector< vector<double> > data, const string &name, string &buf);
01274         static void toXMLBase64(vector< vector< vector<double> > > data, const string &name, string &buf);
01275         static void toXMLBase64(vector< vector< vector< vector<double> > > >data, const string &name, string &buf);
01276         
01277     
01278         static vector<double>& get1DDoubleFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector<double>& attribute)
01279         throw (ConversionException);
01280         
01281          
01282         static vector <vector<double> >& get2DDoubleFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector<double> >& attribute)
01283         throw (ConversionException);
01284         
01285         
01286         static vector <vector <vector<double> > >& get3DDoubleFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector<double> > >& attribute)
01287         throw (ConversionException);
01288         
01289         
01290         static vector <vector <vector <vector<double> > > >& get4DDoubleFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector <vector<double> > > >& attribute)
01291         throw (ConversionException);
01292         
01293 
01294         
01295         
01296         static void toXMLBase64(vector<unsigned char> data, const string &name, string &buf);
01297         static void toXMLBase64(vector< vector<unsigned char> > data, const string &name, string &buf);
01298         static void toXMLBase64(vector< vector< vector<unsigned char> > > data, const string &name, string &buf);
01299         static void toXMLBase64(vector< vector< vector< vector<unsigned char> > > >data, const string &name, string &buf);
01300         
01301     
01302         static vector<unsigned char>& get1DCharacterFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector<unsigned char>& attribute)
01303         throw (ConversionException);
01304         
01305          
01306         static vector <vector<unsigned char> >& get2DCharacterFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector<unsigned char> >& attribute)
01307         throw (ConversionException);
01308         
01309         
01310         static vector <vector <vector<unsigned char> > >& get3DCharacterFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector<unsigned char> > >& attribute)
01311         throw (ConversionException);
01312         
01313         
01314         static vector <vector <vector <vector<unsigned char> > > >& get4DCharacterFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector <vector<unsigned char> > > >& attribute)
01315         throw (ConversionException);
01316         
01317 
01318         
01319         
01320         static void toXMLBase64(vector<bool> data, const string &name, string &buf);
01321         static void toXMLBase64(vector< vector<bool> > data, const string &name, string &buf);
01322         static void toXMLBase64(vector< vector< vector<bool> > > data, const string &name, string &buf);
01323         static void toXMLBase64(vector< vector< vector< vector<bool> > > >data, const string &name, string &buf);
01324         
01325     
01326         static vector<bool>& get1DBooleanFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector<bool>& attribute)
01327         throw (ConversionException);
01328         
01329          
01330         static vector <vector<bool> >& get2DBooleanFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector<bool> >& attribute)
01331         throw (ConversionException);
01332         
01333         
01334         static vector <vector <vector<bool> > >& get3DBooleanFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector<bool> > >& attribute)
01335         throw (ConversionException);
01336         
01337         
01338         static vector <vector <vector <vector<bool> > > >& get4DBooleanFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector <vector<bool> > > >& attribute)
01339         throw (ConversionException);
01340         
01341 
01342         
01343         
01344 
01345         
01346         
01347         static void toXMLBase64(vector<Angle> data, const string &name, string &buf);
01348         static void toXMLBase64(vector< vector<Angle> > data, const string &name, string &buf);
01349         static void toXMLBase64(vector< vector< vector<Angle> > > data, const string &name, string &buf);
01350         static void toXMLBase64(vector< vector< vector< vector<Angle> > > >data, const string &name, string &buf);
01351         
01352     
01353         static vector<Angle>& get1DAngleFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector<Angle>& attribute)
01354         throw (ConversionException);
01355         
01356          
01357         static vector <vector<Angle> >& get2DAngleFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector<Angle> >& attribute)
01358         throw (ConversionException);
01359         
01360         
01361         static vector <vector <vector<Angle> > >& get3DAngleFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector<Angle> > >& attribute)
01362         throw (ConversionException);
01363         
01364         
01365         static vector <vector <vector <vector<Angle> > > >& get4DAngleFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector <vector<Angle> > > >& attribute)
01366         throw (ConversionException);
01367         
01368 
01369         
01370         
01371         static void toXMLBase64(vector<AngularRate> data, const string &name, string &buf);
01372         static void toXMLBase64(vector< vector<AngularRate> > data, const string &name, string &buf);
01373         static void toXMLBase64(vector< vector< vector<AngularRate> > > data, const string &name, string &buf);
01374         static void toXMLBase64(vector< vector< vector< vector<AngularRate> > > >data, const string &name, string &buf);
01375         
01376     
01377         static vector<AngularRate>& get1DAngularRateFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector<AngularRate>& attribute)
01378         throw (ConversionException);
01379         
01380          
01381         static vector <vector<AngularRate> >& get2DAngularRateFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector<AngularRate> >& attribute)
01382         throw (ConversionException);
01383         
01384         
01385         static vector <vector <vector<AngularRate> > >& get3DAngularRateFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector<AngularRate> > >& attribute)
01386         throw (ConversionException);
01387         
01388         
01389         static vector <vector <vector <vector<AngularRate> > > >& get4DAngularRateFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector <vector<AngularRate> > > >& attribute)
01390         throw (ConversionException);
01391         
01392 
01393         
01394         
01395         static void toXMLBase64(vector<ArrayTime> data, const string &name, string &buf);
01396         static void toXMLBase64(vector< vector<ArrayTime> > data, const string &name, string &buf);
01397         static void toXMLBase64(vector< vector< vector<ArrayTime> > > data, const string &name, string &buf);
01398         static void toXMLBase64(vector< vector< vector< vector<ArrayTime> > > >data, const string &name, string &buf);
01399         
01400     
01401         static vector<ArrayTime>& get1DArrayTimeFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector<ArrayTime>& attribute)
01402         throw (ConversionException);
01403         
01404          
01405         static vector <vector<ArrayTime> >& get2DArrayTimeFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector<ArrayTime> >& attribute)
01406         throw (ConversionException);
01407         
01408         
01409         static vector <vector <vector<ArrayTime> > >& get3DArrayTimeFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector<ArrayTime> > >& attribute)
01410         throw (ConversionException);
01411         
01412         
01413         static vector <vector <vector <vector<ArrayTime> > > >& get4DArrayTimeFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector <vector<ArrayTime> > > >& attribute)
01414         throw (ConversionException);
01415         
01416 
01417         
01418         
01419 
01420         
01421         
01422 
01423         
01424         
01425 
01426         
01427         
01428 
01429         
01430         
01431 
01432         
01433         
01434         static void toXMLBase64(vector<Flux> data, const string &name, string &buf);
01435         static void toXMLBase64(vector< vector<Flux> > data, const string &name, string &buf);
01436         static void toXMLBase64(vector< vector< vector<Flux> > > data, const string &name, string &buf);
01437         static void toXMLBase64(vector< vector< vector< vector<Flux> > > >data, const string &name, string &buf);
01438         
01439     
01440         static vector<Flux>& get1DFluxFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector<Flux>& attribute)
01441         throw (ConversionException);
01442         
01443          
01444         static vector <vector<Flux> >& get2DFluxFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector<Flux> >& attribute)
01445         throw (ConversionException);
01446         
01447         
01448         static vector <vector <vector<Flux> > >& get3DFluxFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector<Flux> > >& attribute)
01449         throw (ConversionException);
01450         
01451         
01452         static vector <vector <vector <vector<Flux> > > >& get4DFluxFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector <vector<Flux> > > >& attribute)
01453         throw (ConversionException);
01454         
01455 
01456         
01457         
01458         static void toXMLBase64(vector<Frequency> data, const string &name, string &buf);
01459         static void toXMLBase64(vector< vector<Frequency> > data, const string &name, string &buf);
01460         static void toXMLBase64(vector< vector< vector<Frequency> > > data, const string &name, string &buf);
01461         static void toXMLBase64(vector< vector< vector< vector<Frequency> > > >data, const string &name, string &buf);
01462         
01463     
01464         static vector<Frequency>& get1DFrequencyFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector<Frequency>& attribute)
01465         throw (ConversionException);
01466         
01467          
01468         static vector <vector<Frequency> >& get2DFrequencyFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector<Frequency> >& attribute)
01469         throw (ConversionException);
01470         
01471         
01472         static vector <vector <vector<Frequency> > >& get3DFrequencyFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector<Frequency> > >& attribute)
01473         throw (ConversionException);
01474         
01475         
01476         static vector <vector <vector <vector<Frequency> > > >& get4DFrequencyFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector <vector<Frequency> > > >& attribute)
01477         throw (ConversionException);
01478         
01479 
01480         
01481         
01482         static void toXMLBase64(vector<Humidity> data, const string &name, string &buf);
01483         static void toXMLBase64(vector< vector<Humidity> > data, const string &name, string &buf);
01484         static void toXMLBase64(vector< vector< vector<Humidity> > > data, const string &name, string &buf);
01485         static void toXMLBase64(vector< vector< vector< vector<Humidity> > > >data, const string &name, string &buf);
01486         
01487     
01488         static vector<Humidity>& get1DHumidityFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector<Humidity>& attribute)
01489         throw (ConversionException);
01490         
01491          
01492         static vector <vector<Humidity> >& get2DHumidityFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector<Humidity> >& attribute)
01493         throw (ConversionException);
01494         
01495         
01496         static vector <vector <vector<Humidity> > >& get3DHumidityFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector<Humidity> > >& attribute)
01497         throw (ConversionException);
01498         
01499         
01500         static vector <vector <vector <vector<Humidity> > > >& get4DHumidityFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector <vector<Humidity> > > >& attribute)
01501         throw (ConversionException);
01502         
01503 
01504         
01505         
01506         static void toXMLBase64(vector<Interval> data, const string &name, string &buf);
01507         static void toXMLBase64(vector< vector<Interval> > data, const string &name, string &buf);
01508         static void toXMLBase64(vector< vector< vector<Interval> > > data, const string &name, string &buf);
01509         static void toXMLBase64(vector< vector< vector< vector<Interval> > > >data, const string &name, string &buf);
01510         
01511     
01512         static vector<Interval>& get1DIntervalFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector<Interval>& attribute)
01513         throw (ConversionException);
01514         
01515          
01516         static vector <vector<Interval> >& get2DIntervalFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector<Interval> >& attribute)
01517         throw (ConversionException);
01518         
01519         
01520         static vector <vector <vector<Interval> > >& get3DIntervalFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector<Interval> > >& attribute)
01521         throw (ConversionException);
01522         
01523         
01524         static vector <vector <vector <vector<Interval> > > >& get4DIntervalFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector <vector<Interval> > > >& attribute)
01525         throw (ConversionException);
01526         
01527 
01528         
01529         
01530         static void toXMLBase64(vector<Length> data, const string &name, string &buf);
01531         static void toXMLBase64(vector< vector<Length> > data, const string &name, string &buf);
01532         static void toXMLBase64(vector< vector< vector<Length> > > data, const string &name, string &buf);
01533         static void toXMLBase64(vector< vector< vector< vector<Length> > > >data, const string &name, string &buf);
01534         
01535     
01536         static vector<Length>& get1DLengthFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector<Length>& attribute)
01537         throw (ConversionException);
01538         
01539          
01540         static vector <vector<Length> >& get2DLengthFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector<Length> >& attribute)
01541         throw (ConversionException);
01542         
01543         
01544         static vector <vector <vector<Length> > >& get3DLengthFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector<Length> > >& attribute)
01545         throw (ConversionException);
01546         
01547         
01548         static vector <vector <vector <vector<Length> > > >& get4DLengthFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector <vector<Length> > > >& attribute)
01549         throw (ConversionException);
01550         
01551 
01552         
01553         
01554         static void toXMLBase64(vector<Pressure> data, const string &name, string &buf);
01555         static void toXMLBase64(vector< vector<Pressure> > data, const string &name, string &buf);
01556         static void toXMLBase64(vector< vector< vector<Pressure> > > data, const string &name, string &buf);
01557         static void toXMLBase64(vector< vector< vector< vector<Pressure> > > >data, const string &name, string &buf);
01558         
01559     
01560         static vector<Pressure>& get1DPressureFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector<Pressure>& attribute)
01561         throw (ConversionException);
01562         
01563          
01564         static vector <vector<Pressure> >& get2DPressureFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector<Pressure> >& attribute)
01565         throw (ConversionException);
01566         
01567         
01568         static vector <vector <vector<Pressure> > >& get3DPressureFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector<Pressure> > >& attribute)
01569         throw (ConversionException);
01570         
01571         
01572         static vector <vector <vector <vector<Pressure> > > >& get4DPressureFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector <vector<Pressure> > > >& attribute)
01573         throw (ConversionException);
01574         
01575 
01576         
01577         
01578         static void toXMLBase64(vector<Speed> data, const string &name, string &buf);
01579         static void toXMLBase64(vector< vector<Speed> > data, const string &name, string &buf);
01580         static void toXMLBase64(vector< vector< vector<Speed> > > data, const string &name, string &buf);
01581         static void toXMLBase64(vector< vector< vector< vector<Speed> > > >data, const string &name, string &buf);
01582         
01583     
01584         static vector<Speed>& get1DSpeedFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector<Speed>& attribute)
01585         throw (ConversionException);
01586         
01587          
01588         static vector <vector<Speed> >& get2DSpeedFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector<Speed> >& attribute)
01589         throw (ConversionException);
01590         
01591         
01592         static vector <vector <vector<Speed> > >& get3DSpeedFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector<Speed> > >& attribute)
01593         throw (ConversionException);
01594         
01595         
01596         static vector <vector <vector <vector<Speed> > > >& get4DSpeedFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector <vector<Speed> > > >& attribute)
01597         throw (ConversionException);
01598         
01599 
01600         
01601         
01602 
01603         
01604         
01605         static void toXMLBase64(vector<Temperature> data, const string &name, string &buf);
01606         static void toXMLBase64(vector< vector<Temperature> > data, const string &name, string &buf);
01607         static void toXMLBase64(vector< vector< vector<Temperature> > > data, const string &name, string &buf);
01608         static void toXMLBase64(vector< vector< vector< vector<Temperature> > > >data, const string &name, string &buf);
01609         
01610     
01611         static vector<Temperature>& get1DTemperatureFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector<Temperature>& attribute)
01612         throw (ConversionException);
01613         
01614          
01615         static vector <vector<Temperature> >& get2DTemperatureFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector<Temperature> >& attribute)
01616         throw (ConversionException);
01617         
01618         
01619         static vector <vector <vector<Temperature> > >& get3DTemperatureFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector<Temperature> > >& attribute)
01620         throw (ConversionException);
01621         
01622         
01623         static vector <vector <vector <vector<Temperature> > > >& get4DTemperatureFromBase64(const string &name, const string &tableName, const string &xmlDoc, vector <vector <vector <vector<Temperature> > > >& attribute)
01624         throw (ConversionException);
01625         
01626 
01627         
01628 private:
01629         string str;             // The string being parsed.
01630         unsigned int pos;               // The current position in the string.
01631         unsigned int beg;               // The beginning and end of a fragement
01632         unsigned int end;               //    in the string.
01633         
01634 public:
01635         static string substring(const string &s, int a, int b);
01636         static string trim(const string &s);
01637 
01638 }; // End class Parser
01639 
01640 inline Parser::Parser(const string &s) : str(s), pos(0), beg(0), end(0) {
01641 }
01642 
01643 inline bool Parser::isStr(const string &s) const {
01644         return str.find(s,pos) == string::npos ? false : true;
01645 }
01646 
01647 } // End namespace asdm
01648 
01649 #endif /* Parser_CLASS */
01650 

Generated on Thu Nov 29 16:46:46 2007 for ASDM C++ Implementation by  doxygen 1.5.1