#ifndef COMETGeomId_hxx_seen #define COMETGeomId_hxx_seen #include "IGeometryId.hxx" namespace COMET { /// Define the geometry identifiers for elements in the COMET geometry. namespace GeomId { /// Return the geometry id indication None. IGeometryId Empty(); /// Get the sub-system type. int GetSubSystem(IGeometryId id); }; }; namespace { // Provide access to the protected setter and getter methods. class ISettableGeometryId: public COMET::IGeometryId { public: ISettableGeometryId() {} explicit ISettableGeometryId(const COMET::IGeometryId& id) : COMET::IGeometryId(id) {} void SetField(int v, int m, int b) { COMET::IGeometryId::SetFieldSafe(v,m,b); } int GetField(int m, int b) { return COMET::IGeometryId::GetFieldSafe(m,b); } }; } #endif