 |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
|
Go to the documentation of this file. 1 #ifndef SDK_S57_DICTIONARY_INTERFACE_H_
11 #define SDK_S57_DICTIONARY_INTERFACE_H_
57 L
"Feature object attributes";
60 L
"National language attributes";
63 L
"Spatial and meta object attributes";
68 typedef sdk::SDKRefPtr<IS57Attribute> S57AttributeSP;
94 typedef sdk::SDKRefPtr<IS57AttributesIterator> S57AttributesIteratorSP;
103 virtual SDKResult SDK_CALLTYPE
Next(S57AttributeSP& attribute)
throw() = 0;
140 L
"Geo object classes";
143 L
"Meta object classes";
146 L
"Collection object classes";
149 L
"Cartographic object classes";
154 typedef sdk::SDKRefPtr<IS57FOClass> S57FOClassSP;
180 S57AttributesIteratorSP& iterator)
const throw() = 0;
184 S57AttributesIteratorSP& iterator)
const throw() = 0;
188 S57AttributesIteratorSP& iterator)
const throw() = 0;
193 S57AttributesIteratorSP& iterator)
const throw() = 0;
204 typedef sdk::SDKRefPtr<IS57FOClassesIterator> S57FOClassesIteratorSP;
214 virtual SDKResult SDK_CALLTYPE
Next(S57FOClassSP& fo_class)
throw() = 0;
225 typedef sdk::SDKRefPtr<IS57Dictionary> S57DictionarySP;
235 S57AttributeSP& attribute)
const throw() = 0;
240 S57AttributeSP& attribute)
const throw() = 0;
245 S57AttributesIteratorSP& iterator)
const throw() = 0;
249 S57FOClassSP& fo_class)
const throw() = 0;
254 S57FOClassSP& fo_class)
const throw() = 0;
259 S57FOClassesIteratorSP& iterator)
const throw() = 0;
270 #endif // SDK_S57_DICTIONARY_INTERFACE_H_
SDKString S57FOClassName
S-57 feature object class name.
Definition: s57_dictionary_interface.h:117
SDKString S57FOClassType
S-57 feature object class type. See predefined values.
Definition: s57_dictionary_interface.h:123
static const S57AttributeType kS57AttributeType_List
List.
Definition: s57_dictionary_interface.h:42
SDKString S57AttributeClass
S-57 attribute class. See predefined values.
Definition: s57_dictionary_interface.h:34
virtual SDKResult SDK_CALLTYPE GetFOClassByAcronym(const S57FOClassAcronym &acronym, S57FOClassSP &fo_class) const =0
Returns IS57FOClass by the feature object class acronym, if exists.
SDKUInt32 S57FOClassCode
S-57 feature object class code.
Definition: s57_dictionary_interface.h:115
static const wchar_t kS57FOClassType_CollectionObjectClasses[]
Collection object classes.
Definition: s57_dictionary_interface.h:145
virtual SDKResult SDK_CALLTYPE Reset()=0
Resets the iterator state.
static const S57FOClassPrimitives kS57FOClassPrimitive_Line
Line primitive.
Definition: s57_dictionary_interface.h:131
S-57 feature object classes iterator.
Definition: s57_dictionary_interface.h:208
A single S-57 attribute item.
Definition: s57_dictionary_interface.h:71
S-57 attributes iterator.
Definition: s57_dictionary_interface.h:97
static const S57AttributeType kS57AttributeType_FreeText
Free text.
Definition: s57_dictionary_interface.h:50
SDKUInt32 S57FOClassPrimitives
S-57 feature object class primitives.
Definition: s57_dictionary_interface.h:121
SDKString S57FOClassAcronym
S-57 feature object class acronym.
Definition: s57_dictionary_interface.h:119
static const wchar_t kS57AttrClass_NationalLanguageAttributes[]
National language attributes class.
Definition: s57_dictionary_interface.h:59
SDKUInt32 S57AttributeCode
S-57 attribute code.
Definition: s57_dictionary_interface.h:26
virtual SDKResult SDK_CALLTYPE GetCode(S57AttributeCode &code) const =0
Returns the code of an S-57 attribute.
virtual SDKResult SDK_CALLTYPE GetAcronym(S57FOClassAcronym &acronym) const =0
Returns the acronym of the S-57 feature object.
Interfaces wrapper with reference count control.
static const wchar_t kS57FOClassType_MetaObjectClasses[]
Meta object classes.
Definition: s57_dictionary_interface.h:142
virtual SDKResult SDK_CALLTYPE GetClass(S57AttributeClass &cls) const =0
Returns the class of an S-57 attribute.
static const wchar_t kS57FOClassType_CartographicObjectClasses[]
Cartographic object classes.
Definition: s57_dictionary_interface.h:148
static const S57FOClassPrimitives kS57FOClassPrimitive_Point
Point primitive.
Definition: s57_dictionary_interface.h:129
virtual SDKResult SDK_CALLTYPE GetCode(S57FOClassCode &code) const =0
Returns the code of the S-57 feature object class.
virtual SDKResult SDK_CALLTYPE GetFOClassByCode(const S57FOClassCode &code, S57FOClassSP &fo_class) const =0
Returns IS57FOClass by the feature object class code, if exists.
static const S57AttributeType kS57AttributeType_Integer
Integer.
Definition: s57_dictionary_interface.h:46
static const wchar_t kS57AttrClass_SpatialAndMetaObjectAttributes[]
Spatial and meta object attributes.
Definition: s57_dictionary_interface.h:62
static const S57AttributeType kS57AttributeType_Float
Float.
Definition: s57_dictionary_interface.h:44
virtual SDKResult SDK_CALLTYPE GetPrimitives(S57FOClassPrimitives &type) const =0
Returns possible primitives of the S-57 feature object class.
static const S57AttributeType kS57AttributeType_CodedString
Coded string.
Definition: s57_dictionary_interface.h:48
Wrappers and helper functions for SDKString.
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
virtual SDKResult SDK_CALLTYPE Next(S57AttributeSP &attribute)=0
Returns the next S-57 attribute.
virtual SDKResult SDK_CALLTYPE GetAttributeByCode(const S57AttributeCode &code, S57AttributeSP &attribute) const =0
Returns IS57Attribute by the attribute code, if exists.
SDKString S57AttributeAcronym
S-57 attribute acronym.
Definition: s57_dictionary_interface.h:30
virtual SDKResult SDK_CALLTYPE GetAcronym(S57AttributeAcronym &acronym) const =0
Returns the acronym of an S-57 attribute.
virtual SDKResult SDK_CALLTYPE GetType(S57AttributeType &type) const =0
Returns the type of an S-57 attribute.
virtual SDKResult SDK_CALLTYPE Reset()=0
Resets the iterator state.
virtual SDKResult SDK_CALLTYPE GetAttributesSubsetA(S57AttributesIteratorSP &iterator) const =0
Returns an iterator to interate all S-57 attributes from the subset A for the feature object class.
virtual SDKResult SDK_CALLTYPE Next(S57FOClassSP &fo_class)=0
Returns the next S-57 attribute.
static const S57FOClassPrimitives kS57FOClassPrimitive_Area
Area primitive.
Definition: s57_dictionary_interface.h:133
Common base SDK interfaces.
virtual SDKResult SDK_CALLTYPE GetName(S57FOClassName &name) const =0
Returns the name of the S-57 feature object class.
SDKString S57AttributeName
S-57 attribute name.
Definition: s57_dictionary_interface.h:28
virtual SDKResult SDK_CALLTYPE GetAttributeByAcronym(const S57AttributeAcronym &acronym, S57AttributeSP &attribute) const =0
Returns IS57Attribute by the attribute acronym, if exists.
Single S-57 feature object class.
Definition: s57_dictionary_interface.h:158
virtual SDKResult SDK_CALLTYPE GetAttributesSubsetABC(S57AttributesIteratorSP &iterator) const =0
Returns an iterator to iterate all S-57 attributes from subsets A/B/C for the feature object class.
virtual SDKResult SDK_CALLTYPE GetFOClassesIterator(S57FOClassesIteratorSP &iterator) const =0
Returns the S-57 FO class iterator to iterate all registered FO classes.
wchar_t S57AttributeType
S-57 attribute type. See predefined values.
Definition: s57_dictionary_interface.h:32
static const wchar_t kS57FOClassType_GeoObjectClasses[]
Geo object classes.
Definition: s57_dictionary_interface.h:139
virtual SDKResult SDK_CALLTYPE GetType(S57AttributeClass &cls) const =0
Returns the type of the S-57 feature object class.
virtual SDKResult SDK_CALLTYPE GetName(S57AttributeName &name) const =0
Returns the name of an S-57 attribute.
virtual SDKResult SDK_CALLTYPE GetAttributesSubsetB(S57AttributesIteratorSP &iterator) const =0
Returns an iterator to iterate all S-57 attributes from the subset B for the feature object class.
Set of interfaces for S-57 dictionary description.
Definition: s57_dictionary_interface.h:229
virtual SDKResult SDK_CALLTYPE GetAttributesIterator(S57AttributesIteratorSP &iterator) const =0
Returns the S-57 attributes iterator to iterate all registered attributes.
virtual SDKResult SDK_CALLTYPE GetAttributesSubsetC(S57AttributesIteratorSP &iterator) const =0
Returns an iterator to iterate all S-57 attributes from the subset C for the feature object class.
static const S57AttributeType kS57AttributeType_Enumerated
Enumerated.
Definition: s57_dictionary_interface.h:40
static const wchar_t kS57AttrClass_FeatureObjectAttributes[]
Feature object attributes class.
Definition: s57_dictionary_interface.h:56