Go to the source code of this file.
Defines | |
#define | LOAD(f_load, sg_type) |
#define | SAVE(f_write, sg_type) |
#define LOAD | ( | f_load, | ||
sg_type | ||||
) |
template<> void CStringFeatures<sg_type>::load(CFile* loader) \ { \ SG_INFO( "loading...\n"); \ \ SG_SET_LOCALE_C; \ SGString<sg_type>* strs; \ int32_t num_str; \ int32_t max_len; \ loader->f_load(strs, num_str, max_len); \ set_features(strs, num_str, max_len); \ SG_RESET_LOCALE; \ }
Definition at line 1914 of file StringFeatures.cpp.
#define SAVE | ( | f_write, | ||
sg_type | ||||
) |
template<> void CStringFeatures<sg_type>::save(CFile* writer) \ { \ if (m_subset_stack->has_subsets()) \ SG_ERROR("save() is not possible on subset"); \ SG_SET_LOCALE_C; \ ASSERT(writer); \ writer->f_write(features, num_vectors); \ SG_RESET_LOCALE; \ }
Definition at line 1943 of file StringFeatures.cpp.