#include <cmt_string.h>
Public Types |
|
| enum ? | pos_type { npos = -1 } |
Public Methods |
|
| ? | cmt_string () |
| ? | cmt_string (int n) |
| ? | cmt_string (char c) |
| ? | cmt_string (const char *text) |
| ? | cmt_string (const cmt_string &other) |
| ? | ~cmt_string () |
| cmt_string &? | operator= (char c) |
| cmt_string &? | operator= (const char *text) |
| cmt_string &? | operator= (const cmt_string &other) |
| bool? | read (const cmt_string &file_name) |
| bool? | write (const cmt_string &file_name) const |
| void? | write (FILE *f) const |
| void? | write (ostream &output) |
| ? | operator const char * () const |
| const char *? | c_str () const |
| void? | operator+= (char c) |
| void? | operator+= (const char *text) |
| void? | operator+= (const cmt_string &other) |
| cmt_string? | operator+ (char c) const |
| cmt_string? | operator+ (const char *text) const |
| cmt_string? | operator+ (const cmt_string &other) const |
| char? | operator[] (int index) const |
| char &? | operator[] (int index) |
| int? | size () const |
| int? | size () |
| void? | resize (int n) |
| int? | find (char c) const |
| int? | find (const char *text) const |
| int? | find (const cmt_string &other) const |
| int? | find (int pos, char c) const |
| int? | find (int pos, const char *text) const |
| int? | find (int pos, const cmt_string &other) const |
| int? | find_last_of (char c) const |
| int? | find_last_of (const char *text) const |
| int? | find_last_of (const cmt_string &other) const |
| void? | erase (int pos) |
| void? | erase (int pos, int length) |
| void? | replace (const char *pattern, const char *replacement) |
| void? | replace (const cmt_string &pattern, const cmt_string &replacement) |
| void? | replace_all (const char *pattern, const char *replacement) |
| void? | replace_all (const cmt_string &pattern, const cmt_string &replacement) |
| void? | trim () |
| cmt_string? | substr (int pos) const |
| cmt_string? | substr (int pos, int length) const |
| void? | substr (int pos, cmt_string &dest) const |
| void? | substr (int pos, int length, cmt_string &dest) const |
| bool? | operator< (const char *text) const |
| bool? | operator< (const cmt_string &other) const |
| bool? | operator== (const char *text) const |
| bool? | operator== (const cmt_string &other) const |
| bool? | compare_no_case (const char *text) const |
| bool? | compare_no_case (const cmt_string &other) const |
| bool? | operator!= (const char *text) const |
| bool? | operator!= (const cmt_string &other) const |
| bool? | operator> (const char *text) const |
| bool? | operator> (const cmt_string &other) const |
Private Methods |
|
| void? | extend (int n) |
| void? | allocate (int n) |
Private Attributes |
|
| char *? | _data |
| int? | _allocated |
| int? | _size |
|
| ? |
Definition at line 10 of file cmt_string.h. |
|
| ? |
Definition at line 7 of file cmt_string.cxx. References _allocated, _data, and _size. 00008 {
00009 _data = 0;
00010 _allocated = 0;
00011 _size = 0;
00012 }
|
|
| ? |
Definition at line 14 of file cmt_string.cxx. References _allocated, _data, _size, and allocate(). 00015 {
00016 _data = 0;
00017 _allocated = 0;
00018 _size = 0;
00019 allocate (n + 1);
00020 }
|
|
| ? |
Definition at line 22 of file cmt_string.cxx. References _allocated, _data, _size, and allocate(). |
|
| ? |
Definition at line 35 of file cmt_string.cxx. References _allocated, _data, _size, and allocate(). |
|
| ? |
Definition at line 49 of file cmt_string.cxx. References _allocated, _data, _size, and allocate(). |
|
| ? |
Definition at line 65 of file cmt_string.cxx. References _allocated, _data, and _size. |
|
| ? |
Definition at line 665 of file cmt_string.cxx. References _allocated, and _data. Referenced by cmt_string(), extend(), operator=(), read(), and resize(). 00666 {
00667 if ((n + 1) > _allocated)
00668 {
00669 static const int quantum = 128;
00670 int frames = ((n + 1)/quantum) + 1;
00671 _allocated = frames * quantum;
00672
00673 #ifdef CMT_USE_NEW_DELETE
00674 char* new_data = new char [_allocated + 1];
00675 #else
00676 char* new_data = (char*) malloc (_allocated + 1);
00677 #endif
00678
00679
00680 if (_data != 0)
00681 {
00682 strcpy (new_data, _data);
00683
00684 #ifdef CMT_USE_NEW_DELETE
00685 delete[] _data;
00686 #else
00687 free (_data);
00688 #endif
00689
00690 _data = new_data;
00691 }
00692 else
00693 {
00694 new_data[0] = 0;
00695 }
00696
00697 _data = new_data;
00698 }
00699 }
|
|
| ? |
Definition at line 132 of file cmt_string.cxx. References _data. Referenced by Prototyper::begin(), DependencyGenerator::build(), MakeSetupGenerator::build(), DefaultMakefileGenerator::build(), ReadmeGenerator::build(), DocumentGenerator::build(), LibraryGenerator::build(), build_deps(), VSNETGenerator::build_project(), MSDEVGenerator::build_project(), VSNETGenerator::build_workspace(), MSDEVGenerator::build_workspace(), CmtSystem::cd(), CmtGenerator::check(), CmtGenerator::commit(), CmtSystem::compare_and_update_files(), CmtSystem::compare_files(), CmtSystem::create_symlink(), Cmt::do_broadcast(), dos_script_prefix(), CmtSystem::execute(), Pattern::expand(), CmtPathPattern::expand(), CmtSystem::file_size(), Prototyper::filter(), Cmt::install_cleanup_scripts(), Cmt::install_setup_scripts(), Cmt::install_test_cleanup_scripts(), Cmt::install_test_setup_scripts(), CmtSystem::is_version_directory(), Cmt::load(), CmtSystem::mkdir(), Cmt::parser(), CmtGenerator::prepare_output(), CmtSystem::putenv(), read(), PackageSelector::run(), PAwk::run(), CmtSystem::scan_dir(), CmtSystem::split(), CmtSystem::test_directory(), CmtSystem::test_file(), and write(). 00133 {
00134 if (_data == 0) return ("");
00135 else return (_data);
00136 }
|
|
| ? |
|
| ? |
|
||||||||||||
| ? |
Definition at line 345 of file cmt_string.cxx. 00346 {
00347 if ((_data == 0) ||
00348 (pos < 0) ||
00349 (pos >= _size))
00350 {
00351 return;
00352 }
00353 else
00354 {
00355 if ((pos + length) >= _size)
00356 {
00357 _data[pos] = 0;
00358 _size = pos;
00359 }
00360 else if (length > 0)
00361 {
00362 char* d = &_data[pos];
00363 char* s = &_data[pos + length];
00364 for (;;)
00365 {
00366 *d = *s;
00367 if (*s == 0) break;
00368 d++;
00369 s++;
00370 }
00371 _size -= length;
00372 }
00373 }
00374 }
|
|
| ? |
Definition at line 330 of file cmt_string.cxx. Referenced by ApplyPattern::action(), Language::action(), Script::add(), DepsBuilder::add(), add_cmt_paths(), DependencyGenerator::add_line_to_text(), CmtSystem::basename(), MacroBuilder::build(), SetBuilder::build(), ConstituentsMakefileGenerator::build(), ReadmeGenerator::build(), CmtGenerator::check(), CmtGenerator::commit(), CmtSystem::compress_path(), CmtInstallAreaMgr::config(), Cmt::configure_current_package(), CmtSystem::dirname(), Cmt::do_broadcast(), Cmt::do_do(), SyntaxParser::do_parse_line(), SyntaxParser::do_parse_text(), Pattern::expand(), CmtModel::expand(), DependencyFilter::filter(), Packager::filter(), WinDefAwk::filter(), CvsImplementation::filter_dir(), CmtSystem::name(), Parser::parse(), Cmt::parse_arguments(), Parser::parse_line(), Use::reach_package(), CvsImplementation::really_checkout_package(), resolve_value(), resolve_value_for_macros(), ClientCollector::run(), CmtSystem::scan_dir(), PathScanner::scan_package(), PathScanner::scan_path(), use_action_iterator::set(), constituents_action_iterator::set(), Use::show_all(), substr(), suppress_OS_delimiters(), trim(), and Cmt::vector_to_string(). |
|
| ? |
Definition at line 659 of file cmt_string.cxx. References _data, _size, and allocate(). Referenced by operator+=(), replace(), and replace_all(). |
|
||||||||||||
| ? |
Definition at line 292 of file cmt_string.cxx. References _data, and find(). |
|
||||||||||||
| ? |
Definition at line 280 of file cmt_string.cxx. |
|
||||||||||||
| ? |
Definition at line 269 of file cmt_string.cxx. |
|
| ? |
Definition at line 263 of file cmt_string.cxx. References _data, and find(). |
|
| ? |
Definition at line 253 of file cmt_string.cxx. References _data. |
|
|
| ? |
Definition at line 324 of file cmt_string.cxx. References _data, and find_last_of(). 00325 {
00326 const char* text = other._data;
00327 return (find_last_of (text));
00328 }
|
|
| ? |
Definition at line 307 of file cmt_string.cxx. References _data. 00308 {
00309 if (_data == 0) return (npos);
00310 if (text == 0) return (npos);
00311
00312 char* ptr = _data;
00313 char* last = 0;
00314 char* p;
00315 while ((p = strstr (ptr, text)) != 0)
00316 {
00317 last = p;
00318 ptr = p + 1;
00319 }
00320 if (last == 0) return (npos);
00321 return (last - _data);
00322 }
|
|
| ? |
Definition at line 298 of file cmt_string.cxx. References _data. Referenced by CmtSystem::basename(), ReadmeGenerator::build(), VSNETGenerator::build_project(), CmtGenerator::check(), CmtGenerator::commit(), CmtSystem::compress_path(), CmtSystem::dirname(), SyntaxParser::do_parse_line(), DependencyAnalyzer::filter(), find_last_of(), CmtSystem::get_dot_suffix(), CmtSystem::get_suffix(), CmtSystem::name(), Parser::parse_line(), and Use::show_all(). |
|
| ? |
Definition at line 126 of file cmt_string.cxx. References _data. 00127 {
00128 if (_data == 0) return ("");
00129 else return (_data);
00130 }
|
|
| ? |
Definition at line 634 of file cmt_string.cxx. References _data. 00635 {
00636 const char* text = other._data;
00637 const cmt_string& me = *this;
00638
00639 return (me != text);
00640 }
|
|
| ? |
Definition at line 626 of file cmt_string.cxx. 00627 {
00628 const cmt_string& me = *this;
00629
00630 if (!(me == text)) return (true);
00631 return (false);
00632 }
|
|
| ? |
Definition at line 190 of file cmt_string.cxx. References _data. 00191 {
00192 cmt_string result (_data);
00193 result += other;
00194
00195 return (result);
00196 }
|
|
| ? |
Definition at line 182 of file cmt_string.cxx. References _data. 00183 {
00184 cmt_string result (_data);
00185 result += text;
00186
00187 return (result);
00188 }
|
|
| ? |
Definition at line 174 of file cmt_string.cxx. References _data. 00175 {
00176 cmt_string result (_data);
00177 result += c;
00178
00179 return (result);
00180 }
|
|
| ? |
Definition at line 166 of file cmt_string.cxx. References _data. 00167 {
00168 const char* text = other._data;
00169 cmt_string& me = *this;
00170
00171 me += text;
00172 }
|
|
| ? |
Definition at line 155 of file cmt_string.cxx. |
|
| ? |
Definition at line 145 of file cmt_string.cxx. |
|
| ? |
Definition at line 591 of file cmt_string.cxx. References _data. 00592 {
00593 const char* text = other._data;
00594 const cmt_string& me = *this;
00595
00596 return (me < text);
00597 }
|
|
| ? |
Definition at line 582 of file cmt_string.cxx. References _data. |
|
| ? |
Definition at line 118 of file cmt_string.cxx. References _data. 00119 {
00120 const char* text = other._data;
00121 cmt_string& me = *this;
00122 me = text;
00123 return (me);
00124 }
|
|
| ? |
Definition at line 95 of file cmt_string.cxx. References _data, _size, and allocate(). 00096 {
00097 if (text == _data) return (*this);
00098
00099 if (text != 0)
00100 {
00101 _size = strlen (text);
00102 allocate (_size + 1);
00103 strcpy (_data, text);
00104 }
00105 else
00106 {
00107 _size = 0;
00108
00109 if (_data != 0)
00110 {
00111 _data[0] = 0;
00112 }
00113 }
00114
00115 return (*this);
00116 }
|
|
| ? |
Definition at line 83 of file cmt_string.cxx. |
|
| ? |
Definition at line 618 of file cmt_string.cxx. References _data. 00619 {
00620 const char* text = other._data;
00621 const cmt_string& me = *this;
00622
00623 return (me == text);
00624 }
|
|
| ? |
Definition at line 599 of file cmt_string.cxx. 00600 {
00601 if (text == 0)
00602 {
00603 if (_data == 0) return (true);
00604 if (_size == 0) return (true);
00605 return (false);
00606 }
00607 if (_data == 0)
00608 {
00609 if (text == 0) return (true);
00610 if (text[0] == 0) return (true);
00611 return (false);
00612 }
00613
00614 if (strcmp (_data, text) == 0) return (true);
00615 return (false);
00616 }
|
|
| ? |
Definition at line 651 of file cmt_string.cxx. References _data. 00652 {
00653 const char* text = other._data;
00654 const cmt_string& me = *this;
00655
00656 return (me > text);
00657 }
|
|
| ? |
Definition at line 642 of file cmt_string.cxx. References _data. |
|
| ? |
Definition at line 212 of file cmt_string.cxx. |
|
| ? |
Definition at line 198 of file cmt_string.cxx. |
|
| ? |
Definition at line 721 of file cmt_string.cxx. References _data, _size, allocate(), c_str(), and size(). Referenced by add_cmt_paths(), DependencyGenerator::build(), DefaultMakefileGenerator::build(), CmtLock::check(), CvsImplementation::checkout_from_requirements(), CmtSystem::compare_and_update_files(), CmtSystem::compare_files(), CmtInstallAreaMgr::config(), Cmt::configure_current_package(), Fragment::copy(), Project::create(), ProjectFactory::create_project(), Cmt::do_awk(), Cmt::do_build_CMT_pacman(), Cmt::do_filter(), SyntaxParser::do_parse_requirements(), Cmt::do_remove(), Use::reach_package(), CvsImplementation::really_checkout_package(), ClientCollector::run(), FAwk::run(), PathScanner::scan_package(), PathScanner::scan_path(), and Fragment::wincopy(). 00722 {
00723 FILE* f = fopen (file_name.c_str (), "rb");
00724 if (f != NULL)
00725 {
00726 fseek (f, 0L, SEEK_END);
00727 int size = ftell (f);
00728 fseek (f, 0L, SEEK_SET);
00729
00730 allocate (size + 1);
00731
00732 fread (&_data[0], size, 1, f);
00733
00734 _data[size] = 0;
00735 _size = size;
00736
00737 fclose (f);
00738
00739 return (true);
00740 }
00741 else
00742 {
00743 cmt_string& me = *this;
00744 me = "";
00745
00746 return (false);
00747 }
00748 }
|
|
||||||||||||
| ? |
Definition at line 431 of file cmt_string.cxx. References _data, and replace(). 00433 {
00434 const char* p_text = pattern._data;
00435 const char* r_text = replacement._data;
00436 cmt_string& me = *this;
00437
00438 me.replace (p_text, r_text);
00439 }
|
|
||||||||||||
| ? |
Definition at line 377 of file cmt_string.cxx. References _data, _size, extend(), find(), and npos. Referenced by DependencyGenerator::add_line_to_text(), fragment_action_iterator::add_word(), LibraryGenerator::analyze_file(), MacroBuilder::build(), VSNETGenerator::build_project(), Cmt::configure_current_cmtpath(), Cmt::do_broadcast(), DependencyAnalyzer::filter(), TriggerAnalyzer::filter(), SequenceRunner::filter(), CmtMountFilterParser::filter(), Prototyper::filter(), CvsImplementation::find_matching_version(), Use::get_cmtpath_and_offset(), CvsImplementation::get_version(), header_file_action(), Use::reduce_path(), replace(), resolve_value_for_macros(), PackageSelector::run(), PAwk::run(), CvsImplementation::show_cvs_infos(), and suppress_OS_delimiters(). 00378 {
00379 if (_data == 0) return;
00380 if (_size == 0) return;
00381 if (pattern == 0) return;
00382
00383 if (replacement == 0) replacement = "";
00384
00385 if (pattern[0] == 0) return;
00386
00387 int pattern_length = strlen (pattern);
00388
00389 int replacement_length = strlen (replacement);
00390 int delta = replacement_length - pattern_length;
00391
00392 int pos;
00393
00394 if ((pos = find (pattern)) != npos)
00395 {
00396 if (delta > 0)
00397 {
00398 // string will be enlarged
00399 extend (delta);
00400
00401 char* src = &_data[_size];
00402 char* dest = src + delta;
00403 while (src > &_data[pos])
00404 {
00405 *dest = *src;
00406 src--;
00407 dest--;
00408 }
00409 }
00410 else if (delta < 0)
00411 {
00412 // string will be shortened
00413
00414 char* src = &_data[pos + pattern_length];
00415 char* dest = src + delta;
00416 while (*src != 0)
00417 {
00418 *dest = *src;
00419 src++;
00420 dest++;
00421 }
00422 *dest = *src;
00423 }
00424
00425 strncpy (&_data[pos], replacement, replacement_length);
00426
00427 _size += delta;
00428 }
00429 }
|
|
||||||||||||
| ? |
Definition at line 495 of file cmt_string.cxx. References _data, and replace_all(). 00497 {
00498 const char* p_text = pattern._data;
00499 const char* r_text = replacement._data;
00500 cmt_string& me = *this;
00501
00502 me.replace_all (p_text, r_text);
00503 }
|
|
||||||||||||
| ? |
Definition at line 441 of file cmt_string.cxx. References _data, _size, extend(), find(), and npos. Referenced by CmtSystem::add_cmt_path(), DepsBuilder::add_includes(), Symbol::all_set(), MacroBuilder::build(), PathBuilder::build(), SetBuilder::build(), LibraryGenerator::build(), CvsImplementation::checkout(), PathBuilder::clean(), CmtSystem::compress_path(), CmtInstallAreaMgr::config(), Fragment::copy(), DependencyAnalyzer::DependencyAnalyzer(), CmtModel::display(), Cmt::do_broadcast(), Cmt::do_build_CMT_pacman(), SyntaxParser::do_parse_line(), Pattern::expand(), CmtPathPattern::expand(), DependencyAnalyzer::filter(), CmtModel::filter(), Packager::filter(), WinDefAwk::filter(), CmtGenerator::filter_path(), find_path_entry(), CvsImplementation::get_version(), CmtSystem::mkdir(), CmtSystem::now(), Symbol::print(), Cmt::print_context(), CmtSystem::reduce_file_separators(), replace_all(), resolve_value(), resolve_value_for_macros(), DepsBuilder::run(), ApplyPattern::show(), CvsImplementation::show_cvs_infos(), suppress_OS_delimiters(), and Fragment::wincopy(). 00442 {
00443 if (_data == 0) return;
00444 if (_size == 0) return;
00445 if (pattern == 0) return;
00446
00447 if (replacement == 0) replacement = "";
00448
00449 if (pattern[0] == 0) return;
00450
00451 int pattern_length = strlen (pattern);
00452
00453 int replacement_length = strlen (replacement);
00454 int delta = replacement_length - pattern_length;
00455
00456 int pos = 0;
00457
00458 while ((pos = find (pos, pattern)) != npos)
00459 {
00460 if (delta > 0)
00461 {
00462 // string will be enlarged
00463 extend (delta);
00464
00465 char* src = &_data[_size];
00466 char* dest = src + delta;
00467 while (src > &_data[pos])
00468 {
00469 *dest = *src;
00470 src--;
00471 dest--;
00472 }
00473 }
00474 else if (delta < 0)
00475 {
00476 // string will be shortened
00477
00478 char* src = &_data[pos + pattern_length];
00479 char* dest = src + delta;
00480 while (*src != 0)
00481 {
00482 *dest = *src;
00483 src++;
00484 dest++;
00485 }
00486 *dest = *src;
00487 }
00488
00489 strncpy (&_data[pos], replacement, replacement_length);
00490 pos += replacement_length;
00491 _size += delta;
00492 }
00493 }
|
|
| ? |
Definition at line 239 of file cmt_string.cxx. References allocate(). 00240 {
00241 allocate (n + 1);
00242 }
|
|
| ? |
Definition at line 233 of file cmt_string.cxx. References _data. 00234 {
00235 if (_data == 0) return (0);
00236 return (_size);
00237 }
|
|
| ? |
Definition at line 227 of file cmt_string.cxx. References _data. Referenced by CmtSystem::absolute_path(), Symbol::action(), ApplyPattern::action(), Tag::add(), DepsBuilder::add(), CmtSystem::add_cmt_path(), cmt_regexp::begin(), Cmt::build_makefile(), Cmt::build_prefix(), CmtSystem::cd(), Use::change_path(), cmt_char_list_node::cmt_char_list_node(), CmtSystem::compress_path(), DependencyAnalyzer::DependencyAnalyzer(), Cmt::do_broadcast(), Cmt::do_do(), SyntaxParser::do_parse_line(), SyntaxParser::do_parse_text(), SyntaxParser::do_parse_words(), get_best_form(), CmtSystem::has_device(), CmtSystem::is_version_directory(), cmt_or_node::match(), cmt_and_node::match(), cmt_end_node::match(), cmt_one_more::match(), cmt_zero_more::match(), cmt_zero_one::match(), cmt_any_node::match(), cmt_not_char_list_node::match(), cmt_char_list_node::match(), cmt_string_node::match(), cmt_char_node::match(), Parser::parse(), Cmt::parse_arguments(), Parser::parse_line(), Cmt::parser(), Symbol::print(), Include::print_filters(), VSNETGenerator::pseudoGUID(), Use::reach_package(), read(), cmt_and_node::reduce(), ClientCollector::run(), Awk::run(), CmtSystem::scan_dir(), cmt_regexp::set(), Symbol::show_macro(), CmtSystem::split(), trim(), Cmt::use_cmt(), Cmt::use_special_requirements(), Symbol::value_is_reflexive(), and write(). 00228 {
00229 if (_data == 0) return (0);
00230 return (_size);
00231 }
|
|
||||||||||||||||
| ? |
Definition at line 567 of file cmt_string.cxx. |
|
||||||||||||
| ? |
Definition at line 553 of file cmt_string.cxx. |
|
||||||||||||
| ? |
Definition at line 537 of file cmt_string.cxx. References _data, _size, and erase(). 00538 {
00539 if ((_data == 0) ||
00540 (pos < 0) ||
00541 (pos >= _size))
00542 {
00543 return ((cmt_string) "");
00544 }
00545 else
00546 {
00547 cmt_string result (&_data[pos]);
00548 result.erase (length);
00549 return (result);
00550 }
00551 }
|
|
| ? |
Definition at line 523 of file cmt_string.cxx. Referenced by ApplyPattern::action(), Language::action(), Tag::add(), DepsBuilder::add_includes(), DependencyGenerator::add_line_to_text(), CmtSystem::basename(), ConstituentsMakefileGenerator::build(), ReadmeGenerator::build(), VSNETGenerator::build_project(), CmtSystem::compress_path(), Cmt::do_broadcast(), Cmt::do_do(), SyntaxParser::do_parse_text(), dos_script_prefix(), CmtModel::expand(), DependencyAnalyzer::filter(), TriggerAnalyzer::filter(), SequenceRunner::filter(), CmtSystem::get_dot_suffix(), CmtSystem::get_suffix(), cmt_string_node::match(), Parser::parse(), Cmt::parse_arguments(), resolve_value(), resolve_value_for_macros(), ClientCollector::run(), Awk::run(), constituents_action_iterator::set(), Libmap::set_used(), suppress_OS_delimiters(), and Fragment::wincopy(). |
|
| ? |
Definition at line 505 of file cmt_string.cxx. References _data, _size, erase(), and size(). Referenced by DependencyAnalyzer::filter(). 00506 {
00507 if (size () == 0) return;
00508
00509 int i = 0;
00510
00511 i = strspn (_data, " \t");
00512 if (i > 0) erase (0, i);
00513
00514 for (i = _size - 1; i >= 0; i--)
00515 {
00516 char c = _data[i];
00517 if ((c == ' ') || (c == '\t')) continue;
00518 erase (i + 1);
00519 break;
00520 }
00521 }
|
|
| ? |
Definition at line 770 of file cmt_string.cxx. References _data, and size(). |
|
| ? |
Definition at line 765 of file cmt_string.cxx. References _data, and size(). |
|
| ? |
Definition at line 750 of file cmt_string.cxx. References c_str(). Referenced by DependencyGenerator::build(), DefaultMakefileGenerator::build(), CvsImplementation::checkout_package(), ProjectPatcher::commit(), Fragment::copy(), Cmt::do_filter(), Cmt::do_set_version(), SequenceRunner::end(), SequenceRunner::filter(), install_library(), CmtLock::lock(), CvsImplementation::really_checkout_package(), and Fragment::wincopy(). |
|
| ? |
Definition at line 105 of file cmt_string.h. Referenced by allocate(), cmt_string(), and ~cmt_string(). |
|
| ? |
Definition at line 104 of file cmt_string.h. Referenced by allocate(), c_str(), cmt_string(), erase(), extend(), find(), find_last_of(), operator const char *(), operator!=(), operator+(), operator+=(), operator<(), operator=(), operator==(), operator>(), operator[](), read(), replace(), replace_all(), size(), substr(), trim(), write(), and ~cmt_string(). |
|
| ? |
Definition at line 106 of file cmt_string.h. Referenced by cmt_string(), erase(), extend(), find(), operator+=(), operator=(), operator==(), operator[](), read(), replace(), replace_all(), substr(), trim(), and ~cmt_string(). |