class DcmDict::Dictionary::BaseDictionary
Base class for specific dictionary
Public Class Methods
Source
# File lib/dcm_dict/dictionary/base_dictionary.rb, line 29 def initialize @semaphore = Mutex.new map_source_data freeze_source_data end
Public Instance Methods
Source
# File lib/dcm_dict/dictionary/base_dictionary.rb, line 41 def feature_at(key, field) @semaphore.synchronize { atomic_feature_at(key, field) } end
Find single feature identified by field
for record indexed by key
Source
# File lib/dcm_dict/dictionary/base_dictionary.rb, line 36 def record_at(key) @semaphore.synchronize { atomic_record_at(key) } end
Find record data using key