Lines Matching refs:size_type
56 typedef unsigned int size_type;
59 static const size_type npos; // = -1;
77 init( static_cast<size_type>( strlen(copy) ));
82 TiXmlString (const char * str, size_type len)
97 return assign( copy, (size_type)strlen(copy));
110 return append(suffix, static_cast<size_type>( strlen(suffix) ));
133 size_type length () const { return rep_->size; }
136 size_type size () const { return rep_->size; }
142 size_type capacity () const { return rep_->capacity; }
146 const char& at (size_type index) const
153 char& operator [] (size_type index) const
160 size_type find (char lookup) const
166 size_type find (char tofind, size_type offset) const
172 if (*p == tofind) return static_cast< size_type >( p - c_str() );
190 void reserve (size_type cap);
192 TiXmlString& assign (const char* str, size_type len);
194 TiXmlString& append (const char* str, size_type len);
205 void init(size_type sz) { init(sz, sz); }
206 void set_size(size_type sz) { rep_->str[ rep_->size = sz ] = '\0'; }
212 size_type size, capacity;
216 void init(size_type sz, size_type cap)