57 std::vector<const TagValue *>
values;
88 unsigned int count = 0;
92 if (overwrite || ownValue.
isEmpty()) {
std::string targetString() const
Returns the string representation for the assigned tag target.
The Tag class is used to store, read and write tag information.
virtual ~Tag()
Destroys the Tag.
virtual const char * typeName() const
Returns the type name of the tag as C-style string.
KnownField
Specifies the field.
virtual bool setValue(KnownField field, const TagValue &value)=0
Assigns the given value to the specified field.
std::string toString() const
Returns a string representation of the tag.
virtual bool supportsTarget() const
Returns an indication whether a target is supported by the tag.
bool isEmpty() const
Returns an indication whether an value is assigned.
virtual bool setValues(KnownField field, const std::vector< TagValue > &values)
Assigns the given values to the specified field.
The TagValue class wraps values of different types.
virtual unsigned int insertValues(const Tag &from, bool overwrite)
Inserts all compatible values from another Tag.
virtual std::vector< const TagValue * > values(KnownField field) const
Returns the values of the specified field.
Contains all classes and functions of the TagInfo library.
virtual const TagValue & value(KnownField field) const =0
Returns the value of the specified field.