59 Scanner():Values(),Filenames(),Mappings() {}
74 void AddTag(
Tag const & t );
81 void AddSkipTag(
Tag const & t );
90 void Print( std::ostream & os )
const;
95 bool IsKey(
const char * filename )
const;
108 ValuesType GetValues(
Tag const &t)
const;
118 bool operator()(
const char* s1,
const char* s2)
const
121 return strcmp(s1, s2) < 0;
133 TagToValue
const & GetMapping(
const char *filename)
const;
137 const char *GetFilenameFromTagToValue(
Tag const &t,
const char *valueref)
const;
145 TagToValue
const & GetMappingFromTagToValue(
Tag const &t,
const char *value)
const;
152 const char* GetValue(
const char *filename,
Tag const &t)
const;
158 void ProcessPublicTag(
StringFilter &sf,
const char *filename);
161 typedef std::set< Tag > TagsType;
162 typedef std::set< PrivateTag > PrivateTagsType;
163 std::set< Tag > Tags;
164 std::set< PrivateTag > PrivateTags;
165 std::set< Tag > SkipTags;
170 MappingType Mappings;
181 #if defined(SWIGPYTHON) || defined(SWIGCSHARP) || defined(SWIGJAVA)
191 const Tag& GetCurrentTag()
const {
return it->first; }
192 const char *GetCurrentValue()
const {
return it->second; }
193 void Start() { it = Internal.begin(); }
194 bool IsAtEnd()
const {
return it == Internal.end(); }
195 void Next() { ++it; }
198 Scanner::TagToValue::const_iterator it;
209 #endif //GDCMSCANNER_H