Example #1
0
void StringImp::MakeCharSet(int(*iscsetfn)(int))
{
  char* StrSet_ = ::MakeCharSet(iscsetfn);
  Assignment(StrSet_, SafeStrLen(StrSet_));
  EraseString(StrSet_);
}
Example #2
0
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);
}
Example #4
0
void Anitomy::RemoveIgnoredStrings(string_t& filename) const {
  for (const auto& str : options_.ignored_strings) {
    EraseString(filename, str);
  }
}
Example #5
0
void ParamSet::AddString(const std::string &name, const std::string *values,
                         int nValues) {
    EraseString(name);
    ADD_PARAM_TYPE(std::string, strings);
}
Example #6
0
void ParamSet::AddString(const std::string &name,
                         std::unique_ptr<std::string[]> values, int nValues) {
    EraseString(name);
    ADD_PARAM_TYPE(std::string, strings);
}
Example #7
0
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);
  }
}