Project

General

Profile

Feature #13050

Request a new variant of T* TFileDirectory::makeAndRegister<T>

Added by Rob Kutschke over 3 years ago. Updated over 3 years ago.

Status:
Accepted
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
06/25/2016
Due date:
% Done:

0%

Estimated time:
Scope:
Internal
Experiment:
-
SSI Package:
Duration:

Description

Julia Yarba sent a question to the artists mailing list the other day and I answered it. My answer did not solve her problem.

When we first developed TFileDirectory::makeAndRegister we presumed that all objects being created by this call would have both names and titles; that is the class being instantiated has member functions SetName and SetTitle.

In Julia's use case the class as SetName but not SetTitle.

I believe that we should provide another variant for objects that have SetName but not SetTitle. The only difference in the two implementations would be removing the call to SetTitle.

I don't know if makes sense to have a variant for a class without SetName - how would one retrieve an unnamed object from the root file?

I have not thought about whether we can do this with a new overload of makeAndRegister or if we need a new name.

History

#1 Updated by Kyle Knoepfel over 3 years ago

  • Status changed from New to Accepted

We will provide a make(AndRegister) overload that does not require a title.



Also available in: Atom PDF