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