Class: Exiv2::Tag
- Inherits:
-
Object
- Object
- Exiv2::Tag
- Defined in:
- ext/exif.cpp
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.count ⇒ Object
257 258 259 260 261 262 263 264 265 266 |
# File 'ext/exif.cpp', line 257 static VALUE (VALUE self) { __BEGIN return INT2NUM( iterate_tag_collection(Exiv2::ExifTags::ifdTagList(), false) + iterate_tag_collection(Exiv2::ExifTags::exifTagList(), false) + iterate_tag_collection(Exiv2::ExifTags::iopTagList(), false) + iterate_tag_collection(Exiv2::ExifTags::gpsTagList(), false) ); __END } |
.each ⇒ Object
245 246 247 248 249 250 251 252 253 |
# File 'ext/exif.cpp', line 245 static VALUE (VALUE self) { __BEGIN iterate_tag_collection(Exiv2::ExifTags::ifdTagList()); iterate_tag_collection(Exiv2::ExifTags::exifTagList()); iterate_tag_collection(Exiv2::ExifTags::iopTagList()); iterate_tag_collection(Exiv2::ExifTags::gpsTagList()); return self; __END } |
Instance Method Details
#desc ⇒ Object
287 288 289 290 291 292 293 294 |
# File 'ext/exif.cpp', line 287
static VALUE exiv2_tag_desc(VALUE self) {
__BEGIN
Exiv2::TagInfo* tag;
Data_Get_Struct(self, Exiv2::TagInfo, tag);
return tag->desc_ ? rb_str_new2(tag->desc_) : Qnil;
__END
}
|
#ifd ⇒ Object
305 306 307 308 309 310 311 312 |
# File 'ext/exif.cpp', line 305
static VALUE exiv2_tag_ifd(VALUE self) {
__BEGIN
Exiv2::TagInfo* tag;
Data_Get_Struct(self, Exiv2::TagInfo, tag);
return rb_str_new2(Exiv2::ExifTags::ifdName(tag->ifdId_));
__END
}
|
#name ⇒ Object
269 270 271 272 273 274 275 276 |
# File 'ext/exif.cpp', line 269
static VALUE exiv2_tag_name(VALUE self) {
__BEGIN
Exiv2::TagInfo* tag;
Data_Get_Struct(self, Exiv2::TagInfo, tag);
return tag->name_ ? rb_str_new2(tag->name_) : Qnil;
__END
}
|
#section ⇒ Object
296 297 298 299 300 301 302 303 |
# File 'ext/exif.cpp', line 296
static VALUE exiv2_tag_section(VALUE self) {
__BEGIN
Exiv2::TagInfo* tag;
Data_Get_Struct(self, Exiv2::TagInfo, tag);
return rb_str_new2(Exiv2::ExifTags::sectionName(tag->sectionId_));
__END
}
|
#title ⇒ Object
278 279 280 281 282 283 284 285 |
# File 'ext/exif.cpp', line 278
static VALUE exiv2_tag_title(VALUE self) {
__BEGIN
Exiv2::TagInfo* tag;
Data_Get_Struct(self, Exiv2::TagInfo, tag);
return tag->title_ ? rb_str_new2(tag->title_) : Qnil;
__END
}
|