17 #include <boost/tuple/tuple.hpp>
18 #include <boost/tuple/tuple_comparison.hpp>
21 namespace makVrv {
namespace oe {
namespace CDB
37 DatasetInfo(
int Dataset,
int ComponentSelector1,
int ComponentSelector2) :
76 void setDatasetInfo(
int Dataset,
int ComponentSelector1,
int ComponentSelector2)
227 std::stringstream format_stream_2;
228 format_stream_2 <<
"[D" << std::setfill(
'0') << std::setw(3) <<
myDataset;
231 format_stream_2 <<
"]";
std::string myStringRepresentation
CDB Dataset string information representation ([Dxxx_Sxxx_Txxx])
Definition: DtCDBDatasetInfo.h:242
DatasetInfo()
CTOR.
Definition: DtCDBDatasetInfo.h:29
int getDataset() const
Return the CDB dataset code (Dxxx)
Definition: DtCDBDatasetInfo.h:86
static const int theDatasetCodeRailRoadNetwork
CDB Rail Road Network Dataset code (202)
Definition: DtCDBDatasets.h:113
Utility class to get CDB dataset information.
static const int theDatasetCodeGsFeature
CDB GS Feature Dataset code (100)
Definition: DtCDBDatasets.h:103
int myComponentSelector1
CDB component selector 1 (Sxxx)
Definition: DtCDBDatasetInfo.h:238
static const int theDatasetCodeHydrographyNetwork
CDB Hydrography Network Dataset code (204)
Definition: DtCDBDatasets.h:117
static const int theDatasetCodePowerLineNetwork
CDB Power Line Network Dataset code (203)
Definition: DtCDBDatasets.h:115
std::string str() const
Return the string representation of this dataset.
Definition: DtCDBDatasetInfo.h:68
void setDataset(int dataset)
Set the CDB dataset code (Dxxx)
Definition: DtCDBDatasetInfo.h:84
DatasetInfo(int Dataset, int ComponentSelector1, int ComponentSelector2)
CTOR.
Definition: DtCDBDatasetInfo.h:37
int getComponentSelector1() const
Return the CDB component selector 1 (Sxxx)
Definition: DtCDBDatasetInfo.h:88
static const int theDatasetCodeGtFeature
CDB GT Feature Dataset code (101)
Definition: DtCDBDatasets.h:105
CDB Dataset information class.
Definition: DtCDBDatasetInfo.h:24
std::string strNoBracket() const
Return the string representation of this dataset.
Definition: DtCDBDatasetInfo.h:70
void setStr()
Get the string representation of this dataset.
Definition: DtCDBDatasetInfo.h:225
int myComponentSelector2
CDB component selector 2 (Txxx)
Definition: DtCDBDatasetInfo.h:240
friend bool operator<(const DatasetInfo &lhs, const DatasetInfo &rhs)
Smaller than operator for the Dataset Info class.
Definition: DtCDBDatasetInfo.h:46
static const int theDatasetCodeGeoPolitical
CDB GeoPolitical Feature Dataset code (102)
Definition: DtCDBDatasets.h:107
void setDatasetInfo(int Dataset, int ComponentSelector1, int ComponentSelector2)
Change the dataset information.
Definition: DtCDBDatasetInfo.h:76
bool isLinearDataset() const
Return true if this dataset is a linear dataset (line features)
Definition: DtCDBDatasetInfo.h:92
int getComponentSelector2() const
Return the CDB component selector 2 (Txxx)
Definition: DtCDBDatasetInfo.h:90
bool isArealDataset() const
Return true if this dataset is an areal dataset.
Definition: DtCDBDatasetInfo.h:164
friend bool operator==(const DatasetInfo &lhs, const DatasetInfo &rhs)
== than operator for the Dataset Info class
Definition: DtCDBDatasetInfo.h:52
static const int theDatasetCodeRoadNetwork
CDB Road Network Dataset code (201)
Definition: DtCDBDatasets.h:111
int myDataset
CDB dataset code (Dxxx)
Definition: DtCDBDatasetInfo.h:233