The MemBlob object. More...
#include <storage.h>
The MemBlob object.
This object, unsurprisingly, represents a blob of memory.
the allocation method
Referenced by alloc_mblob(), creat_rev_corpus_idx(), init_mblob(), mfree(), read_file_into_blob(), and write_file_from_blob().
int changed |
needs update? (not yet in use)
Referenced by alloc_mblob(), creat_rev_corpus_idx(), init_mblob(), read_file_into_blob(), and write_file_from_blob().
int* data |
pointer to the data
Referenced by alloc_mblob(), cl_alg2cpos(), cl_cpos2alg(), collect_matching_ids(), comp_component_state(), creat_freqs(), creat_rev_corpus(), creat_rev_corpus_idx(), creat_sort_lexicon(), create_component(), get_alg_attribute(), get_bounds_of_nth_struc(), get_id_at_position(), get_id_frequency(), get_id_from_sortidx(), get_id_of_string(), get_id_string_len(), get_num_of_struc(), get_positions(), get_string_of_id(), get_struc_attribute(), init_mblob(), load_component(), mfree(), OpenPositionStream(), read_file_into_blob(), scompare(), structure_value(), validate_revcorp(), and write_file_from_blob().
char* fname |
Referenced by alloc_mblob(), creat_rev_corpus_idx(), init_mblob(), and mfree().
off_t fsize |
Referenced by alloc_mblob(), creat_rev_corpus_idx(), and init_mblob().
int item_size |
the size of one item
Referenced by alloc_mblob(), creat_rev_corpus_idx(), creat_sort_lexicon(), init_mblob(), and read_file_into_blob().
unsigned int nr_items |
the number of items represented
Referenced by alloc_mblob(), creat_rev_corpus_idx(), creat_sort_lexicon(), init_mblob(), load_component(), and read_file_into_blob().
off_t offset |
Referenced by alloc_mblob(), creat_rev_corpus_idx(), and init_mblob().
size_t size |
the number of allocated bytes
Referenced by alloc_mblob(), creat_freqs(), creat_rev_corpus_idx(), creat_sort_lexicon(), init_mblob(), mfree(), read_file_into_blob(), and write_file_from_blob().
int writeable |
can we write to the data?
Referenced by alloc_mblob(), creat_rev_corpus_idx(), init_mblob(), and read_file_into_blob().