NCBI C++ ToolKit
|
Search Toolkit Book for CLatLonCountryId
#include <objects/seqfeat/SubSource.hpp>
Public Types | |
enum | EClassificationFlags { fCountryMatch = (1) , fProvinceMatch = (1 << 1) , fWaterMatch = (1 << 2) , fOverlap = (1 << 3) , fCountryClosest = (1 << 4) , fProvinceClosest = (1 << 5) , fWaterClosest = (1 << 6) } |
typedef int | TClassificationFlags |
Bitwise OR of "EClassificationFlags". More... | |
Definition at line 405 of file SubSource.hpp.
Bitwise OR of "EClassificationFlags".
Definition at line 451 of file SubSource.hpp.
Enumerator | |
---|---|
fCountryMatch | |
fProvinceMatch | |
fWaterMatch | |
fOverlap | |
fCountryClosest | |
fProvinceClosest | |
fWaterClosest |
Definition at line 442 of file SubSource.hpp.
CLatLonCountryId::CLatLonCountryId | ( | float | lat, |
float | lon | ||
) |
Definition at line 5507 of file SubSource.cpp.
CLatLonCountryId::~CLatLonCountryId | ( | void | ) |
Definition at line 5575 of file SubSource.cpp.
CLatLonCountryId::TClassificationFlags CLatLonCountryId::Classify | ( | string | country, |
string | province | ||
) |
Definition at line 5516 of file SubSource.cpp.
References NStr::EqualNocase(), fCountryClosest, fCountryMatch, fProvinceClosest, fProvinceMatch, fWaterClosest, fWaterMatch, GetClosestCountry(), GetClosestFull(), GetClosestProvince(), GetClosestWater(), GetGuessCountry(), GetGuessProvince(), GetGuessWater(), NStr::IsBlank(), SetFullGuess(), SetGuessCountry(), and SetGuessProvince().
Referenced by CSubSource::ValidateLatLonCountry().
|
inline |
Definition at line 438 of file SubSource.hpp.
References m_ClaimedDistance.
Referenced by CSubSource::ValidateLatLonCountry().
|
inline |
Definition at line 431 of file SubSource.hpp.
References m_ClaimedFull.
Referenced by CSubSource::ValidateLatLonCountry().
|
inline |
Definition at line 425 of file SubSource.hpp.
References m_ClosestCountry.
Referenced by Classify(), CSubSource::ValidateLatLonCountry(), and CSubSource::x_CalculateLatLonId().
|
inline |
|
inline |
Definition at line 427 of file SubSource.hpp.
References m_ClosestProvince.
Referenced by Classify().
|
inline |
Definition at line 429 of file SubSource.hpp.
References m_ClosestWater.
Referenced by Classify(), CSubSource::ValidateLatLonCountry(), and CSubSource::x_CalculateLatLonId().
|
inline |
Definition at line 415 of file SubSource.hpp.
References m_FullGuess.
|
inline |
Definition at line 417 of file SubSource.hpp.
References m_GuessCountry.
Referenced by Classify(), CSubSource::ValidateLatLonCountry(), and CSubSource::x_CalculateLatLonId().
|
inline |
Definition at line 419 of file SubSource.hpp.
References m_GuessProvince.
Referenced by Classify(), CSubSource::ValidateLatLonCountry(), and CSubSource::x_CalculateLatLonId().
|
inline |
Definition at line 421 of file SubSource.hpp.
References m_GuessWater.
Referenced by Classify(), CSubSource::ValidateLatLonCountry(), and CSubSource::x_CalculateLatLonId().
|
inline |
Definition at line 434 of file SubSource.hpp.
References m_LandDistance.
Referenced by CSubSource::ValidateLatLonCountry().
|
inline |
Definition at line 411 of file SubSource.hpp.
References m_Lat.
|
inline |
Definition at line 413 of file SubSource.hpp.
References m_Lon.
|
inline |
Definition at line 436 of file SubSource.hpp.
References m_WaterDistance.
|
inline |
Definition at line 439 of file SubSource.hpp.
References m_ClaimedDistance.
|
inline |
Definition at line 432 of file SubSource.hpp.
References m_ClaimedFull.
|
inline |
Definition at line 426 of file SubSource.hpp.
References m_ClosestCountry.
|
inline |
Definition at line 424 of file SubSource.hpp.
References m_ClosestFull.
|
inline |
Definition at line 428 of file SubSource.hpp.
References m_ClosestProvince.
|
inline |
Definition at line 430 of file SubSource.hpp.
References m_ClosestWater.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 422 of file SubSource.hpp.
References m_GuessWater.
|
inline |
Definition at line 435 of file SubSource.hpp.
References m_LandDistance.
|
inline |
Definition at line 412 of file SubSource.hpp.
References m_Lat.
|
inline |
Definition at line 414 of file SubSource.hpp.
References m_Lon.
|
inline |
Definition at line 437 of file SubSource.hpp.
References m_WaterDistance.
|
private |
Definition at line 470 of file SubSource.hpp.
Referenced by GetClaimedDistance(), and SetClaimedDistance().
|
private |
Definition at line 467 of file SubSource.hpp.
Referenced by GetClaimedFull(), and SetClaimedFull().
|
private |
Definition at line 464 of file SubSource.hpp.
Referenced by GetClosestCountry(), and SetClosestCountry().
|
private |
Definition at line 463 of file SubSource.hpp.
Referenced by GetClosestFull(), and SetClosestFull().
|
private |
Definition at line 465 of file SubSource.hpp.
Referenced by GetClosestProvince(), and SetClosestProvince().
|
private |
Definition at line 466 of file SubSource.hpp.
Referenced by GetClosestWater(), and SetClosestWater().
|
private |
Definition at line 459 of file SubSource.hpp.
Referenced by GetFullGuess(), and SetFullGuess().
|
private |
Definition at line 460 of file SubSource.hpp.
Referenced by GetGuessCountry(), and SetGuessCountry().
|
private |
Definition at line 461 of file SubSource.hpp.
Referenced by GetGuessProvince(), and SetGuessProvince().
|
private |
Definition at line 462 of file SubSource.hpp.
Referenced by GetGuessWater(), and SetGuessWater().
|
private |
Definition at line 468 of file SubSource.hpp.
Referenced by GetLandDistance(), and SetLandDistance().
|
private |
Definition at line 457 of file SubSource.hpp.
|
private |
Definition at line 458 of file SubSource.hpp.
|
private |
Definition at line 469 of file SubSource.hpp.
Referenced by GetWaterDistance(), and SetWaterDistance().