7 #ifndef PACKAGER_HLS_BASE_TAG_H_
8 #define PACKAGER_HLS_BASE_TAG_H_
20 Tag(
const std::string& name, std::string* buffer);
23 void AddString(
const std::string& key,
const std::string& value);
29 void AddNumber(
const std::string& key, uint64_t value);
32 void AddFloat(
const std::string& key,
float value);
48 Tag& operator=(
const Tag&) =
delete;
50 std::string*
const buffer_;
void AddQuotedString(const std::string &key, const std::string &value)
Add a quoted string value to the argument list.
void AddFloat(const std::string &key, float value)
Add a non-quoted float value to the argument list.
void AddQuotedNumberPair(const std::string &key, uint64_t number1, char separator, uint64_t number2)
Add a quoted pair of numbers with a symbol separating them.
void AddNumberPair(const std::string &key, uint64_t number1, char separator, uint64_t number2)
Add a pair of numbers with a symbol separating them.
void AddNumber(const std::string &key, uint64_t value)
Add a non-quoted numeric value to the argument list.
void AddString(const std::string &key, const std::string &value)
Add a non-quoted string value to the argument list.
All the methods that are virtual are virtual for mocking.