src/common/tag.h
changeset 3208 1a754d09c4ba
parent 3193 72be532011a3
child 4502 07d34c0d8d18
equal deleted inserted replaced
3193:72be532011a3 3208:1a754d09c4ba
    59    * Read the content of the tag from the provided tag buffer.
    59    * Read the content of the tag from the provided tag buffer.
    60    * DO NOT attempt to read more bytes than you wrote with
    60    * DO NOT attempt to read more bytes than you wrote with
    61    * Tag::Serialize.
    61    * Tag::Serialize.
    62    */
    62    */
    63   virtual void Deserialize (TagBuffer i) = 0;
    63   virtual void Deserialize (TagBuffer i) = 0;
       
    64 
       
    65   /**
       
    66    * \param os the stream to print to
       
    67    *
       
    68    * This method is typically invoked from the Packet::PrintTags method
       
    69    */
       
    70   virtual void Print (std::ostream &os) const = 0;
    64 };
    71 };
    65 
    72 
    66 } // namespace ns3
    73 } // namespace ns3
    67 
    74 
    68 #endif /* TAG_H */
    75 #endif /* TAG_H */