H225.cxx Operator Overloading
Status: Alpha
Brought to you by:
aunitt
My question is about some programmation:
class H225_TransportAddress : public PASN_Choice from file h225.h & h225.cxx
If I have an H225_TransportAddress object, for example aaa is such an object.
How can I use the operator overloading
operator H225_TransportAddress_ipAddress &() const;
to get the H225_TransportAddress_ipAddress member of my "aaa" object ?
I tried many times like this
H225_TransportAddress aaa;
....
H225_TransportAddress_ipAddress bbb;
bbb = (H225_TransportAddress_ipAddress &) aaa
but it seems to be... wrong.
Perhaps that someone can help me because I never studied such overloading ...
Thank You Very Much