1 #ifndef OSMSCOUT_IMPORT_RAWCOASTLINE_H 2 #define OSMSCOUT_IMPORT_RAWCOASTLINE_H 39 static const uint8_t isArea = 1 << 0;
43 mutable uint8_t flags=0;
44 std::vector<OSMId> nodes;
49 RawCoastline() =
default;
58 return (flags & isArea)!=0;
61 inline const std::vector<OSMId>&
GetNodes()
const 77 void SetType(
bool area);
78 void SetNodes(
const std::vector<OSMId>& nodes);
80 void Read(FileScanner& scanner);
81 void Write(FileWriter& writer)
const;
int64_t OSMId
Definition: OSMScoutTypes.h:34
const std::vector< OSMId > & GetNodes() const
Definition: RawCoastline.h:61
#define CLASS_FINAL
Definition: Compiler.h:26
size_t GetNodeCount() const
Definition: RawCoastline.h:66
OSMId GetId() const
Definition: RawCoastline.h:51
std::shared_ptr< RawCoastline > RawCoastlineRef
Definition: RawCoastline.h:84
OSMId GetNodeId(size_t idx) const
Definition: RawCoastline.h:71
bool IsArea() const
Definition: RawCoastline.h:56