Inheritance diagram for Address:

If the string representation assigned to an Address is improperly formed, the parse operation will fail. To determine if the parse operation failed, call the member function isValid().
Public Member Functions | |
| virtual | ~Address () |
| Destructor. | |
| bool | isValid () const |
| Returns true if the address is valid. | |
Protected Member Functions | |
| Address () | |
| Default constructor. | |
| Address (const Address &other) | |
| Copy constructor. | |
| Address (const String &str, Node *parent=0) | |
| Constructor that takes an initial string and parent node. | |
| const Address & | operator= (const Address &other) |
| Assignment operator. | |
Protected Attributes | |
| bool | mIsValid |
| Set to true if the parse operation was successful. | |
|
|
Destructor |
|
|
This constructor sets the Address object's string representation to the empty string and sets its parent node to NULL. |
|
|
This constructor performs a deep copy of its argument. The parent node of the new Address object is set to NULL.
|
|
||||||||||||
|
This constructor sets the Address object's string representation to str and sets its parent node to parent. Normally, you call the virtual function parse() immediately after this constructor to create the broken-down representation.
|
|
|
Returns true value if the last parse operation was successful. Returns false if the last parse operation failed (bad address) or the parse() member function was never called.
|
|
|
Performs a deep copy of its argument. The parent node of this Address object is not changed.
|
Copyright © 2001-2007 Hunny Software, Inc. All rights reserved.