Go to the source code of this file.
Defines | |
#define | GET_VECTOR(fname, conv, sg_type) |
#define | GET_VECTOR_AND_LABEL(fname, conv, sg_type) |
#define | GET_STRING(fname, conv, sg_type) |
#define | GET_STRING_AND_LABEL(fname, conv, sg_type) |
#define | GET_SPARSE_VECTOR(fname, conv, sg_type) |
#define | GET_SPARSE_VECTOR_AND_LABEL(fname, conv, sg_type) |
#define GET_SPARSE_VECTOR | ( | fname, | ||
conv, | ||||
sg_type | ||||
) |
\ void CStreamingFile::get_sparse_vector \ (SGSparseVectorEntry<sg_type>*& vector, int32_t& num_feat) \ { \ vector=NULL; \ num_feat=-1; \ SG_ERROR("Read function not supported by the feature type!"); \ }
Definition at line 129 of file StreamingFile.cpp.
#define GET_SPARSE_VECTOR_AND_LABEL | ( | fname, | ||
conv, | ||||
sg_type | ||||
) |
\ void CStreamingFile::get_sparse_vector_and_label \ (SGSparseVectorEntry<sg_type>*& vector, \ int32_t& num_feat, \ float64_t& label) \ { \ vector=NULL; \ num_feat=-1; \ SG_ERROR("Read function not supported by the feature type!"); \ }
Definition at line 155 of file StreamingFile.cpp.
#define GET_STRING | ( | fname, | ||
conv, | ||||
sg_type | ||||
) |
void CStreamingFile::get_string \ (sg_type*& vector, int32_t& num_feat) \ { \ vector=NULL; \ num_feat=-1; \ SG_ERROR("Read function not supported by the feature type!"); \ }
Definition at line 79 of file StreamingFile.cpp.
#define GET_STRING_AND_LABEL | ( | fname, | ||
conv, | ||||
sg_type | ||||
) |
void CStreamingFile::get_string_and_label \ (sg_type*& vector, int32_t& num_feat, float64_t& label) \ { \ vector=NULL; \ num_feat=-1; \ SG_ERROR("Read function not supported by the feature type!"); \ }
Definition at line 104 of file StreamingFile.cpp.
#define GET_VECTOR | ( | fname, | ||
conv, | ||||
sg_type | ||||
) |
void CStreamingFile::get_vector \ (sg_type*& vector, int32_t& num_feat) \ { \ vector=NULL; \ num_feat=-1; \ SG_ERROR("Read function not supported by the feature type!"); \ }
Dummy implementations of all the functions declared in the header file.
The derived class should reimplement whichever functions it needs to use.
If this is not done, the default implementation sets the vector to NULL and number of features to -1.
Definition at line 29 of file StreamingFile.cpp.
#define GET_VECTOR_AND_LABEL | ( | fname, | ||
conv, | ||||
sg_type | ||||
) |
void CStreamingFile::get_vector_and_label \ (sg_type*& vector, int32_t& num_feat, float64_t& label) \ { \ vector=NULL; \ num_feat=-1; \ SG_ERROR("Read function not supported by the feature type!"); \ }
Definition at line 54 of file StreamingFile.cpp.