Lines Matching refs:rep_
66 TiXmlString () : rep_(&nullrep_) in TiXmlString()
71 TiXmlString ( const TiXmlString & copy) : rep_(0) in TiXmlString()
78 TIXML_EXPLICIT TiXmlString ( const char * copy) : rep_(0) in TiXmlString()
85 TIXML_EXPLICIT TiXmlString ( const char * str, size_type len) : rep_(0) in TiXmlString()
128 const char * c_str () const { return rep_->str; } in c_str()
131 const char * data () const { return rep_->str; } in data()
134 size_type length () const { return rep_->size; } in length()
137 size_type size () const { return rep_->size; } in size()
140 bool empty () const { return rep_->size == 0; } in empty()
143 size_type capacity () const { return rep_->capacity; } in capacity()
150 return rep_->str[ index ]; in at()
157 return rep_->str[ index ];
199 Rep* r = rep_; in swap()
200 rep_ = other.rep_; in swap()
201 other.rep_ = r; in swap()
207 void set_size(size_type sz) { rep_->str[ rep_->size = sz ] = '\0'; } in set_size()
208 char* start() const { return rep_->str; } in start()
209 char* finish() const { return rep_->str + rep_->size; } in finish()
228 rep_ = reinterpret_cast<Rep*>( new int[ intsNeeded ] ); in init()
230 rep_->str[ rep_->size = sz ] = '\0'; in init()
231 rep_->capacity = cap; in init()
235 rep_ = &nullrep_; in init()
241 if (rep_ != &nullrep_) in quit()
245 delete [] ( reinterpret_cast<int*>( rep_ ) ); in quit()
249 Rep * rep_; variable