[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taglib-devel
Subject:    Re: Constructing an ID3v2::Frame without a file
From:       Fred Gleason <fredg () paravelsystems ! com>
Date:       2019-08-09 16:21:18
Message-ID: 8fdef569cd62870c3141b7cc4921857c8db271f4.camel () paravelsystems ! com
[Download RAW message or body]

On Fri, 2019-08-09 at 18:02 +0200, Scott Wheeler wrote:

> You use the instance() method:
> 
https://taglib.org/api/classTagLib_1_1ID3v2_1_1FrameFactory.html#a6ab4884405b6b1c6d9f68f9f7514fb45
> 
> That's called a "singleton" and such is common in object-oriented
> design:
> 
> https://en.wikipedia.org/wiki/Singleton_pattern

Thanks. Not an idiom that I've encountered before!

It might be beneficial to TagLib newbies such as myself to include this
information in that method's Doxygen entry (which at present is
absolutely blank).

Cheers!


|---------------------------------------------------------------------|
| Frederick F. Gleason, Jr. |             Chief Developer             |
|                           |             Paravel Systems             |
|---------------------------------------------------------------------|
|         A room without books is like a body without a soul.         |
|                                                                     |
|                                                         -- Cicero   |
|---------------------------------------------------------------------|

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic