BIND 10 #2053: LabelSequence::toText() and operator<<

BIND 10 Development do-not-reply at isc.org
Wed Jun 27 22:36:58 UTC 2012


#2053: LabelSequence::toText() and operator<<
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:  UnAssigned
  jinmei                             |                Status:  new
                       Type:  task   |             Milestone:
                   Priority:         |            Resolution:
  medium                             |             Sensitive:  0
                  Component:         |           Sub-Project:  DNS
  libdns++                           |  Estimated Difficulty:  0
                   Keywords:         |           Total Hours:  0
            Defect Severity:  N/A    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
Description changed by jinmei:

Old description:

> This is not absolutely necessary, but for debugging purposes it would
> be helpful if we support toText() for LabelSequence and corresponding
> operator<<.  The implementation should be easy as we already have them
> for Name (we need to share as much code as possible with the Name
> class).

New description:

 This is not absolutely necessary, but for debugging purposes it would
 be helpful if we support toText() for LabelSequence and corresponding
 operator<<.  The implementation should be easy as we already have them
 for Name (we need to share as much code as possible with the Name
 class).

 I'd also suggest deprecating the getName() method and use the
 new toText() method in the test (which is the only place where
 getName() is currently used and only for calling its toText()).
 getName() won't be well undefined when we support construction of
 a label sequence from serialized data, and using its toText() is not
 really good to dump the content of the label sequence anyway because
 the sequence may have been stripped and may not be absolute.

--

-- 
Ticket URL: <https://bind10.isc.org/ticket/2053#comment:1>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list