Old/mp3_InfoManager/tag.cpp
/** Copies an array of frames to the tag.
 **
 ** This method copies each frame in an array to the tag.  As in
 ** AddFrame, the tag adds a copy of the frame, and it assumes responsiblity
 ** for freeing the frames' memory when the tag goes out of scope.
 **
 ** \code
 **   ID3_Frame myFrames[10];
 **   myTag.AddFrames(myFrames, 10);
 ** \endcode
 **
 ** \sa ID3_Frame
 ** \sa ID3_Frame#AddFrame
 ** \param pNewFrames A pointer to an array of frames to be added to the tag.
 ** \param nFrames The number of frames in the array pNewFrames.
 **/
Copies an array of frames to the tag.
This method copies each frame in an array to the tag.  As in
AddFrame, the tag adds a copy of the frame, and it assumes responsiblity
for freeing the frames' memory when the tag goes out of scope.



\sa ID3_Frame
\sa ID3_Frame#AddFrame
\param pNewFrames A pointer to an array of frames to be added to the tag.
\param nFrames The number of frames in the array pNewFrames.
Copies an array of frames to the tag . This method copies each frame in an array to the tag . As in AddFrame the tag adds a copy of the frame and it assumes responsiblity for freeing the frames ' memory when the tag goes out of scope . \ sa ID3_Frame \ sa ID3_Frame#AddFrame \ param pNewFrames A pointer to an array of frames to be added to the tag . \ param nFrames The number of frames in the array pNewFrames .
void ID3_Tag::AddFrames(const ID3_Frame *frames, size_t numFrames)
{
  for (int i = numFrames - 1; i >= 0; i--)
  {
    this->AddFrame(frames[i]);
  }
}
void ID3_Tag :: AddFrames ( const ID3_Frame * frames , size_t numFrames ) { for ( int i = numFrames - 1 ; i >= 0 ; i -- ) { this -> AddFrame ( frames [ i ] ) ; } }
Copies an array of frames to the tag.
Copies an array of frames to the tag .