#include <file_info_impl.h>
|
t_size | add_entry (const char *p_name, t_size p_name_length, const char *p_value, t_size p_value_length) |
|
void | copy_from (const file_info &p_info) |
|
t_size | get_count () const |
|
const char * | get_name (t_size p_index) const |
|
const char * | get_value (t_size p_index, t_size p_value_index) const |
|
t_size | get_value_count (t_size p_index) const |
|
void | insert_value (t_size p_index, t_size p_value_index, const char *p_value, t_size p_value_length) |
|
void | modify_value (t_size p_index, t_size p_value_index, const char *p_value, t_size p_value_length) |
|
void | remove_mask (const bit_array &p_mask) |
|
void | remove_values (t_size p_index, const bit_array &p_mask) |
|
void | reorder (const t_size *p_order) |
|
Definition at line 69 of file file_info_impl.h.
t_size file_info_impl_utils::meta_storage::add_entry |
( |
const char * |
p_name, |
|
|
t_size |
p_name_length, |
|
|
const char * |
p_value, |
|
|
t_size |
p_value_length |
|
) |
| |
Definition at line 155 of file file_info_impl.cpp.
157 meta_entry temp(p_name,p_name_length,p_value,p_value_length);
t_size append_swap_t(t_array &p_array, T &p_item)
void file_info_impl_utils::meta_storage::copy_from |
( |
const file_info & |
p_info | ) |
|
Definition at line 222 of file file_info_impl.cpp.
226 for(meta_index=0;meta_index<meta_count;meta_index++)
228 meta_entry & entry =
m_data[meta_index];
231 entry.m_values.set_size(value_count);
232 for(value_index=0;value_index<value_count;value_index++)
233 entry.m_values[value_index] = p_info.
meta_enum_value(meta_index,value_index);
virtual t_size meta_enum_value_count(t_size p_index) const =0
Retrieves count of values in metadata entry of specified index. The value is always equal to or great...
virtual const char * meta_enum_value(t_size p_index, t_size p_value_number) const =0
Retrieves specified value from specified metadata entry. Return value is a null-terminated UTF-8 enco...
void set_size(t_size p_size)
virtual t_size meta_get_count() const =0
Retrieves count of metadata entries.
virtual const char * meta_enum_name(t_size p_index) const =0
Retrieves the name of metadata entry of specified index. Return value is a null-terminated UTF-8 enco...
t_size file_info_impl_utils::meta_storage::get_count |
( |
| ) |
const |
|
inline |
const char* file_info_impl_utils::meta_storage::get_name |
( |
t_size |
p_index | ) |
const |
|
inline |
const char* file_info_impl_utils::meta_storage::get_value |
( |
t_size |
p_index, |
|
|
t_size |
p_value_index |
|
) |
| const |
|
inline |
t_size file_info_impl_utils::meta_storage::get_value_count |
( |
t_size |
p_index | ) |
const |
|
inline |
void file_info_impl_utils::meta_storage::insert_value |
( |
t_size |
p_index, |
|
|
t_size |
p_value_index, |
|
|
const char * |
p_value, |
|
|
t_size |
p_value_length |
|
) |
| |
void file_info_impl_utils::meta_storage::modify_value |
( |
t_size |
p_index, |
|
|
t_size |
p_value_index, |
|
|
const char * |
p_value, |
|
|
t_size |
p_value_length |
|
) |
| |
void file_info_impl_utils::meta_storage::remove_mask |
( |
const bit_array & |
p_mask | ) |
|
Definition at line 176 of file file_info_impl.cpp.
t_size remove_mask_t(t_array &p_array, const bit_array &p_mask)
void file_info_impl_utils::meta_storage::remove_values |
( |
t_size |
p_index, |
|
|
const bit_array & |
p_mask |
|
) |
| |
void file_info_impl_utils::meta_storage::reorder |
( |
const t_size * |
p_order | ) |
|
|
inline |
Definition at line 207 of file file_info_impl.cpp.
void reorder_t(t_container &p_data, const t_size *p_order, t_size p_count)
The documentation for this class was generated from the following files: