Lines Matching defs:rhs
206 CTag &CTag::operator=(const CTag &rhs)
208 if (&rhs != this) {
209 m_uType = rhs.m_uType;
210 m_uName = rhs.m_uName;
211 m_Name = rhs.m_Name;
213 if (rhs.IsStr()) {
214 wxString *p = new wxString(rhs.GetStr());
217 } else if (rhs.IsInt()) {
218 m_uVal = rhs.GetInt();
219 } else if (rhs.IsFloat()) {
220 m_fVal = rhs.GetFloat();
221 } else if (rhs.IsHash()) {
222 CMD4Hash *p = new CMD4Hash(rhs.GetHash());
225 } else if (rhs.IsBlob()) {
226 m_nSize = rhs.GetBlobSize();
227 unsigned char *p = new unsigned char[rhs.GetBlobSize()];
230 memcpy(m_pData, rhs.GetBlob(), rhs.GetBlobSize());
231 } else if (rhs.IsBsob()) {
232 m_nSize = rhs.GetBsobSize();
233 unsigned char *p = new unsigned char[rhs.GetBsobSize()];
236 memcpy(m_pData, rhs.GetBsob(), rhs.GetBsobSize());