Closing TTF T024/025

Closing TTF T024/025

Merge request reports

Loading
+1 −1
Changes for ccsrc/Framework/include/base_time.hh: 1 added line, 1 removed line.
Original line number Diff line number Diff line
/*!
 * \file      base_time.hh
 * \brief     Header file for the control port base_time functionality.
 * \brief     Header file for base_time functionality.
 * \author    ETSI STF525
 * \copyright ETSI Copyright Notification
 *            No part may be reproduced except as authorized by written permission.
+1 −1

File changed.

Contains only whitespace changes.

+1 −1
Changes for ccsrc/Framework/include/codec_gen.hh: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ public: //! \publicsection
   */
  virtual int encode(const TPDUEnc &p_message, OCTETSTRING &p_data) = 0;
  /*!
   * \fn int decode(const OCTETSTRING& p_, TPDUDec& p_message, params_its* p_params = NULL);
   * \fn int decode(const OCTETSTRING& p_, TPDUDec& p_message, params* p_params = NULL);
   * \brief  Encode typed message into an octet string format
   * \param[in] p_data The message in its octet string
   * \param[out] p_message The decoded typed message
+4 −4

File changed.

Contains only whitespace changes.

+12 −3
Changes for ccsrc/Framework/include/converter.hh: 12 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -366,22 +366,31 @@ public:
   */
  std::vector<std::string> split_arguments_line(const std::string& p_value);

  /*!
   * \brief Replace string or character into the the provided string
   * \param[in] p_value The original string value
   * \param[in] p_from The pattern to be replaced
   * \param[in] p_to The new pattern
   * \return The modified string
   */
  std::string replace(const std::string& p_value, const std::string& p_from, const std::string& p_to);

  /*!
   * \brief Convert the provided buffer into a Base64
   * \param[in] p_value The buffer value
   * \return The Base64 encoded buffert
   */
  std::vector<unsigned char> buffer_to_base64(const std::vector<unsigned char> &p_value);
  std::vector<unsigned char> buffer_to_base64(const std::vector<unsigned char> &p_value, const bool p_is_url = false);

  /*!
   * \brief Convert the provided Base64 buffer
   * \param[in] p_value The buffer value
   * \return The Base64 encoded buffert
   */
  std::vector<unsigned char> base64_to_buffer(const std::vector<unsigned char> &p_value);
  std::vector<unsigned char> base64_to_buffer(const std::vector<unsigned char> &p_value, const bool p_remove_crlf = true);

  static const std::string lut_u;
  static const std::string lut_l;
  static const std::string base64_enc_map;
  static const std::string base64_enc_map[2];

}; // End of class converter
Loading
Loading