void StringImp::MakeCharSet(int(*iscsetfn)(int)) { char* StrSet_ = ::MakeCharSet(iscsetfn); Assignment(StrSet_, SafeStrLen(StrSet_)); EraseString(StrSet_); }
void StringImp::MakeCharSet(const char* Src_, size_t RunLen_) { char* StrSet_ = ::MakeCharSet(Src_, RunLen_); Assignment(StrSet_, SafeStrLen(StrSet_)); EraseString(StrSet_); }
void ParamSet::AddString(const string &name, const string *data, int nItems) { EraseString(name); ADD_PARAM_TYPE(string, strings); }
void Anitomy::RemoveIgnoredStrings(string_t& filename) const { for (const auto& str : options_.ignored_strings) { EraseString(filename, str); } }
void ParamSet::AddString(const std::string &name, const std::string *values, int nValues) { EraseString(name); ADD_PARAM_TYPE(std::string, strings); }
void ParamSet::AddString(const std::string &name, std::unique_ptr<std::string[]> values, int nValues) { EraseString(name); ADD_PARAM_TYPE(std::string, strings); }
void Anitomy::RemoveIgnoredStrings(string_t& filename) const { for (std::vector<string_t>::const_iterator str = options_.ignored_strings.begin(); str != options_.ignored_strings.end(); ++str) { EraseString(filename, *str); } }