Commit 03d6e089 authored by Manuel Grizonnet's avatar Manuel Grizonnet

STYLE: patch for various spelling errors in OssimPlugins

parent 1db6dbfe
......@@ -159,7 +159,7 @@ bool AlosPalsarData::saveState(ossimKeywordlist& kwl,
if (datafiledesc != NULL)
{
kwl.add(prefix, "pulse_repetition_frequency", signalData->get_pulse_repetition_frequency(), true);
// slant range to 1st data sample in metres
// slant range to 1st data sample in meters
kwl.add(prefix, "slant_range_to_1st_data_sample", signalData->get_slant_range_to_1st_data_sample(), true);
}
else
......
......@@ -61,7 +61,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
AlosPalsarRecord* Instanciate()
AlosPalsarRecord* Instantiate()
{
return new AlosPalsarDataFileDescriptor();
};
......
......@@ -61,7 +61,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
AlosPalsarRecord* Instanciate()
AlosPalsarRecord* Instantiate()
{
return new AlosPalsarDataSetSummary();
};
......
......@@ -61,7 +61,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
AlosPalsarRecord* Instanciate()
AlosPalsarRecord* Instantiate()
{
return new AlosPalsarFacilityData();
};
......
......@@ -62,7 +62,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
AlosPalsarRecord* Instanciate()
AlosPalsarRecord* Instantiate()
{
return new AlosPalsarFileDescriptor();
};
......@@ -165,7 +165,7 @@ public:
return _seq_loc;
};
/**
* @brief Sequence number lenght
* @brief Sequence number length
*/
int get_seq_len() const
{
......@@ -200,7 +200,7 @@ public:
return _rec_len;
};
/**
* @brief Record lenght location
* @brief Record length location
*/
int get_rlen_loc() const
{
......@@ -623,7 +623,7 @@ protected:
*/
int _seq_loc;
/**
* @brief Sequence number lenght
* @brief Sequence number length
*/
int _seq_len;
/**
......@@ -643,7 +643,7 @@ protected:
*/
std::string _rec_len;
/**
* @brief Record lenght location
* @brief Record length location
*/
int _rlen_loc;
/**
......
......@@ -73,7 +73,7 @@ std::istream& operator>>(std::istream& is, AlosPalsarLeader& data)
}
else
{
AlosPalsarRecord* record = factory.Instanciate(header.get_rec_seq());
AlosPalsarRecord* record = factory.Instantiate(header.get_rec_seq());
if (record != NULL)
{
record->Read(is);
......
......@@ -61,7 +61,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
AlosPalsarRecord* Instanciate()
AlosPalsarRecord* Instantiate()
{
return new AlosPalsarMapProjectionData();
};
......
......@@ -62,7 +62,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
AlosPalsarRecord* Instanciate()
AlosPalsarRecord* Instantiate()
{
return new AlosPalsarPlatformPositionData();
};
......
......@@ -61,7 +61,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
AlosPalsarRecord* Instanciate()
AlosPalsarRecord* Instantiate()
{
return new AlosPalsarRadiometricData();
};
......
......@@ -45,7 +45,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
virtual AlosPalsarRecord* Instanciate() = 0;
virtual AlosPalsarRecord* Instantiate() = 0;
/**
* @brief This function is able to create a new instance of the class initialised with the data of the calling instance
......
......@@ -27,7 +27,7 @@ AlosPalsarRecordFactory::~AlosPalsarRecordFactory()
{
}
AlosPalsarRecord* AlosPalsarRecordFactory::Instanciate(int id)
AlosPalsarRecord* AlosPalsarRecordFactory::Instantiate(int id)
{
if (traceDebug())
{
......@@ -40,7 +40,7 @@ AlosPalsarRecord* AlosPalsarRecordFactory::Instanciate(int id)
}
else
{
return record->Instanciate();
return record->Instantiate();
}
}
......
......@@ -45,10 +45,10 @@ public:
void RegisterRecord(int id, AlosPalsarRecord * record);
/**
* @brief Instanciate a new Record
* @param id Id of the Record we want to instanciate
* @brief Instantiate a new Record
* @param id Id of the Record we want to instantiate
*/
AlosPalsarRecord* Instanciate(int id) ;
AlosPalsarRecord* Instantiate(int id) ;
protected:
/**
......
......@@ -61,7 +61,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
AlosPalsarRecord* Instanciate()
AlosPalsarRecord* Instantiate()
{
return new AlosPalsarSignalData();
};
......
......@@ -58,7 +58,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
EnvisatAsarRecord* Instanciate()
EnvisatAsarRecord* Instantiate()
{
return new AntennaElevationPatterns();
};
......
......@@ -57,7 +57,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
EnvisatAsarRecord* Instanciate()
EnvisatAsarRecord* Instantiate()
{
return new ChirpParameters();
};
......
......@@ -57,7 +57,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
EnvisatAsarRecord* Instanciate()
EnvisatAsarRecord* Instantiate()
{
return new DopplerCentroidParameters();
};
......
......@@ -57,12 +57,12 @@ std::istream& operator>>(std::istream& is, EnvisatAsarData& data)
data.ClearRecords();
// read the first record (MPH)
EnvisatAsarRecord* mph_record = factory.Instanciate("MPH");
EnvisatAsarRecord* mph_record = factory.Instantiate("MPH");
mph_record->Read(is);
data._records.push_back(mph_record);
// read the second record (sph) and update it with the mph (number of dsd)
EnvisatAsarRecord* sph_record = factory.Instanciate("SPH");
EnvisatAsarRecord* sph_record = factory.Instantiate("SPH");
((sph*)sph_record)->update_sph_from_mph(*((mph *)mph_record));
sph_record->Read(is);
data._records.push_back(sph_record);
......@@ -70,7 +70,7 @@ std::istream& operator>>(std::istream& is, EnvisatAsarData& data)
std::vector<dsd> dsd_vector = ((sph*)sph_record)->get_dsd_vector();
// For each dsd, check if present in the file and in the record factory.
// If true, instanciate it and add to the EnvisatAsarRecord list.
// If true, instantiate it and add to the EnvisatAsarRecord list.
std::vector<dsd>::iterator it = dsd_vector.begin();
while(it != dsd_vector.end())
{
......@@ -80,7 +80,7 @@ std::istream& operator>>(std::istream& is, EnvisatAsarData& data)
{
for (int i = 0; i<(it->get_num_dsr()); i++)
{
EnvisatAsarRecord* record = factory.Instanciate(str);
EnvisatAsarRecord* record = factory.Instantiate(str);
if (record != NULL)
{
is.seekg((std::streampos)(it->get_ds_offset())+ (std::streampos)(i*(it->get_dsr_size())));
......
......@@ -48,7 +48,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
virtual EnvisatAsarRecord* Instanciate() =0;
virtual EnvisatAsarRecord* Instantiate() =0;
/**
* @brief This function is able to create a new instance of the class initialised with the data of the calling instance
......
......@@ -21,7 +21,7 @@ EnvisatAsarRecordFactory::~EnvisatAsarRecordFactory()
{
}
EnvisatAsarRecord* EnvisatAsarRecordFactory::Instanciate(std::string id)
EnvisatAsarRecord* EnvisatAsarRecordFactory::Instantiate(std::string id)
{
EnvisatAsarRecord* record = _availableRecords[id];
if(record == NULL)
......@@ -30,7 +30,7 @@ EnvisatAsarRecord* EnvisatAsarRecordFactory::Instanciate(std::string id)
}
else
{
return record->Instanciate();
return record->Instantiate();
}
}
......
......@@ -44,9 +44,9 @@ public:
/**
* @brief Instanciatse a new Record
* @param id Id of the Record we want to instanciate
* @param id Id of the Record we want to instantiate
*/
EnvisatAsarRecord* Instanciate(std::string id);
EnvisatAsarRecord* Instantiate(std::string id);
protected:
/**
......
......@@ -57,7 +57,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
EnvisatAsarRecord* Instanciate()
EnvisatAsarRecord* Instantiate()
{
return new GeolocationGrid();
};
......
......@@ -58,7 +58,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
EnvisatAsarRecord* Instanciate()
EnvisatAsarRecord* Instantiate()
{
return new MainProcessingParameters();
};
......
......@@ -57,7 +57,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
EnvisatAsarRecord* Instanciate()
EnvisatAsarRecord* Instantiate()
{
return new SQ_ADSR();
};
......
......@@ -58,7 +58,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
EnvisatAsarRecord* Instanciate()
EnvisatAsarRecord* Instantiate()
{
return new SRGRConversionParameters();
};
......
......@@ -57,7 +57,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
EnvisatAsarRecord* Instanciate()
EnvisatAsarRecord* Instantiate()
{
return new dsd();
};
......
......@@ -59,7 +59,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
EnvisatAsarRecord* Instanciate()
EnvisatAsarRecord* Instantiate()
{
return new mph();
};
......
......@@ -64,7 +64,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
EnvisatAsarRecord* Instanciate()
EnvisatAsarRecord* Instantiate()
{
return new sph();
};
......
......@@ -60,7 +60,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
RadarSatRecord* Instanciate()
RadarSatRecord* Instantiate()
{
return new AttitudeData();
};
......
......@@ -59,7 +59,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
RadarSatRecord* Instanciate()
RadarSatRecord* Instantiate()
{
return new DataHistogramSignalData();
};
......
......@@ -61,7 +61,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
RadarSatRecord* Instanciate()
RadarSatRecord* Instantiate()
{
return new DataQuality();
};
......
......@@ -58,7 +58,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
RadarSatRecord* Instanciate()
RadarSatRecord* Instantiate()
{
return new DataSetSummary();
};
......
......@@ -58,7 +58,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
RadarSatRecord* Instanciate()
RadarSatRecord* Instantiate()
{
return new FileDescriptor();
};
......@@ -152,7 +152,7 @@ public:
return _seq_loc;
};
/**
* @brief Sequence number lenght
* @brief Sequence number length
*/
int get_seq_len()
{
......@@ -187,7 +187,7 @@ public:
return _rec_len;
};
/**
* @brief Record lenght location
* @brief Record length location
*/
int get_rlen_loc()
{
......@@ -464,7 +464,7 @@ protected:
*/
int _seq_loc;
/**
* @brief Sequence number lenght
* @brief Sequence number length
*/
int _seq_len;
/**
......@@ -484,7 +484,7 @@ protected:
*/
std::string _rec_len;
/**
* @brief Record lenght location
* @brief Record length location
*/
int _rlen_loc;
/**
......
......@@ -63,7 +63,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
RadarSatRecord* Instanciate()
RadarSatRecord* Instantiate()
{
return new ProcessingParameters();
};
......
......@@ -60,7 +60,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
RadarSatRecord* Instanciate()
RadarSatRecord* Instantiate()
{
return new RadiometricCompensationData();
};
......
......@@ -57,7 +57,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
RadarSatRecord* Instanciate()
RadarSatRecord* Instantiate()
{
return new RadiometricData();
};
......
......@@ -76,7 +76,7 @@ std::istream& operator>>(std::istream& is, Data& data)
{
if (header.get_rec_seq() == 1)
{ // ImageOptionsFileDescriptor
RadarSatRecord* record = factory.Instanciate(header.get_rec_seq());
RadarSatRecord* record = factory.Instantiate(header.get_rec_seq());
if (record != NULL)
{
record->Read(is);
......@@ -98,7 +98,7 @@ std::istream& operator>>(std::istream& is, Data& data)
else if ((header.get_rec_seq() == 2))
{ // First line ProcessedDataRecord
lineLength = header.get_length() ;
RadarSatRecord* record = factory.Instanciate(2);
RadarSatRecord* record = factory.Instantiate(2);
if (record != NULL)
{
record->Read(is);
......@@ -117,7 +117,7 @@ std::istream& operator>>(std::istream& is, Data& data)
}
else if ((header.get_rec_seq() == (1+nbLin)))
{ // Last line ProcessedDataRecord
RadarSatRecord* record = factory.Instanciate(2);
RadarSatRecord* record = factory.Instantiate(2);
if (record != NULL)
{
record->Read(is);
......
......@@ -61,7 +61,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
RadarSatRecord* Instanciate()
RadarSatRecord* Instantiate()
{
return new ImageOptionsFileDescriptor();
};
......
......@@ -59,7 +59,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
RadarSatRecord* Instanciate()
RadarSatRecord* Instantiate()
{
return new ProcessedDataRecord();
};
......
......@@ -62,7 +62,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
RadarSatRecord* Instanciate()
RadarSatRecord* Instantiate()
{
return new DataHistogramProcessedData();
};
......
......@@ -81,7 +81,7 @@ std::istream& operator>>(std::istream& is, Leader& data)
RadarSatRecord* record;
if ( (header.get_rec_seq() == 2) && (header.get_length() == 8960) )
{
record = factory.Instanciate(header.get_rec_seq() + 5); // case of SCN, SCW
record = factory.Instantiate(header.get_rec_seq() + 5); // case of SCN, SCW
if (record != NULL)
{
record->Read(is);
......@@ -96,7 +96,7 @@ std::istream& operator>>(std::istream& is, Leader& data)
}
else
{
record = factory.Instanciate(header.get_rec_seq());
record = factory.Instantiate(header.get_rec_seq());
if (record != NULL)
{
record->Read(is);
......
......@@ -59,7 +59,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
RadarSatRecord* Instanciate()
RadarSatRecord* Instantiate()
{
return new PlatformPositionData();
};
......
......@@ -44,7 +44,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
virtual RadarSatRecord* Instanciate() =0;
virtual RadarSatRecord* Instantiate() =0;
/**
* @brief This function is able to create a new instance of the class initialised with the data of the calling instance
......
......@@ -21,7 +21,7 @@ RadarSatRecordFactory::~RadarSatRecordFactory()
{
}
RadarSatRecord* RadarSatRecordFactory::Instanciate(int id)
RadarSatRecord* RadarSatRecordFactory::Instantiate(int id)
{
RadarSatRecord* record = _availableRecords[id];
if(record == NULL)
......@@ -30,7 +30,7 @@ RadarSatRecord* RadarSatRecordFactory::Instanciate(int id)
}
else
{
return record->Instanciate();
return record->Instantiate();
}
}
......
......@@ -43,10 +43,10 @@ public:
void RegisterRecord(int id, RadarSatRecord * record);
/**
* @brief Instanciates a new Record
* @param id Id of the Record we want to instanciate
* @brief Instantiates a new Record
* @param id Id of the Record we want to instantiate
*/
RadarSatRecord* Instanciate(int id) ;
RadarSatRecord* Instantiate(int id) ;
protected:
/**
......
......@@ -73,7 +73,7 @@ std::istream& operator>>(std::istream& is, Trailer& data)
}
else
{
RadarSatRecord* record = factory.Instanciate(header.get_rec_seq());
RadarSatRecord* record = factory.Instantiate(header.get_rec_seq());
if (record != NULL)
{
record->Read(is);
......
......@@ -58,7 +58,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
RadarSatRecord* Instanciate()
RadarSatRecord* Instantiate()
{
return new FilePointerRecord();
};
......
......@@ -58,7 +58,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
RadarSatRecord* Instanciate()
RadarSatRecord* Instantiate()
{
return new TextRecord();
};
......
......@@ -58,7 +58,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
RadarSatRecord* Instanciate()
RadarSatRecord* Instantiate()
{
return new VolumeDescriptorRecord();
};
......
......@@ -60,7 +60,7 @@ std::istream& operator>>(std::istream& is, VolumeDir& data)
}
else
{
RadarSatRecord* record = factory.Instanciate(header.get_rec_seq());
RadarSatRecord* record = factory.Instantiate(header.get_rec_seq());
if (record != NULL)
{
record->Read(is);
......
......@@ -61,7 +61,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
ErsSarRecord* Instanciate()
ErsSarRecord* Instantiate()
{
return new ErsSarDataSetSummary();
};
......
......@@ -61,7 +61,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
ErsSarRecord* Instanciate()
ErsSarRecord* Instantiate()
{
return new ErsSarFacilityData();
};
......
......@@ -62,7 +62,7 @@ public:
/**
* @brief This function is able to create a new instance of the class
*/
ErsSarRecord* Instanciate()
ErsSarRecord* Instantiate()
{
return new ErsSarFileDescriptor();
};
......@@ -156,7 +156,7 @@ public:
return _seq_loc;
};
/**
* @brief Sequence number lenght
* @brief Sequence number length
*/
int get_seq_len() const