/// prior to calling this method.
///
/// Output buffer will be stored in buffer_out_.
- /// The buffer_out_ should be cleared before writting to the buffer
+ /// The buffer_out_ should be cleared before writing to the buffer
/// in the derived classes.
///
/// @note This is a pure virtual method and must be implemented in
/// For all unsupported messages the derived classes must return
/// "UNKNOWN".
///
- /// @return Ponter to "const" string containing DHCP message name.
+ /// @return Pointer to "const" string containing DHCP message name.
/// The implementations in the derived classes should statically
/// allocate returned strings and the caller must not release the
/// returned pointer.
///
/// @note It is a matter of naming convention. Conceptually, the server
/// processes a stream of packets, with some packets belonging to given
- /// classes. From that perspective, this method adds a packet to specifed
+ /// classes. From that perspective, this method adds a packet to specified
/// class. Implementation wise, it looks the opposite - the class name
/// is added to the packet. Perhaps the most appropriate name for this
/// method would be associateWithClass()? But that seems overly long,
///
/// @warning This public member is accessed by derived
/// classes directly. One of such derived classes is
- /// @ref perfdhcp::PerfPkt6. The impact on derived clasess'
+ /// @ref perfdhcp::PerfPkt6. The impact on derived classes'
/// behavior must be taken into consideration before making
/// changes to this member such as access scope restriction or
/// data format change etc.
/// @param hw_addr_src a bitmask that specifies hardware address source
HWAddrPtr getMAC(uint32_t hw_addr_src);
- /// @brief Virtual desctructor.
+ /// @brief Virtual destructor.
///
/// There is nothing to clean up here, but since there are virtual methods,
/// we define virtual destructor to ensure that derived classes will have
///
/// @warning This public member is accessed by derived
/// classes directly. One of such derived classes is
- /// @ref perfdhcp::PerfPkt6. The impact on derived clasess'
+ /// @ref perfdhcp::PerfPkt6. The impact on derived classes'
/// behavior must be taken into consideration before making
/// changes to this member such as access scope restriction or
/// data format change etc.
///
/// @warning This protected member is accessed by derived
/// classes directly. One of such derived classes is
- /// @ref perfdhcp::PerfPkt6. The impact on derived clasess'
+ /// @ref perfdhcp::PerfPkt6. The impact on derived classes'
/// behavior must be taken into consideration before making
/// changes to this member such as access scope restriction or
/// data format change etc.
/// @param hw_addr pointer to actual hardware address.
/// @param [out] storage pointer to a class member to be modified.
///
- /// @trow isc::OutOfRange if invalid HW address specified.
+ /// @throw isc::OutOfRange if invalid HW address specified.
virtual void setHWAddrMember(const uint8_t htype, const uint8_t hlen,
const std::vector<uint8_t>& hw_addr,
HWAddrPtr& storage);
/// the pointer will be reset, so there is no sense to initialize this
/// object to a non-null value. However, for the assignment testing it is
/// recommended to initialize the option_copy to point to an option having
-/// different parameters to verify that all parameters have been overriden
+/// different parameters to verify that all parameters have been overridden
/// by the assignment operation.
template<typename OptionType>
void testCopyAssign(const OpType& op_type,
// **************************** Option ***************************
-/// @brief Test deep copy of option encapsualated by Option type.
+/// @brief Test deep copy of option encapsulated by Option type.
///
/// @param op_type Copy operation type.
void testOption(const OpType& op_type) {
// **************************** OptionInt ***************************
-/// @brief Test deep copy of option encapsualated by OptionInt type.
+/// @brief Test deep copy of option encapsulated by OptionInt type.
///
/// @param op_type Copy operation type.
void testOptionInt(const OpType& op_type) {
// ************************* OptionIntArray ***************************
-/// @brief Test deep copy of option encapsualated by OptionIntArray type.
+/// @brief Test deep copy of option encapsulated by OptionIntArray type.
///
/// @param op_type Copy operation type.
void testOptionIntArray(const OpType& op_type) {
// ************************* Option4AddrLst ***************************
-/// @brief Test deep copy of option encapsualated by Option4AddrLst or
+/// @brief Test deep copy of option encapsulated by Option4AddrLst or
/// Option6AddrLst type.
///
/// @param op_type Copy operation type.
EXPECT_EQ(option_address.toText(), addrs_copy[0].toText());
}
-/// @brief Test deep copy of option encapsualated by Option4AddrLst type.
+/// @brief Test deep copy of option encapsulated by Option4AddrLst type.
///
/// @param op_type Copy operation type.
void testOption4AddrLst(const OpType& op_type) {
// ************************* Option6AddrLst ***************************
-/// @brief Test deep copy of option encapsualated by Option6AddrLst type.
+/// @brief Test deep copy of option encapsulated by Option6AddrLst type.
///
/// @param op_type Copy operation type.
void testOption6AddrLst(const OpType& op_type) {
// *************************** Option6IA ***************************
-/// @brief Test deep copy of option encapsualated by Option6IA type.
+/// @brief Test deep copy of option encapsulated by Option6IA type.
///
/// @param op_type Copy operation type.
void testOption6IA(const OpType& op_type) {
// *************************** Option6IAAddr ***************************
-/// @brief Test deep copy of option encapsualated by Option6IAAddr type.
+/// @brief Test deep copy of option encapsulated by Option6IAAddr type.
///
/// @param op_type Copy operation type.
void testOption6IAAddr(const OpType& op_type) {
// *************************** Option6IAPrefix ***************************
-/// @brief Test deep copy of option encapsualated by Option6IAPrefix type.
+/// @brief Test deep copy of option encapsulated by Option6IAPrefix type.
///
/// @param op_type Copy operation type.
void testOption6IAPrefix(const OpType& op_type) {
// *************************** Option6StatusCode ***************************
-/// @brief Test deep copy of option encapsualated by Option6StatusCode type.
+/// @brief Test deep copy of option encapsulated by Option6StatusCode type.
///
/// @param op_type Copy operation type.
void testOption6StatusCode(const OpType& op_type) {
// *************************** OptionString ***************************
-/// @brief Test deep copy of option encapsualated by OptionString type.
+/// @brief Test deep copy of option encapsulated by OptionString type.
///
/// @param op_type Copy operation type.
void testOptionString(const OpType& op_type) {
// *************************** OptionVendor ***************************
-/// @brief Test deep copy of option encapsualated by OptionVendor type.
+/// @brief Test deep copy of option encapsulated by OptionVendor type.
///
/// @param op_type Copy operation type.
void testOptionVendor(const OpType& op_type) {
// *********************** OptionVendorClass ***************************
-/// @brief Test deep copy of option encapsualated by OptionVendorClass type.
+/// @brief Test deep copy of option encapsulated by OptionVendorClass type.
///
/// @param op_type Copy operation type.
void testOptionVendorClass(const OpType& op_type) {
tuple = "another-modified-vendor-class-value";
option->addTuple(tuple);
- // That change shouldn't affect the orginal option. It should still
+ // That change shouldn't affect the original option. It should still
// contain a single tuple with the original value.
ASSERT_EQ(1, option_copy->getTuplesNum());
tuple = option_copy->getTuple(0);
// ************************** Option4ClientFqdn ***************************
-/// @brief Test deep copy of option encapsualated by Option4ClientFqdn or
+/// @brief Test deep copy of option encapsulated by Option4ClientFqdn or
/// Option6ClientFqdn type.
///
/// @param op_type Copy operation type.
/// the pointer will be reset, so there is no sense to initialize this
/// object to a non-null value. However, for the assignment testing it is
/// recommended to initialize the option_copy to point to an option having
-/// different parameters to verify that all parameters have been overriden
+/// different parameters to verify that all parameters have been overridden
/// by the assignment operation.
///
/// @tparam OptionType Option4ClientFqdn or Option6ClientFqdn.
}
}
-/// @brief Test deep copy of option encapsualated by Option4ClientFqdn type.
+/// @brief Test deep copy of option encapsulated by Option4ClientFqdn type.
///
/// @param op_type Copy operation type.
void testOption4ClientFqdn(const OpType& op_type) {
// ************************** Option6ClientFqdn ***************************
-/// @brief Test deep copy of option encapsualated by Option6ClientFqdn type.
+/// @brief Test deep copy of option encapsulated by Option6ClientFqdn type.
///
/// @param op_type Copy operation type.
void testOption6ClientFqdn(const OpType& op_type) {
// **************************** OptionCustom ***************************
-/// @brief Test deep copy of option encapsualated by OptionCustom type.
+/// @brief Test deep copy of option encapsulated by OptionCustom type.
///
/// @param op_type Copy operation type.
void testOptionCustom(const OpType& op_type) {
// ************************ OptionOpaqueDataTuples ***********************
-/// @brief Test deep copy of option encapsualated by OptionOpaqueDataTuples type.
+/// @brief Test deep copy of option encapsulated by OptionOpaqueDataTuples type.
///
/// @param op_type Copy operation type.
void testOptionOpaqueDataTuples(const OpType& op_type) {