BTObject Class ReferenceBase class for an object in a bencoded string. More...
Inheritance diagram for BTObject:
Detailed DescriptionBase class for an object in a bencoded string.File ......... BTObject.h Published .... 2005-06-14 Author ....... grymse@alhem.net
Definition at line 31 of file BTObject.h. Constructor & Destructor Documentation
Member Function Documentation
Implemented in BTDictionary, BTInteger, BTList, and BTString.
Reimplemented in BTDictionary, BTInteger, BTList, and BTString. Definition at line 38 of file BTObject.h. Referenced by BTString::Show(), and BTInteger::Show().
Definition at line 44 of file BTObject.h. References m_parent. Referenced by BTList::Show(), and BTDictionary::Show(). 00044 { 00045 return m_parent; 00046 }
Definition at line 50 of file BTObject.h. Referenced by BTString::Show(). 00050 { 00051 std::string str; 00052 for (size_t i = 0; i < s.size(); i++) 00053 { 00054 if (isprint(s[i])) 00055 str += s[i]; 00056 else 00057 str += "."; 00058 } 00059 return str; 00060 }
Definition at line 66 of file BTObject.h. References m_len. Referenced by BTDictionary::Show(). 00066 { return m_len; }
Member Data Documentation
The documentation for this class was generated from the following file: |