Module: GDAL::EnvironmentMethods
- Included in:
- GDAL
- Defined in:
- lib/gdal/environment_methods.rb
Overview
Getters and setters for the GDAL environment.
Instance Method Summary collapse
-
#cache_max ⇒ Integer
The maximum cache memory.
-
#cache_max64 ⇒ Integer
The maximum cache memory.
- #cache_max64=(bytes) ⇒ Object
- #cache_max=(bytes) ⇒ Object
-
#cache_used ⇒ Integer
The amount of used cache memory.
-
#cache_used64 ⇒ Integer
The amount of used cache memory.
- #dump_open_datasets(file_path) ⇒ Object
- #flush_cache_block ⇒ Boolean
Instance Method Details
#cache_max ⇒ Integer
7 8 9 |
# File 'lib/gdal/environment_methods.rb', line 7 def cache_max FFI::GDAL::GDAL.GDALGetCacheMax end |
#cache_max64 ⇒ Integer
17 18 19 |
# File 'lib/gdal/environment_methods.rb', line 17 def cache_max64 FFI::GDAL::GDAL.GDALGetCacheMax64 end |
#cache_max64=(bytes) ⇒ Object
22 23 24 |
# File 'lib/gdal/environment_methods.rb', line 22 def cache_max64=(bytes) FFI::GDAL::GDAL.GDALSetCacheMax64(bytes) end |
#cache_max=(bytes) ⇒ Object
12 13 14 |
# File 'lib/gdal/environment_methods.rb', line 12 def cache_max=(bytes) FFI::GDAL::GDAL.GDALSetCacheMax(bytes) end |
#cache_used ⇒ Integer
27 28 29 |
# File 'lib/gdal/environment_methods.rb', line 27 def cache_used FFI::GDAL::GDAL.GDALGetCacheUsed end |
#cache_used64 ⇒ Integer
32 33 34 |
# File 'lib/gdal/environment_methods.rb', line 32 def cache_used64 FFI::GDAL::GDAL.GDALGetCacheUsed64 end |