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
263 264 265 266 267 268 269 270 271 272 |
# File 'ext/exif.cpp', line 263 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
251 252 253 254 255 256 257 258 259 |
# File 'ext/exif.cpp', line 251 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
293 294 295 296 297 298 299 300 |
# File 'ext/exif.cpp', line 293
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
311 312 313 314 315 316 317 318 |
# File 'ext/exif.cpp', line 311
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
275 276 277 278 279 280 281 282 |
# File 'ext/exif.cpp', line 275
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
302 303 304 305 306 307 308 309 |
# File 'ext/exif.cpp', line 302
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
284 285 286 287 288 289 290 291 |
# File 'ext/exif.cpp', line 284
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
}
|