|
| Mp4Tag () |
| Constructs a new tag. More...
|
|
bool | canEncodingBeUsed (TagTextEncoding encoding) const override |
| Returns an indication whether the specified encoding can be used to provide string values for the tag. More...
|
|
bool | supportsField (KnownField field) const override |
| Returns an indication whether the specified field is supported by the tag. More...
|
|
const TagValue & | value (KnownField value) const override |
| Returns the value of the specified field. More...
|
|
std::vector< const TagValue * > | values (KnownField field) const override |
| Returns the values of the specified field. More...
|
|
const TagValue & | value (const std::string &mean, const std::string &name) const |
| Returns the value of the field with the specified mean and name attributes. More...
|
|
const TagValue & | value (const char *mean, const char *name) const |
| Returns the value of the field with the specified mean and name attributes. More...
|
|
bool | setValue (KnownField field, const TagValue &value) override |
| Assigns the given value to the specified field. More...
|
|
bool | setValues (KnownField field, const std::vector< TagValue > &values) override |
| Assigns the given values to the specified field. More...
|
|
bool | setValue (const std::string &mean, const std::string &name, const TagValue &value) |
| Assigns the given value to the field with the specified mean and name attributes. More...
|
|
bool | setValue (const char *mean, const char *name, const TagValue &value) |
| Assigns the given value to the field with the specified mean and name attributes. More...
|
|
bool | hasField (KnownField value) const override |
| Returns an indication whether the specified field is present. More...
|
|
bool | supportsMultipleValues (KnownField) const override |
| Returns false for all fields (for now). More...
|
|
void | parse (Mp4Atom &metaAtom, Diagnostics &diag) |
| Parses tag information from the specified metaAtom. More...
|
|
Mp4TagMaker | prepareMaking (Diagnostics &diag) |
| Prepares making. More...
|
|
void | make (std::ostream &stream, Diagnostics &diag) |
| Writes tag information to the specified stream. More...
|
|
| FieldMapBasedTag () |
| Constructs a new FieldMapBasedTag. More...
|
|
TagType | type () const |
| Returns the type of the tag as TagParser::TagType. More...
|
|
const char * | typeName () const |
| Returns the type name of the tag as C-style string. More...
|
|
TagTextEncoding | proposedTextEncoding () const |
| Returns the proposed text encoding. More...
|
|
const TagValue & | value (const IdentifierType &id) const |
| Returns the value of the field with the specified id. More...
|
|
const TagValue & | value (KnownField field) const |
| Returns the value of the specified field. More...
|
|
std::vector< const TagValue * > | values (const IdentifierType &id) const |
| Returns the values of the field with the specified id. More...
|
|
std::vector< const TagValue * > | values (KnownField field) const |
| Returns the values of the specified field. More...
|
|
bool | setValue (const IdentifierType &id, const TagValue &value) |
| Assigns the given value to the field with the specified id. More...
|
|
bool | setValue (KnownField field, const TagValue &value) |
| Assigns the given value to the specified field. More...
|
|
bool | setValues (const IdentifierType &id, const std::vector< TagValue > &values) |
| Assigns the given values to the field with the specified id. More...
|
|
bool | setValues (KnownField field, const std::vector< TagValue > &values) |
| Assigns the given values to the field with the specified id. More...
|
|
bool | hasField (KnownField field) const |
| Returns an indication whether the specified field is present. More...
|
|
bool | hasField (const IdentifierType &id) const |
| Returns an indication whether the field with the specified id is present. More...
|
|
void | removeAllFields () |
| Removes all fields from the tag. More...
|
|
const std::multimap< IdentifierType, FieldType, Compare > & | fields () const |
| Returns the fields of the tag by providing direct access to the field map of the tag. More...
|
|
std::multimap< IdentifierType, FieldType, Compare > & | fields () |
| Returns the fields of the tag by providing direct access to the field map of the tag. More...
|
|
unsigned int | fieldCount () const |
| Returns the number of present fields. More...
|
|
IdentifierType | fieldId (KnownField value) const |
| Returns the ID for the specified field. More...
|
|
KnownField | knownField (const IdentifierType &id) const |
| Returns the field for the specified ID. More...
|
|
bool | supportsField (KnownField field) const |
| Returns an indication whether the specified field is supported by the tag. More...
|
|
TagDataType | proposedDataType (const IdentifierType &id) const |
| Returns the proposed data type for the field with the specified id. More...
|
|
virtual TagDataType | proposedDataType (KnownField field) const |
| Returns the proposed data type for the specified field as TagDataType. More...
|
|
int | insertFields (const FieldMapBasedTag< Mp4Tag > &from, bool overwrite) |
| Inserts all fields from another tag of the same field type and compare function. More...
|
|
unsigned int | insertValues (const Tag &from, bool overwrite) |
| Inserts all compatible values from another Tag. More...
|
|
void | ensureTextValuesAreProperlyEncoded () |
| Ensures the encoding of all assigned text values is supported by the tag by converting the character set if neccessary. More...
|
|
virtual | ~Tag () |
| Destroys the Tag. More...
|
|
std::string | toString () const |
| Returns a string representation of the tag. More...
|
|
const std::string & | version () const |
| Returns the version of the tag as std::string. The version denotation depends on the tag type. More...
|
|
std::uint32_t | size () const |
| Returns the size of the tag in bytes. The tag needs to be parsed before. More...
|
|
virtual bool | supportsTarget () const |
| Returns an indication whether a target is supported by the tag. More...
|
|
const TagTarget & | target () const |
| Returns the target of tag. More...
|
|
void | setTarget (const TagTarget &target) |
| Sets the target of tag. More...
|
|
virtual TagTargetLevel | targetLevel () const |
| Returns the name of the current tag target level. More...
|
|
const char * | targetLevelName () const |
| Returns the name of the current target level. More...
|
|
bool | isTargetingLevel (TagTargetLevel tagTargetLevel) const |
| Returns whether the tag is targeting the specified tagTargetLevel. More...
|
|
std::string | targetString () const |
| Returns the string representation for the assigned tag target. More...
|
|
virtual TagDataType | proposedDataType (KnownField field) const |
| Returns the proposed data type for the specified field as TagDataType. More...
|
|
virtual bool | supportsDescription (KnownField field) const |
| Returns an indications whether the specified field supports descriptions. More...
|
|
virtual bool | supportsMimeType (KnownField field) const |
| Returns an indications whether the specified field supports mime types. More...
|
|
Implementation of TagParser::Tag for the MP4 container.
Definition at line 97 of file mp4tag.h.