So you want to see the address of the pointer? Or some data pointed to by the pointer? In the first case just AppendNum the pointer's address to the buf (do not use iBuf naming convention, btw, since this is not a member variable). In the second case just call some method of the observer class to get the data.
If you want to see the 4 byte address of the pointer do as above.
If you want to see some data which is contained within the class then how can this possibly be a sensible question given the amount of information you have supplied? You might as well ask how you can convert an elephant to a TBuf.
Forum posts: 683
So you want to see the address of the pointer? Or some data pointed to by the pointer? In the first case just AppendNum the pointer's address to the buf (do not use iBuf naming convention, btw, since this is not a member variable). In the second case just call some method of the observer class to get the data.
Forum posts: 159
If you want to see the 4 byte address of the pointer do as above.
If you want to see some data which is contained within the class then how can this possibly be a sensible question given the amount of information you have supplied? You might as well ask how you can convert an elephant to a TBuf.
Forum posts: 683
Forum posts: 1
If you want to get the data buy buf, you should use Hbuf not tbuf,because TBuf will be released when the function finishes.