15 : string(s), slen(l), do_free(free_s) { }
19 : string(v.vector), slen(v.vlen), do_free(false) { }
23 slen(len), do_free(free_s)
25 string=SG_CALLOC(T, len);
30 : string(orig.string), slen(orig.slen), do_free(orig.do_free) { }
35 if (other.
slen != slen)
38 for (
int i = 0; i < slen; i++)
40 if (other.
string[i] !=
string[i])
virtual void get_vector(bool *&vector, int32_t &len)
A File access base class.
all of classes and functions are contained in the shogun namespace
bool operator==(const SGString &other) const
virtual void set_vector(const bool *vector, int32_t len)